lib/google/apis/run_v2/service.rb in google-apis-run_v2-0.59.0 vs lib/google/apis/run_v2/service.rb in google-apis-run_v2-0.60.0

- old
+ new

@@ -987,10 +987,12 @@ # @param [Google::Apis::RunV2::GoogleCloudRunV2Service] google_cloud_run_v2_service_object # @param [Boolean] allow_missing # If set to true, and if the Service does not exist, it will create a new one. # The caller must have 'run.services.create' permissions if this is set to true # and the Service does not exist. + # @param [String] update_mask + # Optional. The list of fields to be updated. # @param [Boolean] validate_only # Indicates that the request should be validated and default values populated, # without persisting the request or updating any resources. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1007,17 +1009,18 @@ # @return [Google::Apis::RunV2::GoogleLongrunningOperation] # # @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 patch_project_location_service(name, google_cloud_run_v2_service_object = nil, allow_missing: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) + def patch_project_location_service(name, google_cloud_run_v2_service_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v2/{+name}', options) command.request_representation = Google::Apis::RunV2::GoogleCloudRunV2Service::Representation command.request_object = google_cloud_run_v2_service_object command.response_representation = Google::Apis::RunV2::GoogleLongrunningOperation::Representation command.response_class = Google::Apis::RunV2::GoogleLongrunningOperation command.params['name'] = name unless name.nil? command.query['allowMissing'] = allow_missing unless allow_missing.nil? + command.query['updateMask'] = update_mask unless update_mask.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