Google Cloud Deploy V1 Client - Class Metadata (0.19.1)

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

Metadata includes information associated with a Rollout.

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

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 Rollout.

↳ automation Google\Cloud\Deploy\V1\AutomationRolloutMetadata

Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.

↳ custom Google\Cloud\Deploy\V1\CustomMetadata

Output only. Custom metadata provided by user-defined Rollout operations.

getCloudRun

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

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 Rollout.

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

getAutomation

Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.

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

hasAutomation

clearAutomation

setAutomation

Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.

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

getCustom

Output only. Custom metadata provided by user-defined Rollout operations.

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

hasCustom

clearCustom

setCustom

Output only. Custom metadata provided by user-defined Rollout operations.

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