Class: Google::Apis::AndroidenterpriseV1::AdministratorWebToken
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::AdministratorWebToken
- 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
A token authorizing an admin to access an iframe.
Instance Attribute Summary collapse
-
#token ⇒ String
An opaque token to be passed to the Play front-end to generate an iframe.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdministratorWebToken
constructor
A new instance of AdministratorWebToken.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdministratorWebToken
Returns a new instance of AdministratorWebToken.
54 55 56 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 54 def initialize(**args) update!(**args) end |
Instance Attribute Details
#token ⇒ String
An opaque token to be passed to the Play front-end to generate an iframe.
Corresponds to the JSON property token
52 53 54 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 52 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
59 60 61 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 59 def update!(**args) @token = args[:token] if args.key?(:token) end |