Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::SchemaRegistry::V1::ManagedSchemaRegistry::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::SchemaRegistry::V1::ManagedSchemaRegistry::Rest::ServiceStub.

REST service stub for the ManagedSchemaRegistry service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#check_compatibility

def check_compatibility(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::CheckCompatibilityResponse

Baseline implementation for the check_compatibility REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_schema_registry

def create_schema_registry(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaRegistry

Baseline implementation for the create_schema_registry REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_version

def create_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::CreateVersionResponse

Baseline implementation for the create_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_schema_config

def delete_schema_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig

Baseline implementation for the delete_schema_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_schema_mode

def delete_schema_mode(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaMode

Baseline implementation for the delete_schema_mode REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_schema_registry

def delete_schema_registry(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_schema_registry REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_subject

def delete_subject(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the delete_subject REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_version

def delete_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the delete_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_context

def get_context(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Context

Baseline implementation for the get_context REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_raw_schema

def get_raw_schema(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the get_raw_schema REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_raw_schema_version

def get_raw_schema_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the get_raw_schema_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_schema

def get_schema(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::Schema

Baseline implementation for the get_schema REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_schema_config

def get_schema_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig

Baseline implementation for the get_schema_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_schema_mode

def get_schema_mode(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaMode

Baseline implementation for the get_schema_mode REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_schema_registry

def get_schema_registry(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaRegistry

Baseline implementation for the get_schema_registry REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_version

def get_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaVersion

Baseline implementation for the get_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_contexts

def list_contexts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the list_contexts REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_referenced_schemas

def list_referenced_schemas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the list_referenced_schemas REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_schema_registries

def list_schema_registries(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::ListSchemaRegistriesResponse

Baseline implementation for the list_schema_registries REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_schema_types

def list_schema_types(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the list_schema_types REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_schema_versions

def list_schema_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the list_schema_versions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_subjects

def list_subjects(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the list_subjects REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_subjects_by_schema_id

def list_subjects_by_schema_id(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the list_subjects_by_schema_id REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_versions

def list_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::HttpBody

Baseline implementation for the list_versions REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#lookup_version

def lookup_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaVersion

Baseline implementation for the lookup_version REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_schema_config

def update_schema_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaConfig

Baseline implementation for the update_schema_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_schema_mode

def update_schema_mode(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::SchemaMode

Baseline implementation for the update_schema_mode REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)