Skip to content

Commit

Permalink
fix: update paths in resource reference options (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and callmehiphop committed Sep 27, 2019
1 parent de78e1f commit 8e44d93
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ message ListQueuesRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "locations.googleapis.com/Location"
child_type: "cloudtasks.googleapis.com/Queue"
}
];

Expand Down Expand Up @@ -388,7 +388,7 @@ message CreateQueueRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "locations.googleapis.com/Location"
child_type: "cloudtasks.googleapis.com/Queue"
}
];

Expand Down Expand Up @@ -470,7 +470,7 @@ message ListTasksRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "cloudtasks.googleapis.com/Queue"
child_type: "cloudtasks.googleapis.com/Task"
}
];

Expand Down Expand Up @@ -560,7 +560,7 @@ message CreateTaskRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "cloudtasks.googleapis.com/Queue"
child_type: "cloudtasks.googleapis.com/Task"
}
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ message ListQueuesRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "locations.googleapis.com/Location"
child_type: "cloudtasks.googleapis.com/Queue"
}
];

Expand Down Expand Up @@ -473,7 +473,7 @@ message CreateQueueRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "locations.googleapis.com/Location"
child_type: "cloudtasks.googleapis.com/Queue"
}
];

Expand Down Expand Up @@ -555,7 +555,7 @@ message ListTasksRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "cloudtasks.googleapis.com/Queue"
child_type: "cloudtasks.googleapis.com/Task"
}
];

Expand Down Expand Up @@ -645,7 +645,7 @@ message CreateTaskRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "cloudtasks.googleapis.com/Queue"
child_type: "cloudtasks.googleapis.com/Task"
}
];

Expand Down Expand Up @@ -719,7 +719,7 @@ message LeaseTasksRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "cloudtasks.googleapis.com/Queue"
child_type: "cloudtasks.googleapis.com/Task"
}
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ message ListQueuesRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "locations.googleapis.com/Location"
child_type: "cloudtasks.googleapis.com/Queue"
}
];

Expand Down Expand Up @@ -388,7 +388,7 @@ message CreateQueueRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "locations.googleapis.com/Location"
child_type: "cloudtasks.googleapis.com/Queue"
}
];

Expand Down Expand Up @@ -470,7 +470,7 @@ message ListTasksRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "cloudtasks.googleapis.com/Queue"
child_type: "cloudtasks.googleapis.com/Task"
}
];

Expand Down Expand Up @@ -560,7 +560,7 @@ message CreateTaskRequest {
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference) = {
child_type: "cloudtasks.googleapis.com/Queue"
child_type: "cloudtasks.googleapis.com/Task"
}
];

Expand Down
26 changes: 13 additions & 13 deletions packages/google-cloud-tasks/protos/protos.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "locations.googleapis.com/Location"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
}
},
"filter": {
Expand Down Expand Up @@ -217,7 +217,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "locations.googleapis.com/Location"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
}
},
"queue": {
Expand Down Expand Up @@ -299,7 +299,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Task"
}
},
"responseView": {
Expand Down Expand Up @@ -352,7 +352,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Task"
}
},
"task": {
Expand Down Expand Up @@ -819,7 +819,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "locations.googleapis.com/Location"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
}
},
"filter": {
Expand Down Expand Up @@ -868,7 +868,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "locations.googleapis.com/Location"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
}
},
"queue": {
Expand Down Expand Up @@ -950,7 +950,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Task"
}
},
"responseView": {
Expand Down Expand Up @@ -1003,7 +1003,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Task"
}
},
"task": {
Expand Down Expand Up @@ -1038,7 +1038,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Task"
}
},
"maxTasks": {
Expand Down Expand Up @@ -1600,7 +1600,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "locations.googleapis.com/Location"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
}
},
"filter": {
Expand Down Expand Up @@ -1649,7 +1649,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "locations.googleapis.com/Location"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
}
},
"queue": {
Expand Down Expand Up @@ -1731,7 +1731,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Task"
}
},
"responseView": {
Expand Down Expand Up @@ -1784,7 +1784,7 @@
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Queue"
"(google.api.resource_reference).child_type": "cloudtasks.googleapis.com/Task"
}
},
"task": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* {
* "bindings": [
* {
* "role": "role/resourcemanager.organizationAdmin",
* "role": "roles/resourcemanager.organizationAdmin",
* "members": [
* "user:mike@example.com",
* "group:admins@example.com",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* {
* "bindings": [
* {
* "role": "role/resourcemanager.organizationAdmin",
* "role": "roles/resourcemanager.organizationAdmin",
* "members": [
* "user:mike@example.com",
* "group:admins@example.com",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* {
* "bindings": [
* {
* "role": "role/resourcemanager.organizationAdmin",
* "role": "roles/resourcemanager.organizationAdmin",
* "members": [
* "user:mike@example.com",
* "group:admins@example.com",
Expand Down
10 changes: 5 additions & 5 deletions packages/google-cloud-tasks/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-09-20T11:26:36.531693Z",
"updateTime": "2019-09-27T11:29:38.114602Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.36.3",
"dockerImage": "googleapis/artman@sha256:66ca01f27ef7dc50fbfb7743b67028115a6a8acf43b2d82f9fc826de008adac4"
"version": "0.37.1",
"dockerImage": "googleapis/artman@sha256:6068f67900a3f0bdece596b97bda8fc70406ca0e137a941f4c81d3217c994a80"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "44e588d97e7497dff01107d39b6a19062f9a4ffa",
"internalRef": "270200097"
"sha": "cd112d8d255e0099df053643d4bd12c228ef7b1b",
"internalRef": "271468707"
}
},
{
Expand Down

0 comments on commit 8e44d93

Please sign in to comment.