Reference documentation and code samples for the Google Cloud Memorystore V1 Client class GetAuthTokenRequest.
Request message for GetAuthToken.
Generated from protobuf message google.cloud.memorystore.v1.GetAuthTokenRequest
Namespace
Google \ Cloud \ Memorystore \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of token auth user for a token auth enabled instance. Format: projects/{project}/locations/{location}/instances/{instance}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token} |
getName
Required. The name of token auth user for a token auth enabled instance.
Format: projects/{project}/locations/{location}/instances/{instance}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of token auth user for a token auth enabled instance.
Format: projects/{project}/locations/{location}/instances/{instance}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. The name of token auth user for a token auth enabled instance. Format: projects/{project}/locations/{location}/instances/{instance}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token} Please see MemorystoreClient::authTokenName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
GetAuthTokenRequest |
|