Class AccessContextManagerGrpc.AccessContextManagerBlockingStub (1.5.0)

public static final class AccessContextManagerGrpc.AccessContextManagerBlockingStub extends AbstractBlockingStub<AccessContextManagerGrpc.AccessContextManagerBlockingStub>

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.AbstractBlockingStub > AccessContextManagerGrpc.AccessContextManagerBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

commitServicePerimeters(CommitServicePerimetersRequest request)

public 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
Operation

createAccessLevel(CreateAccessLevelRequest request)

public 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
Operation

createAccessPolicy(AccessPolicy request)

public 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
Operation

createGcpUserAccessBinding(CreateGcpUserAccessBindingRequest request)

public 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
Operation

createServicePerimeter(CreateServicePerimeterRequest request)

public 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
Operation

deleteAccessLevel(DeleteAccessLevelRequest request)

public 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
Operation

deleteAccessPolicy(DeleteAccessPolicyRequest request)

public 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
Operation

deleteGcpUserAccessBinding(DeleteGcpUserAccessBindingRequest request)

public 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
Operation

deleteServicePerimeter(DeleteServicePerimeterRequest request)

public 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
Operation

getAccessLevel(GetAccessLevelRequest request)

public AccessLevel getAccessLevel(GetAccessLevelRequest request)

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

Parameter
NameDescription
requestGetAccessLevelRequest
Returns
TypeDescription
AccessLevel

getAccessPolicy(GetAccessPolicyRequest request)

public AccessPolicy getAccessPolicy(GetAccessPolicyRequest request)

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

Parameter
NameDescription
requestGetAccessPolicyRequest
Returns
TypeDescription
AccessPolicy

getGcpUserAccessBinding(GetGcpUserAccessBindingRequest request)

public GcpUserAccessBinding getGcpUserAccessBinding(GetGcpUserAccessBindingRequest request)

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

Parameter
NameDescription
requestGetGcpUserAccessBindingRequest
Returns
TypeDescription
GcpUserAccessBinding

getServicePerimeter(GetServicePerimeterRequest request)

public ServicePerimeter getServicePerimeter(GetServicePerimeterRequest request)

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

Parameter
NameDescription
requestGetServicePerimeterRequest
Returns
TypeDescription
ServicePerimeter

listAccessLevels(ListAccessLevelsRequest request)

public ListAccessLevelsResponse listAccessLevels(ListAccessLevelsRequest request)

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

Parameter
NameDescription
requestListAccessLevelsRequest
Returns
TypeDescription
ListAccessLevelsResponse

listAccessPolicies(ListAccessPoliciesRequest request)

public ListAccessPoliciesResponse listAccessPolicies(ListAccessPoliciesRequest request)

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

Parameter
NameDescription
requestListAccessPoliciesRequest
Returns
TypeDescription
ListAccessPoliciesResponse

listGcpUserAccessBindings(ListGcpUserAccessBindingsRequest request)

public ListGcpUserAccessBindingsResponse listGcpUserAccessBindings(ListGcpUserAccessBindingsRequest request)

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

Parameter
NameDescription
requestListGcpUserAccessBindingsRequest
Returns
TypeDescription
ListGcpUserAccessBindingsResponse

listServicePerimeters(ListServicePerimetersRequest request)

public ListServicePerimetersResponse listServicePerimeters(ListServicePerimetersRequest request)

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

Parameter
NameDescription
requestListServicePerimetersRequest
Returns
TypeDescription
ListServicePerimetersResponse

replaceAccessLevels(ReplaceAccessLevelsRequest request)

public 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
Operation

replaceServicePerimeters(ReplaceServicePerimetersRequest request)

public 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
Operation

updateAccessLevel(UpdateAccessLevelRequest request)

public 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
Operation

updateAccessPolicy(UpdateAccessPolicyRequest request)

public 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
Operation

updateGcpUserAccessBinding(UpdateGcpUserAccessBindingRequest request)

public 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
Operation

updateServicePerimeter(UpdateServicePerimeterRequest request)

public 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
Operation