google-apis-androidmanagement_v1 0.116.0 → 0.117.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f579a0cfa9b5bcf5a036a3c62039cec25d8cffff1386c891b2d7c1341feba401
|
|
4
|
+
data.tar.gz: 3f1ee31cbf76596915a4c5636aa0366caa92bb1614dd378149eee2df7ee42ec4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e09c4113e31a9ca92860d0b5c6984a66874c83983e454b94d499e53e8ab5341fc26033e8d90f98e85bd64012381691e389f113edca53a89877cb7451c4a63611
|
|
7
|
+
data.tar.gz: f78d0cdccfb552c4ae2b0010e5563207cecfa96b6d6d2fc2f9b2b1b19ab6d3d76bb65971ddeef0d3ee3dcdb077a7a00eb35fdaff9f3f298dbcac4005952ec661
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -6689,6 +6743,15 @@ module Google
|
|
|
6689
6743
|
# @return [String]
|
|
6690
6744
|
attr_accessor :default_status
|
|
6691
6745
|
|
|
6746
|
+
# Options for Google authentication during the enrollment.These options control
|
|
6747
|
+
# whether the Google authentication screen is shown, and whether it can be
|
|
6748
|
+
# skipped, at the start of the sign-in flow. More requirements can be enforced
|
|
6749
|
+
# by EnrollmentToken.googleAuthenticationOptions on the EnrollmentToken that is
|
|
6750
|
+
# created later.
|
|
6751
|
+
# Corresponds to the JSON property `googleAuthenticationOptions`
|
|
6752
|
+
# @return [Google::Apis::AndroidmanagementV1::SigninDetailGoogleAuthenticationOptions]
|
|
6753
|
+
attr_accessor :google_authentication_options
|
|
6754
|
+
|
|
6692
6755
|
# A JSON string whose UTF-8 representation can be used to generate a QR code to
|
|
6693
6756
|
# enroll a device with this enrollment token. To enroll a device using NFC, the
|
|
6694
6757
|
# NFC record must contain a serialized java.util.Properties representation of
|
|
@@ -6725,6 +6788,7 @@ module Google
|
|
|
6725
6788
|
def update!(**args)
|
|
6726
6789
|
@allow_personal_usage = args[:allow_personal_usage] if args.key?(:allow_personal_usage)
|
|
6727
6790
|
@default_status = args[:default_status] if args.key?(:default_status)
|
|
6791
|
+
@google_authentication_options = args[:google_authentication_options] if args.key?(:google_authentication_options)
|
|
6728
6792
|
@qr_code = args[:qr_code] if args.key?(:qr_code)
|
|
6729
6793
|
@signin_enrollment_token = args[:signin_enrollment_token] if args.key?(:signin_enrollment_token)
|
|
6730
6794
|
@signin_url = args[:signin_url] if args.key?(:signin_url)
|
|
@@ -6732,6 +6796,33 @@ module Google
|
|
|
6732
6796
|
end
|
|
6733
6797
|
end
|
|
6734
6798
|
|
|
6799
|
+
# Options for Google authentication during the enrollment.These options control
|
|
6800
|
+
# whether the Google authentication screen is shown, and whether it can be
|
|
6801
|
+
# skipped, at the start of the sign-in flow. More requirements can be enforced
|
|
6802
|
+
# by EnrollmentToken.googleAuthenticationOptions on the EnrollmentToken that is
|
|
6803
|
+
# created later.
|
|
6804
|
+
class SigninDetailGoogleAuthenticationOptions
|
|
6805
|
+
include Google::Apis::Core::Hashable
|
|
6806
|
+
|
|
6807
|
+
# Optional. Specifies whether user should authenticate with Google during
|
|
6808
|
+
# enrollment. If this is set to any value other than
|
|
6809
|
+
# AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level setting
|
|
6810
|
+
# googleAuthenticationSettings is ignored for devices enrolled with this sign-in
|
|
6811
|
+
# detail.
|
|
6812
|
+
# Corresponds to the JSON property `authenticationRequirement`
|
|
6813
|
+
# @return [String]
|
|
6814
|
+
attr_accessor :authentication_requirement
|
|
6815
|
+
|
|
6816
|
+
def initialize(**args)
|
|
6817
|
+
update!(**args)
|
|
6818
|
+
end
|
|
6819
|
+
|
|
6820
|
+
# Update properties of this object
|
|
6821
|
+
def update!(**args)
|
|
6822
|
+
@authentication_requirement = args[:authentication_requirement] if args.key?(:authentication_requirement)
|
|
6823
|
+
end
|
|
6824
|
+
end
|
|
6825
|
+
|
|
6735
6826
|
# An enterprise signup URL.
|
|
6736
6827
|
class SignupUrl
|
|
6737
6828
|
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.
|
|
19
|
+
GEM_VERSION = "0.117.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 = "
|
|
25
|
+
REVISION = "20260615"
|
|
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.
|
|
4
|
+
version: 0.117.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.117.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:
|