Skip to main content

clusters_token_auth_user

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

Overview

Nameclusters_token_auth_user
TypeResource
Idgoogle.redis.clusters_token_auth_user

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_token_auth_userinsertprojectsId, locationsId, clustersIdAdds a token auth user for 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

INSERT examples

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

INSERT INTO google.redis.clusters_token_auth_user (
data__tokenAuthUser,
projectsId,
locationsId,
clustersId
)
SELECT
'{{ tokenAuthUser }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ clustersId }}'
RETURNING
name,
done,
error,
metadata,
response
;