Class: Google::Apis::RedisV1beta1::AddTokenAuthUserRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/redis_v1beta1/classes.rb,
lib/google/apis/redis_v1beta1/representations.rb,
lib/google/apis/redis_v1beta1/representations.rb

Overview

Request message for AddTokenAuthUser.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddTokenAuthUserRequest

Returns a new instance of AddTokenAuthUserRequest.



287
288
289
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 287

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

Instance Attribute Details

#token_auth_userString

Required. The id of the token auth user to add. Corresponds to the JSON property tokenAuthUser

Returns:

  • (String)


285
286
287
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 285

def token_auth_user
  @token_auth_user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



292
293
294
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 292

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