Apache Kafka for BigQuery V1 API - Class Google::Cloud::ManagedKafka::V1::ManagedKafka::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Apache Kafka for BigQuery V1 API class Google::Cloud::ManagedKafka::V1::ManagedKafka::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_cluster

def create_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_cluster REST call

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

#create_topic

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

Baseline implementation for the create_topic REST call

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

#delete_cluster

def delete_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_cluster REST call

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

#delete_consumer_group

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

Baseline implementation for the delete_consumer_group REST call

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

#delete_topic

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

Baseline implementation for the delete_topic 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_cluster

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

Baseline implementation for the get_cluster REST call

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

#get_consumer_group

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

Baseline implementation for the get_consumer_group REST call

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

#get_topic

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

Baseline implementation for the get_topic REST call

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

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_clusters

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

Baseline implementation for the list_clusters REST call

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

#list_consumer_groups

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

Baseline implementation for the list_consumer_groups REST call

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

#list_topics

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

Baseline implementation for the list_topics 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_cluster

def update_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_cluster REST call

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

#update_consumer_group

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

Baseline implementation for the update_consumer_group REST call

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

#update_topic

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

Baseline implementation for the update_topic REST call

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