8000 fix: Use http binding with location field as primary http bindings by gcf-owl-bot[bot] · Pull Request #138 · googleapis/java-dataflow · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*
* <pre>
* Defines a job to be run by the Cloud Dataflow service.
* nextID: 26
* </pre>
*
* Protobuf type {@code google.dataflow.v1beta3.Job}
Expand Down Expand Up @@ -2324,7 +2323,6 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* <pre>
* Defines a job to be run by the Cloud Dataflow service.
* nextID: 26
* </pre>
*
* Protobuf type {@code google.dataflow.v1beta3.Job}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,24 +327,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "_DESCRIPTION\020\0032\221\014\n\013JobsV1Beta3\022\301\001\n\tCreat"
+ "eJob\022).google.dataflow.v1beta3.CreateJob"
+ "Request\032\034.google.dataflow.v1beta3.Job\"k\202"
+ "\323\344\223\002e\" /v1b3/projects/{project_id}/jobs:"
+ "\003jobZ<\"5/v1b3/projects/{project_id}/loca"
+ "tions/{location}/jobs:\003job\022\303\001\n\006GetJob\022&."
+ "\323\344\223\002e\"5/v1b3/projects/{project_id}/locat"
+ "ions/{location}/jobs:\003jobZ\'\" /v1b3/proje"
+ "cts/{project_id}/jobs:\003job\022\303\001\n\006GetJob\022&."
+ "google.dataflow.v1beta3.GetJobRequest\032\034."
+ "google.dataflow.v1beta3.Job\"s\202\323\344\223\002m\022)/v1"
+ "b3/projects/{project_id}/jobs/{job_id}Z@"
+ "\022>/v1b3/projects/{project_id}/locations/"
+ "{location}/jobs/{job_id}\022\323\001\n\tUpdateJob\022)"
+ "google.dataflow.v1beta3.Job\"s\202\323\344\223\002m\022>/v1"
+ "b3/projects/{project_id}/locations/{loca"
+ "tion}/jobs/{job_id}Z+\022)/v1b3/projects/{p"
+ "roject_id}/jobs/{job_id}\022\323\001\n\tUpdateJob\022)"
+ ".google.dataflow.v1beta3.UpdateJobReques"
+ "t\032\034.google.dataflow.v1beta3.Job\"}\202\323\344\223\002w\032"
+ ")/v1b3/projects/{project_id}/jobs/{job_i"
+ "d}:\003jobZE\032>/v1b3/projects/{project_id}/l"
+ "ocations/{location}/jobs/{job_id}:\003job\022\302"
+ ">/v1b3/projects/{project_id}/locations/{"
+ "location}/jobs/{job_id}:\003jobZ0\032)/v1b3/pr"
+ "ojects/{project_id}/jobs/{job_id}:\003job\022\302"
+ "\001\n\010ListJobs\022(.google.dataflow.v1beta3.Li"
+ "stJobsRequest\032).google.dataflow.v1beta3."
+ "ListJobsResponse\"a\202\323\344\223\002[\022 /v1b3/projects"
+ "/{project_id}/jobsZ7\0225/v1b3/projects/{pr"
+ "oject_id}/locations/{location}/jobs\022\236\001\n\022"
+ "ListJobsResponse\"a\202\323\344\223\002[\0225/v1b3/projects"
+ "/{project_id}/locations/{location}/jobsZ"
+ "\"\022 /v1b3/projects/{project_id}/jobs\022\236\001\n\022"
+ "AggregatedListJobs\022(.google.dataflow.v1b"
+ "eta3.ListJobsRequest\032).google.dataflow.v"
+ "1beta3.ListJobsResponse\"3\202\323\344\223\002-\022+/v1b3/p"
Expand All @@ -354,10 +354,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ow.v1beta3.CheckActiveJobsResponse\"\000\022\354\001\n"
+ "\013SnapshotJob\022+.google.dataflow.v1beta3.S"
+ "napshotJobRequest\032!.google.dataflow.v1be"
+ "ta3.Snapshot\"\214\001\202\323\344\223\002\205\001\"2/v1b3/projects/{"
+ "project_id}/jobs/{job_id}:snapshot:\001*ZL\""
+ "G/v1b3/projects/{project_id}/locations/{"
+ "location}/jobs/{job_id}:snapshot:\001*\032\324\001\312A"
+ "ta3.Snapshot\"\214\001\202\323\344\223\002\205\001\"G/v1b3/projects/{"
+ "project_id}/locations/{location}/jobs/{j"
+ "ob_id}:snapshot:\001*Z7\"2/v1b3/projects/{pr"
+ "oject_id}/jobs/{job_id}:snapshot:\001*\032\324\001\312A"
+ "\027dataflow.googleapis.com\322A\266\001https://www."
+ "googleapis.com/auth/cloud-platform,https"
+ "://www.googleapis.com/auth/compute,https"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\020\0042\347\003\n\017MessagesV1Beta3\022\374\001\n\017ListJobMessag"
+ "es\022/.google.dataflow.v1beta3.ListJobMess"
+ "agesRequest\0320.google.dataflow.v1beta3.Li"
+ "stJobMessagesResponse\"\205\001\202\323\344\223\002\177\0222/v1b3/pr"
+ "ojects/{project_id}/jobs/{job_id}/messag"
+ "esZI\022G/v1b3/projects/{project_id}/locati"
+ "ons/{location}/jobs/{job_id}/messages\032\324\001"
+ "stJobMessagesResponse\"\205\001\202\323\344\223\002\177\022G/v1b3/pr"
+ "ojects/{project_id}/locations/{location}"
+ "/jobs/{job_id}/messagesZ4\0222/v1b3/project"
+ "s/{project_id}/jobs/{job_id}/messages\032\324\001"
+ "\312A\027dataflow.googleapis.com\322A\266\001https://ww"
+ "w.googleapis.com/auth/cloud-platform,htt"
+ "ps://www.googleapis.com/auth/compute,htt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ricsV1Beta3\022\351\001\n\rGetJobMetrics\022-.google.d"
+ "ataflow.v1beta3.GetJobMetricsRequest\032#.g"
+ "oogle.dataflow.v1beta3.JobMetrics\"\203\001\202\323\344\223"
+ "\002}\0221/v1b3/projects/{project_id}/jobs/{jo"
+ "b_id}/metricsZH\022F/v1b3/projects/{project"
+ "_id}/locations/{location}/jobs/{job_id}/"
+ "\002}\022F/v1b3/projects/{project_id}/location"
+ "s/{location}/jobs/{job_id}/metricsZ3\0221/v"
+ "1b3/projects/{project_id}/jobs/{job_id}/"
+ "metrics\022\327\001\n\026GetJobExecutionDetails\0226.goo"
+ "gle.dataflow.v1beta3.GetJobExecutionDeta"
+ "ilsRequest\032,.google.dataflow.v1beta3.Job"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,24 +94,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "DY\020\003\022\n\n\006FAILED\020\004\022\013\n\007DELETED\020\0052\357\007\n\020Snapsh"
+ "otsV1Beta3\022\350\001\n\013GetSnapshot\022+.google.data"
+ "flow.v1beta3.GetSnapshotRequest\032!.google"
+ ".dataflow.v1beta3.Snapshot\"\210\001\202\323\344\223\002\201\001\0223/v"
+ "1b3/projects/{project_id}/snapshots/{sna"
+ "pshot_id}ZJ\022H/v1b3/projects/{project_id}"
+ "/locations/{location}/snapshots/{snapsho"
+ ".dataflow.v1beta3.Snapshot\"\210\001\202\323\344\223\002\201\001\022H/v"
+ "1b3/projects/{project_id}/locations/{loc"
+ "ation}/snapshots/{snapshot_id}Z5\0223/v1b3/"
+ "projects/{project_id}/snapshots/{snapsho"
+ "t_id}\022\354\001\n\016DeleteSnapshot\022..google.datafl"
+ "ow.v1beta3.DeleteSnapshotRequest\032/.googl"
+ "e.dataflow.v1beta3.DeleteSnapshotRespons"
+ "e\"y\202\323\344\223\002s*%/v1b3/projects/{project_id}/s"
+ "napshotsZJ*H/v1b3/projects/{project_id}/"
+ "locations/{location}/snapshots/{snapshot"
+ "_id}\022\251\002\n\rListSnapshots\022-.google.dataflow"
+ "e\"y\202\323\344\223\002s*H/v1b3/projects/{project_id}/l"
+ "ocations/{location}/snapshots/{snapshot_"
+ "id}Z\'*%/v1b3/projects/{project_id}/snaps"
+ "hots\022\251\002\n\rListSnapshots\022-.google.dataflow"
+ ".v1beta3.ListSnapshotsRequest\032..google.d"
+ "ataflow.v1beta3.ListSnapshotsResponse\"\270\001"
+ "\202\323\344\223\002\261\001\022%/v1b3/projects/{project_id}/sna"
+ "pshotsZ<\022:/v1b3/projects/{project_id}/lo"
+ "cations/{location}/snapshotsZJ\022H/v1b3/pr"
+ "ojects/{project_id}/locations/{location}"
+ "/jobs/{job_id}/snapshots\032\324\001\312A\027dataflow.g"
+ "\202\323\344\223\002\261\001\022H/v1b3/projects/{project_id}/loc"
+ "ations/{location}/jobs/{job_id}/snapshot"
+ "sZ<\022:/v1b3/projects/{project_id}/locatio"
+ "ns/{location}/snapshotsZ\'\022%/v1b3/project"
+ "s/{project_id}/snapshots\032\324\001\312A\027dataflow.g"
+ "oogleapis.com\322A\266\001https://www.googleapis."
+ "com/auth/cloud-platform,https://www.goog"
+ "leapis.com/auth/compute,https://www.goog"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,22 +295,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\020\t2\302\007\n\020TemplatesService\022\337\001\n\025CreateJobFro"
+ "mTemplate\0225.google.dataflow.v1beta3.Crea"
+ "teJobFromTemplateRequest\032\034.google.datafl"
+ "ow.v1beta3.Job\"q\202\323\344\223\002k\"%/v1b3/projects/{"
+ "project_id}/templates:\001*Z?\":/v1b3/projec"
+ "ts/{project_id}/locations/{location}/tem"
+ "ow.v1beta3.Job\"q\202\323\344\223\002k\":/v1b3/projects/{"
+ "project_id}/locations/{location}/templat"
+ "es:\001*Z*\"%/v1b3/projects/{project_id}/tem"
+ "plates:\001*\022\224\002\n\016LaunchTemplate\022..google.da"
+ "taflow.v1beta3.LaunchTemplateRequest\032/.g"
+ "oogle.dataflow.v1beta3.LaunchTemplateRes"
+ "ponse\"\240\001\202\323\344\223\002\231\001\",/v1b3/projects/{project"
+ "_id}/templates:launch:\021launch_parameters"
+ "ZV\"A/v1b3/projects/{project_id}/location"
+ "s/{location}/templates:launch:\021launch_pa"
+ "ponse\"\240\001\202\323\344\223\002\231\001\"A/v1b3/projects/{project"
+ "_id}/locations/{location}/templates:laun"
+ "ch:\021launch_parametersZA\",/v1b3/projects/"
+ "{project_id}/templates:launch:\021launch_pa"
+ "rameters\022\335\001\n\013GetTemplate\022+.google.datafl"
+ "ow.v1beta3.GetTemplateRequest\032,.google.d"
+ "ataflow.v1beta3.GetTemplateResponse\"s\202\323\344"
+ "\223\002m\022)/v1b3/projects/{project_id}/templat"
+ "es:getZ@\022>/v1b3/projects/{project_id}/lo"
+ "cations/{location}/templates:get\032\324\001\312A\027da"
+ "\223\002m\022>/v1b3/projects/{project_id}/locatio"
+ "ns/{location}/templates:getZ+\022)/v1b3/pro"
+ "jects/{project_id}/templates:get\032\324\001\312A\027da"
+ "taflow.googleapis.com\322A\266\001https://www.goo"
+ "gleapis.com/auth/cloud-platform,https://"
+ "www.googleapis.com/auth/compute,https://"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ service JobsV1Beta3 {
// in `us-central1`.
rpc CreateJob(CreateJobRequest) returns (Job) {
option (google.api.http) = {
post: "/v1b3/projects/{project_id}/jobs"
post: "/v1b3/projects/{project_id}/locations/{location}/jobs"
body: "job"
additional_bindings {
post: "/v1b3/projects/{project_id}/locations/{location}/jobs"
post: "/v1b3/projects/{project_id}/jobs"
body: "job"
}
};
Expand All @@ -69,9 +69,9 @@ service JobsV1Beta3 {
// jobs that are running in `us-central1`.
rpc GetJob(GetJobRequest) returns (Job) {
option (google.api.http) = {
get: "/v1b3/projects/{project_id}/jobs/{job_id}"
get: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}"
additional_bindings {
get: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}"
get: "/v1b3/projects/{project_id}/jobs/{job_id}"
}
};
}
Expand All @@ -85,10 +85,10 @@ service JobsV1Beta3 {
// of jobs that are running in `us-central1`.
rpc UpdateJob(UpdateJobRequest) returns (Job) {
option (google.api.http) = {
put: "/v1b3/projects/{project_id}/jobs/{job_id}"
put: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}"
body: "job"
additional_bindings {
put: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}"
put: "/v1b3/projects/{project_id}/jobs/{job_id}"
body: "job"
}
};
Expand All @@ -104,9 +104,9 @@ service JobsV1Beta3 {
// jobs that are running in `us-central1`.
rpc ListJobs(ListJobsRequest) returns (ListJobsResponse) {
option (google.api.http) = {
get: "/v1b3/projects/{project_id}/jobs"
get: "/v1b3/projects/{project_id}/locations/{location}/jobs"
additional_bindings {
get: "/v1b3/projects/{project_id}/locations/{location}/jobs"
get: "/v1b3/projects/{project_id}/jobs"
}
};
}
Expand All @@ -125,18 +125,17 @@ service JobsV1Beta3 {
// Snapshot the state of a streaming job.
rpc SnapshotJob(SnapshotJobRequest) returns (Snapshot) {
option (google.api.http) = {
post: "/v1b3/projects/{project_id}/jobs/{job_id}:snapshot"
post: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}:snapshot"
body: "*"
additional_bindings {
post: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}:snapshot"
post: "/v1b3/projects/{project_id}/jobs/{job_id}:snapshot"
body: "*"
}
};
}
}

// Defines a job to be run by the Cloud Dataflow service.
// nextID: 26
message Job {
// The unique ID of this job.
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ service MessagesV1Beta3 {
// the status of jobs that are running in `us-central1`.
rpc ListJobMessages(ListJobMessagesRequest) returns (ListJobMessagesResponse) {
option (google.api.http) = {
get: "/v1b3/projects/{project_id}/jobs/{job_id}/messages"
get: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/messages"
additional_bindings {
get: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/messages"
get: "/v1b3/projects/{project_id}/jobs/{job_id}/messages"
}
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ service MetricsV1Beta3 {
// status of jobs that are running in `us-central1`.
rpc GetJobMetrics(GetJobMetricsRequest) returns (JobMetrics) {
option (google.api.http) = {
get: "/v1b3/projects/{project_id}/jobs/{job_id}/metrics"
get: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/metrics"
additional_bindings {
get: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/metrics"
get: "/v1b3/projects/{project_id}/jobs/{job_id}/metrics"
}
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,32 +41,32 @@ service SnapshotsV1Beta3 {
// Gets information about a snapshot.
rpc GetSnapshot(GetSnapshotRequest) returns (Snapshot) {
option (google.api.http) = {
get: "/v1b3/projects/{project_id}/snapshots/{snapshot_id}"
get: "/v1b3/projects/{project_id}/locations/{location}/snapshots/{snapshot_id}"
additional_bindings {
get: "/v1b3/projects/{project_id}/locations/{location}/snapshots/{snapshot_id}"
get: "/v1b3/projects/{project_id}/snapshots/{snapshot_id}"
}
};
}

// Deletes a snapshot.
rpc DeleteSnapshot(DeleteSnapshotRequest) returns (DeleteSnapshotResponse) {
option (google.api.http) = {
delete: "/v1b3/projects/{project_id}/snapshots"
delete: "/v1b3/projects/{project_id}/locations/{location}/snapshots/{snapshot_id}"
additional_bindings {
delete: "/v1b3/projects/{project_id}/locations/{location}/snapshots/{snapshot_id}"
delete: "/v1b3/projects/{project_id}/snapshots"
}
};
}

// Lists snapshots.
rpc ListSnapshots(ListSnapshotsRequest) returns (ListSnapshotsResponse) {
option (google.api.http) = {
get: "/v1b3/projects/{project_id}/snapshots"
get: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/snapshots"
additional_bindings {
get: "/v1b3/projects/{project_id}/locations/{location}/snapshots"
}
additional_bindings {
get: "/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/snapshots"
get: "/v1b3/projects/{project_id}/snapshots"
}
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ service TemplatesService {
// Creates a Cloud Dataflow job from a template.
rpc CreateJobFromTemplate(CreateJobFromTemplateRequest) returns (Job) {
option (google.api.http) = {
post: "/v1b3/projects/{project_id}/templates"
post: "/v1b3/projects/{project_id}/locations/{location}/templates"
body: "*"
additional_bindings {
post: "/v1b3/projects/{project_id}/locations/{location}/templates"
post: "/v1b3/projects/{project_id}/templates"
body: "*"
}
};
Expand All @@ -54,10 +54,10 @@ service TemplatesService {
// Launch a template.
rpc LaunchTemplate(LaunchTemplateRequest) returns (LaunchTemplateResponse) {
option (google.api.http) = {
post: "/v1b3/projects/{project_id}/templates:launch"
post: "/v1b3/projects/{project_id}/locations/{location}/templates:launch"
body: "launch_parameters"
additional_bindings {
post: "/v1b3/projects/{project_id}/locations/{location}/templates:launch"
post: "/v1b3/projects/{project_id}/templates:launch"
body: "launch_parameters"
}
};
Expand All @@ -66,9 +66,9 @@ service TemplatesService {
// Get the template associated with a template.
rpc GetTemplate(GetTemplateRequest) returns (GetTemplateResponse) {
option (google.api.http) = {
get: "/v1b3/projects/{project_id}/templates:get"
get: "/v1b3/projects/{project_id}/locations/{location}/templates:get"
additional_bindings {
get: "/v1b3/projects/{project_id}/locations/{location}/templates:get"
get: "/v1b3/projects/{project_id}/templates:get"
}
};
}
Expand Down
0