lib/google/apis/clouddeploy_v1/service.rb in google-apis-clouddeploy_v1-0.18.0 vs lib/google/apis/clouddeploy_v1/service.rb in google-apis-clouddeploy_v1-0.19.0
- old
+ new
@@ -750,10 +750,13 @@
# 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).
# @param [String] rollout_id
# Required. ID of the `Rollout`.
+ # @param [String] starting_phase_id
+ # Optional. The starting phase ID for the `Rollout`. If empty the `Rollout` will
+ # start at the first phase.
# @param [Boolean] validate_only
# Optional. If set to true, the request is validated and the user is provided
# with an expected result, but no actual change is made.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -770,18 +773,19 @@
# @return [Google::Apis::ClouddeployV1::Operation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def create_project_location_delivery_pipeline_release_rollout(parent, rollout_object = nil, request_id: nil, rollout_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
+ def create_project_location_delivery_pipeline_release_rollout(parent, rollout_object = nil, request_id: nil, rollout_id: nil, starting_phase_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+parent}/rollouts', options)
command.request_representation = Google::Apis::ClouddeployV1::Rollout::Representation
command.request_object = rollout_object
command.response_representation = Google::Apis::ClouddeployV1::Operation::Representation
command.response_class = Google::Apis::ClouddeployV1::Operation
command.params['parent'] = parent unless parent.nil?
command.query['requestId'] = request_id unless request_id.nil?
command.query['rolloutId'] = rollout_id unless rollout_id.nil?
+ command.query['startingPhaseId'] = starting_phase_id unless starting_phase_id.nil?
command.query['validateOnly'] = validate_only unless validate_only.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end