Google Cloud Config V1 Client - Class PreviewOperationMetadata (1.0.0)

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

Ephemeral metadata content describing the state of a preview operation.

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

Namespace

Google \ Cloud \ Config \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ step int

The current step the preview operation is running.

↳ preview_artifacts Google\Cloud\Config\V1\PreviewArtifacts

Artifacts from preview.

↳ logs string

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

↳ build string

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

getStep

The current step the preview operation is running.

Returns
Type Description
int

setStep

The current step the preview operation is running.

Parameter
Name Description
var int
Returns
Type Description
$this

getPreviewArtifacts

Artifacts from preview.

Returns
Type Description
Google\Cloud\Config\V1\PreviewArtifacts|null

hasPreviewArtifacts

clearPreviewArtifacts

setPreviewArtifacts

Artifacts from preview.

Parameter
Name Description
var Google\Cloud\Config\V1\PreviewArtifacts
Returns
Type Description
$this

getLogs

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

Returns
Type Description
string

setLogs

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

Parameter
Name Description
var string
Returns
Type Description
$this

getBuild

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

Returns
Type Description
string

setBuild

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

Parameter
Name Description
var string
Returns
Type Description
$this