The AdviceConnection object for AdviceClient.
This interface defines virtual methods for each of the user-facing overload sets in AdviceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type AdviceClient.
To create a concrete instance, see MakeAdviceConnection().
For mocking, see compute_advice_v1_mocks::MockAdviceConnection.
Functions
virtual options()
| Returns | |
|---|---|
| Type | Description |
Options |
|
virtual CalendarMode(google::cloud::cpp::compute::advice::v1::CalendarModeRequest const &)
| Parameter | |
|---|---|
| Name | Description |
request |
google::cloud::cpp::compute::advice::v1::CalendarModeRequest const &
|
| Returns | |
|---|---|
| Type | Description |
StatusOr< google::cloud::cpp::compute::v1::CalendarModeAdviceResponse > |
|