Google Cloud Memorystore V1 Client - Class TokenAuthUser (0.12.0)

Reference documentation and code samples for the Google Cloud Memorystore V1 Client class TokenAuthUser.

Token based auth user for the instance.

Generated from protobuf message google.cloud.memorystore.v1.TokenAuthUser

Namespace

Google \ Cloud \ Memorystore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. Token based auth user name.

↳ state int

Output only. The state of the token based auth user.

getName

Identifier. Token based auth user name.

Returns
Type Description
string

setName

Identifier. Token based auth user name.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The state of the token based auth user.

Returns
Type Description
int Enum of type State.

setState

Output only. The state of the token based auth user.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this