Class AccessContextManagerConnection (2.19.0-rc)

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

To create a concrete instance, see MakeAccessContextManagerConnection().

For mocking, see accesscontextmanager_v1_mocks::MockAccessContextManagerConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListAccessPolicies(google::identity::accesscontextmanager::v1::ListAccessPoliciesRequest)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::ListAccessPoliciesRequest
Returns
TypeDescription
StreamRange< google::identity::accesscontextmanager::v1::AccessPolicy >

virtual GetAccessPolicy(google::identity::accesscontextmanager::v1::GetAccessPolicyRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::GetAccessPolicyRequest const &
Returns
TypeDescription
StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy >

virtual CreateAccessPolicy(google::identity::accesscontextmanager::v1::AccessPolicy const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::AccessPolicy const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy > >

virtual UpdateAccessPolicy(google::identity::accesscontextmanager::v1::UpdateAccessPolicyRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::UpdateAccessPolicyRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy > >

virtual DeleteAccessPolicy(google::identity::accesscontextmanager::v1::DeleteAccessPolicyRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::DeleteAccessPolicyRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >

virtual ListAccessLevels(google::identity::accesscontextmanager::v1::ListAccessLevelsRequest)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::ListAccessLevelsRequest
Returns
TypeDescription
StreamRange< google::identity::accesscontextmanager::v1::AccessLevel >

virtual GetAccessLevel(google::identity::accesscontextmanager::v1::GetAccessLevelRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::GetAccessLevelRequest const &
Returns
TypeDescription
StatusOr< google::identity::accesscontextmanager::v1::AccessLevel >

virtual CreateAccessLevel(google::identity::accesscontextmanager::v1::CreateAccessLevelRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::CreateAccessLevelRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >

virtual UpdateAccessLevel(google::identity::accesscontextmanager::v1::UpdateAccessLevelRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::UpdateAccessLevelRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >

virtual DeleteAccessLevel(google::identity::accesscontextmanager::v1::DeleteAccessLevelRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::DeleteAccessLevelRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >

virtual ReplaceAccessLevels(google::identity::accesscontextmanager::v1::ReplaceAccessLevelsRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::ReplaceAccessLevelsRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::ReplaceAccessLevelsResponse > >

virtual ListServicePerimeters(google::identity::accesscontextmanager::v1::ListServicePerimetersRequest)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::ListServicePerimetersRequest
Returns
TypeDescription
StreamRange< google::identity::accesscontextmanager::v1::ServicePerimeter >

virtual GetServicePerimeter(google::identity::accesscontextmanager::v1::GetServicePerimeterRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::GetServicePerimeterRequest const &
Returns
TypeDescription
StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter >

virtual CreateServicePerimeter(google::identity::accesscontextmanager::v1::CreateServicePerimeterRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::CreateServicePerimeterRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >

virtual UpdateServicePerimeter(google::identity::accesscontextmanager::v1::UpdateServicePerimeterRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::UpdateServicePerimeterRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >

virtual DeleteServicePerimeter(google::identity::accesscontextmanager::v1::DeleteServicePerimeterRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::DeleteServicePerimeterRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >

virtual ReplaceServicePerimeters(google::identity::accesscontextmanager::v1::ReplaceServicePerimetersRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::ReplaceServicePerimetersRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::ReplaceServicePerimetersResponse > >

virtual CommitServicePerimeters(google::identity::accesscontextmanager::v1::CommitServicePerimetersRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::CommitServicePerimetersRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::CommitServicePerimetersResponse > >

virtual ListGcpUserAccessBindings(google::identity::accesscontextmanager::v1::ListGcpUserAccessBindingsRequest)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::ListGcpUserAccessBindingsRequest
Returns
TypeDescription
StreamRange< google::identity::accesscontextmanager::v1::GcpUserAccessBinding >

virtual GetGcpUserAccessBinding(google::identity::accesscontextmanager::v1::GetGcpUserAccessBindingRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::GetGcpUserAccessBindingRequest const &
Returns
TypeDescription
StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding >

virtual CreateGcpUserAccessBinding(google::identity::accesscontextmanager::v1::CreateGcpUserAccessBindingRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::CreateGcpUserAccessBindingRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >

virtual UpdateGcpUserAccessBinding(google::identity::accesscontextmanager::v1::UpdateGcpUserAccessBindingRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::UpdateGcpUserAccessBindingRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >

virtual DeleteGcpUserAccessBinding(google::identity::accesscontextmanager::v1::DeleteGcpUserAccessBindingRequest const &)

Parameter
NameDescription
request google::identity::accesscontextmanager::v1::DeleteGcpUserAccessBindingRequest const &
Returns
TypeDescription
future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBindingOperationMetadata > >

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

Parameter
NameDescription
request google::iam::v1::SetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

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

Parameter
NameDescription
request google::iam::v1::GetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

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

Parameter
NameDescription
request google::iam::v1::TestIamPermissionsRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::TestIamPermissionsResponse >