Class: Google::Apis::AndroidenterpriseV1::AdministratorWebToken

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdministratorWebToken

Returns a new instance of AdministratorWebToken.



54
55
56
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 54

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#tokenString

An opaque token to be passed to the Play front-end to generate an iframe. Corresponds to the JSON property token

Returns:

  • (String)


52
53
54
# File 'generated/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 'generated/google/apis/androidenterprise_v1/classes.rb', line 59

def update!(**args)
  @token = args[:token] if args.key?(:token)
end