schemas
Overview
Name | schemas |
Type | Resource |
Id | google.pubsub.schemas |
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_get | SELECT | projectsId, schemasId | Gets a schema. |
projects_schemas_list | SELECT | projectsId | Lists schemas in a project. |
projects_schemas_create | INSERT | projectsId | Creates a schema. |
projects_schemas_delete | DELETE | projectsId, schemasId | Deletes a schema. |
_projects_schemas_list | EXEC | projectsId | Lists schemas in a project. |
projects_schemas_commit | EXEC | projectsId, schemasId | Commits a new schema revision to an existing schema. |
projects_schemas_rollback | EXEC | projectsId, schemasId | Creates a new schema revision that is a copy of the provided revision_id. |
projects_schemas_validate | EXEC | projectsId | Validates a schema. |
projects_schemas_validate_message | EXEC | projectsId | Validates a message against a schema. |