lib/google/apis/run_v2/service.rb in google-apis-run_v2-0.67.0 vs lib/google/apis/run_v2/service.rb in google-apis-run_v2-0.68.0
- old
+ new
@@ -156,9 +156,41 @@
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
+ # Export generated customer metadata for a given project.
+ # @param [String] name
+ # Required. The name of the project of which metadata should be exported. Format:
+ # `projects/`project_id_or_number`/locations/`location`` for Project in a given
+ # location.
+ # @param [String] fields
+ # Selector specifying which fields to include in a partial response.
+ # @param [String] quota_user
+ # Available to use for quota purposes for server-side applications. Can be any
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
+ # @param [Google::Apis::RequestOptions] options
+ # Request-specific options
+ #
+ # @yield [result, err] Result & error if block supplied
+ # @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2Metadata] parsed result object
+ # @yieldparam err [StandardError] error object if request failed
+ #
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2Metadata]
+ #
+ # @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 export_project_location_project_metadata(name, fields: nil, quota_user: nil, options: nil, &block)
+ command = make_simple_command(:get, 'v2/{+name}:exportProjectMetadata', options)
+ command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2Metadata::Representation
+ command.response_class = Google::Apis::RunV2::GoogleCloudRunV2Metadata
+ command.params['name'] = name unless name.nil?
+ command.query['fields'] = fields unless fields.nil?
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
+ execute_or_queue_command(command, &block)
+ end
+
# Creates a Job.
# @param [String] parent
# Required. The location and project in which this Job should be created. Format:
# projects/`project`/locations/`location`, where `project` can be project id or
# number.