Skip to content

Commit a9d63a5

Browse files
feat: Automated regeneration of androidenterprise v1 client (googleapis#23771)
Auto-created at 2025-07-27 09:52:46 +0000 using the toys pull request generator.
1 parent 0e05d35 commit a9d63a5

File tree

5 files changed

+62
-2
lines changed

5 files changed

+62
-2
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31101,7 +31101,11 @@
3110131101
"/androidenterprise:v1/EnrollmentToken": enrollment_token
3110231102
"/androidenterprise:v1/EnrollmentToken/duration": duration
3110331103
"/androidenterprise:v1/EnrollmentToken/enrollmentTokenType": enrollment_token_type
31104+
"/androidenterprise:v1/EnrollmentToken/googleAuthenticationOptions": google_authentication_options
3110431105
"/androidenterprise:v1/EnrollmentToken/token": token
31106+
"/androidenterprise:v1/EnrollmentTokenGoogleAuthenticationOptions": enrollment_token_google_authentication_options
31107+
"/androidenterprise:v1/EnrollmentTokenGoogleAuthenticationOptions/authenticationRequirement": authentication_requirement
31108+
"/androidenterprise:v1/EnrollmentTokenGoogleAuthenticationOptions/requiredAccountEmail": required_account_email
3110531109
"/androidenterprise:v1/Enterprise": enterprise
3110631110
"/androidenterprise:v1/Enterprise/administrator": administrator
3110731111
"/androidenterprise:v1/Enterprise/administrator/administrator": administrator

generated/google-apis-androidenterprise_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-androidenterprise_v1
22

3+
### v0.45.0 (2025-07-27)
4+
5+
* Regenerated from discovery document revision 20250720
6+
37
### v0.44.0 (2025-06-15)
48

59
* Regenerated from discovery document revision 20250610

generated/google-apis-androidenterprise_v1/lib/google/apis/androidenterprise_v1/classes.rb

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,11 @@ class EnrollmentToken
873873
# @return [String]
874874
attr_accessor :enrollment_token_type
875875

876+
# Options for Google authentication during the enrollment.
877+
# Corresponds to the JSON property `googleAuthenticationOptions`
878+
# @return [Google::Apis::AndroidenterpriseV1::EnrollmentTokenGoogleAuthenticationOptions]
879+
attr_accessor :google_authentication_options
880+
876881
# The token value that's passed to the device and authorizes the device to
877882
# enroll. This is a read-only field generated by the server.
878883
# Corresponds to the JSON property `token`
@@ -887,10 +892,41 @@ def initialize(**args)
887892
def update!(**args)
888893
@duration = args[:duration] if args.key?(:duration)
889894
@enrollment_token_type = args[:enrollment_token_type] if args.key?(:enrollment_token_type)
895+
@google_authentication_options = args[:google_authentication_options] if args.key?(:google_authentication_options)
890896
@token = args[:token] if args.key?(:token)
891897
end
892898
end
893899

900+
# Options for Google authentication during the enrollment.
901+
class EnrollmentTokenGoogleAuthenticationOptions
902+
include Google::Apis::Core::Hashable
903+
904+
# [Optional] Specifies whether user should authenticate with Google during
905+
# enrollment. This setting, if specified,`GoogleAuthenticationSettings`
906+
# specified for the enterprise resource is ignored for devices enrolled with
907+
# this token.
908+
# Corresponds to the JSON property `authenticationRequirement`
909+
# @return [String]
910+
attr_accessor :authentication_requirement
911+
912+
# [Optional] Specifies the managed Google account that the user must use during
913+
# enrollment.`AuthenticationRequirement` must be set to`REQUIRED` if this field
914+
# is set.
915+
# Corresponds to the JSON property `requiredAccountEmail`
916+
# @return [String]
917+
attr_accessor :required_account_email
918+
919+
def initialize(**args)
920+
update!(**args)
921+
end
922+
923+
# Update properties of this object
924+
def update!(**args)
925+
@authentication_requirement = args[:authentication_requirement] if args.key?(:authentication_requirement)
926+
@required_account_email = args[:required_account_email] if args.key?(:required_account_email)
927+
end
928+
end
929+
894930
# An Enterprises resource represents the binding between an EMM and a specific
895931
# organization. That binding can be instantiated in one of two different ways
896932
# using this API as follows: - For Google managed domain customers, the process

generated/google-apis-androidenterprise_v1/lib/google/apis/androidenterprise_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AndroidenterpriseV1
1818
# Version of the google-apis-androidenterprise_v1 gem
19-
GEM_VERSION = "0.44.0"
19+
GEM_VERSION = "0.45.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250610"
25+
REVISION = "20250720"
2626
end
2727
end
2828
end

generated/google-apis-androidenterprise_v1/lib/google/apis/androidenterprise_v1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
184184
include Google::Apis::Core::JsonObjectSupport
185185
end
186186

187+
class EnrollmentTokenGoogleAuthenticationOptions
188+
class Representation < Google::Apis::Core::JsonRepresentation; end
189+
190+
include Google::Apis::Core::JsonObjectSupport
191+
end
192+
187193
class Enterprise
188194
class Representation < Google::Apis::Core::JsonRepresentation; end
189195

@@ -805,10 +811,20 @@ class EnrollmentToken
805811
class Representation < Google::Apis::Core::JsonRepresentation
806812
property :duration, as: 'duration'
807813
property :enrollment_token_type, as: 'enrollmentTokenType'
814+
property :google_authentication_options, as: 'googleAuthenticationOptions', class: Google::Apis::AndroidenterpriseV1::EnrollmentTokenGoogleAuthenticationOptions, decorator: Google::Apis::AndroidenterpriseV1::EnrollmentTokenGoogleAuthenticationOptions::Representation
815+
808816
property :token, as: 'token'
809817
end
810818
end
811819

820+
class EnrollmentTokenGoogleAuthenticationOptions
821+
# @private
822+
class Representation < Google::Apis::Core::JsonRepresentation
823+
property :authentication_requirement, as: 'authenticationRequirement'
824+
property :required_account_email, as: 'requiredAccountEmail'
825+
end
826+
end
827+
812828
class Enterprise
813829
# @private
814830
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)