Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::AddAuthTokenRequest (v1.9.0)

Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::AddAuthTokenRequest.

Request message for [AddAuthToken][].

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#auth_token

def auth_token() -> ::Google::Cloud::Redis::Cluster::V1::AuthToken
Returns

#auth_token=

def auth_token=(value) -> ::Google::Cloud::Redis::Cluster::V1::AuthToken
Parameter
Returns

#token_auth_user

def token_auth_user() -> ::String
Returns
  • (::String) — Required. The name of the token auth user resource that this auth token will be added for. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}

#token_auth_user=

def token_auth_user=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the token auth user resource that this auth token will be added for. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
Returns
  • (::String) — Required. The name of the token auth user resource that this auth token will be added for. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}