Service Client: Google::Cloud::Deploy::V1::CloudDeploy::CloudDeployClient
Client stub representing the remote CloudDeploy gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to deploy.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Deploy::V1::CloudDeploy - Compiled Protocol Buffers messages for google/cloud/deploy/v1/cloud_deploy.proto
SYNOPSIS
use Google::Cloud::Deploy::V1::CloudDeploy;
my $msg = Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipeline->new({
name => $name,
uid => $uid,
description => $description,
annotations => $annotations,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipeline->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/deploy/v1/cloud_deploy.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipeline
A `DeliveryPipeline` resource in the Cloud Deploy API.
A `DeliveryPipeline` defines a pipeline through which a Skaffold configuration can progress.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the `DeliveryPipeline`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. The `deliveryPipeline` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique identifier of the `DeliveryPipeline`.
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the `DeliveryPipeline`. Max length is 255 characters.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipeline::AnnotationsEntry)Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipeline::LabelsEntry)Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:
* Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the pipeline was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Most recent time at which the pipeline was updated.
$msg->serial_pipeline()/$msg->serial_pipeline($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::SerialPipeline)Optional. SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.
$msg->condition()/$msg->condition($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PipelineCondition)Output only. Information around the state of the Delivery Pipeline.
$msg->etag()/$msg->etag($value)Type:
StringThis checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
$msg->suspended()/$msg->suspended($value)Type:
BoolOptional. When suspended, no new releases or rollouts can be created, but in-progress ones will complete.
Google::Cloud::Deploy::V1::CloudDeploy::SerialPipeline
SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.
Inherits from Protobuf::Message.
Accessors
$msg->stages()/$msg->stages($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Stage)Optional. Each stage specifies configuration for a `Target`. The ordering of this list defines the promotion flow.
Google::Cloud::Deploy::V1::CloudDeploy::Stage
Stage specifies a location to which to deploy.
Inherits from Protobuf::Message.
Accessors
$msg->target_id()/$msg->target_id($value)Type:
StringOptional. The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be `my-target` (rather than `projects/project/locations/location/targets/my-target`). The location of the `Target` is inferred to be the same as the location of the `DeliveryPipeline` that contains this `Stage`.
$msg->profiles()/$msg->profiles($value)Type:
StringOptional. Skaffold profiles to use when rendering the manifest for this stage's `Target`.
$msg->strategy()/$msg->strategy($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Strategy)Optional. The strategy to use for a `Rollout` to this stage.
$msg->deploy_parameters()/$msg->deploy_parameters($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployParameters)Optional. The deploy parameters to use for the target in this stage.
Google::Cloud::Deploy::V1::CloudDeploy::DeployParameters
DeployParameters contains deploy parameters information.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployParameters::ValuesEntry)Required. Values are deploy parameters in key-value pairs.
$msg->match_target_labels()/$msg->match_target_labels($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployParameters::MatchTargetLabelsEntry)Optional. Deploy parameters are applied to targets with match labels. If unspecified, deploy parameters are applied to all targets (including child targets of a multi-target).
Google::Cloud::Deploy::V1::CloudDeploy::Strategy
Strategy contains deployment strategy information.
Inherits from Protobuf::Message.
Accessors
$msg->standard()/$msg->standard($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Standard)Optional. Standard deployment strategy executes a single deploy and allows verifying the deployment.
$msg->canary()/$msg->canary($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Canary)Optional. Canary deployment strategy provides progressive percentage based deployments to a Target.
Google::Cloud::Deploy::V1::CloudDeploy::Predeploy
Predeploy contains the predeploy job configuration information.
Inherits from Protobuf::Message.
Accessors
$msg->actions()/$msg->actions($value)Type:
StringOptional. A sequence of Skaffold custom actions to invoke during execution of the predeploy job.
Google::Cloud::Deploy::V1::CloudDeploy::Postdeploy
Postdeploy contains the postdeploy job configuration information.
Inherits from Protobuf::Message.
Accessors
$msg->actions()/$msg->actions($value)Type:
StringOptional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job.
Google::Cloud::Deploy::V1::CloudDeploy::Standard
Standard represents the standard deployment strategy.
Inherits from Protobuf::Message.
Accessors
$msg->verify()/$msg->verify($value)Type:
BoolOptional. Whether to verify a deployment via `skaffold verify`.
$msg->predeploy()/$msg->predeploy($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Predeploy)Optional. Configuration for the predeploy job. If this is not configured, the predeploy job will not be present.
$msg->postdeploy()/$msg->postdeploy($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Postdeploy)Optional. Configuration for the postdeploy job. If this is not configured, the postdeploy job will not be present.
Google::Cloud::Deploy::V1::CloudDeploy::Canary
Canary represents the canary deployment strategy.
Inherits from Protobuf::Message.
Accessors
$msg->runtime_config()/$msg->runtime_config($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::RuntimeConfig)Optional. Runtime specific configurations for the deployment strategy. The runtime configuration is used to determine how Cloud Deploy will split traffic to enable a progressive deployment.
$msg->canary_deployment()/$msg->canary_deployment($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CanaryDeployment)Optional. Configures the progressive based deployment for a Target.
$msg->custom_canary_deployment()/$msg->custom_canary_deployment($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomCanaryDeployment)Optional. Configures the progressive based deployment for a Target, but allows customizing at the phase level where a phase represents each of the percentage deployments.
Google::Cloud::Deploy::V1::CloudDeploy::CanaryDeployment
CanaryDeployment represents the canary deployment configuration
Inherits from Protobuf::Message.
Accessors
$msg->percentages()/$msg->percentages($value)Type:
Int32Required. The percentage based deployments that will occur as a part of a `Rollout`. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100.
$msg->verify()/$msg->verify($value)Type:
BoolOptional. Whether to run verify tests after each percentage deployment via `skaffold verify`.
$msg->predeploy()/$msg->predeploy($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Predeploy)Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.
$msg->postdeploy()/$msg->postdeploy($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Postdeploy)Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.
Google::Cloud::Deploy::V1::CloudDeploy::CustomCanaryDeployment
CustomCanaryDeployment represents the custom canary deployment configuration.
Inherits from Protobuf::Message.
Accessors
$msg->phase_configs()/$msg->phase_configs($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomCanaryDeployment::PhaseConfig)Required. Configuration for each phase in the canary deployment in the order executed.
Google::Cloud::Deploy::V1::CloudDeploy::KubernetesConfig
KubernetesConfig contains the Kubernetes runtime configuration.
Inherits from Protobuf::Message.
Accessors
$msg->gateway_service_mesh()/$msg->gateway_service_mesh($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::KubernetesConfig::GatewayServiceMesh)Optional. Kubernetes Gateway API service mesh configuration.
$msg->service_networking()/$msg->service_networking($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::KubernetesConfig::ServiceNetworking)Optional. Kubernetes Service networking configuration.
Google::Cloud::Deploy::V1::CloudDeploy::CloudRunConfig
CloudRunConfig contains the Cloud Run runtime configuration.
Inherits from Protobuf::Message.
Accessors
$msg->automatic_traffic_control()/$msg->automatic_traffic_control($value)Type:
BoolOptional. Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service on the user's behalf to facilitate traffic splitting. This is required to be true for CanaryDeployments, but optional for CustomCanaryDeployments.
$msg->canary_revision_tags()/$msg->canary_revision_tags($value)Type:
StringOptional. A list of tags that are added to the canary revision while the canary phase is in progress.
$msg->prior_revision_tags()/$msg->prior_revision_tags($value)Type:
StringOptional. A list of tags that are added to the prior revision while the canary phase is in progress.
$msg->stable_revision_tags()/$msg->stable_revision_tags($value)Type:
StringOptional. A list of tags that are added to the final stable revision when the stable phase is applied.
Google::Cloud::Deploy::V1::CloudDeploy::RuntimeConfig
RuntimeConfig contains the runtime specific configurations for a deployment strategy.
Inherits from Protobuf::Message.
Accessors
$msg->kubernetes()/$msg->kubernetes($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::KubernetesConfig)Optional. Kubernetes runtime configuration.
$msg->cloud_run()/$msg->cloud_run($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CloudRunConfig)Optional. Cloud Run runtime configuration.
Google::Cloud::Deploy::V1::CloudDeploy::PipelineReadyCondition
PipelineReadyCondition contains information around the status of the Pipeline.
Inherits from Protobuf::Message.
Accessors
$msg->status()/$msg->status($value)Type:
BoolTrue if the Pipeline is in a valid state. Otherwise at least one condition in `PipelineCondition` is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Last time the condition was updated.
Google::Cloud::Deploy::V1::CloudDeploy::TargetsPresentCondition
`TargetsPresentCondition` contains information on any Targets referenced in the Delivery Pipeline that do not actually exist.
Inherits from Protobuf::Message.
Accessors
$msg->status()/$msg->status($value)Type:
BoolTrue if there aren't any missing Targets.
$msg->missing_targets()/$msg->missing_targets($value)Type:
StringThe list of Target names that do not exist. For example, `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Last time the condition was updated.
Google::Cloud::Deploy::V1::CloudDeploy::TargetsTypeCondition
TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type.
Inherits from Protobuf::Message.
Accessors
$msg->status()/$msg->status($value)Type:
BoolTrue if the targets are all a comparable type. For example this is true if all targets are GKE clusters. This is false if some targets are Cloud Run targets and others are GKE clusters.
$msg->error_details()/$msg->error_details($value)Type:
StringHuman readable error message.
Google::Cloud::Deploy::V1::CloudDeploy::PipelineCondition
PipelineCondition contains all conditions relevant to a Delivery Pipeline.
Inherits from Protobuf::Message.
Accessors
$msg->pipeline_ready_condition()/$msg->pipeline_ready_condition($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PipelineReadyCondition)Details around the Pipeline's overall status.
$msg->targets_present_condition()/$msg->targets_present_condition($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TargetsPresentCondition)Details around targets enumerated in the pipeline.
$msg->targets_type_condition()/$msg->targets_type_condition($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TargetsTypeCondition)Details on the whether the targets enumerated in the pipeline are of the same type.
Google::Cloud::Deploy::V1::CloudDeploy::ListDeliveryPipelinesRequest
The request object for `ListDeliveryPipelines`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of pipelines. Format must be `projects/{project_id}/locations/{location_name}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of pipelines to return. The service may return fewer than this value. If unspecified, at most 50 pipelines will be returned. The maximum value is 1000; values above 1000 will be set to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListDeliveryPipelines` call. Provide this to retrieve the subsequent page.
When paginating, all other provided parameters match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringFilter pipelines to be returned. See https://google.aip.dev/160 for more details.
$msg->order_by()/$msg->order_by($value)Type:
StringField to sort by. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Deploy::V1::CloudDeploy::ListDeliveryPipelinesResponse
The response object from `ListDeliveryPipelines`.
Inherits from Protobuf::Message.
Accessors
$msg->delivery_pipelines()/$msg->delivery_pipelines($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipeline)The `DeliveryPipeline` objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Deploy::V1::CloudDeploy::GetDeliveryPipelineRequest
The request object for `GetDeliveryPipeline`
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the `DeliveryPipeline`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
Google::Cloud::Deploy::V1::CloudDeploy::CreateDeliveryPipelineRequest
The request object for `CreateDeliveryPipeline`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent collection in which the `DeliveryPipeline` must be created. The format is `projects/{project_id}/locations/{location_name}`.
$msg->delivery_pipeline_id()/$msg->delivery_pipeline_id($value)Type:
StringRequired. ID of the `DeliveryPipeline`.
$msg->delivery_pipeline()/$msg->delivery_pipeline($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipeline)Required. The `DeliveryPipeline` to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Google::Cloud::Deploy::V1::CloudDeploy::UpdateDeliveryPipelineRequest
The request object for `UpdateDeliveryPipeline`.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Field mask is used to specify the fields to be overwritten by the update in the `DeliveryPipeline` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten.
$msg->delivery_pipeline()/$msg->delivery_pipeline($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipeline)Required. The `DeliveryPipeline` to update.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, updating a `DeliveryPipeline` that does not exist will result in the creation of a new `DeliveryPipeline`.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Google::Cloud::Deploy::V1::CloudDeploy::DeleteDeliveryPipelineRequest
The request object for `DeleteDeliveryPipeline`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the `DeliveryPipeline` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, then deleting an already deleted or non-existing `DeliveryPipeline` will succeed.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the review, but do not actually post it.
$msg->force()/$msg->force($value)Type:
BoolOptional. If set to true, all child resources under this pipeline will also be deleted. Otherwise, the request will only work if the pipeline has no child resources.
$msg->etag()/$msg->etag($value)Type:
StringOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Google::Cloud::Deploy::V1::CloudDeploy::RollbackTargetConfig
Configs for the Rollback rollout.
Inherits from Protobuf::Message.
Accessors
$msg->rollout()/$msg->rollout($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Rollout)Optional. The rollback `Rollout` to create.
$msg->starting_phase_id()/$msg->starting_phase_id($value)Type:
StringOptional. The starting phase ID for the `Rollout`. If unspecified, the `Rollout` will start in the stable phase.
Google::Cloud::Deploy::V1::CloudDeploy::RollbackTargetRequest
The request object for `RollbackTarget`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The `DeliveryPipeline` for which the rollback `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
$msg->target_id()/$msg->target_id($value)Type:
StringRequired. ID of the `Target` that is being rolled back.
$msg->rollout_id()/$msg->rollout_id($value)Type:
StringRequired. ID of the rollback `Rollout` to create.
$msg->release_id()/$msg->release_id($value)Type:
StringOptional. ID of the `Release` to roll back to. If this isn't specified, the previous successful `Rollout` to the specified target will be used to determine the `Release`.
$msg->rollout_to_roll_back()/$msg->rollout_to_roll_back($value)Type:
StringOptional. If provided, this must be the latest `Rollout` that is on the `Target`.
$msg->rollback_config()/$msg->rollback_config($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::RollbackTargetConfig)Optional. Configs for the rollback `Rollout`.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with a `RollbackTargetResponse`.
$msg->override_deploy_policy()/$msg->override_deploy_policy($value)Type:
StringOptional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deploy_policy}`.
Google::Cloud::Deploy::V1::CloudDeploy::RollbackTargetResponse
The response object from `RollbackTarget`.
Inherits from Protobuf::Message.
Accessors
$msg->rollback_config()/$msg->rollback_config($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::RollbackTargetConfig)The config of the rollback `Rollout` created or will be created.
Google::Cloud::Deploy::V1::CloudDeploy::Target
A `Target` resource in the Cloud Deploy API.
A `Target` defines a location to which a Skaffold configuration can be deployed.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/{target}`. The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
$msg->target_id()/$msg->target_id($value)Type:
StringOutput only. Resource id of the `Target`.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique identifier of the `Target`.
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the `Target`. Max length is 255 characters.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Target::AnnotationsEntry)Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Target::LabelsEntry)Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:
* Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
$msg->require_approval()/$msg->require_approval($value)Type:
BoolOptional. Whether or not the `Target` requires approval.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `Target` was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Most recent time at which the `Target` was updated.
$msg->gke()/$msg->gke($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::GkeCluster)Optional. Information specifying a GKE Cluster.
$msg->anthos_cluster()/$msg->anthos_cluster($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AnthosCluster)Optional. Information specifying an Anthos Cluster.
$msg->run()/$msg->run($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CloudRunLocation)Optional. Information specifying a Cloud Run deployment target.
$msg->multi_target()/$msg->multi_target($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::MultiTarget)Optional. Information specifying a multiTarget.
$msg->custom_target()/$msg->custom_target($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomTarget)Optional. Information specifying a Custom Target.
$msg->associated_entities()/$msg->associated_entities($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Target::AssociatedEntitiesEntry)Optional. Map of entity IDs to their associated entities. Associated entities allows specifying places other than the deployment target for specific features. For example, the Gateway API canary can be configured to deploy the HTTPRoute to a different cluster(s) than the deployment cluster using associated entities. An entity ID must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
$msg->etag()/$msg->etag($value)Type:
StringOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
$msg->execution_configs()/$msg->execution_configs($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::ExecutionConfig)Optional. Configurations for all execution that relates to this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are specified, execution will use the default specified in `DefaultPool`.
$msg->deploy_parameters()/$msg->deploy_parameters($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Target::DeployParametersEntry)Optional. The deploy parameters to use for this target.
Google::Cloud::Deploy::V1::CloudDeploy::ExecutionConfig
Configuration of the environment to use when calling Skaffold.
Inherits from Protobuf::Message.
Accessors
$msg->usages()/$msg->usages($value)Type:
Enum(Google::Cloud::Deploy::V1::ExecutionConfig::ExecutionEnvironmentUsage)Required. Usages when this configuration should be applied.
$msg->default_pool()/$msg->default_pool($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DefaultPool)Optional. Use default Cloud Build pool.
$msg->private_pool()/$msg->private_pool($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PrivatePool)Optional. Use private Cloud Build pool.
$msg->worker_pool()/$msg->worker_pool($value)Type:
StringOptional. The resource name of the `WorkerPool`, with the format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. If this optional field is unspecified, the default Cloud Build pool will be used.
$msg->service_account()/$msg->service_account($value)Type:
StringOptional. Google service account to use for execution. If unspecified, the project execution service account (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
$msg->artifact_storage()/$msg->artifact_storage($value)Type:
StringOptional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used.
$msg->execution_timeout()/$msg->execution_timeout($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used.
$msg->verbose()/$msg->verbose($value)Type:
BoolOptional. If true, additional logging will be enabled when running builds in this execution environment.
Enum: ExecutionConfig::ExecutionEnvironmentUsage
EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED=>0RENDER=>1DEPLOY=>2VERIFY=>3PREDEPLOY=>4POSTDEPLOY=>5
Google::Cloud::Deploy::V1::CloudDeploy::DefaultPool
Execution using the default Cloud Build pool.
Inherits from Protobuf::Message.
Accessors
$msg->service_account()/$msg->service_account($value)Type:
StringOptional. Google service account to use for execution. If unspecified, the project execution service account (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) will be used.
$msg->artifact_storage()/$msg->artifact_storage($value)Type:
StringOptional. Cloud Storage location where execution outputs should be stored. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used.
Google::Cloud::Deploy::V1::CloudDeploy::PrivatePool
Execution using a private Cloud Build pool.
Inherits from Protobuf::Message.
Accessors
$msg->worker_pool()/$msg->worker_pool($value)Type:
StringRequired. Resource name of the Cloud Build worker pool to use. The format is `projects/{project}/locations/{location}/workerPools/{pool}`.
$msg->service_account()/$msg->service_account($value)Type:
StringOptional. Google service account to use for execution. If unspecified, the project execution service account (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) will be used.
$msg->artifact_storage()/$msg->artifact_storage($value)Type:
StringOptional. Cloud Storage location where execution outputs should be stored. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used.
Google::Cloud::Deploy::V1::CloudDeploy::GkeCluster
Information specifying a GKE Cluster.
Inherits from Protobuf::Message.
Accessors
$msg->cluster()/$msg->cluster($value)Type:
StringOptional. Information specifying a GKE Cluster. Format is `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
$msg->internal_ip()/$msg->internal_ip($value)Type:
BoolOptional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise.
Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept). Note that `internal_ip` and `dns_endpoint` cannot both be set to true.
$msg->proxy_url()/$msg->proxy_url($value)Type:
StringOptional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.
$msg->dns_endpoint()/$msg->dns_endpoint($value)Type:
BoolOptional. If set, the cluster will be accessed using the DNS endpoint. Note that both `dns_endpoint` and `internal_ip` cannot be set to true.
Google::Cloud::Deploy::V1::CloudDeploy::AnthosCluster
Information specifying an Anthos Cluster.
Inherits from Protobuf::Message.
Accessors
$msg->membership()/$msg->membership($value)Type:
StringOptional. Membership of the GKE Hub-registered cluster to which to apply the Skaffold configuration. Format is `projects/{project}/locations/{location}/memberships/{membership_name}`.
Google::Cloud::Deploy::V1::CloudDeploy::CloudRunLocation
Information specifying where to deploy a Cloud Run Service.
Inherits from Protobuf::Message.
Accessors
$msg->location()/$msg->location($value)Type:
StringRequired. The location for the Cloud Run Service. Format must be `projects/{project}/locations/{location}`.
Google::Cloud::Deploy::V1::CloudDeploy::MultiTarget
Information specifying a multiTarget.
Inherits from Protobuf::Message.
Accessors
$msg->target_ids()/$msg->target_ids($value)Type:
StringRequired. The target_ids of this multiTarget.
Google::Cloud::Deploy::V1::CloudDeploy::CustomTarget
Information specifying a Custom Target.
Inherits from Protobuf::Message.
Accessors
$msg->custom_target_type()/$msg->custom_target_type($value)Type:
StringRequired. The name of the CustomTargetType. Format must be `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
Google::Cloud::Deploy::V1::CloudDeploy::AssociatedEntities
Information about entities associated with a `Target`.
Inherits from Protobuf::Message.
Accessors
$msg->gke_clusters()/$msg->gke_clusters($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::GkeCluster)Optional. Information specifying GKE clusters as associated entities.
$msg->anthos_clusters()/$msg->anthos_clusters($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AnthosCluster)Optional. Information specifying Anthos clusters as associated entities.
Google::Cloud::Deploy::V1::CloudDeploy::ListTargetsRequest
The request object for `ListTargets`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of targets. Format must be `projects/{project_id}/locations/{location_name}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of `Target` objects to return. The service may return fewer than this value. If unspecified, at most 50 `Target` objects will be returned. The maximum value is 1000; values above 1000 will be set to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous `ListTargets` call. Provide this to retrieve the subsequent page.
When paginating, all other provided parameters match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter targets to be returned. See https://google.aip.dev/160 for more details.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Deploy::V1::CloudDeploy::ListTargetsResponse
The response object from `ListTargets`.
Inherits from Protobuf::Message.
Accessors
$msg->targets()/$msg->targets($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Target)The `Target` objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Deploy::V1::CloudDeploy::GetTargetRequest
The request object for `GetTarget`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the `Target`. Format must be `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
Google::Cloud::Deploy::V1::CloudDeploy::CreateTargetRequest
The request object for `CreateTarget`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent collection in which the `Target` must be created. The format is `projects/{project_id}/locations/{location_name}`.
$msg->target_id()/$msg->target_id($value)Type:
StringRequired. ID of the `Target`.
$msg->target()/$msg->target($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Target)Required. The `Target` to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Google::Cloud::Deploy::V1::CloudDeploy::UpdateTargetRequest
The request object for `UpdateTarget`.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Field mask is used to specify the fields to be overwritten by the update in the `Target` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten.
$msg->target()/$msg->target($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Target)Required. The `Target` to update.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, updating a `Target` that does not exist will result in the creation of a new `Target`.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Google::Cloud::Deploy::V1::CloudDeploy::DeleteTargetRequest
The request object for `DeleteTarget`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the `Target` to delete. The format is `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, then deleting an already deleted or non-existing `Target` will succeed.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the review, but do not actually post it.
$msg->etag()/$msg->etag($value)Type:
StringOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Google::Cloud::Deploy::V1::CloudDeploy::CustomTargetType
A `CustomTargetType` resource in the Cloud Deploy API.
A `CustomTargetType` defines a type of custom target that can be referenced in a `Target` in order to facilitate deploying to other systems besides the supported runtimes.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
$msg->custom_target_type_id()/$msg->custom_target_type_id($value)Type:
StringOutput only. Resource id of the `CustomTargetType`.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique identifier of the `CustomTargetType`.
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the `CustomTargetType`. Max length is 255 characters.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomTargetType::AnnotationsEntry)Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomTargetType::LabelsEntry)Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:
* Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `CustomTargetType` was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Most recent time at which the `CustomTargetType` was updated.
$msg->etag()/$msg->etag($value)Type:
StringOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
$msg->custom_actions()/$msg->custom_actions($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomTargetSkaffoldActions)Optional. Configures render and deploy for the `CustomTargetType` using Skaffold custom actions.
Google::Cloud::Deploy::V1::CloudDeploy::CustomTargetSkaffoldActions
CustomTargetSkaffoldActions represents the `CustomTargetType` configuration using Skaffold custom actions.
Inherits from Protobuf::Message.
Accessors
$msg->render_action()/$msg->render_action($value)Type:
StringOptional. The Skaffold custom action responsible for render operations. If not provided then Cloud Deploy will perform the render operations via `skaffold render`.
$msg->deploy_action()/$msg->deploy_action($value)Type:
StringRequired. The Skaffold custom action responsible for deploy operations.
$msg->include_skaffold_modules()/$msg->include_skaffold_modules($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::SkaffoldModules)Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold Config as required before performing diagnose.
Google::Cloud::Deploy::V1::CloudDeploy::SkaffoldModules
Skaffold Config modules and their remote source.
Inherits from Protobuf::Message.
Accessors
$msg->configs()/$msg->configs($value)Type:
StringOptional. The Skaffold Config modules to use from the specified source.
$msg->git()/$msg->git($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::SkaffoldModules::SkaffoldGitSource)Optional. Remote git repository containing the Skaffold Config modules.
$msg->google_cloud_storage()/$msg->google_cloud_storage($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::SkaffoldModules::SkaffoldGCSSource)Optional. Cloud Storage bucket containing the Skaffold Config modules.
$msg->google_cloud_build_repo()/$msg->google_cloud_build_repo($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::SkaffoldModules::SkaffoldGCBRepoSource)Optional. Cloud Build V2 repository containing the Skaffold Config modules.
Google::Cloud::Deploy::V1::CloudDeploy::ListCustomTargetTypesRequest
The request object for `ListCustomTargetTypes`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent that owns this collection of custom target types. Format must be `projects/{project_id}/locations/{location_name}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of `CustomTargetType` objects to return. The service may return fewer than this value. If unspecified, at most 50 `CustomTargetType` objects will be returned. The maximum value is 1000; values above 1000 will be set to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous `ListCustomTargetTypes` call. Provide this to retrieve the subsequent page.
When paginating, all other provided parameters match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter custom target types to be returned. See https://google.aip.dev/160 for more details.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Deploy::V1::CloudDeploy::ListCustomTargetTypesResponse
The response object from `ListCustomTargetTypes.`
Inherits from Protobuf::Message.
Accessors
$msg->custom_target_types()/$msg->custom_target_types($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomTargetType)The `CustomTargetType` objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Deploy::V1::CloudDeploy::GetCustomTargetTypeRequest
The request object for `GetCustomTargetType`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the `CustomTargetType`. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
Google::Cloud::Deploy::V1::CloudDeploy::CreateCustomTargetTypeRequest
The request object for `CreateCustomTargetType`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent collection in which the `CustomTargetType` must be created. The format is `projects/{project_id}/locations/{location_name}`.
$msg->custom_target_type_id()/$msg->custom_target_type_id($value)Type:
StringRequired. ID of the `CustomTargetType`.
$msg->custom_target_type()/$msg->custom_target_type($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomTargetType)Required. The `CustomTargetType` to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Google::Cloud::Deploy::V1::CloudDeploy::UpdateCustomTargetTypeRequest
The request object for `UpdateCustomTargetType`.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Field mask is used to specify the fields to be overwritten by the update in the `CustomTargetType` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten.
$msg->custom_target_type()/$msg->custom_target_type($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomTargetType)Required. The `CustomTargetType` to update.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, updating a `CustomTargetType` that does not exist will result in the creation of a new `CustomTargetType`.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Google::Cloud::Deploy::V1::CloudDeploy::DeleteCustomTargetTypeRequest
The request object for `DeleteCustomTargetType`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the `CustomTargetType` to delete. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, then deleting an already deleted or non-existing `CustomTargetType` will succeed.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated but no actual change is made.
$msg->etag()/$msg->etag($value)Type:
StringOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Google::Cloud::Deploy::V1::CloudDeploy::DeployPolicy
A `DeployPolicy` resource in the Cloud Deploy API.
A `DeployPolicy` inhibits manual or automation-driven actions within a Delivery Pipeline or Target.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Name of the `DeployPolicy`. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`. The `deployPolicy` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique identifier of the `DeployPolicy`.
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the `DeployPolicy`. Max length is 255 characters.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployPolicy::AnnotationsEntry)Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints:
* Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`).
See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployPolicy::LabelsEntry)Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:
* Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the deploy policy was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Most recent time at which the deploy policy was updated.
$msg->suspended()/$msg->suspended($value)Type:
BoolOptional. When suspended, the policy will not prevent actions from occurring, even if the action violates the policy.
$msg->selectors()/$msg->selectors($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployPolicyResourceSelector)Required. Selected resources to which the policy will be applied. At least one selector is required. If one selector matches the resource the policy applies. For example, if there are two selectors and the action being attempted matches one of them, the policy will apply to that action.
$msg->rules()/$msg->rules($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PolicyRule)Required. Rules to apply. At least one rule must be present.
$msg->etag()/$msg->etag($value)Type:
StringThe weak etag of the `DeployPolicy` resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Enum: DeployPolicy::Invoker
INVOKER_UNSPECIFIED=>0USER=>1DEPLOY_AUTOMATION=>2
Google::Cloud::Deploy::V1::CloudDeploy::DeployPolicyResourceSelector
Contains information on the resources to select for a deploy policy. Attributes provided must all match the resource in order for policy restrictions to apply. For example, if delivery pipelines attributes given are an id "prod" and labels "foo: bar", a delivery pipeline resource must match both that id and have that label in order to be subject to the policy.
Inherits from Protobuf::Message.
Accessors
$msg->delivery_pipeline()/$msg->delivery_pipeline($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipelineAttribute)Optional. Contains attributes about a delivery pipeline.
$msg->target()/$msg->target($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TargetAttribute)Optional. Contains attributes about a target.
Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipelineAttribute
Contains criteria for selecting DeliveryPipelines.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringOptional. ID of the `DeliveryPipeline`. The value of this field could be one of the following:
* The last segment of a pipeline name * "*", all delivery pipelines in a location
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipelineAttribute::LabelsEntry)DeliveryPipeline labels.
Google::Cloud::Deploy::V1::CloudDeploy::TargetAttribute
Contains criteria for selecting Targets. This could be used to select targets for a Deploy Policy or for an Automation.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringOptional. ID of the `Target`. The value of this field could be one of the following:
* The last segment of a target name * "*", all targets in a location
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TargetAttribute::LabelsEntry)Target labels.
Google::Cloud::Deploy::V1::CloudDeploy::PolicyRule
Deploy Policy rule.
Inherits from Protobuf::Message.
Accessors
$msg->rollout_restriction()/$msg->rollout_restriction($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::RolloutRestriction)Optional. Rollout restrictions.
Google::Cloud::Deploy::V1::CloudDeploy::RolloutRestriction
Rollout restrictions.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringRequired. Restriction rule ID. Required and must be unique within a DeployPolicy. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
$msg->invokers()/$msg->invokers($value)Type:
Enum(Google::Cloud::Deploy::V1::DeployPolicy::Invoker)Optional. What invoked the action. If left empty, all invoker types will be restricted.
$msg->actions()/$msg->actions($value)Type:
Enum(Google::Cloud::Deploy::V1::RolloutRestriction::RolloutActions)Optional. Rollout actions to be restricted as part of the policy. If left empty, all actions will be restricted.
$msg->time_windows()/$msg->time_windows($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TimeWindows)Required. Time window within which actions are restricted.
Enum: RolloutRestriction::RolloutActions
ROLLOUT_ACTIONS_UNSPECIFIED=>0ADVANCE=>1APPROVE=>2CANCEL=>3CREATE=>4IGNORE_JOB=>5RETRY_JOB=>6ROLLBACK=>7TERMINATE_JOBRUN=>8
Google::Cloud::Deploy::V1::CloudDeploy::TimeWindows
Time windows within which actions are restricted. See the [documentation](https://cloud.google.com/deploy/docs/deploy-policy#dates_times) for more information on how to configure dates/times.
Inherits from Protobuf::Message.
Accessors
$msg->time_zone()/$msg->time_zone($value)Type:
StringRequired. The time zone in IANA format [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/New_York).
$msg->one_time_windows()/$msg->one_time_windows($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::OneTimeWindow)Optional. One-time windows within which actions are restricted.
$msg->weekly_windows()/$msg->weekly_windows($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::WeeklyWindow)Optional. Recurring weekly windows within which actions are restricted.
Google::Cloud::Deploy::V1::CloudDeploy::OneTimeWindow
One-time window within which actions are restricted. For example, blocking actions over New Year's Eve from December 31st at 5pm to January 1st at 9am.
Inherits from Protobuf::Message.
Accessors
$msg->start_date()/$msg->start_date($value)Type:
Message(Google::Type::Date::Date)Required. Start date.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Type::Timeofday::TimeOfDay)Required. Start time (inclusive). Use 00:00 for the beginning of the day.
$msg->end_date()/$msg->end_date($value)Type:
Message(Google::Type::Date::Date)Required. End date.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Type::Timeofday::TimeOfDay)Required. End time (exclusive). You may use 24:00 for the end of the day.
Google::Cloud::Deploy::V1::CloudDeploy::WeeklyWindow
Weekly windows. For example, blocking actions every Saturday and Sunday. Another example would be blocking actions every weekday from 5pm to midnight.
Inherits from Protobuf::Message.
Accessors
$msg->days_of_week()/$msg->days_of_week($value)Type:
Enum(Google::Type::DayOfWeek)Optional. Days of week. If left empty, all days of the week will be included.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Type::Timeofday::TimeOfDay)Optional. Start time (inclusive). Use 00:00 for the beginning of the day. If you specify start_time you must also specify end_time. If left empty, this will block for the entire day for the days specified in days_of_week.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Type::Timeofday::TimeOfDay)Optional. End time (exclusive). Use 24:00 to indicate midnight. If you specify end_time you must also specify start_time. If left empty, this will block for the entire day for the days specified in days_of_week.
Google::Cloud::Deploy::V1::CloudDeploy::PolicyViolation
Returned from an action if one or more policies were violated, and therefore the action was prevented. Contains information about what policies were violated and why.
Inherits from Protobuf::Message.
Accessors
$msg->policy_violation_details()/$msg->policy_violation_details($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PolicyViolationDetails)Policy violation details.
Google::Cloud::Deploy::V1::CloudDeploy::PolicyViolationDetails
Policy violation details.
Inherits from Protobuf::Message.
Accessors
$msg->policy()/$msg->policy($value)Type:
StringName of the policy that was violated. Policy resource will be in the format of `projects/{project}/locations/{location}/policies/{policy}`.
$msg->rule_id()/$msg->rule_id($value)Type:
StringId of the rule that triggered the policy violation.
$msg->failure_message()/$msg->failure_message($value)Type:
StringUser readable message about why the request violated a policy. This is not intended for machine parsing.
Google::Cloud::Deploy::V1::CloudDeploy::Release
A `Release` resource in the Cloud Deploy API.
A `Release` defines a specific Skaffold configuration instance that can be deployed.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the `Release`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique identifier of the `Release`.
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the `Release`. Max length is 255 characters.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Release::AnnotationsEntry)Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Release::LabelsEntry)Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:
* Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
$msg->abandoned()/$msg->abandoned($value)Type:
BoolOutput only. Indicates whether this is an abandoned release.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `Release` was created.
$msg->render_start_time()/$msg->render_start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the render began.
$msg->render_end_time()/$msg->render_end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the render completed.
$msg->skaffold_config_uri()/$msg->skaffold_config_uri($value)Type:
StringOptional. Cloud Storage URI of tar.gz archive containing Skaffold configuration.
$msg->skaffold_config_path()/$msg->skaffold_config_path($value)Type:
StringOptional. Filepath of the Skaffold config inside of the config URI.
$msg->build_artifacts()/$msg->build_artifacts($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::BuildArtifact)Optional. List of artifacts to pass through to Skaffold command.
$msg->delivery_pipeline_snapshot()/$msg->delivery_pipeline_snapshot($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeliveryPipeline)Output only. Snapshot of the parent pipeline taken at release creation time.
$msg->target_snapshots()/$msg->target_snapshots($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Target)Output only. Snapshot of the targets taken at release creation time.
$msg->custom_target_type_snapshots()/$msg->custom_target_type_snapshots($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomTargetType)Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.
$msg->render_state()/$msg->render_state($value)Type:
Enum(Google::Cloud::Deploy::V1::Release::RenderState)Output only. Current state of the render operation.
$msg->etag()/$msg->etag($value)Type:
StringThis checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
$msg->skaffold_version()/$msg->skaffold_version($value)Type:
StringOptional. The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions.
If unset, the most recent supported Skaffold version will be used.
$msg->target_artifacts()/$msg->target_artifacts($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Release::TargetArtifactsEntry)Output only. Map from target ID to the target artifacts created during the render operation.
$msg->target_renders()/$msg->target_renders($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Release::TargetRendersEntry)Output only. Map from target ID to details of the render operation for that target.
$msg->condition()/$msg->condition($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Release::ReleaseCondition)Output only. Information around the state of the Release.
$msg->deploy_parameters()/$msg->deploy_parameters($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Release::DeployParametersEntry)Optional. The deploy parameters to use for all targets in this release.
Enum: Release::RenderState
RENDER_STATE_UNSPECIFIED=>0SUCCEEDED=>1FAILED=>2IN_PROGRESS=>3
Google::Cloud::Deploy::V1::CloudDeploy::CreateDeployPolicyRequest
The request object for `CreateDeployPolicy`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent collection in which the `DeployPolicy` must be created. The format is `projects/{project_id}/locations/{location_name}`.
$msg->deploy_policy_id()/$msg->deploy_policy_id($value)Type:
StringRequired. ID of the `DeployPolicy`.
$msg->deploy_policy()/$msg->deploy_policy($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployPolicy)Required. The `DeployPolicy` to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Google::Cloud::Deploy::V1::CloudDeploy::UpdateDeployPolicyRequest
The request object for `UpdateDeployPolicy`.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Field mask is used to specify the fields to be overwritten by the update in the `DeployPolicy` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten.
$msg->deploy_policy()/$msg->deploy_policy($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployPolicy)Required. The `DeployPolicy` to update.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, updating a `DeployPolicy` that does not exist will result in the creation of a new `DeployPolicy`.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Google::Cloud::Deploy::V1::CloudDeploy::DeleteDeployPolicyRequest
The request object for `DeleteDeployPolicy`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the `DeployPolicy` to delete. The format is `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, then deleting an already deleted or non-existing `DeployPolicy` will succeed.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the review, but do not actually post it.
$msg->etag()/$msg->etag($value)Type:
StringOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Google::Cloud::Deploy::V1::CloudDeploy::ListDeployPoliciesRequest
The request object for `ListDeployPolicies`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent, which owns this collection of deploy policies. Format must be `projects/{project_id}/locations/{location_name}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of deploy policies to return. The service may return fewer than this value. If unspecified, at most 50 deploy policies will be returned. The maximum value is 1000; values above 1000 will be set to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListDeployPolicies` call. Provide this to retrieve the subsequent page.
When paginating, all other provided parameters match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringFilter deploy policies to be returned. See https://google.aip.dev/160 for more details. All fields can be used in the filter.
$msg->order_by()/$msg->order_by($value)Type:
StringField to sort by. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Deploy::V1::CloudDeploy::ListDeployPoliciesResponse
The response object from `ListDeployPolicies`.
Inherits from Protobuf::Message.
Accessors
$msg->deploy_policies()/$msg->deploy_policies($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployPolicy)The `DeployPolicy` objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Deploy::V1::CloudDeploy::GetDeployPolicyRequest
The request object for `GetDeployPolicy`
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the `DeployPolicy`. Format must be `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`.
Google::Cloud::Deploy::V1::CloudDeploy::BuildArtifact
Description of an a image to use during Skaffold rendering.
Inherits from Protobuf::Message.
Accessors
$msg->image()/$msg->image($value)Type:
StringOptional. Image name in Skaffold configuration.
$msg->tag()/$msg->tag($value)Type:
StringOptional. Image tag to use. This will generally be the full path to an image, such as "gcr.io/my-project/busybox:1.2.3" or "gcr.io/my-project/busybox@sha256:abc123".
Google::Cloud::Deploy::V1::CloudDeploy::TargetArtifact
The artifacts produced by a target render operation.
Inherits from Protobuf::Message.
Accessors
$msg->artifact_uri()/$msg->artifact_uri($value)Type:
StringOutput only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.
$msg->skaffold_config_path()/$msg->skaffold_config_path($value)Type:
StringOutput only. File path of the resolved Skaffold configuration for the stable phase, relative to the URI.
$msg->manifest_path()/$msg->manifest_path($value)Type:
StringOutput only. File path of the rendered manifest relative to the URI for the stable phase.
$msg->phase_artifacts()/$msg->phase_artifacts($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TargetArtifact::PhaseArtifactsEntry)Output only. Map from the phase ID to the phase artifacts for the `Target`.
Google::Cloud::Deploy::V1::CloudDeploy::DeployArtifact
The artifacts produced by a deploy operation.
Inherits from Protobuf::Message.
Accessors
$msg->artifact_uri()/$msg->artifact_uri($value)Type:
StringOutput only. URI of a directory containing the artifacts. All paths are relative to this location.
$msg->manifest_paths()/$msg->manifest_paths($value)Type:
StringOutput only. File paths of the manifests applied during the deploy operation relative to the URI.
Google::Cloud::Deploy::V1::CloudDeploy::CloudRunRenderMetadata
CloudRunRenderMetadata contains Cloud Run information associated with a `Release` render.
Inherits from Protobuf::Message.
Accessors
$msg->service()/$msg->service($value)Type:
StringOutput only. The name of the Cloud Run Service in the rendered manifest. Format is `projects/{project}/locations/{location}/services/{service}`.
Google::Cloud::Deploy::V1::CloudDeploy::RenderMetadata
RenderMetadata includes information associated with a `Release` render.
Inherits from Protobuf::Message.
Accessors
$msg->cloud_run()/$msg->cloud_run($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CloudRunRenderMetadata)Output only. Metadata associated with rendering for Cloud Run.
$msg->custom()/$msg->custom($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomMetadata)Output only. Custom metadata provided by user-defined render operation.
Google::Cloud::Deploy::V1::CloudDeploy::ListReleasesRequest
The request object for `ListReleases`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The `DeliveryPipeline` which owns this collection of `Release` objects.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of `Release` objects to return. The service may return fewer than this value. If unspecified, at most 50 `Release` objects will be returned. The maximum value is 1000; values above 1000 will be set to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous `ListReleases` call. Provide this to retrieve the subsequent page.
When paginating, all other provided parameters match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter releases to be returned. See https://google.aip.dev/160 for more details.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Deploy::V1::CloudDeploy::ListReleasesResponse
The response object from `ListReleases`.
Inherits from Protobuf::Message.
Accessors
$msg->releases()/$msg->releases($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Release)The `Release` objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Deploy::V1::CloudDeploy::GetReleaseRequest
The request object for `GetRelease`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the `Release`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
Google::Cloud::Deploy::V1::CloudDeploy::CreateReleaseRequest
The request object for `CreateRelease`,
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent collection in which the `Release` is created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
$msg->release_id()/$msg->release_id($value)Type:
StringRequired. ID of the `Release`.
$msg->release()/$msg->release($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Release)Required. The `Release` to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
$msg->override_deploy_policy()/$msg->override_deploy_policy($value)Type:
StringOptional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
Google::Cloud::Deploy::V1::CloudDeploy::Rollout
A `Rollout` resource in the Cloud Deploy API.
A `Rollout` contains information around a specific deployment to a `Target`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the `Rollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique identifier of the `Rollout`.
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the `Rollout` for user purposes. Max length is 255 characters.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Rollout::AnnotationsEntry)Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Rollout::LabelsEntry)Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:
* Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `Rollout` was created.
$msg->approve_time()/$msg->approve_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `Rollout` was approved.
$msg->enqueue_time()/$msg->enqueue_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `Rollout` was enqueued.
$msg->deploy_start_time()/$msg->deploy_start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `Rollout` started deploying.
$msg->deploy_end_time()/$msg->deploy_end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `Rollout` finished deploying.
$msg->target_id()/$msg->target_id($value)Type:
StringRequired. The ID of Target to which this `Rollout` is deploying.
$msg->approval_state()/$msg->approval_state($value)Type:
Enum(Google::Cloud::Deploy::V1::Rollout::ApprovalState)Output only. Approval state of the `Rollout`.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Deploy::V1::Rollout::State)Output only. Current state of the `Rollout`.
$msg->failure_reason()/$msg->failure_reason($value)Type:
StringOutput only. Additional information about the rollout failure, if available.
$msg->deploying_build()/$msg->deploying_build($value)Type:
StringOutput only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`.
$msg->etag()/$msg->etag($value)Type:
StringThis checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
$msg->deploy_failure_cause()/$msg->deploy_failure_cause($value)Type:
Enum(Google::Cloud::Deploy::V1::Rollout::FailureCause)Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
$msg->phases()/$msg->phases($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Phase)Output only. The phases that represent the workflows of this `Rollout`.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Metadata)Output only. Metadata contains information about the rollout.
$msg->controller_rollout()/$msg->controller_rollout($value)Type:
StringOutput only. Name of the `ControllerRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
$msg->rollback_of_rollout()/$msg->rollback_of_rollout($value)Type:
StringOutput only. Name of the `Rollout` that is rolled back by this `Rollout`. Empty if this `Rollout` wasn't created as a rollback.
$msg->rolled_back_by_rollouts()/$msg->rolled_back_by_rollouts($value)Type:
StringOutput only. Names of `Rollouts` that rolled back this `Rollout`.
$msg->active_repair_automation_run()/$msg->active_repair_automation_run($value)Type:
StringOutput only. The AutomationRun actively repairing the rollout.
Enum: Rollout::ApprovalState
APPROVAL_STATE_UNSPECIFIED=>0NEEDS_APPROVAL=>1DOES_NOT_NEED_APPROVAL=>2APPROVED=>3REJECTED=>4
Enum: Rollout::State
STATE_UNSPECIFIED=>0SUCCEEDED=>1FAILED=>2IN_PROGRESS=>3PENDING_APPROVAL=>4APPROVAL_REJECTED=>5PENDING=>6PENDING_RELEASE=>7CANCELLING=>8CANCELLED=>9HALTED=>10
Enum: Rollout::FailureCause
FAILURE_CAUSE_UNSPECIFIED=>0CLOUD_BUILD_UNAVAILABLE=>1EXECUTION_FAILED=>2DEADLINE_EXCEEDED=>3RELEASE_FAILED=>4RELEASE_ABANDONED=>5VERIFICATION_CONFIG_NOT_FOUND=>6CLOUD_BUILD_REQUEST_FAILED=>7OPERATION_FEATURE_NOT_SUPPORTED=>8
Google::Cloud::Deploy::V1::CloudDeploy::Metadata
Metadata includes information associated with a `Rollout`.
Inherits from Protobuf::Message.
Accessors
$msg->cloud_run()/$msg->cloud_run($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CloudRunMetadata)Output only. The name of the Cloud Run Service that is associated with a `Rollout`.
$msg->automation()/$msg->automation($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AutomationRolloutMetadata)Output only. AutomationRolloutMetadata contains the information about the interactions between Automation service and this rollout.
$msg->custom()/$msg->custom($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomMetadata)Output only. Custom metadata provided by user-defined `Rollout` operations.
Google::Cloud::Deploy::V1::CloudDeploy::DeployJobRunMetadata
DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to the user.
Inherits from Protobuf::Message.
Accessors
$msg->cloud_run()/$msg->cloud_run($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CloudRunMetadata)Output only. The name of the Cloud Run Service that is associated with a `DeployJobRun`.
$msg->custom_target()/$msg->custom_target($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomTargetDeployMetadata)Output only. Custom Target metadata associated with a `DeployJobRun`.
$msg->custom()/$msg->custom($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomMetadata)Output only. Custom metadata provided by user-defined deploy operation.
Google::Cloud::Deploy::V1::CloudDeploy::CloudRunMetadata
CloudRunMetadata contains information from a Cloud Run deployment.
Inherits from Protobuf::Message.
Accessors
$msg->service()/$msg->service($value)Type:
StringOutput only. The name of the Cloud Run Service that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/services/{service}`.
$msg->service_urls()/$msg->service_urls($value)Type:
StringOutput only. The Cloud Run Service urls that are associated with a `Rollout`.
$msg->revision()/$msg->revision($value)Type:
StringOutput only. The Cloud Run Revision id associated with a `Rollout`.
$msg->job()/$msg->job($value)Type:
StringOutput only. The name of the Cloud Run job that is associated with a `Rollout`. Format is `projects/{project}/locations/{location}/jobs/{job_name}`.
Google::Cloud::Deploy::V1::CloudDeploy::CustomTargetDeployMetadata
CustomTargetDeployMetadata contains information from a Custom Target deploy operation.
Inherits from Protobuf::Message.
Accessors
$msg->skip_message()/$msg->skip_message($value)Type:
StringOutput only. Skip message provided in the results of a custom deploy operation.
Google::Cloud::Deploy::V1::CloudDeploy::AutomationRolloutMetadata
AutomationRolloutMetadata contains Automation-related actions that were performed on a rollout.
Inherits from Protobuf::Message.
Accessors
$msg->promote_automation_run()/$msg->promote_automation_run($value)Type:
StringOutput only. The name of the AutomationRun initiated by a promote release rule.
$msg->advance_automation_runs()/$msg->advance_automation_runs($value)Type:
StringOutput only. The names of the AutomationRuns initiated by an advance rollout rule.
$msg->repair_automation_runs()/$msg->repair_automation_runs($value)Type:
StringOutput only. The names of the AutomationRuns initiated by a repair rollout rule.
Google::Cloud::Deploy::V1::CloudDeploy::CustomMetadata
CustomMetadata contains information from a user-defined operation.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CustomMetadata::ValuesEntry)Output only. Key-value pairs provided by the user-defined operation.
Google::Cloud::Deploy::V1::CloudDeploy::Phase
Phase represents a collection of jobs that are logically grouped together for a `Rollout`.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringOutput only. The ID of the Phase.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Deploy::V1::Phase::State)Output only. Current state of the Phase.
$msg->skip_message()/$msg->skip_message($value)Type:
StringOutput only. Additional information on why the Phase was skipped, if available.
$msg->deployment_jobs()/$msg->deployment_jobs($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeploymentJobs)Output only. Deployment job composition.
$msg->child_rollout_jobs()/$msg->child_rollout_jobs($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::ChildRolloutJobs)Output only. ChildRollout job composition.
Enum: Phase::State
STATE_UNSPECIFIED=>0PENDING=>1IN_PROGRESS=>2SUCCEEDED=>3FAILED=>4ABORTED=>5SKIPPED=>6
Google::Cloud::Deploy::V1::CloudDeploy::DeploymentJobs
Deployment job composition.
Inherits from Protobuf::Message.
Accessors
$msg->predeploy_job()/$msg->predeploy_job($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Job)Output only. The predeploy Job, which is the first job on the phase.
$msg->deploy_job()/$msg->deploy_job($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Job)Output only. The deploy Job. This is the deploy job in the phase.
$msg->verify_job()/$msg->verify_job($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Job)Output only. The verify Job. Runs after a deploy if the deploy succeeds.
$msg->postdeploy_job()/$msg->postdeploy_job($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Job)Output only. The postdeploy Job, which is the last job on the phase.
Google::Cloud::Deploy::V1::CloudDeploy::ChildRolloutJobs
ChildRollouts job composition
Inherits from Protobuf::Message.
Accessors
$msg->create_rollout_jobs()/$msg->create_rollout_jobs($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Job)Output only. List of CreateChildRolloutJobs
$msg->advance_rollout_jobs()/$msg->advance_rollout_jobs($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Job)Output only. List of AdvanceChildRolloutJobs
Google::Cloud::Deploy::V1::CloudDeploy::Job
Job represents an operation for a `Rollout`.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringOutput only. The ID of the Job.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Deploy::V1::Job::State)Output only. The current state of the Job.
$msg->skip_message()/$msg->skip_message($value)Type:
StringOutput only. Additional information on why the Job was skipped, if available.
$msg->job_run()/$msg->job_run($value)Type:
StringOutput only. The name of the `JobRun` responsible for the most recent invocation of this Job.
$msg->deploy_job()/$msg->deploy_job($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployJob)Output only. A deploy Job.
$msg->verify_job()/$msg->verify_job($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::VerifyJob)Output only. A verify Job.
$msg->predeploy_job()/$msg->predeploy_job($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PredeployJob)Output only. A predeploy Job.
$msg->postdeploy_job()/$msg->postdeploy_job($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PostdeployJob)Output only. A postdeploy Job.
$msg->create_child_rollout_job()/$msg->create_child_rollout_job($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CreateChildRolloutJob)Output only. A createChildRollout Job.
$msg->advance_child_rollout_job()/$msg->advance_child_rollout_job($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AdvanceChildRolloutJob)Output only. An advanceChildRollout Job.
Enum: Job::State
STATE_UNSPECIFIED=>0PENDING=>1DISABLED=>2IN_PROGRESS=>3SUCCEEDED=>4FAILED=>5ABORTED=>6SKIPPED=>7IGNORED=>8
Google::Cloud::Deploy::V1::CloudDeploy::DeployJob
A deploy Job.
Inherits from Protobuf::Message.
Google::Cloud::Deploy::V1::CloudDeploy::VerifyJob
A verify Job.
Inherits from Protobuf::Message.
Google::Cloud::Deploy::V1::CloudDeploy::PredeployJob
A predeploy Job.
Inherits from Protobuf::Message.
Accessors
$msg->actions()/$msg->actions($value)Type:
StringOutput only. The custom actions that the predeploy Job executes.
Google::Cloud::Deploy::V1::CloudDeploy::PostdeployJob
A postdeploy Job.
Inherits from Protobuf::Message.
Accessors
$msg->actions()/$msg->actions($value)Type:
StringOutput only. The custom actions that the postdeploy Job executes.
Google::Cloud::Deploy::V1::CloudDeploy::CreateChildRolloutJob
A createChildRollout Job.
Inherits from Protobuf::Message.
Google::Cloud::Deploy::V1::CloudDeploy::AdvanceChildRolloutJob
An advanceChildRollout Job.
Inherits from Protobuf::Message.
Google::Cloud::Deploy::V1::CloudDeploy::ListRolloutsRequest
ListRolloutsRequest is the request object used by `ListRollouts`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The `Release` which owns this collection of `Rollout` objects.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of `Rollout` objects to return. The service may return fewer than this value. If unspecified, at most 50 `Rollout` objects will be returned. The maximum value is 1000; values above 1000 will be set to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous `ListRollouts` call. Provide this to retrieve the subsequent page.
When paginating, all other provided parameters match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter rollouts to be returned. See https://google.aip.dev/160 for more details.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Deploy::V1::CloudDeploy::ListRolloutsResponse
ListRolloutsResponse is the response object returned by `ListRollouts`.
Inherits from Protobuf::Message.
Accessors
$msg->rollouts()/$msg->rollouts($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Rollout)The `Rollout` objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Deploy::V1::CloudDeploy::GetRolloutRequest
GetRolloutRequest is the request object used by `GetRollout`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the `Rollout`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
Google::Cloud::Deploy::V1::CloudDeploy::CreateRolloutRequest
CreateRolloutRequest is the request object used by `CreateRollout`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent collection in which the `Rollout` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
$msg->rollout_id()/$msg->rollout_id($value)Type:
StringRequired. ID of the `Rollout`.
$msg->rollout()/$msg->rollout($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Rollout)Required. The `Rollout` to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
$msg->override_deploy_policy()/$msg->override_deploy_policy($value)Type:
StringOptional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
$msg->starting_phase_id()/$msg->starting_phase_id($value)Type:
StringOptional. The starting phase ID for the `Rollout`. If empty the `Rollout` will start at the first phase.
Google::Cloud::Deploy::V1::CloudDeploy::OperationMetadata
Represents the metadata of the long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
Google::Cloud::Deploy::V1::CloudDeploy::ApproveRolloutRequest
The request object used by `ApproveRollout`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
$msg->approved()/$msg->approved($value)Type:
BoolRequired. True = approve; false = reject
$msg->override_deploy_policy()/$msg->override_deploy_policy($value)Type:
StringOptional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
Google::Cloud::Deploy::V1::CloudDeploy::ApproveRolloutResponse
The response object from `ApproveRollout`.
Inherits from Protobuf::Message.
Google::Cloud::Deploy::V1::CloudDeploy::AdvanceRolloutRequest
The request object used by `AdvanceRollout`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
$msg->phase_id()/$msg->phase_id($value)Type:
StringRequired. The phase ID to advance the `Rollout` to.
$msg->override_deploy_policy()/$msg->override_deploy_policy($value)Type:
StringOptional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
Google::Cloud::Deploy::V1::CloudDeploy::AdvanceRolloutResponse
The response object from `AdvanceRollout`.
Inherits from Protobuf::Message.
Google::Cloud::Deploy::V1::CloudDeploy::CancelRolloutRequest
The request object used by `CancelRollout`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
$msg->override_deploy_policy()/$msg->override_deploy_policy($value)Type:
StringOptional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
Google::Cloud::Deploy::V1::CloudDeploy::CancelRolloutResponse
The response object from `CancelRollout`.
Inherits from Protobuf::Message.
Google::Cloud::Deploy::V1::CloudDeploy::IgnoreJobRequest
The request object used by `IgnoreJob`.
Inherits from Protobuf::Message.
Accessors
$msg->rollout()/$msg->rollout($value)Type:
StringRequired. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
$msg->phase_id()/$msg->phase_id($value)Type:
StringRequired. The phase ID the Job to ignore belongs to.
$msg->job_id()/$msg->job_id($value)Type:
StringRequired. The job ID for the Job to ignore.
$msg->override_deploy_policy()/$msg->override_deploy_policy($value)Type:
StringOptional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
Google::Cloud::Deploy::V1::CloudDeploy::IgnoreJobResponse
The response object from `IgnoreJob`.
Inherits from Protobuf::Message.
Google::Cloud::Deploy::V1::CloudDeploy::RetryJobRequest
RetryJobRequest is the request object used by `RetryJob`.
Inherits from Protobuf::Message.
Accessors
$msg->rollout()/$msg->rollout($value)Type:
StringRequired. Name of the Rollout. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
$msg->phase_id()/$msg->phase_id($value)Type:
StringRequired. The phase ID the Job to retry belongs to.
$msg->job_id()/$msg->job_id($value)Type:
StringRequired. The job ID for the Job to retry.
$msg->override_deploy_policy()/$msg->override_deploy_policy($value)Type:
StringOptional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
Google::Cloud::Deploy::V1::CloudDeploy::RetryJobResponse
The response object from 'RetryJob'.
Inherits from Protobuf::Message.
Google::Cloud::Deploy::V1::CloudDeploy::AbandonReleaseRequest
The request object used by `AbandonRelease`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the Release. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
Google::Cloud::Deploy::V1::CloudDeploy::AbandonReleaseResponse
The response object for `AbandonRelease`.
Inherits from Protobuf::Message.
Google::Cloud::Deploy::V1::CloudDeploy::JobRun
A `JobRun` resource in the Cloud Deploy API.
A `JobRun` contains information of a single `Rollout` job evaluation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Name of the `JobRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique identifier of the `JobRun`.
$msg->phase_id()/$msg->phase_id($value)Type:
StringOutput only. ID of the `Rollout` phase this `JobRun` belongs in.
$msg->job_id()/$msg->job_id($value)Type:
StringOutput only. ID of the `Rollout` job this `JobRun` corresponds to.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `JobRun` was created.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `JobRun` was started.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `JobRun` ended.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Deploy::V1::JobRun::State)Output only. The current state of the `JobRun`.
$msg->deploy_job_run()/$msg->deploy_job_run($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployJobRun)Output only. Information specific to a deploy `JobRun`.
$msg->verify_job_run()/$msg->verify_job_run($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::VerifyJobRun)Output only. Information specific to a verify `JobRun`.
$msg->predeploy_job_run()/$msg->predeploy_job_run($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PredeployJobRun)Output only. Information specific to a predeploy `JobRun`.
$msg->postdeploy_job_run()/$msg->postdeploy_job_run($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PostdeployJobRun)Output only. Information specific to a postdeploy `JobRun`.
$msg->create_child_rollout_job_run()/$msg->create_child_rollout_job_run($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::CreateChildRolloutJobRun)Output only. Information specific to a createChildRollout `JobRun`.
$msg->advance_child_rollout_job_run()/$msg->advance_child_rollout_job_run($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AdvanceChildRolloutJobRun)Output only. Information specific to an advanceChildRollout `JobRun`
$msg->etag()/$msg->etag($value)Type:
StringOutput only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Enum: JobRun::State
STATE_UNSPECIFIED=>0IN_PROGRESS=>1SUCCEEDED=>2FAILED=>3TERMINATING=>4TERMINATED=>5
Google::Cloud::Deploy::V1::CloudDeploy::DeployJobRun
DeployJobRun contains information specific to a deploy `JobRun`.
Inherits from Protobuf::Message.
Accessors
$msg->build()/$msg->build($value)Type:
StringOutput only. The resource name of the Cloud Build `Build` object that is used to deploy. Format is `projects/{project}/locations/{location}/builds/{build}`.
$msg->failure_cause()/$msg->failure_cause($value)Type:
Enum(Google::Cloud::Deploy::V1::DeployJobRun::FailureCause)Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
$msg->failure_message()/$msg->failure_message($value)Type:
StringOutput only. Additional information about the deploy failure, if available.
$msg->metadata()/$msg->metadata($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployJobRunMetadata)Output only. Metadata containing information about the deploy job run.
$msg->artifact()/$msg->artifact($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::DeployArtifact)Output only. The artifact of a deploy job run, if available.
Enum: DeployJobRun::FailureCause
FAILURE_CAUSE_UNSPECIFIED=>0CLOUD_BUILD_UNAVAILABLE=>1EXECUTION_FAILED=>2DEADLINE_EXCEEDED=>3MISSING_RESOURCES_FOR_CANARY=>4CLOUD_BUILD_REQUEST_FAILED=>5DEPLOY_FEATURE_NOT_SUPPORTED=>6
Google::Cloud::Deploy::V1::CloudDeploy::VerifyJobRun
VerifyJobRun contains information specific to a verify `JobRun`.
Inherits from Protobuf::Message.
Accessors
$msg->build()/$msg->build($value)Type:
StringOutput only. The resource name of the Cloud Build `Build` object that is used to verify. Format is `projects/{project}/locations/{location}/builds/{build}`.
$msg->artifact_uri()/$msg->artifact_uri($value)Type:
StringOutput only. URI of a directory containing the verify artifacts. This contains the Skaffold event log.
$msg->event_log_path()/$msg->event_log_path($value)Type:
StringOutput only. File path of the Skaffold event log relative to the artifact URI.
$msg->failure_cause()/$msg->failure_cause($value)Type:
Enum(Google::Cloud::Deploy::V1::VerifyJobRun::FailureCause)Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded.
$msg->failure_message()/$msg->failure_message($value)Type:
StringOutput only. Additional information about the verify failure, if available.
Enum: VerifyJobRun::FailureCause
FAILURE_CAUSE_UNSPECIFIED=>0CLOUD_BUILD_UNAVAILABLE=>1EXECUTION_FAILED=>2DEADLINE_EXCEEDED=>3VERIFICATION_CONFIG_NOT_FOUND=>4CLOUD_BUILD_REQUEST_FAILED=>5
Google::Cloud::Deploy::V1::CloudDeploy::PredeployJobRun
PredeployJobRun contains information specific to a predeploy `JobRun`.
Inherits from Protobuf::Message.
Accessors
$msg->build()/$msg->build($value)Type:
StringOutput only. The resource name of the Cloud Build `Build` object that is used to execute the custom actions associated with the predeploy Job. Format is `projects/{project}/locations/{location}/builds/{build}`.
$msg->failure_cause()/$msg->failure_cause($value)Type:
Enum(Google::Cloud::Deploy::V1::PredeployJobRun::FailureCause)Output only. The reason the predeploy failed. This will always be unspecified while the predeploy is in progress or if it succeeded.
$msg->failure_message()/$msg->failure_message($value)Type:
StringOutput only. Additional information about the predeploy failure, if available.
Enum: PredeployJobRun::FailureCause
FAILURE_CAUSE_UNSPECIFIED=>0CLOUD_BUILD_UNAVAILABLE=>1EXECUTION_FAILED=>2DEADLINE_EXCEEDED=>3CLOUD_BUILD_REQUEST_FAILED=>4
Google::Cloud::Deploy::V1::CloudDeploy::PostdeployJobRun
PostdeployJobRun contains information specific to a postdeploy `JobRun`.
Inherits from Protobuf::Message.
Accessors
$msg->build()/$msg->build($value)Type:
StringOutput only. The resource name of the Cloud Build `Build` object that is used to execute the custom actions associated with the postdeploy Job. Format is `projects/{project}/locations/{location}/builds/{build}`.
$msg->failure_cause()/$msg->failure_cause($value)Type:
Enum(Google::Cloud::Deploy::V1::PostdeployJobRun::FailureCause)Output only. The reason the postdeploy failed. This will always be unspecified while the postdeploy is in progress or if it succeeded.
$msg->failure_message()/$msg->failure_message($value)Type:
StringOutput only. Additional information about the postdeploy failure, if available.
Enum: PostdeployJobRun::FailureCause
FAILURE_CAUSE_UNSPECIFIED=>0CLOUD_BUILD_UNAVAILABLE=>1EXECUTION_FAILED=>2DEADLINE_EXCEEDED=>3CLOUD_BUILD_REQUEST_FAILED=>4
Google::Cloud::Deploy::V1::CloudDeploy::CreateChildRolloutJobRun
CreateChildRolloutJobRun contains information specific to a createChildRollout `JobRun`.
Inherits from Protobuf::Message.
Accessors
$msg->rollout()/$msg->rollout($value)Type:
StringOutput only. Name of the `ChildRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
$msg->rollout_phase_id()/$msg->rollout_phase_id($value)Type:
StringOutput only. The ID of the childRollout Phase initiated by this JobRun.
Google::Cloud::Deploy::V1::CloudDeploy::AdvanceChildRolloutJobRun
AdvanceChildRolloutJobRun contains information specific to a advanceChildRollout `JobRun`.
Inherits from Protobuf::Message.
Accessors
$msg->rollout()/$msg->rollout($value)Type:
StringOutput only. Name of the `ChildRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
$msg->rollout_phase_id()/$msg->rollout_phase_id($value)Type:
StringOutput only. the ID of the ChildRollout's Phase.
Google::Cloud::Deploy::V1::CloudDeploy::ListJobRunsRequest
ListJobRunsRequest is the request object used by `ListJobRuns`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The `Rollout` which owns this collection of `JobRun` objects.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of `JobRun` objects to return. The service may return fewer than this value. If unspecified, at most 50 `JobRun` objects will be returned. The maximum value is 1000; values above 1000 will be set to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous `ListJobRuns` call. Provide this to retrieve the subsequent page.
When paginating, all other provided parameters match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter results to be returned. See https://google.aip.dev/160 for more details.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Field to sort by. See https://google.aip.dev/132#ordering for more details.
Google::Cloud::Deploy::V1::CloudDeploy::ListJobRunsResponse
ListJobRunsResponse is the response object returned by `ListJobRuns`.
Inherits from Protobuf::Message.
Accessors
$msg->job_runs()/$msg->job_runs($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::JobRun)The `JobRun` objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached
Google::Cloud::Deploy::V1::CloudDeploy::GetJobRunRequest
GetJobRunRequest is the request object used by `GetJobRun`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the `JobRun`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
Google::Cloud::Deploy::V1::CloudDeploy::TerminateJobRunRequest
The request object used by `TerminateJobRun`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the `JobRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
$msg->override_deploy_policy()/$msg->override_deploy_policy($value)Type:
StringOptional. Deploy policies to override. Format is `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
Google::Cloud::Deploy::V1::CloudDeploy::TerminateJobRunResponse
The response object from `TerminateJobRun`.
Inherits from Protobuf::Message.
Google::Cloud::Deploy::V1::CloudDeploy::Config
Service-wide configuration.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringName of the configuration.
$msg->supported_versions()/$msg->supported_versions($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::SkaffoldVersion)All supported versions of Skaffold.
$msg->default_skaffold_version()/$msg->default_skaffold_version($value)Type:
StringDefault Skaffold version that is assigned when a Release is created without specifying a Skaffold version.
Google::Cloud::Deploy::V1::CloudDeploy::SkaffoldVersion
Details of a supported Skaffold version.
Inherits from Protobuf::Message.
Accessors
$msg->version()/$msg->version($value)Type:
StringRelease version number. For example, "1.20.3".
$msg->maintenance_mode_time()/$msg->maintenance_mode_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which this version of Skaffold will enter maintenance mode.
$msg->support_expiration_time()/$msg->support_expiration_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which this version of Skaffold will no longer be supported.
$msg->support_end_date()/$msg->support_end_date($value)Type:
Message(Google::Type::Date::Date)Date when this version is expected to no longer be supported.
Google::Cloud::Deploy::V1::CloudDeploy::GetConfigRequest
Request to get a configuration.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of requested configuration.
Google::Cloud::Deploy::V1::CloudDeploy::Automation
An `Automation` resource in the Cloud Deploy API.
An `Automation` enables the automation of manually driven actions for a Delivery Pipeline, which includes Release promotion among Targets, Rollout repair and Rollout deployment strategy advancement. The intention of Automation is to reduce manual intervention in the continuous delivery process.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Name of the `Automation`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique identifier of the `Automation`.
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the `Automation`. Max length is 255 characters.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the automation was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the automation was updated.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Automation::AnnotationsEntry)Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints:
* Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (`/`). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.`), not longer than 253 characters in total, followed by a slash (`/`).
See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Automation::LabelsEntry)Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:
* Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 63 characters.
$msg->etag()/$msg->etag($value)Type:
StringOptional. The weak etag of the `Automation` resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
$msg->suspended()/$msg->suspended($value)Type:
BoolOptional. When Suspended, automation is deactivated from execution.
$msg->service_account()/$msg->service_account($value)Type:
StringRequired. Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
$msg->selector()/$msg->selector($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AutomationResourceSelector)Required. Selected resources to which the automation will be applied.
$msg->rules()/$msg->rules($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AutomationRule)Required. List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
Google::Cloud::Deploy::V1::CloudDeploy::AutomationResourceSelector
AutomationResourceSelector contains the information to select the resources to which an Automation is going to be applied.
Inherits from Protobuf::Message.
Accessors
$msg->targets()/$msg->targets($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TargetAttribute)Optional. Contains attributes about a target.
Google::Cloud::Deploy::V1::CloudDeploy::AutomationRule
`AutomationRule` defines the automation activities.
Inherits from Protobuf::Message.
Accessors
$msg->promote_release_rule()/$msg->promote_release_rule($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PromoteReleaseRule)Optional. `PromoteReleaseRule` will automatically promote a release from the current target to a specified target.
$msg->advance_rollout_rule()/$msg->advance_rollout_rule($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AdvanceRolloutRule)Optional. The `AdvanceRolloutRule` will automatically advance a successful Rollout.
$msg->repair_rollout_rule()/$msg->repair_rollout_rule($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::RepairRolloutRule)Optional. The `RepairRolloutRule` will automatically repair a failed rollout.
$msg->timed_promote_release_rule()/$msg->timed_promote_release_rule($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TimedPromoteReleaseRule)Optional. The `TimedPromoteReleaseRule` will automatically promote a release from the current target(s) to the specified target(s) on a configured schedule.
Google::Cloud::Deploy::V1::CloudDeploy::TimedPromoteReleaseRule
The `TimedPromoteReleaseRule` will automatically promote a release from the current target(s) to the specified target(s) on a configured schedule.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringRequired. ID of the rule. This ID must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
$msg->destination_target_id()/$msg->destination_target_id($value)Type:
StringOptional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following:
* The last segment of a target name * "@next", the next target in the promotion sequence
$msg->schedule()/$msg->schedule($value)Type:
StringRequired. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at 9am.
$msg->time_zone()/$msg->time_zone($value)Type:
StringRequired. The time zone in IANA format [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/New_York).
$msg->condition()/$msg->condition($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AutomationRuleCondition)Output only. Information around the state of the Automation rule.
$msg->destination_phase()/$msg->destination_phase($value)Type:
StringOptional. The starting phase of the rollout created by this rule. Default to the first phase.
Google::Cloud::Deploy::V1::CloudDeploy::PromoteReleaseRule
The `PromoteRelease` rule will automatically promote a release from the current target to a specified target.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringRequired. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
$msg->wait()/$msg->wait($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. How long the release need to be paused until being promoted to the next target.
$msg->destination_target_id()/$msg->destination_target_id($value)Type:
StringOptional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following:
* The last segment of a target name * "@next", the next target in the promotion sequence
$msg->condition()/$msg->condition($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AutomationRuleCondition)Output only. Information around the state of the Automation rule.
$msg->destination_phase()/$msg->destination_phase($value)Type:
StringOptional. The starting phase of the rollout created by this operation. Default to the first phase.
Google::Cloud::Deploy::V1::CloudDeploy::AdvanceRolloutRule
The `AdvanceRollout` automation rule will automatically advance a successful Rollout to the next phase.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringRequired. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
$msg->source_phases()/$msg->source_phases($value)Type:
StringOptional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
$msg->wait()/$msg->wait($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. How long to wait after a rollout is finished.
$msg->condition()/$msg->condition($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AutomationRuleCondition)Output only. Information around the state of the Automation rule.
Google::Cloud::Deploy::V1::CloudDeploy::RepairRolloutRule
The `RepairRolloutRule` automation rule will automatically repair a failed `Rollout`.
Inherits from Protobuf::Message.
Accessors
$msg->id()/$msg->id($value)Type:
StringRequired. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
$msg->phases()/$msg->phases($value)Type:
StringOptional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
$msg->jobs()/$msg->jobs($value)Type:
StringOptional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in `source_phase`. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
$msg->condition()/$msg->condition($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AutomationRuleCondition)Output only. Information around the state of the 'Automation' rule.
$msg->repair_phases()/$msg->repair_phases($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::RepairPhaseConfig)Required. Defines the types of automatic repair phases for failed jobs.
Google::Cloud::Deploy::V1::CloudDeploy::RepairPhaseConfig
Configuration of the repair phase.
Inherits from Protobuf::Message.
Accessors
$msg->retry()/$msg->retry($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Retry)Optional. Retries a failed job.
$msg->rollback()/$msg->rollback($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Rollback)Optional. Rolls back a `Rollout`.
Google::Cloud::Deploy::V1::CloudDeploy::Retry
Retries the failed job.
Inherits from Protobuf::Message.
Accessors
$msg->attempts()/$msg->attempts($value)Type:
Int64Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.
$msg->wait()/$msg->wait($value)Type:
Message(Google::Protobuf::Duration::Duration)Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
$msg->backoff_mode()/$msg->backoff_mode($value)Type:
Enum(Google::Cloud::Deploy::V1::BackoffMode)Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.
Google::Cloud::Deploy::V1::CloudDeploy::Rollback
Rolls back a `Rollout`.
Inherits from Protobuf::Message.
Accessors
$msg->destination_phase()/$msg->destination_phase($value)Type:
StringOptional. The starting phase ID for the `Rollout`. If unspecified, the `Rollout` will start in the stable phase.
$msg->disable_rollback_if_rollout_pending()/$msg->disable_rollback_if_rollout_pending($value)Type:
BoolOptional. If pending rollout exists on the target, the rollback operation will be aborted.
Google::Cloud::Deploy::V1::CloudDeploy::AutomationRuleCondition
`AutomationRuleCondition` contains conditions relevant to an `Automation` rule.
Inherits from Protobuf::Message.
Accessors
$msg->targets_present_condition()/$msg->targets_present_condition($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TargetsPresentCondition)Optional. Details around targets enumerated in the rule.
$msg->timed_promote_release_condition()/$msg->timed_promote_release_condition($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TimedPromoteReleaseCondition)Optional. TimedPromoteReleaseCondition contains rule conditions specific to a an Automation with a timed promote release rule defined.
Google::Cloud::Deploy::V1::CloudDeploy::TimedPromoteReleaseCondition
`TimedPromoteReleaseCondition` contains conditions specific to an Automation with a Timed Promote Release rule defined.
Inherits from Protobuf::Message.
Accessors
$msg->next_promotion_time()/$msg->next_promotion_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. When the next scheduled promotion(s) will occur.
$msg->targets_list()/$msg->targets_list($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TimedPromoteReleaseCondition::Targets)Output only. A list of targets involved in the upcoming timed promotion(s).
Google::Cloud::Deploy::V1::CloudDeploy::CreateAutomationRequest
The request object for `CreateAutomation`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent collection in which the `Automation` must be created. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
$msg->automation_id()/$msg->automation_id($value)Type:
StringRequired. ID of the `Automation`.
$msg->automation()/$msg->automation($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Automation)Required. The `Automation` to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Google::Cloud::Deploy::V1::CloudDeploy::UpdateAutomationRequest
The request object for `UpdateAutomation`.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Field mask is used to specify the fields to be overwritten by the update in the `Automation` resource. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it's in the mask. If the user doesn't provide a mask then all fields are overwritten.
$msg->automation()/$msg->automation($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Automation)Required. The `Automation` to update.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, updating a `Automation` that does not exist will result in the creation of a new `Automation`.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Google::Cloud::Deploy::V1::CloudDeploy::DeleteAutomationRequest
The request object for `DeleteAutomation`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the `Automation` to delete. The format is `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, then deleting an already deleted or non-existing `Automation` will succeed.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and verify whether the resource exists, but do not actually post it.
$msg->etag()/$msg->etag($value)Type:
StringOptional. The weak etag of the request. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Google::Cloud::Deploy::V1::CloudDeploy::ListAutomationsRequest
The request object for `ListAutomations`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent `Delivery Pipeline`, which owns this collection of automations. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of automations to return. The service may return fewer than this value. If unspecified, at most 50 automations will be returned. The maximum value is 1000; values above 1000 will be set to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListAutomations` call. Provide this to retrieve the subsequent page.
When paginating, all other provided parameters match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringFilter automations to be returned. All fields can be used in the filter.
$msg->order_by()/$msg->order_by($value)Type:
StringField to sort by.
Google::Cloud::Deploy::V1::CloudDeploy::ListAutomationsResponse
The response object from `ListAutomations`.
Inherits from Protobuf::Message.
Accessors
$msg->automations()/$msg->automations($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Automation)The `Automation` objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Deploy::V1::CloudDeploy::GetAutomationRequest
The request object for `GetAutomation`
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the `Automation`. Format must be `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
Google::Cloud::Deploy::V1::CloudDeploy::AutomationRun
An `AutomationRun` resource in the Cloud Deploy API.
An `AutomationRun` represents an execution instance of an automation rule.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Name of the `AutomationRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the `AutomationRun` was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time at which the automationRun was updated.
$msg->etag()/$msg->etag($value)Type:
StringOutput only. The weak etag of the `AutomationRun` resource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
$msg->service_account()/$msg->service_account($value)Type:
StringOutput only. Email address of the user-managed IAM service account that performs the operations against Cloud Deploy resources.
$msg->automation_snapshot()/$msg->automation_snapshot($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::Automation)Output only. Snapshot of the Automation taken at AutomationRun creation time.
$msg->target_id()/$msg->target_id($value)Type:
StringOutput only. The ID of the source target that initiates the `AutomationRun`. The value of this field is the last segment of a target name.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Deploy::V1::AutomationRun::State)Output only. Current state of the `AutomationRun`.
$msg->state_description()/$msg->state_description($value)Type:
StringOutput only. Explains the current state of the `AutomationRun`. Present only when an explanation is needed.
$msg->policy_violation()/$msg->policy_violation($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PolicyViolation)Output only. Contains information about what policies prevented the `AutomationRun` from proceeding.
$msg->expire_time()/$msg->expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time the `AutomationRun` expires. An `AutomationRun` expires after 14 days from its creation date.
$msg->rule_id()/$msg->rule_id($value)Type:
StringOutput only. The ID of the automation rule that initiated the operation.
$msg->automation_id()/$msg->automation_id($value)Type:
StringOutput only. The ID of the automation that initiated the operation.
$msg->promote_release_operation()/$msg->promote_release_operation($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::PromoteReleaseOperation)Output only. Promotes a release to a specified 'Target'.
$msg->advance_rollout_operation()/$msg->advance_rollout_operation($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AdvanceRolloutOperation)Output only. Advances a rollout to the next phase.
$msg->repair_rollout_operation()/$msg->repair_rollout_operation($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::RepairRolloutOperation)Output only. Repairs a failed 'Rollout'.
$msg->timed_promote_release_operation()/$msg->timed_promote_release_operation($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::TimedPromoteReleaseOperation)Output only. Promotes a release to a specified 'Target' as defined in a Timed Promote Release rule.
$msg->wait_until_time()/$msg->wait_until_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Earliest time the `AutomationRun` will attempt to resume. Wait-time is configured by `wait` in automation rule.
Enum: AutomationRun::State
STATE_UNSPECIFIED=>0SUCCEEDED=>1CANCELLED=>2FAILED=>3IN_PROGRESS=>4PENDING=>5ABORTED=>6
Google::Cloud::Deploy::V1::CloudDeploy::PromoteReleaseOperation
Contains the information of an automated promote-release operation.
Inherits from Protobuf::Message.
Accessors
$msg->target_id()/$msg->target_id($value)Type:
StringOutput only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.
$msg->wait()/$msg->wait($value)Type:
Message(Google::Protobuf::Duration::Duration)Output only. How long the operation will be paused.
$msg->rollout()/$msg->rollout($value)Type:
StringOutput only. The name of the rollout that initiates the `AutomationRun`.
$msg->phase()/$msg->phase($value)Type:
StringOutput only. The starting phase of the rollout created by this operation.
Google::Cloud::Deploy::V1::CloudDeploy::AdvanceRolloutOperation
Contains the information of an automated advance-rollout operation.
Inherits from Protobuf::Message.
Accessors
$msg->source_phase()/$msg->source_phase($value)Type:
StringOutput only. The phase of a deployment that initiated the operation.
$msg->wait()/$msg->wait($value)Type:
Message(Google::Protobuf::Duration::Duration)Output only. How long the operation will be paused.
$msg->rollout()/$msg->rollout($value)Type:
StringOutput only. The name of the rollout that initiates the `AutomationRun`.
$msg->destination_phase()/$msg->destination_phase($value)Type:
StringOutput only. The phase the rollout will be advanced to.
Google::Cloud::Deploy::V1::CloudDeploy::RepairRolloutOperation
Contains the information for an automated `repair rollout` operation.
Inherits from Protobuf::Message.
Accessors
$msg->rollout()/$msg->rollout($value)Type:
StringOutput only. The name of the rollout that initiates the `AutomationRun`.
$msg->current_repair_phase_index()/$msg->current_repair_phase_index($value)Type:
Int64Output only. The index of the current repair action in the repair sequence.
$msg->repair_phases()/$msg->repair_phases($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::RepairPhase)Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.
$msg->phase_id()/$msg->phase_id($value)Type:
StringOutput only. The phase ID of the phase that includes the job being repaired.
$msg->job_id()/$msg->job_id($value)Type:
StringOutput only. The job ID for the Job to repair.
Google::Cloud::Deploy::V1::CloudDeploy::TimedPromoteReleaseOperation
Contains the information of an automated timed promote-release operation.
Inherits from Protobuf::Message.
Accessors
$msg->target_id()/$msg->target_id($value)Type:
StringOutput only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.
$msg->release()/$msg->release($value)Type:
StringOutput only. The name of the release to be promoted.
$msg->phase()/$msg->phase($value)Type:
StringOutput only. The starting phase of the rollout created by this operation.
Google::Cloud::Deploy::V1::CloudDeploy::RepairPhase
RepairPhase tracks the repair attempts that have been made for each `RepairPhaseConfig` specified in the `Automation` resource.
Inherits from Protobuf::Message.
Accessors
$msg->retry()/$msg->retry($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::RetryPhase)Output only. Records of the retry attempts for retry repair mode.
$msg->rollback()/$msg->rollback($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::RollbackAttempt)Output only. Rollback attempt for rollback repair mode .
Google::Cloud::Deploy::V1::CloudDeploy::RetryPhase
RetryPhase contains the retry attempts and the metadata for initiating a new attempt.
Inherits from Protobuf::Message.
Accessors
$msg->total_attempts()/$msg->total_attempts($value)Type:
Int64Output only. The number of attempts that have been made.
$msg->backoff_mode()/$msg->backoff_mode($value)Type:
Enum(Google::Cloud::Deploy::V1::BackoffMode)Output only. The pattern of how the wait time of the retry attempt is calculated.
$msg->attempts()/$msg->attempts($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::RetryAttempt)Output only. Detail of a retry action.
Google::Cloud::Deploy::V1::CloudDeploy::RetryAttempt
RetryAttempt represents an action of retrying the failed Cloud Deploy job.
Inherits from Protobuf::Message.
Accessors
$msg->attempt()/$msg->attempt($value)Type:
Int64Output only. The index of this retry attempt.
$msg->wait()/$msg->wait($value)Type:
Message(Google::Protobuf::Duration::Duration)Output only. How long the operation will be paused.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Deploy::V1::RepairState)Output only. Valid state of this retry action.
$msg->state_desc()/$msg->state_desc($value)Type:
StringOutput only. Description of the state of the Retry.
Google::Cloud::Deploy::V1::CloudDeploy::RollbackAttempt
RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.
Inherits from Protobuf::Message.
Accessors
$msg->destination_phase()/$msg->destination_phase($value)Type:
StringOutput only. The phase to which the rollout will be rolled back to.
$msg->rollout_id()/$msg->rollout_id($value)Type:
StringOutput only. ID of the rollback `Rollout` to create.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Deploy::V1::RepairState)Output only. Valid state of this rollback action.
$msg->state_desc()/$msg->state_desc($value)Type:
StringOutput only. Description of the state of the Rollback.
$msg->disable_rollback_if_rollout_pending()/$msg->disable_rollback_if_rollout_pending($value)Type:
BoolOutput only. If active rollout exists on the target, abort this rollback.
Google::Cloud::Deploy::V1::CloudDeploy::ListAutomationRunsRequest
The request object for `ListAutomationRuns`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent `Delivery Pipeline`, which owns this collection of automationRuns. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of automationRuns to return. The service may return fewer than this value. If unspecified, at most 50 automationRuns will be returned. The maximum value is 1000; values above 1000 will be set to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token, received from a previous `ListAutomationRuns` call. Provide this to retrieve the subsequent page.
When paginating, all other provided parameters match the call that provided the page token.
$msg->filter()/$msg->filter($value)Type:
StringFilter automationRuns to be returned. All fields can be used in the filter.
$msg->order_by()/$msg->order_by($value)Type:
StringField to sort by.
Google::Cloud::Deploy::V1::CloudDeploy::ListAutomationRunsResponse
The response object from `ListAutomationRuns`.
Inherits from Protobuf::Message.
Accessors
$msg->automation_runs()/$msg->automation_runs($value)Type:
Message(Google::Cloud::Deploy::V1::CloudDeploy::AutomationRun)The `AutomationRuns` objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Deploy::V1::CloudDeploy::GetAutomationRunRequest
The request object for `GetAutomationRun`
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the `AutomationRun`. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
Google::Cloud::Deploy::V1::CloudDeploy::CancelAutomationRunRequest
The request object used by `CancelAutomationRun`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the `AutomationRun`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
Google::Cloud::Deploy::V1::CloudDeploy::CancelAutomationRunResponse
The response object from `CancelAutomationRun`.
Inherits from Protobuf::Message.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Deploy::V1::CloudDeploy::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.