Class AccessContextManagerGrpc.AccessContextManagerFutureStub (1.2.10)

public static final class AccessContextManagerGrpc.AccessContextManagerFutureStub extends AbstractFutureStub<AccessContextManagerGrpc.AccessContextManagerFutureStub>

API for setting [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] and [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] for Google Cloud Projects. Each organization has one [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] containing the [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] and [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter]. This [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] is applicable to all resources in the organization. AccessPolicies

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AccessContextManagerGrpc.AccessContextManagerFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected AccessContextManagerGrpc.AccessContextManagerFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
AccessContextManagerGrpc.AccessContextManagerFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

commitServicePerimeters(CommitServicePerimetersRequest request)

public ListenableFuture<Operation> commitServicePerimeters(CommitServicePerimetersRequest request)

Commit the dry-run spec for all the [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] in an Access Policy. A commit operation on a Service Perimeter involves copying its spec field to that Service Perimeter's status field. Only [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] with use_explicit_dry_run_spec field set to true are affected by a commit operation. The longrunning operation from this RPC will have a successful status once the dry-run specs for all the [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] have been committed. If a commit fails, it will cause the longrunning operation to return an error response and the entire commit operation will be cancelled. When successful, Operation.response field will contain CommitServicePerimetersResponse. The dry_run and the spec fields will be cleared after a successful commit operation.

Parameter
NameDescription
requestCommitServicePerimetersRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createAccessLevel(CreateAccessLevelRequest request)

public ListenableFuture<Operation> createAccessLevel(CreateAccessLevelRequest request)

Create an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning operation from this RPC will have a successful status once the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] has propagated to long-lasting storage. [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] containing errors will result in an error response for the first error encountered.

Parameter
NameDescription
requestCreateAccessLevelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createAccessPolicy(AccessPolicy request)

public ListenableFuture<Operation> createAccessPolicy(AccessPolicy request)

Create an AccessPolicy. Fails if this organization already has a AccessPolicy. The longrunning Operation will have a successful status once the AccessPolicy has propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in metadata as a BadRequest proto.

Parameter
NameDescription
requestAccessPolicy
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createGcpUserAccessBinding(CreateGcpUserAccessBindingRequest request)

public ListenableFuture<Operation> createGcpUserAccessBinding(CreateGcpUserAccessBindingRequest request)

Creates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. If the client specifies a [name] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.name], the server will ignore it. Fails if a resource already exists with the same [group_key] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding.group_key]. Completion of this long-running operation does not necessarily signify that the new binding is deployed onto all affected users, which may take more time.

Parameter
NameDescription
requestCreateGcpUserAccessBindingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createServicePerimeter(CreateServicePerimeterRequest request)

public ListenableFuture<Operation> createServicePerimeter(CreateServicePerimeterRequest request)

Create a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The longrunning operation from this RPC will have a successful status once the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] has propagated to long-lasting storage. [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] containing errors will result in an error response for the first error encountered.

Parameter
NameDescription
requestCreateServicePerimeterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAccessLevel(DeleteAccessLevelRequest request)

public ListenableFuture<Operation> deleteAccessLevel(DeleteAccessLevelRequest request)

Delete an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] by resource name. The longrunning operation from this RPC will have a successful status once the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] has been removed from long-lasting storage.

Parameter
NameDescription
requestDeleteAccessLevelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAccessPolicy(DeleteAccessPolicyRequest request)

public ListenableFuture<Operation> deleteAccessPolicy(DeleteAccessPolicyRequest request)

Delete an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] by resource name. The longrunning Operation will have a successful status once the [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] has been removed from long-lasting storage.

Parameter
NameDescription
requestDeleteAccessPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteGcpUserAccessBinding(DeleteGcpUserAccessBindingRequest request)

public ListenableFuture<Operation> deleteGcpUserAccessBinding(DeleteGcpUserAccessBindingRequest request)

Deletes a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. Completion of this long-running operation does not necessarily signify that the binding deletion is deployed onto all affected users, which may take more time.

Parameter
NameDescription
requestDeleteGcpUserAccessBindingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteServicePerimeter(DeleteServicePerimeterRequest request)

public ListenableFuture<Operation> deleteServicePerimeter(DeleteServicePerimeterRequest request)

Delete a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource name. The longrunning operation from this RPC will have a successful status once the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] has been removed from long-lasting storage.

Parameter
NameDescription
requestDeleteServicePerimeterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getAccessLevel(GetAccessLevelRequest request)

public ListenableFuture<AccessLevel> getAccessLevel(GetAccessLevelRequest request)

Get an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] by resource name.

Parameter
NameDescription
requestGetAccessLevelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AccessLevel>

getAccessPolicy(GetAccessPolicyRequest request)

public ListenableFuture<AccessPolicy> getAccessPolicy(GetAccessPolicyRequest request)

Get an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] by name.

Parameter
NameDescription
requestGetAccessPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AccessPolicy>

getGcpUserAccessBinding(GetGcpUserAccessBindingRequest request)

public ListenableFuture<GcpUserAccessBinding> getGcpUserAccessBinding(GetGcpUserAccessBindingRequest request)

Gets the [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] with the given name.

Parameter
NameDescription
requestGetGcpUserAccessBindingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<GcpUserAccessBinding>

getServicePerimeter(GetServicePerimeterRequest request)

public ListenableFuture<ServicePerimeter> getServicePerimeter(GetServicePerimeterRequest request)

Get a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] by resource name.

Parameter
NameDescription
requestGetServicePerimeterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ServicePerimeter>

listAccessLevels(ListAccessLevelsRequest request)

public ListenableFuture<ListAccessLevelsResponse> listAccessLevels(ListAccessLevelsRequest request)

List all [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] for an access policy.

Parameter
NameDescription
requestListAccessLevelsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAccessLevelsResponse>

listAccessPolicies(ListAccessPoliciesRequest request)

public ListenableFuture<ListAccessPoliciesResponse> listAccessPolicies(ListAccessPoliciesRequest request)

List all [AccessPolicies] [google.identity.accesscontextmanager.v1.AccessPolicy] under a container.

Parameter
NameDescription
requestListAccessPoliciesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAccessPoliciesResponse>

listGcpUserAccessBindings(ListGcpUserAccessBindingsRequest request)

public ListenableFuture<ListGcpUserAccessBindingsResponse> listGcpUserAccessBindings(ListGcpUserAccessBindingsRequest request)

Lists all [GcpUserAccessBindings] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding] for a Google Cloud organization.

Parameter
NameDescription
requestListGcpUserAccessBindingsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListGcpUserAccessBindingsResponse>

listServicePerimeters(ListServicePerimetersRequest request)

public ListenableFuture<ListServicePerimetersResponse> listServicePerimeters(ListServicePerimetersRequest request)

List all [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] for an access policy.

Parameter
NameDescription
requestListServicePerimetersRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListServicePerimetersResponse>

replaceAccessLevels(ReplaceAccessLevelsRequest request)

public ListenableFuture<Operation> replaceAccessLevels(ReplaceAccessLevelsRequest request)

Replace all existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] in an [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] provided. This is done atomically. The longrunning operation from this RPC will have a successful status once all replacements have propagated to long-lasting storage. Replacements containing errors will result in an error response for the first error encountered. Replacement will be cancelled on error, existing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] will not be affected. Operation.response field will contain ReplaceAccessLevelsResponse. Removing [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] contained in existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] will result in error.

Parameter
NameDescription
requestReplaceAccessLevelsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

replaceServicePerimeters(ReplaceServicePerimetersRequest request)

public ListenableFuture<Operation> replaceServicePerimeters(ReplaceServicePerimetersRequest request)

Replace all existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] in an [Access Policy] [google.identity.accesscontextmanager.v1.AccessPolicy] with the [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] provided. This is done atomically. The longrunning operation from this RPC will have a successful status once all replacements have propagated to long-lasting storage. Replacements containing errors will result in an error response for the first error encountered. Replacement will be cancelled on error, existing [Service Perimeters] [google.identity.accesscontextmanager.v1.ServicePerimeter] will not be affected. Operation.response field will contain ReplaceServicePerimetersResponse.

Parameter
NameDescription
requestReplaceServicePerimetersRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateAccessLevel(UpdateAccessLevelRequest request)

public ListenableFuture<Operation> updateAccessLevel(UpdateAccessLevelRequest request)

Update an [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. The longrunning operation from this RPC will have a successful status once the changes to the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] have propagated to long-lasting storage. [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] containing errors will result in an error response for the first error encountered.

Parameter
NameDescription
requestUpdateAccessLevelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateAccessPolicy(UpdateAccessPolicyRequest request)

public ListenableFuture<Operation> updateAccessPolicy(UpdateAccessPolicyRequest request)

Update an [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy]. The longrunning Operation from this RPC will have a successful status once the changes to the [AccessPolicy] [google.identity.accesscontextmanager.v1.AccessPolicy] have propagated to long-lasting storage. Syntactic and basic semantic errors will be returned in metadata as a BadRequest proto.

Parameter
NameDescription
requestUpdateAccessPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateGcpUserAccessBinding(UpdateGcpUserAccessBindingRequest request)

public ListenableFuture<Operation> updateGcpUserAccessBinding(UpdateGcpUserAccessBindingRequest request)

Updates a [GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]. Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take more time.

Parameter
NameDescription
requestUpdateGcpUserAccessBindingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateServicePerimeter(UpdateServicePerimeterRequest request)

public ListenableFuture<Operation> updateServicePerimeter(UpdateServicePerimeterRequest request)

Update a [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter]. The longrunning operation from this RPC will have a successful status once the changes to the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] have propagated to long-lasting storage. [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] containing errors will result in an error response for the first error encountered.

Parameter
NameDescription
requestUpdateServicePerimeterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>