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

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;

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