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 administrator to access an iframe.
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#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.
60 61 62 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 60 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#administratorWebToken".
Corresponds to the JSON property kind
53 54 55 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 53 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
58 59 60 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 58 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
65 66 67 68 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 65 def update!(**args) @kind = args[:kind] if args.key?(:kind) @token = args[:token] if args.key?(:token) end |