Class AutokeyConnection (2.28.0)

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

To create a concrete instance, see MakeAutokeyConnection().

For mocking, see kms_v1_mocks::MockAutokeyConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateKeyHandle(google::cloud::kms::v1::CreateKeyHandleRequest const &)

Parameter
Name Description
request google::cloud::kms::v1::CreateKeyHandleRequest const &
Returns
Type Description
future< StatusOr< google::cloud::kms::v1::KeyHandle > >

virtual CreateKeyHandle(NoAwaitTag, google::cloud::kms::v1::CreateKeyHandleRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::kms::v1::CreateKeyHandleRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateKeyHandle(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::kms::v1::KeyHandle > >

virtual GetKeyHandle(google::cloud::kms::v1::GetKeyHandleRequest const &)

Parameter
Name Description
request google::cloud::kms::v1::GetKeyHandleRequest const &
Returns
Type Description
StatusOr< google::cloud::kms::v1::KeyHandle >

virtual ListKeyHandles(google::cloud::kms::v1::ListKeyHandlesRequest const &)

Parameter
Name Description
request google::cloud::kms::v1::ListKeyHandlesRequest const &
Returns
Type Description
StatusOr< google::cloud::kms::v1::ListKeyHandlesResponse >