Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class GenerateAwsClusterAgentTokenResponse.
Generated from protobuf message google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse
Namespace
Google \ Cloud \ GkeMultiCloud \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ access_token |
string
|
↳ expires_in |
int
|
↳ token_type |
string
|
getAccessToken
Generated from protobuf field string access_token = 1;
| Returns | |
|---|---|
| Type | Description |
string |
|
setAccessToken
Generated from protobuf field string access_token = 1;
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExpiresIn
Generated from protobuf field int32 expires_in = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
setExpiresIn
Generated from protobuf field int32 expires_in = 2;
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTokenType
Generated from protobuf field string token_type = 3;
| Returns | |
|---|---|
| Type | Description |
string |
|
setTokenType
Generated from protobuf field string token_type = 3;
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|