lib/google/cloud/dataproc/v1/job_controller_client.rb in google-cloud-dataproc-0.2.0 vs lib/google/cloud/dataproc/v1/job_controller_client.rb in google-cloud-dataproc-0.2.1

- old
+ new

@@ -17,10 +17,11 @@ # https://github.com/googleapis/googleapis/blob/master/google/cloud/dataproc/v1/jobs.proto, # and updates to that file get reflected here through a refresh process. # For the short term, the refresh process will only be runnable by Google # engineers. + require "json" require "pathname" require "google/gax" @@ -34,10 +35,11 @@ # The JobController provides methods to manage jobs. # # @!attribute [r] job_controller_stub # @return [Google::Cloud::Dataproc::V1::JobController::Stub] class JobControllerClient + # @private attr_reader :job_controller_stub # The default address of the service. SERVICE_ADDRESS = "dataproc.googleapis.com".freeze @@ -296,11 +298,11 @@ }.delete_if { |_, v| v.nil? } req = Google::Gax::to_proto(req, Google::Cloud::Dataproc::V1::GetJobRequest) @get_job.call(req, options, &block) end - # Lists regions/{region}/jobs in a project. + # Lists regions/\\{region}/jobs in a project. # # @param project_id [String] # Required. The ID of the Google Cloud Platform project that the job # belongs to. # @param region [String] @@ -461,11 +463,11 @@ @update_job.call(req, options, &block) end # Starts a job cancellation request. To access the job resource # after cancellation, call - # [regions/{region}/jobs.list](https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or - # [regions/{region}/jobs.get](https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get). + # [regions/\\{region}/jobs.list](https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or + # [regions/\\{region}/jobs.get](https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get). # # @param project_id [String] # Required. The ID of the Google Cloud Platform project that the job # belongs to. # @param region [String]