Google Cloud Redis Cluster V1 Client - Class AddTokenAuthUserRequest (0.11.0)

Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class AddTokenAuthUserRequest.

Request message for AddTokenAuthUser.

Generated from protobuf message google.cloud.redis.cluster.v1.AddTokenAuthUserRequest

Namespace

Google \ Cloud \ Redis \ Cluster \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cluster string

Required. The cluster resource that this token auth user will be added for. Format: projects/{project}/locations/{location}/clusters/{cluster}

↳ token_auth_user string

Required. The id of the token auth user to add.

getCluster

Required. The cluster resource that this token auth user will be added for.

Format: projects/{project}/locations/{location}/clusters/{cluster}

Returns
Type Description
string

setCluster

Required. The cluster resource that this token auth user will be added for.

Format: projects/{project}/locations/{location}/clusters/{cluster}

Parameter
Name Description
var string
Returns
Type Description
$this

getTokenAuthUser

Required. The id of the token auth user to add.

Returns
Type Description
string

setTokenAuthUser

Required. The id of the token auth user to add.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
cluster string

Required. The cluster resource that this token auth user will be added for. Format: projects/{project}/locations/{location}/clusters/{cluster} Please see CloudRedisClusterClient::clusterName() for help formatting this field.

tokenAuthUser string

Required. The id of the token auth user to add. Please see CloudRedisClusterClient::tokenAuthUserName() for help formatting this field.

Returns
Type Description
AddTokenAuthUserRequest