revision¶
Contents¶
-
Messages
Messages¶
GetRevisionRequest¶
GetRevisionRequest is the request body to get a revision.
Field | Type | Description |
---|---|---|
oneof get_by.uid | string | UID of the revision. (-- api-linter: core::0148::uid-format=disabled aip.dev/not-precedent: We need to do this because of prefix. --) |
oneof get_by.name_semantic_version | GetRevisionRequest.NameSemanticVersion | Name and semantic version of the revision. |
GetRevisionRequest.NameSemanticVersion¶
Name and semantic version of the revision.
Field | Type | Description |
---|---|---|
name | string | Name(kind) of the revision. |
semantic_version | string | Version of the revision. |
ListRevisionsRequest¶
Request parameters for listing revisions.
Field | Type | Description |
---|---|---|
field_selector | Selector | Filtering list of revisions based on the provided column filters. |
sort | Sort | Sort parameters for listing revisions. |
pagination | PageBasedPaginationRequest | Pagination parameters for listing revisions. |
ListRevisionsResponse¶
Revisions listing response.
Field | Type | Description |
---|---|---|
revisions | repeated Revision | Revisions is the list of revisions. |
pagination | PageBasedPaginationResponse | Pagination metadata for this response. (-- api-linter: core::0132::response-unknown-fields=disabled aip.dev/not-precedent: We need this field for pagination. --) |
Revision¶
Revision holds the template schema along with version details.
Field | Type | Description |
---|---|---|
meta | Meta | Metadata of the revision. |
info | RevisionInfo | Info of the revision. |
RevisionInfo¶
RevisionInfo contains info.
Field | Type | Description |
---|---|---|
semantic_version | string | Semantic version of the revision: 1.2 (major.minor - patch version not required). |
deprecated | bool | Whether this revision has been deprecated. |
schema | google.protobuf.Struct | Schema of the revision, if schema is backward compatible, update the revision, else upgrade. |