Class: Google::Apis::RedisV1::AddTokenAuthUserRequest
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1::AddTokenAuthUserRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb
Overview
Request message for AddTokenAuthUser.
Instance Attribute Summary collapse
-
#token_auth_user ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddTokenAuthUserRequest
constructor
A new instance of AddTokenAuthUserRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddTokenAuthUserRequest
Returns a new instance of AddTokenAuthUserRequest.
143 144 145 |
# File 'lib/google/apis/redis_v1/classes.rb', line 143 def initialize(**args) update!(**args) end |
Instance Attribute Details
#token_auth_user ⇒ String
Required. The id of the token auth user to add.
Corresponds to the JSON property tokenAuthUser
141 142 143 |
# File 'lib/google/apis/redis_v1/classes.rb', line 141 def token_auth_user @token_auth_user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
148 149 150 |
# File 'lib/google/apis/redis_v1/classes.rb', line 148 def update!(**args) @token_auth_user = args[:token_auth_user] if args.key?(:token_auth_user) end |