Skip to main content

token_auth_users_auth_token

Creates, updates, deletes, gets or lists a token_auth_users_auth_token resource.

Overview

Nametoken_auth_users_auth_token
TypeResource
Idgoogle.redis.token_auth_users_auth_token

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
add_auth_tokeninsertprojectsId, locationsId, clustersId, tokenAuthUsersIdAdds a auth token for a user of a token based auth enabled cluster.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
clustersIdstring
locationsIdstring
projectsIdstring
tokenAuthUsersIdstring

INSERT examples

Adds a auth token for a user of a token based auth enabled cluster.

INSERT INTO google.redis.token_auth_users_auth_token (
data__authToken,
projectsId,
locationsId,
clustersId,
tokenAuthUsersId
)
SELECT
'{{ authToken }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ clustersId }}',
'{{ tokenAuthUsersId }}'
RETURNING
name,
done,
error,
metadata,
response
;