Skip to content

Commit ba762c0

Browse files
Copilottoumorokoshi
andcommitted
Rename parents field to parent and update all examples
Co-authored-by: toumorokoshi <391240+toumorokoshi@users.noreply.github.com>
1 parent 11e2820 commit ba762c0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

proto/aep-api/aep/api/resource.proto

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ extend google.protobuf.MessageOptions {
4646
// pattern: "projects/{project_id}/topics/{topic_id}"
4747
// singular: "topic"
4848
// plural: "topics"
49+
// parent: "project"
4950
// };
5051
// }
5152
//
@@ -62,9 +63,9 @@ extend google.protobuf.MessageOptions {
6263
// pattern: "organizations/{organization_id}/log-entries/{log_entry_id}"
6364
// singular: "logEntry"
6465
// plural: "logEntries"
65-
// parents: "project"
66-
// parents: "folder"
67-
// parents: "organization"
66+
// parent: "project"
67+
// parent: "folder"
68+
// parent: "organization"
6869
// };
6970
// }
7071
message ResourceDescriptor {
@@ -119,8 +120,8 @@ message ResourceDescriptor {
119120
// the resource to exist under different parent types.
120121
//
121122
// Example: A resource that can exist under both projects and folders
122-
// would list both "project" and "folder" as parents.
123+
// would list both "project" and "folder" as parent.
123124
//
124125
// The values should correspond to the singular form of parent resource types.
125-
repeated string parents = 5;
126+
repeated string parent = 5;
126127
}

0 commit comments

Comments
 (0)