Class ResourceSettingsServiceConnection (2.11.0)

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

To create a concrete instance, see MakeResourceSettingsServiceConnection().

For mocking, see resourcesettings_v1_mocks::MockResourceSettingsServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListSettings(google::cloud::resourcesettings::v1::ListSettingsRequest)

Parameter
Name Description
request google::cloud::resourcesettings::v1::ListSettingsRequest
Returns
Type Description
StreamRange< google::cloud::resourcesettings::v1::Setting >

virtual GetSetting(google::cloud::resourcesettings::v1::GetSettingRequest const &)

Parameter
Name Description
request google::cloud::resourcesettings::v1::GetSettingRequest const &
Returns
Type Description
StatusOr< google::cloud::resourcesettings::v1::Setting >

virtual UpdateSetting(google::cloud::resourcesettings::v1::UpdateSettingRequest const &)

Parameter
Name Description
request google::cloud::resourcesettings::v1::UpdateSettingRequest const &
Returns
Type Description
StatusOr< google::cloud::resourcesettings::v1::Setting >