Connectors is the interface for managing Connectors.
Equality
Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection>
objects compare equal. Objects that compare equal share the same underlying resources.
Performance
Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.
Thread Safety
Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.
Constructors
ConnectorsClient(ConnectorsClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
ConnectorsClient const &
|
ConnectorsClient(ConnectorsClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
ConnectorsClient &&
|
ConnectorsClient(std::shared_ptr< ConnectorsConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< ConnectorsConnection >
|
opts |
Options
|
Operators
operator=(ConnectorsClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
ConnectorsClient const &
|
Returns | |
---|---|
Type | Description |
ConnectorsClient & |
operator=(ConnectorsClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
ConnectorsClient &&
|
Returns | |
---|---|
Type | Description |
ConnectorsClient & |
Functions
ListConnections(std::string const &, Options)
Lists Connections in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource of the Connection, of the form: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::Connection > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListConnections(google::cloud::connectors::v1::ListConnectionsRequest, Options)
Lists Connections in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::ListConnectionsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::Connection > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetConnection(std::string const &, Options)
Gets details of a single Connection.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the form: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::Connection > |
the result of the RPC. The response message type (google.cloud.connectors.v1.Connection) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetConnection(google::cloud::connectors::v1::GetConnectionRequest const &, Options)
Gets details of a single Connection.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::GetConnectionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::Connection > |
the result of the RPC. The response message type (google.cloud.connectors.v1.Connection) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateConnection(std::string const &, google::cloud::connectors::v1::Connection const &, std::string const &, Options)
Creates a new Connection in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource of the Connection, of the form: |
connection |
google::cloud::connectors::v1::Connection const &
Required. Connection resource. |
connection_id |
std::string const &
Required. Identifier to assign to the Connection. Must be unique within scope of the parent resource. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::Connection > > |
A |
CreateConnection(NoAwaitTag, std::string const &, google::cloud::connectors::v1::Connection const &, std::string const &, Options)
Creates a new Connection in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
connection |
google::cloud::connectors::v1::Connection const &
|
connection_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateConnection(google::cloud::connectors::v1::CreateConnectionRequest const &, Options)
Creates a new Connection in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::CreateConnectionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::Connection > > |
A |
CreateConnection(NoAwaitTag, google::cloud::connectors::v1::CreateConnectionRequest const &, Options)
Creates a new Connection in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::connectors::v1::CreateConnectionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateConnection(google::longrunning::Operation const &, Options)
Creates a new Connection in a given project and location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::Connection > > |
UpdateConnection(google::cloud::connectors::v1::Connection const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single Connection.
Parameters | |
---|---|
Name | Description |
connection |
google::cloud::connectors::v1::Connection const &
Required. Connection resource. |
update_mask |
google::protobuf::FieldMask const &
Required. You can modify only the fields listed below.
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::Connection > > |
A |
UpdateConnection(NoAwaitTag, google::cloud::connectors::v1::Connection const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single Connection.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
connection |
google::cloud::connectors::v1::Connection const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateConnection(google::cloud::connectors::v1::UpdateConnectionRequest const &, Options)
Updates the parameters of a single Connection.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::UpdateConnectionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::Connection > > |
A |
UpdateConnection(NoAwaitTag, google::cloud::connectors::v1::UpdateConnectionRequest const &, Options)
Updates the parameters of a single Connection.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::connectors::v1::UpdateConnectionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateConnection(google::longrunning::Operation const &, Options)
Updates the parameters of a single Connection.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::Connection > > |
DeleteConnection(std::string const &, Options)
Deletes a single Connection.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the form: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::OperationMetadata > > |
A |
DeleteConnection(NoAwaitTag, std::string const &, Options)
Deletes a single Connection.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteConnection(google::cloud::connectors::v1::DeleteConnectionRequest const &, Options)
Deletes a single Connection.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::DeleteConnectionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::OperationMetadata > > |
A |
DeleteConnection(NoAwaitTag, google::cloud::connectors::v1::DeleteConnectionRequest const &, Options)
Deletes a single Connection.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::connectors::v1::DeleteConnectionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteConnection(google::longrunning::Operation const &, Options)
Deletes a single Connection.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::OperationMetadata > > |
ListProviders(std::string const &, Options)
Lists Providers in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource of the API, of the form: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::Provider > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListProviders(google::cloud::connectors::v1::ListProvidersRequest, Options)
Lists Providers in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::ListProvidersRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::Provider > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetProvider(std::string const &, Options)
Gets details of a provider.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the form: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::Provider > |
the result of the RPC. The response message type (google.cloud.connectors.v1.Provider) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetProvider(google::cloud::connectors::v1::GetProviderRequest const &, Options)
Gets details of a provider.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::GetProviderRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::Provider > |
the result of the RPC. The response message type (google.cloud.connectors.v1.Provider) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListConnectors(std::string const &, Options)
Lists Connectors in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource of the connectors, of the form: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::Connector > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListConnectors(google::cloud::connectors::v1::ListConnectorsRequest, Options)
Lists Connectors in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::ListConnectorsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::Connector > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetConnector(std::string const &, Options)
Gets details of a single Connector.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the form: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::Connector > |
the result of the RPC. The response message type (google.cloud.connectors.v1.Connector) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetConnector(google::cloud::connectors::v1::GetConnectorRequest const &, Options)
Gets details of a single Connector.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::GetConnectorRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::Connector > |
the result of the RPC. The response message type (google.cloud.connectors.v1.Connector) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListConnectorVersions(std::string const &, Options)
Lists Connector Versions in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource of the connectors, of the form: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::ConnectorVersion > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListConnectorVersions(google::cloud::connectors::v1::ListConnectorVersionsRequest, Options)
Lists Connector Versions in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::ListConnectorVersionsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::ConnectorVersion > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetConnectorVersion(std::string const &, Options)
Gets details of a single connector version.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the form: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::ConnectorVersion > |
the result of the RPC. The response message type (google.cloud.connectors.v1.ConnectorVersion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetConnectorVersion(google::cloud::connectors::v1::GetConnectorVersionRequest const &, Options)
Gets details of a single connector version.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::GetConnectorVersionRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::ConnectorVersion > |
the result of the RPC. The response message type (google.cloud.connectors.v1.ConnectorVersion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetConnectionSchemaMetadata(std::string const &, Options)
Gets schema metadata of a connection.
SchemaMetadata is a singleton resource for each connection.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Connection name Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::ConnectionSchemaMetadata > |
the result of the RPC. The response message type (google.cloud.connectors.v1.ConnectionSchemaMetadata) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetConnectionSchemaMetadata(google::cloud::connectors::v1::GetConnectionSchemaMetadataRequest const &, Options)
Gets schema metadata of a connection.
SchemaMetadata is a singleton resource for each connection.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::GetConnectionSchemaMetadataRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::ConnectionSchemaMetadata > |
the result of the RPC. The response message type (google.cloud.connectors.v1.ConnectionSchemaMetadata) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
RefreshConnectionSchemaMetadata(std::string const &, Options)
Refresh runtime schema of a connection.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name. Format: projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::ConnectionSchemaMetadata > > |
A |
RefreshConnectionSchemaMetadata(NoAwaitTag, std::string const &, Options)
Refresh runtime schema of a connection.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
RefreshConnectionSchemaMetadata(google::cloud::connectors::v1::RefreshConnectionSchemaMetadataRequest const &, Options)
Refresh runtime schema of a connection.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::RefreshConnectionSchemaMetadataRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::ConnectionSchemaMetadata > > |
A |
RefreshConnectionSchemaMetadata(NoAwaitTag, google::cloud::connectors::v1::RefreshConnectionSchemaMetadataRequest const &, Options)
Refresh runtime schema of a connection.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::connectors::v1::RefreshConnectionSchemaMetadataRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
RefreshConnectionSchemaMetadata(google::longrunning::Operation const &, Options)
Refresh runtime schema of a connection.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::connectors::v1::ConnectionSchemaMetadata > > |
ListRuntimeEntitySchemas(std::string const &, Options)
List schema of a runtime entities filtered by entity name.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource of RuntimeEntitySchema Format: projects/{project}/locations/{location}/connections/{connection} |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::RuntimeEntitySchema > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListRuntimeEntitySchemas(google::cloud::connectors::v1::ListRuntimeEntitySchemasRequest, Options)
List schema of a runtime entities filtered by entity name.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::ListRuntimeEntitySchemasRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::RuntimeEntitySchema > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListRuntimeActionSchemas(std::string const &, Options)
List schema of a runtime actions filtered by action name.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. Parent resource of RuntimeActionSchema Format: projects/{project}/locations/{location}/connections/{connection} |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::RuntimeActionSchema > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListRuntimeActionSchemas(google::cloud::connectors::v1::ListRuntimeActionSchemasRequest, Options)
List schema of a runtime actions filtered by action name.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::ListRuntimeActionSchemasRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::connectors::v1::RuntimeActionSchema > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetRuntimeConfig(std::string const &, Options)
Gets the runtimeConfig of a location.
RuntimeConfig is a singleton resource for each location.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Resource name of the form: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::RuntimeConfig > |
the result of the RPC. The response message type (google.cloud.connectors.v1.RuntimeConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetRuntimeConfig(google::cloud::connectors::v1::GetRuntimeConfigRequest const &, Options)
Gets the runtimeConfig of a location.
RuntimeConfig is a singleton resource for each location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::GetRuntimeConfigRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::RuntimeConfig > |
the result of the RPC. The response message type (google.cloud.connectors.v1.RuntimeConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetGlobalSettings(std::string const &, Options)
GetGlobalSettings gets settings of a project.
GlobalSettings is a singleton resource.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name of the Settings. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::Settings > |
the result of the RPC. The response message type (google.cloud.connectors.v1.Settings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetGlobalSettings(google::cloud::connectors::v1::GetGlobalSettingsRequest const &, Options)
GetGlobalSettings gets settings of a project.
GlobalSettings is a singleton resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::connectors::v1::GetGlobalSettingsRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::connectors::v1::Settings > |
the result of the RPC. The response message type (google.cloud.connectors.v1.Settings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |