CreateVersionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Request for CreateVersion.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
parent |
str
Required. The subject to create the version for. Structured like: projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}
or
projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}
|
version |
int
Optional. The version to create. It is optional. If not specified, the version will be created with the max version ID of the subject increased by 1. If the version ID is specified, it will be used as the new version ID and must not be used by an existing version of the subject. This field is a member of oneof _ _version .
|
id |
int
Optional. The schema ID of the schema. If not specified, the schema ID will be generated by the server. If the schema ID is specified, it must not be used by an existing schema that is different from the schema to be created. This field is a member of oneof _ _id .
|
schema_type |
google.cloud.managedkafka_schemaregistry_v1.types.Schema.SchemaType
Optional. The type of the schema. It is optional. If not specified, the schema type will be AVRO. This field is a member of oneof _ _schema_type .
|
schema |
str
Required. The schema payload |
references |
MutableSequence[google.cloud.managedkafka_schemaregistry_v1.types.Schema.SchemaReference]
Optional. The schema references used by the schema. |
normalize |
bool
Optional. If true, the schema will be normalized before being stored. The default is false. This field is a member of oneof _ _normalize .
|