Google Cloud Build V2 Client - Class FetchReadWriteTokenResponse (1.0.4)

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

Message for responding to get read/write token.

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

Namespace

Google \ Cloud \ Build \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
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
Type
Description
string

setToken

The token content.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getExpirationTime

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

Returns
Type
Description

hasExpirationTime

clearExpirationTime

setExpirationTime

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

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: