Class: Google::Apis::RedisV1::AddTokenAuthUserRequest

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

Instance Method Summary collapse

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_userString

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

Returns:

  • (String)


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