Skip to content

Commit

Permalink
feat(deploy-v1): Support for the ABORTED AutomationRun state
Browse files Browse the repository at this point in the history
feat(deploy-v1): Include protobuf notification event types for custom target type failure, deploy policy evaluation, and pub/sub failure
  • Loading branch information
gcf-owl-bot[bot] authored Jul 17, 2024
1 parent d257aad commit d652e92
Show file tree
Hide file tree
Showing 11 changed files with 489 additions and 154 deletions.
6 changes: 6 additions & 0 deletions google-cloud-deploy-v1/.owlbot-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
"lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb",
"lib/google/cloud/deploy/v1/cloud_deploy_pb.rb",
"lib/google/cloud/deploy/v1/cloud_deploy_services_pb.rb",
"lib/google/cloud/deploy/v1/customtargettype_notification_payload_pb.rb",
"lib/google/cloud/deploy/v1/deliverypipeline_notification_payload_pb.rb",
"lib/google/cloud/deploy/v1/deploypolicy_evaluation_payload_pb.rb",
"lib/google/cloud/deploy/v1/deploypolicy_notification_payload_pb.rb",
"lib/google/cloud/deploy/v1/jobrun_notification_payload_pb.rb",
"lib/google/cloud/deploy/v1/log_enums_pb.rb",
"lib/google/cloud/deploy/v1/release_notification_payload_pb.rb",
Expand All @@ -47,7 +50,10 @@
"proto_docs/google/cloud/deploy/v1/automation_payload.rb",
"proto_docs/google/cloud/deploy/v1/automationrun_payload.rb",
"proto_docs/google/cloud/deploy/v1/cloud_deploy.rb",
"proto_docs/google/cloud/deploy/v1/customtargettype_notification_payload.rb",
"proto_docs/google/cloud/deploy/v1/deliverypipeline_notification_payload.rb",
"proto_docs/google/cloud/deploy/v1/deploypolicy_evaluation_payload.rb",
"proto_docs/google/cloud/deploy/v1/deploypolicy_notification_payload.rb",
"proto_docs/google/cloud/deploy/v1/jobrun_notification_payload.rb",
"proto_docs/google/cloud/deploy/v1/log_enums.rb",
"proto_docs/google/cloud/deploy/v1/release_notification_payload.rb",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -567,9 +567,8 @@ def get_delivery_pipeline request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param parent [::String]
# Required. The parent collection in which the `DeliveryPipeline` should be
# created. Format should be
# `projects/{project_id}/locations/{location_name}`.
# Required. The parent collection in which the `DeliveryPipeline` must be
# created. The format is `projects/{project_id}/locations/{location_name}`.
# @param delivery_pipeline_id [::String]
# Required. ID of the `DeliveryPipeline`.
# @param delivery_pipeline [::Google::Cloud::Deploy::V1::DeliveryPipeline, ::Hash]
Expand Down Expand Up @@ -684,11 +683,11 @@ def create_delivery_pipeline request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
# Required. Field mask is used to specify the fields to be overwritten in the
# `DeliveryPipeline` resource by the update.
# 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.
# 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.
# @param delivery_pipeline [::Google::Cloud::Deploy::V1::DeliveryPipeline, ::Hash]
# Required. The `DeliveryPipeline` to update.
# @param request_id [::String]
Expand Down Expand Up @@ -804,7 +803,7 @@ def update_delivery_pipeline request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param name [::String]
# Required. The name of the `DeliveryPipeline` to delete. Format should be
# Required. The name of the `DeliveryPipeline` to delete. The format is
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
# @param request_id [::String]
# Optional. A request ID to identify requests. Specify a unique request ID
Expand Down Expand Up @@ -1036,8 +1035,8 @@ def list_targets request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param name [::String]
# Required. The `DeliveryPipeline` for which the rollback `Rollout` should be
# created. Format should be
# Required. The `DeliveryPipeline` for which the rollback `Rollout` must be
# created. The format is
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
# @param target_id [::String]
# Required. ID of the `Target` that is being rolled back.
Expand Down Expand Up @@ -1230,8 +1229,8 @@ def get_target request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param parent [::String]
# Required. The parent collection in which the `Target` should be created.
# Format should be
# Required. The parent collection in which the `Target` must be created.
# The format is
# `projects/{project_id}/locations/{location_name}`.
# @param target_id [::String]
# Required. ID of the `Target`.
Expand Down Expand Up @@ -1347,11 +1346,11 @@ def create_target request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
# Required. Field mask is used to specify the fields to be overwritten in the
# Target resource by the update.
# 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.
# 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.
# @param target [::Google::Cloud::Deploy::V1::Target, ::Hash]
# Required. The `Target` to update.
# @param request_id [::String]
Expand Down Expand Up @@ -1467,7 +1466,7 @@ def update_target request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param name [::String]
# Required. The name of the `Target` to delete. Format should be
# Required. The name of the `Target` to delete. The format is
# `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
# @param request_id [::String]
# Optional. A request ID to identify requests. Specify a unique request ID
Expand Down Expand Up @@ -1782,9 +1781,8 @@ def get_custom_target_type request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param parent [::String]
# Required. The parent collection in which the `CustomTargetType` should be
# created. Format should be
# `projects/{project_id}/locations/{location_name}`.
# Required. The parent collection in which the `CustomTargetType` must be
# created. The format is `projects/{project_id}/locations/{location_name}`.
# @param custom_target_type_id [::String]
# Required. ID of the `CustomTargetType`.
# @param custom_target_type [::Google::Cloud::Deploy::V1::CustomTargetType, ::Hash]
Expand Down Expand Up @@ -1899,11 +1897,11 @@ def create_custom_target_type request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
# Required. Field mask is used to specify the fields to be overwritten in the
# `CustomTargetType` resource by the update.
# 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.
# 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.
# @param custom_target_type [::Google::Cloud::Deploy::V1::CustomTargetType, ::Hash]
# Required. The `CustomTargetType` to update.
# @param request_id [::String]
Expand Down Expand Up @@ -2334,8 +2332,8 @@ def get_release request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param parent [::String]
# Required. The parent collection in which the `Release` should be created.
# Format should be
# Required. The parent collection in which the `Release` is created.
# The format is
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
# @param release_id [::String]
# Required. ID of the `Release`.
Expand Down Expand Up @@ -2541,9 +2539,8 @@ def abandon_release request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param parent [::String]
# Required. The parent collection in which the `DeployPolicy` should be
# created. Format should be
# `projects/{project_id}/locations/{location_name}`.
# Required. The parent collection in which the `DeployPolicy` must be
# created. The format is `projects/{project_id}/locations/{location_name}`.
# @param deploy_policy_id [::String]
# Required. ID of the `DeployPolicy`.
# @param deploy_policy [::Google::Cloud::Deploy::V1::DeployPolicy, ::Hash]
Expand Down Expand Up @@ -2658,11 +2655,11 @@ def create_deploy_policy request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
# Required. Field mask is used to specify the fields to be overwritten in the
# `DeployPolicy` resource by the update.
# 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.
# 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.
# @param deploy_policy [::Google::Cloud::Deploy::V1::DeployPolicy, ::Hash]
# Required. The `DeployPolicy` to update.
# @param request_id [::String]
Expand Down Expand Up @@ -2778,7 +2775,7 @@ def update_deploy_policy request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param name [::String]
# Required. The name of the `DeployPolicy` to delete. Format should be
# Required. The name of the `DeployPolicy` to delete. The format is
# `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`.
# @param request_id [::String]
# Optional. A request ID to identify requests. Specify a unique request ID
Expand Down Expand Up @@ -3561,8 +3558,8 @@ def get_rollout request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param parent [::String]
# Required. The parent collection in which the `Rollout` should be created.
# Format should be
# Required. 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}`.
# @param rollout_id [::String]
# Required. ID of the `Rollout`.
Expand Down Expand Up @@ -4243,8 +4240,8 @@ def get_config request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param parent [::String]
# Required. The parent collection in which the `Automation` should be
# created. Format should be
# Required. The parent collection in which the `Automation` must be created.
# The format is
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
# @param automation_id [::String]
# Required. ID of the `Automation`.
Expand Down Expand Up @@ -4360,11 +4357,11 @@ def create_automation request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
# Required. Field mask is used to specify the fields to be overwritten in the
# `Automation` resource by the update.
# 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.
# 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.
# @param automation [::Google::Cloud::Deploy::V1::Automation, ::Hash]
# Required. The `Automation` to update.
# @param request_id [::String]
Expand Down Expand Up @@ -4480,7 +4477,7 @@ def update_automation request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param name [::String]
# Required. The name of the `Automation` to delete. Format should be
# Required. The name of the `Automation` to delete. The format is
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
# @param request_id [::String]
# Optional. A request ID to identify requests. Specify a unique request ID
Expand Down
Loading

0 comments on commit d652e92

Please sign in to comment.