Class: Google::Apis::AndroidmanagementV1::SigninDetail
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::SigninDetail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb
Overview
A resource containing sign in details for an enterprise.
Instance Attribute Summary collapse
-
#qr_code ⇒ String
A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token.
-
#signin_enrollment_token ⇒ String
An enterprise wide enrollment token used to trigger custom sign-in flow.
-
#signin_url ⇒ String
Sign-in URL for authentication when device is provisioned with a sign-in enrollment token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SigninDetail
constructor
A new instance of SigninDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SigninDetail
Returns a new instance of SigninDetail
2504 2505 2506 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2504 def initialize(**args) update!(**args) end |
Instance Attribute Details
#qr_code ⇒ String
A JSON string whose UTF-8 representation can be used to generate a QR code to
enroll a device with this enrollment token. To enroll a device using NFC, the
NFC record must contain a serialized java.util.Properties representation of
the properties in the JSON. This is a read-only field generated by the server.
Corresponds to the JSON property qrCode
2487 2488 2489 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2487 def qr_code @qr_code end |
#signin_enrollment_token ⇒ String
An enterprise wide enrollment token used to trigger custom sign-in flow. This
is a read-only field generated by the server.
Corresponds to the JSON property signinEnrollmentToken
2493 2494 2495 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2493 def signin_enrollment_token @signin_enrollment_token end |
#signin_url ⇒ String
Sign-in URL for authentication when device is provisioned with a sign-in
enrollment token. The sign-in endpoint should finish authentication flow with
a URL in the form of https://enterprise.google.com/android/enroll?et=signinUrl
2502 2503 2504 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2502 def signin_url @signin_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2509 2510 2511 2512 2513 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2509 def update!(**args) @qr_code = args[:qr_code] if args.key?(:qr_code) @signin_enrollment_token = args[:signin_enrollment_token] if args.key?(:signin_enrollment_token) @signin_url = args[:signin_url] if args.key?(:signin_url) end |