Class: Google::Apis::RedisV1beta1::AddAuthTokenRequest

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 AddAuthToken.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddAuthTokenRequest

Returns a new instance of AddAuthTokenRequest.



268
269
270
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 268

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

Instance Attribute Details

#auth_tokenGoogle::Apis::RedisV1beta1::AuthToken

Auth token for the cluster. Corresponds to the JSON property authToken



266
267
268
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 266

def auth_token
  @auth_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



273
274
275
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 273

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