Reference documentation and code samples for the Google Cloud Memorystore V1beta Client class AddAuthTokenRequest.
Request message for AddAuthToken.
Generated from protobuf message google.cloud.memorystore.v1beta.AddAuthTokenRequest
Namespace
Google \ Cloud \ Memorystore \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ token_auth_user |
string
Required. The name of the token auth user resource that this token will be added for. |
↳ auth_token |
AuthToken
Required. The auth token to add. |
getTokenAuthUser
Required. The name of the token auth user resource that this token will be added for.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTokenAuthUser
Required. The name of the token auth user resource that this token will be added for.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAuthToken
Required. The auth token to add.
| Returns | |
|---|---|
| Type | Description |
AuthToken|null |
|
hasAuthToken
clearAuthToken
setAuthToken
Required. The auth token to add.
| Parameter | |
|---|---|
| Name | Description |
var |
AuthToken
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
tokenAuthUser |
string
Required. The name of the token auth user resource that this token will be added for. Please see MemorystoreClient::tokenAuthUserName() for help formatting this field. |
authToken |
AuthToken
Required. The auth token to add. |
| Returns | |
|---|---|
| Type | Description |
AddAuthTokenRequest |
|