com.google.pubsub.v1.schema
Type members
Classlikes
Request for the CreateSchema method.
Request for the CreateSchema method.
- Value Params
- parent
Required. The name of the project in which to create the schema. Format is
projects/{project-id}
.- schema
Required. The schema object to create. This schema's
name
parameter is ignored. The schema object returned by CreateSchema will have aname
made using the givenparent
andschema_id
.- schemaId
The ID to use for the schema, which will become the final component of the schema's resource name. See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints.
- Companion
- object
- Companion
- class
Request for the DeleteSchema
method.
Request for the DeleteSchema
method.
- Value Params
- name
Required. Name of the schema to delete. Format is
projects/{project}/schemas/{schema}
.
- Companion
- object
- Companion
- class
Possible encoding types for messages.
Possible encoding types for messages.
- Companion
- object
Request for the GetSchema method.
Request for the GetSchema method.
- Value Params
- name
Required. The name of the schema to get. Format is
projects/{project}/schemas/{schema}
.- view
The set of fields to return in the response. If not set, returns a Schema with
name
andtype
, but notdefinition
. Set toFULL
to retrieve all fields.
- Companion
- object
- Companion
- class
Request for the ListSchemas
method.
Request for the ListSchemas
method.
- Value Params
- pageSize
Maximum number of schemas to return.
- pageToken
The value returned by the last
ListSchemasResponse
; indicates that this is a continuation of a priorListSchemas
call, and that the system should return the next page of data.- parent
Required. The name of the project in which to list schemas. Format is
projects/{project-id}
.- view
The set of Schema fields to return in the response. If not set, returns Schemas with
name
andtype
, but notdefinition
. Set toFULL
to retrieve all fields.
- Companion
- object
- Companion
- class
Response for the ListSchemas
method.
Response for the ListSchemas
method.
- Value Params
- nextPageToken
If not empty, indicates that there may be more schemas that match the request; this value should be passed in a new
ListSchemasRequest
.- schemas
The resulting schemas.
- Companion
- object
- Companion
- class
A schema resource.
A schema resource.
- Value Params
- definition
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
.- name
Required. Name of the schema. Format is
projects/{project}/schemas/{schema}
.- type
The type of the schema definition.
- Companion
- object
View of Schema object fields to be returned by GetSchema and ListSchemas.
View of Schema object fields to be returned by GetSchema and ListSchemas.
- Companion
- object
Request for the ValidateMessage
method.
Request for the ValidateMessage
method.
- Value Params
- encoding
The encoding expected for messages
- message
Message to validate against the provided
schema_spec
.- parent
Required. The name of the project in which to validate schemas. Format is
projects/{project-id}
.
- Companion
- object
- Companion
- class
Response for the ValidateMessage
method.
Empty for now.
Response for the ValidateMessage
method.
Empty for now.
- Companion
- object
- Companion
- class
Request for the ValidateSchema
method.
Request for the ValidateSchema
method.
- Value Params
- parent
Required. The name of the project in which to validate schemas. Format is
projects/{project-id}
.- schema
Required. The schema object to validate.
- Companion
- object
- Companion
- class
Response for the ValidateSchema
method.
Empty for now.
Response for the ValidateSchema
method.
Empty for now.
- Companion
- object
- Companion
- class