Class AutokeyAdminConnection (2.33.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 >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual GetLocation(google::cloud::location::GetLocationRequest const &)

Parameter
Name Description
request google::cloud::location::GetLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::location::Location >

virtual SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::SetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::GetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &)

Parameter
Name Description
request google::iam::v1::TestIamPermissionsRequest const &
Returns
Type Description
StatusOr< google::iam::v1::TestIamPermissionsResponse >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >