Class CreateVersionRequest
Request for CreateVersion.
Implements
Inherited Members
Namespace: Google.Apis.ManagedKafka.v1.Data
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class CreateVersionRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
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.
Declaration
[JsonProperty("id")]
public virtual int? Id { get; set; }
Property Value
Type | Description |
---|---|
int? |
Normalize
Optional. If true, the schema will be normalized before being stored. The default is false.
Declaration
[JsonProperty("normalize")]
public virtual bool? Normalize { get; set; }
Property Value
Type | Description |
---|---|
bool? |
References
Optional. The schema references used by the schema.
Declaration
[JsonProperty("references")]
public virtual IList<SchemaReference> References { get; set; }
Property Value
Type | Description |
---|---|
IList<SchemaReference> |
Schema
Required. The schema payload
Declaration
[JsonProperty("schema")]
public virtual string Schema { get; set; }
Property Value
Type | Description |
---|---|
string |
SchemaType
Optional. The type of the schema. It is optional. If not specified, the schema type will be AVRO.
Declaration
[JsonProperty("schemaType")]
public virtual string SchemaType { get; set; }
Property Value
Type | Description |
---|---|
string |
Version
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.
Declaration
[JsonProperty("version")]
public virtual int? Version { get; set; }
Property Value
Type | Description |
---|---|
int? |