Google Cloud Deploy V1 Client - Class DeployJobRunMetadata (0.16.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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\Deploy\V1\CloudRunMetadata
Returns
TypeDescription
$this

getCustomTarget

Output only. Custom Target metadata associated with a DeployJobRun.

Returns
TypeDescription
Google\Cloud\Deploy\V1\CustomTargetDeployMetadata|null

hasCustomTarget

clearCustomTarget

setCustomTarget

Output only. Custom Target metadata associated with a DeployJobRun.

Parameter
NameDescription
var Google\Cloud\Deploy\V1\CustomTargetDeployMetadata
Returns
TypeDescription
$this

getCustom

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

Returns
TypeDescription
Google\Cloud\Deploy\V1\CustomMetadata|null

hasCustom

clearCustom

setCustom

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

Parameter
NameDescription
var Google\Cloud\Deploy\V1\CustomMetadata
Returns
TypeDescription
$this