Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::ManagedKafkaConnect::Rest::ServiceStub.
REST service stub for the ManagedKafkaConnect service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_connect_cluster
def create_connect_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_connect_cluster REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::CreateConnectClusterRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_connector
def create_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::V1::Connector
Baseline implementation for the create_connector REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::CreateConnectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ManagedKafka::V1::Connector)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ManagedKafka::V1::Connector) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_connect_cluster
def delete_connect_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_connect_cluster REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::DeleteConnectClusterRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_connector
def delete_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_connector REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::DeleteConnectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_connect_cluster
def get_connect_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::V1::ConnectCluster
Baseline implementation for the get_connect_cluster REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::GetConnectClusterRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ManagedKafka::V1::ConnectCluster)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ManagedKafka::V1::ConnectCluster) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_connector
def get_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::V1::Connector
Baseline implementation for the get_connector REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::GetConnectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ManagedKafka::V1::Connector)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ManagedKafka::V1::Connector) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_connect_clusters
def list_connect_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::V1::ListConnectClustersResponse
Baseline implementation for the list_connect_clusters REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::ListConnectClustersRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ManagedKafka::V1::ListConnectClustersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ManagedKafka::V1::ListConnectClustersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_connectors
def list_connectors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::V1::ListConnectorsResponse
Baseline implementation for the list_connectors REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::ListConnectorsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ManagedKafka::V1::ListConnectorsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ManagedKafka::V1::ListConnectorsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#pause_connector
def pause_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::V1::PauseConnectorResponse
Baseline implementation for the pause_connector REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::PauseConnectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ManagedKafka::V1::PauseConnectorResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ManagedKafka::V1::PauseConnectorResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#restart_connector
def restart_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::V1::RestartConnectorResponse
Baseline implementation for the restart_connector REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::RestartConnectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ManagedKafka::V1::RestartConnectorResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ManagedKafka::V1::RestartConnectorResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#resume_connector
def resume_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::V1::ResumeConnectorResponse
Baseline implementation for the resume_connector REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::ResumeConnectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ManagedKafka::V1::ResumeConnectorResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ManagedKafka::V1::ResumeConnectorResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#stop_connector
def stop_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::V1::StopConnectorResponse
Baseline implementation for the stop_connector REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::StopConnectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ManagedKafka::V1::StopConnectorResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ManagedKafka::V1::StopConnectorResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_connect_cluster
def update_connect_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_connect_cluster REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::UpdateConnectClusterRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_connector
def update_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ManagedKafka::V1::Connector
Baseline implementation for the update_connector REST call
- request_pb (::Google::Cloud::ManagedKafka::V1::UpdateConnectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::ManagedKafka::V1::Connector)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ManagedKafka::V1::Connector) — A result object deserialized from the server's reply
- (::ArgumentError)