Class ResourceSettingsServiceConnection (2.19.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::resourcesettings::v1::ListSettingsRequest
Returns
TypeDescription
StreamRange< google::cloud::resourcesettings::v1::Setting >

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

Parameter
NameDescription
request google::cloud::resourcesettings::v1::GetSettingRequest const &
Returns
TypeDescription
StatusOr< google::cloud::resourcesettings::v1::Setting >

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

Parameter
NameDescription
request google::cloud::resourcesettings::v1::UpdateSettingRequest const &
Returns
TypeDescription
StatusOr< google::cloud::resourcesettings::v1::Setting >