Class AutokeyAdminConnection (2.30.0)

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

To create a concrete instance, see MakeAutokeyAdminConnection().

For mocking, see kms_v1_mocks::MockAutokeyAdminConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual UpdateAutokeyConfig(google::cloud::kms::v1::UpdateAutokeyConfigRequest const &)

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

virtual GetAutokeyConfig(google::cloud::kms::v1::GetAutokeyConfigRequest const &)

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

virtual ShowEffectiveAutokeyConfig(google::cloud::kms::v1::ShowEffectiveAutokeyConfigRequest const &)

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