Skip to content

Commit

Permalink
snapshost -> resource
Browse files Browse the repository at this point in the history
  • Loading branch information
toumorokoshi committed Aug 9, 2024
1 parent 52ff9c8 commit 47a7c29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aep/general/0162/aep.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ message BookRevision {
string path = 1;

// The snapshot of the book
Book snapshot = 2
Book resource = 2
[(google.api.field_behavior) = OUTPUT_ONLY];

// The timestamp that the revision was created.
Expand All @@ -66,7 +66,7 @@ message BookRevision {
"path": {
"type": "string"
},
"snapshot": {
"resource": {
"$ref": "#/definitions/Book",
"readOnly": true,
},
Expand All @@ -90,8 +90,8 @@ message BookRevision {
{% endtabs %}

- The resource revision **must** contain a field with a message type of the
parent resource, with a field name of `snapshot`.
- The value of `snapshot` **must** be the original resource
parent resource, with a field name of `resource`.
- The value of `resource` **must** be the original resource
at the point in time the revision was created.
- The resource revision **must** contain a `create_time` field (see [AIP-142][]).
- The resource revision **may** contain a repeated field `aliases`, which would
Expand Down

0 comments on commit 47a7c29

Please sign in to comment.