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
- (::Google::Protobuf::Timestamp) — Output only. Create time of the auth token.
#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
- (::Google::Cloud::Redis::Cluster::V1::AuthToken::State) — Output only. State of the auth token.
#token
def token() -> ::String
Returns
- (::String) — Output only. The service generated authentication token used to connect to the Redis cluster.