Class ConnectorsConnection (2.20.0)

This interface defines virtual methods for each of the user-facing overload sets in ConnectorsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ConnectorsClient.

To create a concrete instance, see MakeConnectorsConnection().

For mocking, see connectors_v1_mocks::MockConnectorsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListConnections(google::cloud::connectors::v1::ListConnectionsRequest)

Parameter
Name Description
request google::cloud::connectors::v1::ListConnectionsRequest
Returns
Type Description
StreamRange< google::cloud::connectors::v1::Connection >

virtual GetConnection(google::cloud::connectors::v1::GetConnectionRequest const &)

Parameter
Name Description
request google::cloud::connectors::v1::GetConnectionRequest const &
Returns
Type Description
StatusOr< google::cloud::connectors::v1::Connection >

virtual CreateConnection(google::cloud::connectors::v1::CreateConnectionRequest const &)

Parameter
Name Description
request google::cloud::connectors::v1::CreateConnectionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::connectors::v1::Connection > >

virtual UpdateConnection(google::cloud::connectors::v1::UpdateConnectionRequest const &)

Parameter
Name Description
request google::cloud::connectors::v1::UpdateConnectionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::connectors::v1::Connection > >

virtual DeleteConnection(google::cloud::connectors::v1::DeleteConnectionRequest const &)

Parameter
Name Description
request google::cloud::connectors::v1::DeleteConnectionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::connectors::v1::OperationMetadata > >

virtual ListProviders(google::cloud::connectors::v1::ListProvidersRequest)

Parameter
Name Description
request google::cloud::connectors::v1::ListProvidersRequest
Returns
Type Description
StreamRange< google::cloud::connectors::v1::Provider >

virtual GetProvider(google::cloud::connectors::v1::GetProviderRequest const &)

Parameter
Name Description
request google::cloud::connectors::v1::GetProviderRequest const &
Returns
Type Description
StatusOr< google::cloud::connectors::v1::Provider >

virtual ListConnectors(google::cloud::connectors::v1::ListConnectorsRequest)

Parameter
Name Description
request google::cloud::connectors::v1::ListConnectorsRequest
Returns
Type Description
StreamRange< google::cloud::connectors::v1::Connector >

virtual GetConnector(google::cloud::connectors::v1::GetConnectorRequest const &)

Parameter
Name Description
request google::cloud::connectors::v1::GetConnectorRequest const &
Returns
Type Description
StatusOr< google::cloud::connectors::v1::Connector >

virtual ListConnectorVersions(google::cloud::connectors::v1::ListConnectorVersionsRequest)

Parameter
Name Description
request google::cloud::connectors::v1::ListConnectorVersionsRequest
Returns
Type Description
StreamRange< google::cloud::connectors::v1::ConnectorVersion >

virtual GetConnectorVersion(google::cloud::connectors::v1::GetConnectorVersionRequest const &)

Parameter
Name Description
request google::cloud::connectors::v1::GetConnectorVersionRequest const &
Returns
Type Description
StatusOr< google::cloud::connectors::v1::ConnectorVersion >

virtual GetConnectionSchemaMetadata(google::cloud::connectors::v1::GetConnectionSchemaMetadataRequest const &)

Parameter
Name Description
request google::cloud::connectors::v1::GetConnectionSchemaMetadataRequest const &
Returns
Type Description
StatusOr< google::cloud::connectors::v1::ConnectionSchemaMetadata >

virtual RefreshConnectionSchemaMetadata(google::cloud::connectors::v1::RefreshConnectionSchemaMetadataRequest const &)

Parameter
Name Description
request google::cloud::connectors::v1::RefreshConnectionSchemaMetadataRequest const &
Returns
Type Description
future< StatusOr< google::cloud::connectors::v1::ConnectionSchemaMetadata > >

virtual ListRuntimeEntitySchemas(google::cloud::connectors::v1::ListRuntimeEntitySchemasRequest)

Parameter
Name Description
request google::cloud::connectors::v1::ListRuntimeEntitySchemasRequest
Returns
Type Description
StreamRange< google::cloud::connectors::v1::RuntimeEntitySchema >

virtual ListRuntimeActionSchemas(google::cloud::connectors::v1::ListRuntimeActionSchemasRequest)

Parameter
Name Description
request google::cloud::connectors::v1::ListRuntimeActionSchemasRequest
Returns
Type Description
StreamRange< google::cloud::connectors::v1::RuntimeActionSchema >

virtual GetRuntimeConfig(google::cloud::connectors::v1::GetRuntimeConfigRequest const &)

Parameter
Name Description
request google::cloud::connectors::v1::GetRuntimeConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::connectors::v1::RuntimeConfig >

virtual GetGlobalSettings(google::cloud::connectors::v1::GetGlobalSettingsRequest const &)

Parameter
Name Description
request google::cloud::connectors::v1::GetGlobalSettingsRequest const &
Returns
Type Description
StatusOr< google::cloud::connectors::v1::Settings >