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

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

Auth token for the cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#name

def name() -> ::String
Returns
  • (::String) — Identifier. Name of the auth token. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. Name of the auth token. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}
Returns
  • (::String) — Identifier. Name of the auth token. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}

#state

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

#token

def token() -> ::String
Returns
  • (::String) — Output only. The service generated authentication token used to connect to the Redis cluster.