Google Cloud Config V1 Client - Class DeploymentOperationMetadata (0.2.0)

Reference documentation and code samples for the Google Cloud Config V1 Client class DeploymentOperationMetadata.

Ephemeral metadata content describing the state of a deployment operation.

Generated from protobuf message google.cloud.config.v1.DeploymentOperationMetadata

Namespace

Google \ Cloud \ Config \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ step int

The current step the deployment operation is running.

↳ apply_results Google\Cloud\Config\V1\ApplyResults

Outputs and artifacts from applying a deployment.

↳ build string

Output only. Cloud Build instance UUID associated with this operation.

↳ logs string

Output only. Location of Deployment operations logs in gs://{bucket}/{object} format.

getStep

The current step the deployment operation is running.

Returns
TypeDescription
int

setStep

The current step the deployment operation is running.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getApplyResults

Outputs and artifacts from applying a deployment.

Returns
TypeDescription
Google\Cloud\Config\V1\ApplyResults|null

hasApplyResults

clearApplyResults

setApplyResults

Outputs and artifacts from applying a deployment.

Parameter
NameDescription
var Google\Cloud\Config\V1\ApplyResults
Returns
TypeDescription
$this

getBuild

Output only. Cloud Build instance UUID associated with this operation.

Returns
TypeDescription
string

setBuild

Output only. Cloud Build instance UUID associated with this operation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLogs

Output only. Location of Deployment operations logs in gs://{bucket}/{object} format.

Returns
TypeDescription
string

setLogs

Output only. Location of Deployment operations logs in gs://{bucket}/{object} format.

Parameter
NameDescription
var string
Returns
TypeDescription
$this