Returns the compatibility Resource.
Returns the config Resource.
Returns the contexts Resource.
Returns the mode Resource.
Returns the schemas Resource.
Returns the subjects Resource.
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Create a schema registry instance.
Delete a schema registry instance.
Get the schema registry instance.
list(parent, view=None, x__xgafv=None)
List schema registries.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Create a schema registry instance. Args: parent: string, Required. The parent whose schema registry instance is to be created. Structured like: `projects/{project}/locations/{location}` (required) body: object, The request body. The object takes the form of: { # Request to create a schema registry instance. "schemaRegistry": { # SchemaRegistry is a schema registry instance. # Required. The schema registry instance to create. The name field is ignored. "contexts": [ # Output only. The contexts of the schema registry instance. "A String", ], "name": "A String", # Identifier. The name of the schema registry instance. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` The instance name {schema_registry} can contain the following: * Up to 255 characters. * Letters (uppercase or lowercase), numbers, and underscores. }, "schemaRegistryId": "A String", # Required. The schema registry instance ID to use for this schema registry. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (-). The maximum length is 63 characters. The ID must not start with a number. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # SchemaRegistry is a schema registry instance. "contexts": [ # Output only. The contexts of the schema registry instance. "A String", ], "name": "A String", # Identifier. The name of the schema registry instance. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` The instance name {schema_registry} can contain the following: * Up to 255 characters. * Letters (uppercase or lowercase), numbers, and underscores. }
delete(name, x__xgafv=None)
Delete a schema registry instance. Args: name: string, Required. The name of the schema registry instance to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } }
get(name, x__xgafv=None)
Get the schema registry instance. Args: name: string, Required. The name of the schema registry instance to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # SchemaRegistry is a schema registry instance. "contexts": [ # Output only. The contexts of the schema registry instance. "A String", ], "name": "A String", # Identifier. The name of the schema registry instance. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` The instance name {schema_registry} can contain the following: * Up to 255 characters. * Letters (uppercase or lowercase), numbers, and underscores. }
list(parent, view=None, x__xgafv=None)
List schema registries. Args: parent: string, Required. The parent whose schema registry instances are to be listed. Structured like: `projects/{project}/locations/{location}` (required) view: string, Optional. Specifies the view to return for the schema registry instances. If not specified, the default view is SCHEMA_REGISTRY_VIEW_BASIC. Allowed values SCHEMA_REGISTRY_VIEW_UNSPECIFIED - The unset value. The API will default to SCHEMA_REGISTRY_VIEW_BASIC. SCHEMA_REGISTRY_VIEW_BASIC - If SchemaRegistryView is not specified, this is the default value. Returns only the name of the schema registry. The contexts associated with it are not included. SCHEMA_REGISTRY_VIEW_FULL - Returns the name of the schema registry and all the contexts associated with it. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Request for ListSchemaRegistries. "schemaRegistries": [ # The schema registry instances. { # SchemaRegistry is a schema registry instance. "contexts": [ # Output only. The contexts of the schema registry instance. "A String", ], "name": "A String", # Identifier. The name of the schema registry instance. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` The instance name {schema_registry} can contain the following: * Up to 255 characters. * Letters (uppercase or lowercase), numbers, and underscores. }, ], }