Class CloudMemcacheConnection (2.26.0)

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

To create a concrete instance, see MakeCloudMemcacheConnection().

For mocking, see memcache_v1_mocks::MockCloudMemcacheConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListInstances(google::cloud::memcache::v1::ListInstancesRequest)

Parameter
Name Description
request google::cloud::memcache::v1::ListInstancesRequest
Returns
Type Description
StreamRange< google::cloud::memcache::v1::Instance >

virtual GetInstance(google::cloud::memcache::v1::GetInstanceRequest const &)

Parameter
Name Description
request google::cloud::memcache::v1::GetInstanceRequest const &
Returns
Type Description
StatusOr< google::cloud::memcache::v1::Instance >

virtual CreateInstance(google::cloud::memcache::v1::CreateInstanceRequest const &)

Parameter
Name Description
request google::cloud::memcache::v1::CreateInstanceRequest const &
Returns
Type Description
future< StatusOr< google::cloud::memcache::v1::Instance > >

virtual CreateInstance(ExperimentalTag, NoAwaitTag, google::cloud::memcache::v1::CreateInstanceRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::memcache::v1::CreateInstanceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateInstance(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::memcache::v1::Instance > >

virtual UpdateInstance(google::cloud::memcache::v1::UpdateInstanceRequest const &)

Parameter
Name Description
request google::cloud::memcache::v1::UpdateInstanceRequest const &
Returns
Type Description
future< StatusOr< google::cloud::memcache::v1::Instance > >

virtual UpdateInstance(ExperimentalTag, NoAwaitTag, google::cloud::memcache::v1::UpdateInstanceRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::memcache::v1::UpdateInstanceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateInstance(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::memcache::v1::Instance > >

virtual UpdateParameters(google::cloud::memcache::v1::UpdateParametersRequest const &)

Parameter
Name Description
request google::cloud::memcache::v1::UpdateParametersRequest const &
Returns
Type Description
future< StatusOr< google::cloud::memcache::v1::Instance > >

virtual UpdateParameters(ExperimentalTag, NoAwaitTag, google::cloud::memcache::v1::UpdateParametersRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::memcache::v1::UpdateParametersRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateParameters(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::memcache::v1::Instance > >

virtual DeleteInstance(google::cloud::memcache::v1::DeleteInstanceRequest const &)

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

virtual DeleteInstance(ExperimentalTag, NoAwaitTag, google::cloud::memcache::v1::DeleteInstanceRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::memcache::v1::DeleteInstanceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteInstance(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::memcache::v1::OperationMetadata > >

virtual ApplyParameters(google::cloud::memcache::v1::ApplyParametersRequest const &)

Parameter
Name Description
request google::cloud::memcache::v1::ApplyParametersRequest const &
Returns
Type Description
future< StatusOr< google::cloud::memcache::v1::Instance > >

virtual ApplyParameters(ExperimentalTag, NoAwaitTag, google::cloud::memcache::v1::ApplyParametersRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::memcache::v1::ApplyParametersRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual ApplyParameters(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::memcache::v1::Instance > >

virtual RescheduleMaintenance(google::cloud::memcache::v1::RescheduleMaintenanceRequest const &)

Parameter
Name Description
request google::cloud::memcache::v1::RescheduleMaintenanceRequest const &
Returns
Type Description
future< StatusOr< google::cloud::memcache::v1::Instance > >

virtual RescheduleMaintenance(ExperimentalTag, NoAwaitTag, google::cloud::memcache::v1::RescheduleMaintenanceRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::memcache::v1::RescheduleMaintenanceRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual RescheduleMaintenance(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::memcache::v1::Instance > >