REST Resource: projects.locations.schemaRegistries.mode

Resource: SchemaMode

SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: This is the default mode for a subject and essentially means that the subject does not have any mode set. This means the subject will follow the schema registry's mode. * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.

JSON representation
{
  "mode": enum (ModeType)
}
Fields
mode

enum (ModeType)

Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by default, which means use the global schema registry setting).

Methods

delete

Delete schema mode for a subject.

get

Get mode at global level or for a subject.

update

Update mode at global level or for a subject.