Google Cloud Deploy V1 Client - Class Metadata (0.15.0)

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
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 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
TypeDescription
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
NameDescription
var Google\Cloud\Deploy\V1\CloudRunMetadata
Returns
TypeDescription
$this

getAutomation

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

Returns
TypeDescription
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
NameDescription
var Google\Cloud\Deploy\V1\AutomationRolloutMetadata
Returns
TypeDescription
$this

getCustom

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

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

hasCustom

clearCustom

setCustom

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

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