Google Cloud Build V2 Client - Class FetchReadTokenResponse (0.15.0)

Reference documentation and code samples for the Google Cloud Build V2 Client class FetchReadTokenResponse.

Message for responding to get read token.

Generated from protobuf message google.devtools.cloudbuild.v2.FetchReadTokenResponse

Namespace

Google \ Cloud \ Build \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ token string

The token content.

↳ expiration_time Google\Protobuf\Timestamp

Expiration timestamp. Can be empty if unknown or non-expiring.

getToken

The token content.

Returns
TypeDescription
string

setToken

The token content.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExpirationTime

Expiration timestamp. Can be empty if unknown or non-expiring.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExpirationTime

clearExpirationTime

setExpirationTime

Expiration timestamp. Can be empty if unknown or non-expiring.

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