Connectors V1 API - Class Google::Cloud::Connectors::V1::Connectors::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Connectors V1 API class Google::Cloud::Connectors::V1::Connectors::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_connection

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

Baseline implementation for the create_connection REST call

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

#delete_connection

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

Baseline implementation for the delete_connection 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_connection

def get_connection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::Connection

Baseline implementation for the get_connection REST call

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

#get_connection_schema_metadata

def get_connection_schema_metadata(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::ConnectionSchemaMetadata

Baseline implementation for the get_connection_schema_metadata REST call

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

#get_connector

def get_connector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::Connector

Baseline implementation for the get_connector REST call

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

#get_connector_version

def get_connector_version(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::ConnectorVersion

Baseline implementation for the get_connector_version REST call

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

#get_global_settings

def get_global_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::Settings

Baseline implementation for the get_global_settings REST call

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

#get_provider

def get_provider(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::Provider

Baseline implementation for the get_provider REST call

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

#get_runtime_config

def get_runtime_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::RuntimeConfig

Baseline implementation for the get_runtime_config 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_connections

def list_connections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::ListConnectionsResponse

Baseline implementation for the list_connections REST call

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

#list_connector_versions

def list_connector_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::ListConnectorVersionsResponse

Baseline implementation for the list_connector_versions REST call

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

#list_connectors

def list_connectors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::ListConnectorsResponse

Baseline implementation for the list_connectors REST call

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

#list_providers

def list_providers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::ListProvidersResponse

Baseline implementation for the list_providers REST call

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

#list_runtime_action_schemas

def list_runtime_action_schemas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::ListRuntimeActionSchemasResponse

Baseline implementation for the list_runtime_action_schemas REST call

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

#list_runtime_entity_schemas

def list_runtime_entity_schemas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Connectors::V1::ListRuntimeEntitySchemasResponse

Baseline implementation for the list_runtime_entity_schemas REST call

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

#refresh_connection_schema_metadata

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

Baseline implementation for the refresh_connection_schema_metadata 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_connection

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

Baseline implementation for the update_connection REST call

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