google-apis-androidmanagement_v1 0.116.0 → 0.118.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a90264d99a796c822be3a8092ebc1dfdc4b41bea55d3411ba47d4ac3fe5960d
4
- data.tar.gz: d41aee76543eb8c93655b4ca984ef5fd63fff6836814a0a325e42ae51a40d57a
3
+ metadata.gz: c3cc1ae34a4e9c0bbe1d1cfc34cb6da9580ea3edc889023a9dfa4086e2f4dd4b
4
+ data.tar.gz: 157811b442e15daf8f1e21bda36e542128048648c701554a0c83cd93c9816bb3
5
5
  SHA512:
6
- metadata.gz: 9972e9c5681b4f14e262960d24f25d279e55b9bae77a4fffd15f3e97289dc351fe67971051724004147da48d2888bf496c70109147159d295fb2958437025529
7
- data.tar.gz: 94ea87fe83b66eb6192320f5f044b1de8a93984b3bfd2fb34f7873ccc91c99a4db60b0d575a5987031bc796d045ce02305186c6a13a4e2cdcdfbd1554d06eef3
6
+ metadata.gz: 8f2b1f98e357e35b9a1d5e72f6fa28a673ed78c54727cd0a330b3505470467a0233902718e7b6a00fe395212904ebf698ef50a635a82688756505c1893082a9f
7
+ data.tar.gz: 334d8a7c1b8e3a74744913d4d95391d1bef03579089834daa71e19331c4ee9bf717dcee59a243267c5b81e8ec917032a8f217be3947686d9a5305e6d1c993767
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.118.0 (2026-07-12)
4
+
5
+ * Regenerated from discovery document revision 20260708
6
+
7
+ ### v0.117.0 (2026-06-21)
8
+
9
+ * Regenerated from discovery document revision 20260615
10
+
3
11
  ### v0.116.0 (2026-06-14)
4
12
 
5
13
  * Regenerated using generator version 0.19.0
@@ -2857,6 +2857,20 @@ module Google
2857
2857
  # @return [String]
2858
2858
  attr_accessor :expiration_timestamp
2859
2859
 
2860
+ # Options for Google authentication during the enrollment.When triggering the
2861
+ # enrollment with a SigninDetail, these options are enforced after the user
2862
+ # completes third-party sign-in and an EnrollmentToken is created. If this token'
2863
+ # s authentication_requirement is set to REQUIRED, these options interact with
2864
+ # the SigninDetail.googleAuthenticationOptions that initiated the flow in the
2865
+ # following ways: - If the user skipped Google sign-in earlier (permitted by
2866
+ # SigninDetail.googleAuthenticationOptions), an error will occur and the user
2867
+ # will be prompted to sign in again. - If required_account_email is set on this
2868
+ # token and the user signed in with a different email earlier, an error will
2869
+ # occur and the user will be asked to sign in again with the correct account.
2870
+ # Corresponds to the JSON property `googleAuthenticationOptions`
2871
+ # @return [Google::Apis::AndroidmanagementV1::GoogleAuthenticationOptions]
2872
+ attr_accessor :google_authentication_options
2873
+
2860
2874
  # The name of the enrollment token, which is generated by the server during
2861
2875
  # creation, in the form enterprises/`enterpriseId`/enrollmentTokens/`
2862
2876
  # enrollmentTokenId`.
@@ -2911,6 +2925,7 @@ module Google
2911
2925
  @allow_personal_usage = args[:allow_personal_usage] if args.key?(:allow_personal_usage)
2912
2926
  @duration = args[:duration] if args.key?(:duration)
2913
2927
  @expiration_timestamp = args[:expiration_timestamp] if args.key?(:expiration_timestamp)
2928
+ @google_authentication_options = args[:google_authentication_options] if args.key?(:google_authentication_options)
2914
2929
  @name = args[:name] if args.key?(:name)
2915
2930
  @one_time_only = args[:one_time_only] if args.key?(:one_time_only)
2916
2931
  @policy_name = args[:policy_name] if args.key?(:policy_name)
@@ -3350,6 +3365,45 @@ module Google
3350
3365
  end
3351
3366
  end
3352
3367
 
3368
+ # Options for Google authentication during the enrollment.When triggering the
3369
+ # enrollment with a SigninDetail, these options are enforced after the user
3370
+ # completes third-party sign-in and an EnrollmentToken is created. If this token'
3371
+ # s authentication_requirement is set to REQUIRED, these options interact with
3372
+ # the SigninDetail.googleAuthenticationOptions that initiated the flow in the
3373
+ # following ways: - If the user skipped Google sign-in earlier (permitted by
3374
+ # SigninDetail.googleAuthenticationOptions), an error will occur and the user
3375
+ # will be prompted to sign in again. - If required_account_email is set on this
3376
+ # token and the user signed in with a different email earlier, an error will
3377
+ # occur and the user will be asked to sign in again with the correct account.
3378
+ class GoogleAuthenticationOptions
3379
+ include Google::Apis::Core::Hashable
3380
+
3381
+ # Optional. Specifies whether user should authenticate with Google during
3382
+ # enrollment. If this is set to any value other than
3383
+ # AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level setting
3384
+ # googleAuthenticationSettings is ignored for devices enrolled with this token.
3385
+ # Corresponds to the JSON property `authenticationRequirement`
3386
+ # @return [String]
3387
+ attr_accessor :authentication_requirement
3388
+
3389
+ # Optional. Specifies the managed Google account that the user must use during
3390
+ # enrollment. This field can only be set if AuthenticationRequirement is set to
3391
+ # REQUIRED.
3392
+ # Corresponds to the JSON property `requiredAccountEmail`
3393
+ # @return [String]
3394
+ attr_accessor :required_account_email
3395
+
3396
+ def initialize(**args)
3397
+ update!(**args)
3398
+ end
3399
+
3400
+ # Update properties of this object
3401
+ def update!(**args)
3402
+ @authentication_requirement = args[:authentication_requirement] if args.key?(:authentication_requirement)
3403
+ @required_account_email = args[:required_account_email] if args.key?(:required_account_email)
3404
+ end
3405
+ end
3406
+
3353
3407
  # Contains settings for Google-provided user authentication.
3354
3408
  class GoogleAuthenticationSettings
3355
3409
  include Google::Apis::Core::Hashable
@@ -5438,9 +5492,12 @@ module Google
5438
5492
  # Optional. The default application setting for supported types. If the default
5439
5493
  # application is successfully set for at least one app type on a profile, users
5440
5494
  # are prevented from changing any default applications on that profile.Only one
5441
- # DefaultApplicationSetting is allowed for each DefaultApplicationType.See
5442
- # Default application settings (https://developers.google.com/android/management/
5443
- # default-application-settings) guide for more details.
5495
+ # DefaultApplicationSetting is allowed for each DefaultApplicationType.Warning:
5496
+ # Do not configure this and persistent_preferred_activities for the same intent
5497
+ # domain, such as web browsing. Setting both for the same intent domain can lead
5498
+ # to unpredictable behavior.See Default application settings (https://developers.
5499
+ # google.com/android/management/default-application-settings) guide for more
5500
+ # details.
5444
5501
  # Corresponds to the JSON property `defaultApplicationSettings`
5445
5502
  # @return [Array<Google::Apis::AndroidmanagementV1::DefaultApplicationSetting>]
5446
5503
  attr_accessor :default_application_settings
@@ -5678,7 +5735,9 @@ module Google
5678
5735
  # @return [Google::Apis::AndroidmanagementV1::PackageNameList]
5679
5736
  attr_accessor :permitted_input_methods
5680
5737
 
5681
- # Default intent handler activities.
5738
+ # Default intent handler activities.Warning: Do not configure this and
5739
+ # default_application_settings for the same intent domain, such as web browsing.
5740
+ # Setting both for the same intent domain can lead to unpredictable behavior.
5682
5741
  # Corresponds to the JSON property `persistentPreferredActivities`
5683
5742
  # @return [Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>]
5684
5743
  attr_accessor :persistent_preferred_activities
@@ -6689,6 +6748,15 @@ module Google
6689
6748
  # @return [String]
6690
6749
  attr_accessor :default_status
6691
6750
 
6751
+ # Options for Google authentication during the enrollment.These options control
6752
+ # whether the Google authentication screen is shown, and whether it can be
6753
+ # skipped, at the start of the sign-in flow. More requirements can be enforced
6754
+ # by EnrollmentToken.googleAuthenticationOptions on the EnrollmentToken that is
6755
+ # created later.
6756
+ # Corresponds to the JSON property `googleAuthenticationOptions`
6757
+ # @return [Google::Apis::AndroidmanagementV1::SigninDetailGoogleAuthenticationOptions]
6758
+ attr_accessor :google_authentication_options
6759
+
6692
6760
  # A JSON string whose UTF-8 representation can be used to generate a QR code to
6693
6761
  # enroll a device with this enrollment token. To enroll a device using NFC, the
6694
6762
  # NFC record must contain a serialized java.util.Properties representation of
@@ -6725,6 +6793,7 @@ module Google
6725
6793
  def update!(**args)
6726
6794
  @allow_personal_usage = args[:allow_personal_usage] if args.key?(:allow_personal_usage)
6727
6795
  @default_status = args[:default_status] if args.key?(:default_status)
6796
+ @google_authentication_options = args[:google_authentication_options] if args.key?(:google_authentication_options)
6728
6797
  @qr_code = args[:qr_code] if args.key?(:qr_code)
6729
6798
  @signin_enrollment_token = args[:signin_enrollment_token] if args.key?(:signin_enrollment_token)
6730
6799
  @signin_url = args[:signin_url] if args.key?(:signin_url)
@@ -6732,6 +6801,33 @@ module Google
6732
6801
  end
6733
6802
  end
6734
6803
 
6804
+ # Options for Google authentication during the enrollment.These options control
6805
+ # whether the Google authentication screen is shown, and whether it can be
6806
+ # skipped, at the start of the sign-in flow. More requirements can be enforced
6807
+ # by EnrollmentToken.googleAuthenticationOptions on the EnrollmentToken that is
6808
+ # created later.
6809
+ class SigninDetailGoogleAuthenticationOptions
6810
+ include Google::Apis::Core::Hashable
6811
+
6812
+ # Optional. Specifies whether user should authenticate with Google during
6813
+ # enrollment. If this is set to any value other than
6814
+ # AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level setting
6815
+ # googleAuthenticationSettings is ignored for devices enrolled with this sign-in
6816
+ # detail.
6817
+ # Corresponds to the JSON property `authenticationRequirement`
6818
+ # @return [String]
6819
+ attr_accessor :authentication_requirement
6820
+
6821
+ def initialize(**args)
6822
+ update!(**args)
6823
+ end
6824
+
6825
+ # Update properties of this object
6826
+ def update!(**args)
6827
+ @authentication_requirement = args[:authentication_requirement] if args.key?(:authentication_requirement)
6828
+ end
6829
+ end
6830
+
6735
6831
  # An enterprise signup URL.
6736
6832
  class SignupUrl
6737
6833
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AndroidmanagementV1
18
18
  # Version of the google-apis-androidmanagement_v1 gem
19
- GEM_VERSION = "0.116.0"
19
+ GEM_VERSION = "0.118.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260521"
25
+ REVISION = "20260708"
26
26
  end
27
27
  end
28
28
  end
@@ -436,6 +436,12 @@ module Google
436
436
  include Google::Apis::Core::JsonObjectSupport
437
437
  end
438
438
 
439
+ class GoogleAuthenticationOptions
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
439
445
  class GoogleAuthenticationSettings
440
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
447
 
@@ -892,6 +898,12 @@ module Google
892
898
  include Google::Apis::Core::JsonObjectSupport
893
899
  end
894
900
 
901
+ class SigninDetailGoogleAuthenticationOptions
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
895
907
  class SignupUrl
896
908
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
909
 
@@ -1745,6 +1757,8 @@ module Google
1745
1757
  property :allow_personal_usage, as: 'allowPersonalUsage'
1746
1758
  property :duration, as: 'duration'
1747
1759
  property :expiration_timestamp, as: 'expirationTimestamp'
1760
+ property :google_authentication_options, as: 'googleAuthenticationOptions', class: Google::Apis::AndroidmanagementV1::GoogleAuthenticationOptions, decorator: Google::Apis::AndroidmanagementV1::GoogleAuthenticationOptions::Representation
1761
+
1748
1762
  property :name, as: 'name'
1749
1763
  property :one_time_only, as: 'oneTimeOnly'
1750
1764
  property :policy_name, as: 'policyName'
@@ -1868,6 +1882,14 @@ module Google
1868
1882
  end
1869
1883
  end
1870
1884
 
1885
+ class GoogleAuthenticationOptions
1886
+ # @private
1887
+ class Representation < Google::Apis::Core::JsonRepresentation
1888
+ property :authentication_requirement, as: 'authenticationRequirement'
1889
+ property :required_account_email, as: 'requiredAccountEmail'
1890
+ end
1891
+ end
1892
+
1871
1893
  class GoogleAuthenticationSettings
1872
1894
  # @private
1873
1895
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2695,6 +2717,8 @@ module Google
2695
2717
  class Representation < Google::Apis::Core::JsonRepresentation
2696
2718
  property :allow_personal_usage, as: 'allowPersonalUsage'
2697
2719
  property :default_status, as: 'defaultStatus'
2720
+ property :google_authentication_options, as: 'googleAuthenticationOptions', class: Google::Apis::AndroidmanagementV1::SigninDetailGoogleAuthenticationOptions, decorator: Google::Apis::AndroidmanagementV1::SigninDetailGoogleAuthenticationOptions::Representation
2721
+
2698
2722
  property :qr_code, as: 'qrCode'
2699
2723
  property :signin_enrollment_token, as: 'signinEnrollmentToken'
2700
2724
  property :signin_url, as: 'signinUrl'
@@ -2702,6 +2726,13 @@ module Google
2702
2726
  end
2703
2727
  end
2704
2728
 
2729
+ class SigninDetailGoogleAuthenticationOptions
2730
+ # @private
2731
+ class Representation < Google::Apis::Core::JsonRepresentation
2732
+ property :authentication_requirement, as: 'authenticationRequirement'
2733
+ end
2734
+ end
2735
+
2705
2736
  class SignupUrl
2706
2737
  # @private
2707
2738
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidmanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.116.0
4
+ version: 0.118.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.116.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.118.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1
62
62
  rdoc_options: []
63
63
  require_paths: