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
- (::Google::Cloud::Redis::Cluster::V1::AuthToken) — Required. The auth token to add.
#auth_token=
def auth_token=(value) -> ::Google::Cloud::Redis::Cluster::V1::AuthToken
Parameter
- value (::Google::Cloud::Redis::Cluster::V1::AuthToken) — Required. The auth token to add.
Returns
- (::Google::Cloud::Redis::Cluster::V1::AuthToken) — Required. The auth token to add.
#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}