Class: Google::Apis::AndroidenterpriseV1::CreateEnrollmentTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::CreateEnrollmentTokenResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidenterprise_v1/classes.rb,
lib/google/apis/androidenterprise_v1/representations.rb,
lib/google/apis/androidenterprise_v1/representations.rb
Overview
Response message for create enrollment token.
Instance Attribute Summary collapse
-
#enrollment_token ⇒ String
Enrollment token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateEnrollmentTokenResponse
constructor
A new instance of CreateEnrollmentTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateEnrollmentTokenResponse
Returns a new instance of CreateEnrollmentTokenResponse.
675 676 677 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 675 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enrollment_token ⇒ String
Enrollment token.
Corresponds to the JSON property enrollmentToken
673 674 675 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 673 def enrollment_token @enrollment_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
680 681 682 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 680 def update!(**args) @enrollment_token = args[:enrollment_token] if args.key?(:enrollment_token) end |