Class: Google::Apis::MirrorV1::AuthToken
- Inherits:
-
Object
- Object
- Google::Apis::MirrorV1::AuthToken
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/mirror_v1/classes.rb,
generated/google/apis/mirror_v1/representations.rb,
generated/google/apis/mirror_v1/representations.rb
Instance Attribute Summary collapse
-
#auth_token ⇒ String
Corresponds to the JSON property
authToken
. -
#type ⇒ String
Corresponds to the JSON property
type
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthToken
constructor
A new instance of AuthToken.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AuthToken
Returns a new instance of AuthToken
143 144 145 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 143 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_token ⇒ String
Corresponds to the JSON property authToken
136 137 138 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 136 def auth_token @auth_token end |
#type ⇒ String
Corresponds to the JSON property type
141 142 143 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 141 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
148 149 150 151 |
# File 'generated/google/apis/mirror_v1/classes.rb', line 148 def update!(**args) @auth_token = args[:auth_token] if args.key?(:auth_token) @type = args[:type] if args.key?(:type) end |