schemas_revisions
Creates, updates, deletes, gets or lists a schemas_revisions
resource.
Overview
Name | schemas_revisions |
Type | Resource |
Id | google.pubsub.schemas_revisions |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. Name of the schema. Format is projects/{project}/schemas/{schema} . |
definition | string | The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in type . |
revisionCreateTime | string | Output only. The timestamp that the revision was created. |
revisionId | string | Output only. Immutable. The revision ID of the schema. |
type | string | The type of the schema definition. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_schemas_list_revisions | SELECT | projectsId, schemasId | Lists all schema revisions for the named schema. |
SELECT
examples
Lists all schema revisions for the named schema.
SELECT
name,
definition,
revisionCreateTime,
revisionId,
type
FROM google.pubsub.schemas_revisions
WHERE projectsId = '{{ projectsId }}'
AND schemasId = '{{ schemasId }}';