Google Anthos Multi Cloud V1 Client - Class GenerateAzureAccessTokenResponse (0.2.3)

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

Response message for AzureClusters.GenerateAzureAccessToken method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ access_token string

Output only. Access token to authenticate to k8s api-server.

↳ expiration_time Google\Protobuf\Timestamp

Output only. Timestamp at which the token will expire.

getAccessToken

Output only. Access token to authenticate to k8s api-server.

Returns
TypeDescription
string

setAccessToken

Output only. Access token to authenticate to k8s api-server.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExpirationTime

Output only. Timestamp at which the token will expire.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExpirationTime

clearExpirationTime

setExpirationTime

Output only. Timestamp at which the token will expire.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this