lib/google/apis/run_v2/service.rb in google-apis-run_v2-0.6.0 vs lib/google/apis/run_v2/service.rb in google-apis-run_v2-0.7.0
- old
+ new
@@ -170,11 +170,11 @@
# Creates a new Service in a given project and location.
# @param [String] parent
# Required. The location and project in which this service should be created.
# Format: projects/`projectnumber`/locations/`location`
- # @param [Google::Apis::RunV2::GoogleCloudRunOpV2Service] google_cloud_run_op_v2_service_object
+ # @param [Google::Apis::RunV2::GoogleCloudRunV2Service] google_cloud_run_v2_service_object
# @param [String] service_id
# Required. The unique identifier for the Service. The name of the service
# becomes `parent`/services/`service_id`.
# @param [Boolean] validate_only
# Indicates that the request should be validated and default values populated,
@@ -194,14 +194,14 @@
# @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 create_project_location_service(parent, google_cloud_run_op_v2_service_object = nil, service_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
+ def create_project_location_service(parent, google_cloud_run_v2_service_object = nil, service_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v2/{+parent}/services', options)
- command.request_representation = Google::Apis::RunV2::GoogleCloudRunOpV2Service::Representation
- command.request_object = google_cloud_run_op_v2_service_object
+ 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['parent'] = parent unless parent.nil?
command.query['serviceId'] = service_id unless service_id.nil?
command.query['validateOnly'] = validate_only unless validate_only.nil?
@@ -261,22 +261,22 @@
# 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::GoogleCloudRunOpV2Service] parsed result object
+ # @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2Service] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2Service]
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2Service]
#
# @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 get_project_location_service(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
- command.response_representation = Google::Apis::RunV2::GoogleCloudRunOpV2Service::Representation
- command.response_class = Google::Apis::RunV2::GoogleCloudRunOpV2Service
+ command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2Service::Representation
+ command.response_class = Google::Apis::RunV2::GoogleCloudRunV2Service
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
@@ -344,22 +344,22 @@
# 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::GoogleCloudRunOpV2ListServicesResponse] parsed result object
+ # @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2ListServicesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2ListServicesResponse]
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2ListServicesResponse]
#
# @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 list_project_location_services(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/services', options)
- command.response_representation = Google::Apis::RunV2::GoogleCloudRunOpV2ListServicesResponse::Representation
- command.response_class = Google::Apis::RunV2::GoogleCloudRunOpV2ListServicesResponse
+ command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2ListServicesResponse::Representation
+ command.response_class = Google::Apis::RunV2::GoogleCloudRunV2ListServicesResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
command.query['fields'] = fields unless fields.nil?
@@ -371,11 +371,11 @@
# @param [String] name
# The fully qualified name of this Service. In CreateServiceRequest, this field
# is ignored, and instead composed from CreateServiceRequest.parent and
# CreateServiceRequest.service_id. Format: projects/`project`/locations/`
# location`/services/`service_id`
- # @param [Google::Apis::RunV2::GoogleCloudRunOpV2Service] google_cloud_run_op_v2_service_object
+ # @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.
# Caller must have both create and update permissions for this call if this is
# set to true.
# @param [String] update_mask
@@ -398,14 +398,14 @@
# @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_op_v2_service_object = nil, allow_missing: nil, update_mask: 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::GoogleCloudRunOpV2Service::Representation
- command.request_object = google_cloud_run_op_v2_service_object
+ 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?
@@ -535,22 +535,22 @@
# 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::GoogleCloudRunOpV2Revision] parsed result object
+ # @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2Revision] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2Revision]
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2Revision]
#
# @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 get_project_location_service_revision(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+name}', options)
- command.response_representation = Google::Apis::RunV2::GoogleCloudRunOpV2Revision::Representation
- command.response_class = Google::Apis::RunV2::GoogleCloudRunOpV2Revision
+ command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2Revision::Representation
+ command.response_class = Google::Apis::RunV2::GoogleCloudRunV2Revision
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
@@ -574,21 +574,21 @@
# 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::GoogleCloudRunOpV2ListRevisionsResponse] parsed result object
+ # @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2ListRevisionsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2ListRevisionsResponse]
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2ListRevisionsResponse]
#
# @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 list_project_location_service_revisions(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v2/{+parent}/revisions', options)
- command.response_representation = Google::Apis::RunV2::GoogleCloudRunOpV2ListRevisionsResponse::Representation
- command.response_class = Google::Apis::RunV2::GoogleCloudRunOpV2ListRevisionsResponse
+ command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2ListRevisionsResponse::Representation
+ command.response_class = Google::Apis::RunV2::GoogleCloudRunV2ListRevisionsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
command.query['fields'] = fields unless fields.nil?