lib/google/apis/run_v2/service.rb in google-apis-run_v2-0.24.0 vs lib/google/apis/run_v2/service.rb in google-apis-run_v2-0.25.0

- old
+ new

@@ -50,14 +50,15 @@ client_name: 'google-apis-run_v2', client_version: Google::Apis::RunV2::GEM_VERSION) @batch_path = 'batch' end - # Create a Job. + # Creates a Job. # @param [String] parent # Required. The location and project in which this Job should be created. Format: - # projects/`project`/locations/`location` + # projects/`project`/locations/`location`, where `project` can be project id or + # number. # @param [Google::Apis::RunV2::GoogleCloudRunV2Job] google_cloud_run_v2_job_object # @param [String] job_id # Required. The unique identifier for the Job. The name of the job becomes ` # parent`/jobs/`job_id`. # @param [Boolean] validate_only @@ -95,11 +96,11 @@ end # Deletes a Job. # @param [String] name # Required. The full name of the Job. Format: projects/`project`/locations/` - # location`/jobs/`job` + # location`/jobs/`job`, where `project` can be project id or number. # @param [String] etag # A system-generated fingerprint for this version of the resource. May be used # to detect modification conflict during updates. # @param [Boolean] validate_only # Indicates that the request should be validated without actually deleting any @@ -134,11 +135,11 @@ end # Gets information about a Job. # @param [String] name # Required. The full name of the Job. Format: projects/`project`/locations/` - # location`/jobs/`job` + # location`/jobs/`job`, where `project` can be project id or number. # @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. @@ -162,11 +163,11 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Get the IAM Access Control policy currently in effect for the given Job. This + # Gets the IAM Access Control policy currently in effect for the given Job. This # result does not include any inherited policies. # @param [String] resource # REQUIRED: The resource for which the policy is being requested. See [Resource # names](https://cloud.google.com/apis/design/resource_names) for the # appropriate value for this field. @@ -207,14 +208,14 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # List Jobs. + # Lists Jobs. # @param [String] parent # Required. The location and project to list resources on. Format: projects/` - # project`/locations/`location` + # project`/locations/`location`, where `project` can be project id or number. # @param [Fixnum] page_size # Maximum number of Jobs to return in this call. # @param [String] page_token # A page token received from a previous call to ListJobs. All other parameters # must match. @@ -294,11 +295,11 @@ end # Triggers creation of a new Execution of this Job. # @param [String] name # Required. The full name of the Job. Format: projects/`project`/locations/` - # location`/jobs/`job` + # location`/jobs/`job`, where `project` can be project id or number. # @param [Google::Apis::RunV2::GoogleCloudRunV2RunJobRequest] google_cloud_run_v2_run_job_request_object # @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 @@ -397,14 +398,15 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Delete an Execution. + # Deletes an Execution. # @param [String] name # Required. The name of the Execution to delete. Format: projects/`project`/ - # locations/`location`/jobs/`job`/executions/`execution` + # locations/`location`/jobs/`job`/executions/`execution`, where `project` can be + # project id or number. # @param [String] etag # A system-generated fingerprint for this version of the resource. This may be # used to detect modification conflict during updates. # @param [Boolean] validate_only # Indicates that the request should be validated without actually deleting any @@ -436,14 +438,15 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets information about a Execution. + # Gets information about an Execution. # @param [String] name # Required. The full name of the Execution. Format: projects/`project`/locations/ - # `location`/jobs/`job`/executions/`execution` + # `location`/jobs/`job`/executions/`execution`, where `project` can be project + # id or number. # @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. @@ -467,15 +470,16 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # List Executions from a Job. + # Lists Executions from a Job. # @param [String] parent # Required. The Execution from which the Executions should be listed. To list # all Executions across Jobs, use "-" instead of Job name. Format: projects/` - # project`/locations/`location`/jobs/`job` + # project`/locations/`location`/jobs/`job`, where `project` can be project id or + # number. # @param [Fixnum] page_size # Maximum number of Executions to return in this call. # @param [String] page_token # A page token received from a previous call to ListExecutions. All other # parameters must match. @@ -540,11 +544,11 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # List Tasks from an Execution of a Job. + # Lists Tasks from an Execution of a Job. # @param [String] parent # Required. The Execution from which the Tasks should be listed. To list all # Tasks across Executions of a Job, use "-" instead of Execution name. To list # all Tasks across Jobs, use "-" instead of Job name. Format: projects/`project`/ # locations/`location`/jobs/`job`/executions/`execution` @@ -702,17 +706,17 @@ end # 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/`project`/locations/`location` Only lowercase characters, - # digits, and hyphens. + # Format: projects/`project`/locations/`location`, where `project` can be + # project id or number. Only lowercase characters, digits, and hyphens. # @param [Google::Apis::RunV2::GoogleCloudRunV2Service] google_cloud_run_v2_service_object # @param [String] service_id # Required. The unique identifier for the Service. It must begin with letter, - # and may not end with hyphen; must contain fewer than 50 characters. The name - # of the service becomes `parent`/services/`service_id`. + # and cannot end with hyphen; must contain fewer than 50 characters. 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, # without persisting the request or creating any resources. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -747,11 +751,11 @@ # Deletes a Service. This will cause the Service to stop serving traffic and # will delete all revisions. # @param [String] name # Required. The full name of the Service. Format: projects/`project`/locations/` - # location`/services/`service` + # location`/services/`service`, where `project` can be project id or number. # @param [String] etag # A system-generated fingerprint for this version of the resource. May be used # to detect modification conflict during updates. # @param [Boolean] validate_only # Indicates that the request should be validated without actually deleting any @@ -786,11 +790,11 @@ end # Gets information about a Service. # @param [String] name # Required. The full name of the Service. Format: projects/`project`/locations/` - # location`/services/`service` + # location`/services/`service`, where `project` can be project id or number. # @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. @@ -814,11 +818,11 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Get the IAM Access Control policy currently in effect for the given Cloud Run + # Gets the IAM Access Control policy currently in effect for the given Cloud Run # Service. This result does not include any inherited policies. # @param [String] resource # REQUIRED: The resource for which the policy is being requested. See [Resource # names](https://cloud.google.com/apis/design/resource_names) for the # appropriate value for this field. @@ -859,15 +863,15 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # List Services. + # Lists Services. # @param [String] parent # Required. The location and project to list resources on. Location must be a - # valid GCP region, and may not be the "-" wildcard. Format: projects/`project`/ - # locations/`location` + # valid GCP region, and cannot be the "-" wildcard. Format: projects/`project`/ + # locations/`location`, where `project` can be project id or number. # @param [Fixnum] page_size # Maximum number of Services to return in this call. # @param [String] page_token # A page token received from a previous call to ListServices. All other # parameters must match. @@ -1018,11 +1022,11 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Delete a Revision. + # Deletes a Revision. # @param [String] name # Required. The name of the Revision to delete. Format: projects/`project`/ # locations/`location`/services/`service`/revisions/`revision` # @param [String] etag # A system-generated fingerprint for this version of the resource. This may be @@ -1088,10 +1092,10 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # List Revisions from a given Service, or from a given location. + # Lists Revisions from a given Service, or from a given location. # @param [String] parent # Required. The Service from which the Revisions should be listed. To list all # Revisions across Services, use "-" instead of Service name. Format: projects/` # project`/locations/`location`/services/`service` # @param [Fixnum] page_size