Google Anthos Multi Cloud V1 Client - Class GenerateAttachedClusterAgentTokenResponse (1.4.0)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class GenerateAttachedClusterAgentTokenResponse.

Generated from protobuf message google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__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 [json_name = "access_token"];

Returns
Type Description
string

setAccessToken

Generated from protobuf field string access_token = 1 [json_name = "access_token"];

Parameter
Name Description
var string
Returns
Type Description
$this

getExpiresIn

Generated from protobuf field int32 expires_in = 2 [json_name = "expires_in"];

Returns
Type Description
int

setExpiresIn

Generated from protobuf field int32 expires_in = 2 [json_name = "expires_in"];

Parameter
Name Description
var int
Returns
Type Description
$this

getTokenType

Generated from protobuf field string token_type = 3 [json_name = "token_type"];

Returns
Type Description
string

setTokenType

Generated from protobuf field string token_type = 3 [json_name = "token_type"];

Parameter
Name Description
var string
Returns
Type Description
$this