Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::TokenAuthUser.
Represents a token based auth user for the cluster.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Identifier. The resource name of the token based auth user. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. The resource name of the token based auth user. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
Returns
- (::String) — Identifier. The resource name of the token based auth user. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
#state
def state() -> ::Google::Cloud::Redis::Cluster::V1::TokenAuthUser::State
Returns
- (::Google::Cloud::Redis::Cluster::V1::TokenAuthUser::State) — Output only. The state of the token based auth user.