google-apis-clouddeploy_v1 0.21.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -698,6 +698,41 @@ module Google
|
|
698
698
|
execute_or_queue_command(command, &block)
|
699
699
|
end
|
700
700
|
|
701
|
+
# Advances a Rollout in a given project and location.
|
702
|
+
# @param [String] name
|
703
|
+
# Required. Name of the Rollout. Format is projects/`project`/locations/`
|
704
|
+
# location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/`
|
705
|
+
# rollout`.
|
706
|
+
# @param [Google::Apis::ClouddeployV1::AdvanceRolloutRequest] advance_rollout_request_object
|
707
|
+
# @param [String] fields
|
708
|
+
# Selector specifying which fields to include in a partial response.
|
709
|
+
# @param [String] quota_user
|
710
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
711
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
712
|
+
# @param [Google::Apis::RequestOptions] options
|
713
|
+
# Request-specific options
|
714
|
+
#
|
715
|
+
# @yield [result, err] Result & error if block supplied
|
716
|
+
# @yieldparam result [Google::Apis::ClouddeployV1::AdvanceRolloutResponse] parsed result object
|
717
|
+
# @yieldparam err [StandardError] error object if request failed
|
718
|
+
#
|
719
|
+
# @return [Google::Apis::ClouddeployV1::AdvanceRolloutResponse]
|
720
|
+
#
|
721
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
722
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
723
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
724
|
+
def advance_rollout(name, advance_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
725
|
+
command = make_simple_command(:post, 'v1/{+name}:advance', options)
|
726
|
+
command.request_representation = Google::Apis::ClouddeployV1::AdvanceRolloutRequest::Representation
|
727
|
+
command.request_object = advance_rollout_request_object
|
728
|
+
command.response_representation = Google::Apis::ClouddeployV1::AdvanceRolloutResponse::Representation
|
729
|
+
command.response_class = Google::Apis::ClouddeployV1::AdvanceRolloutResponse
|
730
|
+
command.params['name'] = name unless name.nil?
|
731
|
+
command.query['fields'] = fields unless fields.nil?
|
732
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
733
|
+
execute_or_queue_command(command, &block)
|
734
|
+
end
|
735
|
+
|
701
736
|
# Approves a Rollout.
|
702
737
|
# @param [String] name
|
703
738
|
# Required. Name of the Rollout. Format is projects/`project`/locations/`
|
@@ -733,6 +768,41 @@ module Google
|
|
733
768
|
execute_or_queue_command(command, &block)
|
734
769
|
end
|
735
770
|
|
771
|
+
# Cancels a Rollout in a given project and location.
|
772
|
+
# @param [String] name
|
773
|
+
# Required. Name of the Rollout. Format is projects/`project`/locations/`
|
774
|
+
# location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/`
|
775
|
+
# rollout`.
|
776
|
+
# @param [Google::Apis::ClouddeployV1::CancelRolloutRequest] cancel_rollout_request_object
|
777
|
+
# @param [String] fields
|
778
|
+
# Selector specifying which fields to include in a partial response.
|
779
|
+
# @param [String] quota_user
|
780
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
781
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
782
|
+
# @param [Google::Apis::RequestOptions] options
|
783
|
+
# Request-specific options
|
784
|
+
#
|
785
|
+
# @yield [result, err] Result & error if block supplied
|
786
|
+
# @yieldparam result [Google::Apis::ClouddeployV1::CancelRolloutResponse] parsed result object
|
787
|
+
# @yieldparam err [StandardError] error object if request failed
|
788
|
+
#
|
789
|
+
# @return [Google::Apis::ClouddeployV1::CancelRolloutResponse]
|
790
|
+
#
|
791
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
792
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
793
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
794
|
+
def cancel_rollout(name, cancel_rollout_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
795
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
796
|
+
command.request_representation = Google::Apis::ClouddeployV1::CancelRolloutRequest::Representation
|
797
|
+
command.request_object = cancel_rollout_request_object
|
798
|
+
command.response_representation = Google::Apis::ClouddeployV1::CancelRolloutResponse::Representation
|
799
|
+
command.response_class = Google::Apis::ClouddeployV1::CancelRolloutResponse
|
800
|
+
command.params['name'] = name unless name.nil?
|
801
|
+
command.query['fields'] = fields unless fields.nil?
|
802
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
803
|
+
execute_or_queue_command(command, &block)
|
804
|
+
end
|
805
|
+
|
736
806
|
# Creates a new Rollout in a given project and location.
|
737
807
|
# @param [String] parent
|
738
808
|
# Required. The parent collection in which the `Rollout` should be created.
|
@@ -823,6 +893,41 @@ module Google
|
|
823
893
|
execute_or_queue_command(command, &block)
|
824
894
|
end
|
825
895
|
|
896
|
+
# Ignores the specified Job in a Rollout.
|
897
|
+
# @param [String] rollout
|
898
|
+
# Required. Name of the Rollout. Format is projects/`project`/locations/`
|
899
|
+
# location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/`
|
900
|
+
# rollout`.
|
901
|
+
# @param [Google::Apis::ClouddeployV1::IgnoreJobRequest] ignore_job_request_object
|
902
|
+
# @param [String] fields
|
903
|
+
# Selector specifying which fields to include in a partial response.
|
904
|
+
# @param [String] quota_user
|
905
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
906
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
907
|
+
# @param [Google::Apis::RequestOptions] options
|
908
|
+
# Request-specific options
|
909
|
+
#
|
910
|
+
# @yield [result, err] Result & error if block supplied
|
911
|
+
# @yieldparam result [Google::Apis::ClouddeployV1::IgnoreJobResponse] parsed result object
|
912
|
+
# @yieldparam err [StandardError] error object if request failed
|
913
|
+
#
|
914
|
+
# @return [Google::Apis::ClouddeployV1::IgnoreJobResponse]
|
915
|
+
#
|
916
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
917
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
918
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
919
|
+
def ignore_rollout_job(rollout, ignore_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
920
|
+
command = make_simple_command(:post, 'v1/{+rollout}:ignoreJob', options)
|
921
|
+
command.request_representation = Google::Apis::ClouddeployV1::IgnoreJobRequest::Representation
|
922
|
+
command.request_object = ignore_job_request_object
|
923
|
+
command.response_representation = Google::Apis::ClouddeployV1::IgnoreJobResponse::Representation
|
924
|
+
command.response_class = Google::Apis::ClouddeployV1::IgnoreJobResponse
|
925
|
+
command.params['rollout'] = rollout unless rollout.nil?
|
926
|
+
command.query['fields'] = fields unless fields.nil?
|
927
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
928
|
+
execute_or_queue_command(command, &block)
|
929
|
+
end
|
930
|
+
|
826
931
|
# Lists Rollouts in a given project and location.
|
827
932
|
# @param [String] parent
|
828
933
|
# Required. The `Release` which owns this collection of `Rollout` objects.
|
@@ -987,6 +1092,41 @@ module Google
|
|
987
1092
|
execute_or_queue_command(command, &block)
|
988
1093
|
end
|
989
1094
|
|
1095
|
+
# Terminates a Job Run in a given project and location.
|
1096
|
+
# @param [String] name
|
1097
|
+
# Required. Name of the `JobRun`. Format must be projects/`project`/locations/`
|
1098
|
+
# location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/`
|
1099
|
+
# rollout`/jobRuns/`jobRun`.
|
1100
|
+
# @param [Google::Apis::ClouddeployV1::TerminateJobRunRequest] terminate_job_run_request_object
|
1101
|
+
# @param [String] fields
|
1102
|
+
# Selector specifying which fields to include in a partial response.
|
1103
|
+
# @param [String] quota_user
|
1104
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1105
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1106
|
+
# @param [Google::Apis::RequestOptions] options
|
1107
|
+
# Request-specific options
|
1108
|
+
#
|
1109
|
+
# @yield [result, err] Result & error if block supplied
|
1110
|
+
# @yieldparam result [Google::Apis::ClouddeployV1::TerminateJobRunResponse] parsed result object
|
1111
|
+
# @yieldparam err [StandardError] error object if request failed
|
1112
|
+
#
|
1113
|
+
# @return [Google::Apis::ClouddeployV1::TerminateJobRunResponse]
|
1114
|
+
#
|
1115
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1116
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1117
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1118
|
+
def terminate_job_run(name, terminate_job_run_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1119
|
+
command = make_simple_command(:post, 'v1/{+name}:terminate', options)
|
1120
|
+
command.request_representation = Google::Apis::ClouddeployV1::TerminateJobRunRequest::Representation
|
1121
|
+
command.request_object = terminate_job_run_request_object
|
1122
|
+
command.response_representation = Google::Apis::ClouddeployV1::TerminateJobRunResponse::Representation
|
1123
|
+
command.response_class = Google::Apis::ClouddeployV1::TerminateJobRunResponse
|
1124
|
+
command.params['name'] = name unless name.nil?
|
1125
|
+
command.query['fields'] = fields unless fields.nil?
|
1126
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1127
|
+
execute_or_queue_command(command, &block)
|
1128
|
+
end
|
1129
|
+
|
990
1130
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
991
1131
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
992
1132
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -1092,13 +1232,7 @@ module Google
|
|
1092
1232
|
end
|
1093
1233
|
|
1094
1234
|
# Lists operations that match the specified filter in the request. If the server
|
1095
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1096
|
-
# binding allows API services to override the binding to use different resource
|
1097
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
1098
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1099
|
-
# service configuration. For backwards compatibility, the default name includes
|
1100
|
-
# the operations collection id, however overriding users must ensure the name
|
1101
|
-
# binding is the parent resource, without the operations collection id.
|
1235
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1102
1236
|
# @param [String] name
|
1103
1237
|
# The name of the operation's parent resource.
|
1104
1238
|
# @param [String] filter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-clouddeploy_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02
|
11
|
+
date: 2023-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|