Class: Google::Apis::AndroidenterpriseV1::AdministratorWebToken
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::AdministratorWebToken
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb
Overview
A token authorizing an admin to access an iframe.
Instance Attribute Summary collapse
-
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AdministratorWebToken
Returns a new instance of AdministratorWebToken.
59 60 61 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 59 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
52 53 54 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 52 def kind @kind end |
#token ⇒ String
An opaque token to be passed to the Play front-end to generate an iframe.
Corresponds to the JSON property token
57 58 59 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 57 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
64 65 66 67 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 64 def update!(**args) @kind = args[:kind] if args.key?(:kind) @token = args[:token] if args.key?(:token) end |