Google Cloud Deploy V1 Client - Class DeployJobRunMetadata (1.5.0)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class DeployJobRunMetadata.

DeployJobRunMetadata surfaces information associated with a DeployJobRun to the user.

Generated from protobuf message google.cloud.deploy.v1.DeployJobRunMetadata

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cloud_run CloudRunMetadata

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

↳ custom_target CustomTargetDeployMetadata

Output only. Custom Target metadata associated with a DeployJobRun.

↳ custom CustomMetadata

Output only. Custom metadata provided by user-defined deploy operation.

getCloudRun

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

Returns
Type Description
CloudRunMetadata|null

hasCloudRun

clearCloudRun

setCloudRun

Output only. The name of the Cloud Run Service that is associated with a DeployJobRun.

Parameter
Name Description
var CloudRunMetadata
Returns
Type Description
$this

getCustomTarget

Output only. Custom Target metadata associated with a DeployJobRun.

Returns
Type Description
CustomTargetDeployMetadata|null

hasCustomTarget

clearCustomTarget

setCustomTarget

Output only. Custom Target metadata associated with a DeployJobRun.

Parameter
Name Description
var CustomTargetDeployMetadata
Returns
Type Description
$this

getCustom

Output only. Custom metadata provided by user-defined deploy operation.

Returns
Type Description
CustomMetadata|null

hasCustom

clearCustom

setCustom

Output only. Custom metadata provided by user-defined deploy operation.

Parameter
Name Description
var CustomMetadata
Returns
Type Description
$this