Google Cloud Deploy V1 Client - Class DeployJobRunMetadata (1.1.1)

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 Google\Cloud\Deploy\V1\CloudRunMetadata

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

↳ custom_target Google\Cloud\Deploy\V1\CustomTargetDeployMetadata

Output only. Custom Target metadata associated with a DeployJobRun.

↳ custom Google\Cloud\Deploy\V1\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
Google\Cloud\Deploy\V1\CloudRunMetadata|null

hasCloudRun

clearCloudRun

setCloudRun

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

Parameter
Name Description
var Google\Cloud\Deploy\V1\CloudRunMetadata
Returns
Type Description
$this

getCustomTarget

Output only. Custom Target metadata associated with a DeployJobRun.

Returns
Type Description
Google\Cloud\Deploy\V1\CustomTargetDeployMetadata|null

hasCustomTarget

clearCustomTarget

setCustomTarget

Output only. Custom Target metadata associated with a DeployJobRun.

Parameter
Name Description
var Google\Cloud\Deploy\V1\CustomTargetDeployMetadata
Returns
Type Description
$this

getCustom

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

Returns
Type Description
Google\Cloud\Deploy\V1\CustomMetadata|null

hasCustom

clearCustom

setCustom

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

Parameter
Name Description
var Google\Cloud\Deploy\V1\CustomMetadata
Returns
Type Description
$this