@@ -51,10 +51,10 @@ service JobsV1Beta3 {
5151 // in `us-central1`.
5252 rpc CreateJob (CreateJobRequest ) returns (Job ) {
5353 option (google.api.http ) = {
54- post : "/v1b3/projects/{project_id}/jobs"
54+ post : "/v1b3/projects/{project_id}/locations/{location}/ jobs"
5555 body : "job"
5656 additional_bindings {
57- post : "/v1b3/projects/{project_id}/locations/{location}/ jobs"
57+ post : "/v1b3/projects/{project_id}/jobs"
5858 body : "job"
5959 }
6060 };
@@ -69,9 +69,9 @@ service JobsV1Beta3 {
6969 // jobs that are running in `us-central1`.
7070 rpc GetJob (GetJobRequest ) returns (Job ) {
7171 option (google.api.http ) = {
72- get : "/v1b3/projects/{project_id}/jobs/{job_id}"
72+ get : "/v1b3/projects/{project_id}/locations/{location}/ jobs/{job_id}"
7373 additional_bindings {
74- get : "/v1b3/projects/{project_id}/locations/{location}/ jobs/{job_id}"
74+ get : "/v1b3/projects/{project_id}/jobs/{job_id}"
7575 }
7676 };
7777 }
@@ -85,10 +85,10 @@ service JobsV1Beta3 {
8585 // of jobs that are running in `us-central1`.
8686 rpc UpdateJob (UpdateJobRequest ) returns (Job ) {
8787 option (google.api.http ) = {
88- put : "/v1b3/projects/{project_id}/jobs/{job_id}"
88+ put : "/v1b3/projects/{project_id}/locations/{location}/ jobs/{job_id}"
8989 body : "job"
9090 additional_bindings {
91- put : "/v1b3/projects/{project_id}/locations/{location}/ jobs/{job_id}"
91+ put : "/v1b3/projects/{project_id}/jobs/{job_id}"
9292 body : "job"
9393 }
9494 };
@@ -104,9 +104,9 @@ service JobsV1Beta3 {
104104 // jobs that are running in `us-central1`.
105105 rpc ListJobs (ListJobsRequest ) returns (ListJobsResponse ) {
106106 option (google.api.http ) = {
107- get : "/v1b3/projects/{project_id}/jobs"
107+ get : "/v1b3/projects/{project_id}/locations/{location}/ jobs"
108108 additional_bindings {
109- get : "/v1b3/projects/{project_id}/locations/{location}/ jobs"
109+ get : "/v1b3/projects/{project_id}/jobs"
110110 }
111111 };
112112 }
@@ -125,18 +125,17 @@ service JobsV1Beta3 {
125125 // Snapshot the state of a streaming job.
126126 rpc SnapshotJob (SnapshotJobRequest ) returns (Snapshot ) {
127127 option (google.api.http ) = {
128- post : "/v1b3/projects/{project_id}/jobs/{job_id}:snapshot"
128+ post : "/v1b3/projects/{project_id}/locations/{location}/ jobs/{job_id}:snapshot"
129129 body : "*"
130130 additional_bindings {
131- post : "/v1b3/projects/{project_id}/locations/{location}/ jobs/{job_id}:snapshot"
131+ post : "/v1b3/projects/{project_id}/jobs/{job_id}:snapshot"
132132 body : "*"
133133 }
134134 };
135135 }
136136}
137137
138138// Defines a job to be run by the Cloud Dataflow service.
139- // nextID: 26
140139message Job {
141140 // The unique ID of this job.
142141 //
0 commit comments