Class AccessContextManagerConnection (2.26.0)

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
Type Description
Options

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::ListAccessPoliciesRequest
Returns
Type Description
StreamRange< google::identity::accesscontextmanager::v1::AccessPolicy >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::GetAccessPolicyRequest const &
Returns
Type Description
StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::AccessPolicy const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::AccessPolicy const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::UpdateAccessPolicyRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::UpdateAccessPolicyRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessPolicy > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::DeleteAccessPolicyRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::DeleteAccessPolicyRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::ListAccessLevelsRequest
Returns
Type Description
StreamRange< google::identity::accesscontextmanager::v1::AccessLevel >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::GetAccessLevelRequest const &
Returns
Type Description
StatusOr< google::identity::accesscontextmanager::v1::AccessLevel >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::CreateAccessLevelRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::CreateAccessLevelRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::UpdateAccessLevelRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::UpdateAccessLevelRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessLevel > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::DeleteAccessLevelRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::DeleteAccessLevelRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::ReplaceAccessLevelsRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::ReplaceAccessLevelsResponse > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::ReplaceAccessLevelsRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::ReplaceAccessLevelsResponse > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::ListServicePerimetersRequest
Returns
Type Description
StreamRange< google::identity::accesscontextmanager::v1::ServicePerimeter >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::GetServicePerimeterRequest const &
Returns
Type Description
StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::CreateServicePerimeterRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::CreateServicePerimeterRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::UpdateServicePerimeterRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::UpdateServicePerimeterRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::ServicePerimeter > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::DeleteServicePerimeterRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::DeleteServicePerimeterRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::AccessContextManagerOperationMetadata > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::ReplaceServicePerimetersRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::ReplaceServicePerimetersResponse > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::ReplaceServicePerimetersRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::ReplaceServicePerimetersResponse > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::CommitServicePerimetersRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::CommitServicePerimetersResponse > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::CommitServicePerimetersRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::CommitServicePerimetersResponse > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::ListGcpUserAccessBindingsRequest
Returns
Type Description
StreamRange< google::identity::accesscontextmanager::v1::GcpUserAccessBinding >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::GetGcpUserAccessBindingRequest const &
Returns
Type Description
StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::CreateGcpUserAccessBindingRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::CreateGcpUserAccessBindingRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::UpdateGcpUserAccessBindingRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::UpdateGcpUserAccessBindingRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBinding > >

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

Parameter
Name Description
request google::identity::accesscontextmanager::v1::DeleteGcpUserAccessBindingRequest const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBindingOperationMetadata > >

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

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::identity::accesscontextmanager::v1::DeleteGcpUserAccessBindingRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::identity::accesscontextmanager::v1::GcpUserAccessBindingOperationMetadata > >

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 >