Class GrpcAccessContextManagerStub (1.56.0)

public class GrpcAccessContextManagerStub extends AccessContextManagerStub

gRPC stub implementation for the AccessContextManager service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > AccessContextManagerStub > GrpcAccessContextManagerStub

Static Methods

create(ClientContext clientContext)

public static final GrpcAccessContextManagerStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcAccessContextManagerStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAccessContextManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcAccessContextManagerStub
Exceptions
Type Description
IOException

create(AccessContextManagerStubSettings settings)

public static final GrpcAccessContextManagerStub create(AccessContextManagerStubSettings settings)
Parameter
Name Description
settings AccessContextManagerStubSettings
Returns
Type Description
GrpcAccessContextManagerStub
Exceptions
Type Description
IOException

Constructors

GrpcAccessContextManagerStub(AccessContextManagerStubSettings settings, ClientContext clientContext)

protected GrpcAccessContextManagerStub(AccessContextManagerStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAccessContextManagerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings AccessContextManagerStubSettings
clientContext ClientContext

GrpcAccessContextManagerStub(AccessContextManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAccessContextManagerStub(AccessContextManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcAccessContextManagerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings AccessContextManagerStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

commitServicePerimetersCallable()

public UnaryCallable<CommitServicePerimetersRequest,Operation> commitServicePerimetersCallable()
Returns
Type Description
UnaryCallable<CommitServicePerimetersRequest,Operation>
Overrides

commitServicePerimetersOperationCallable()

public OperationCallable<CommitServicePerimetersRequest,CommitServicePerimetersResponse,AccessContextManagerOperationMetadata> commitServicePerimetersOperationCallable()
Returns
Type Description
OperationCallable<CommitServicePerimetersRequest,CommitServicePerimetersResponse,AccessContextManagerOperationMetadata>
Overrides

createAccessLevelCallable()

public UnaryCallable<CreateAccessLevelRequest,Operation> createAccessLevelCallable()
Returns
Type Description
UnaryCallable<CreateAccessLevelRequest,Operation>
Overrides

createAccessLevelOperationCallable()

public OperationCallable<CreateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata> createAccessLevelOperationCallable()
Returns
Type Description
OperationCallable<CreateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata>
Overrides

createAccessPolicyCallable()

public UnaryCallable<AccessPolicy,Operation> createAccessPolicyCallable()
Returns
Type Description
UnaryCallable<AccessPolicy,Operation>
Overrides

createAccessPolicyOperationCallable()

public OperationCallable<AccessPolicy,AccessPolicy,AccessContextManagerOperationMetadata> createAccessPolicyOperationCallable()
Returns
Type Description
OperationCallable<AccessPolicy,AccessPolicy,AccessContextManagerOperationMetadata>
Overrides

createGcpUserAccessBindingCallable()

public UnaryCallable<CreateGcpUserAccessBindingRequest,Operation> createGcpUserAccessBindingCallable()
Returns
Type Description
UnaryCallable<CreateGcpUserAccessBindingRequest,Operation>
Overrides

createGcpUserAccessBindingOperationCallable()

public OperationCallable<CreateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata> createGcpUserAccessBindingOperationCallable()
Returns
Type Description
OperationCallable<CreateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata>
Overrides

createServicePerimeterCallable()

public UnaryCallable<CreateServicePerimeterRequest,Operation> createServicePerimeterCallable()
Returns
Type Description
UnaryCallable<CreateServicePerimeterRequest,Operation>
Overrides

createServicePerimeterOperationCallable()

public OperationCallable<CreateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata> createServicePerimeterOperationCallable()
Returns
Type Description
OperationCallable<CreateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata>
Overrides

deleteAccessLevelCallable()

public UnaryCallable<DeleteAccessLevelRequest,Operation> deleteAccessLevelCallable()
Returns
Type Description
UnaryCallable<DeleteAccessLevelRequest,Operation>
Overrides

deleteAccessLevelOperationCallable()

public OperationCallable<DeleteAccessLevelRequest,Empty,AccessContextManagerOperationMetadata> deleteAccessLevelOperationCallable()
Returns
Type Description
OperationCallable<DeleteAccessLevelRequest,Empty,AccessContextManagerOperationMetadata>
Overrides

deleteAccessPolicyCallable()

public UnaryCallable<DeleteAccessPolicyRequest,Operation> deleteAccessPolicyCallable()
Returns
Type Description
UnaryCallable<DeleteAccessPolicyRequest,Operation>
Overrides

deleteAccessPolicyOperationCallable()

public OperationCallable<DeleteAccessPolicyRequest,Empty,AccessContextManagerOperationMetadata> deleteAccessPolicyOperationCallable()
Returns
Type Description
OperationCallable<DeleteAccessPolicyRequest,Empty,AccessContextManagerOperationMetadata>
Overrides

deleteGcpUserAccessBindingCallable()

public UnaryCallable<DeleteGcpUserAccessBindingRequest,Operation> deleteGcpUserAccessBindingCallable()
Returns
Type Description
UnaryCallable<DeleteGcpUserAccessBindingRequest,Operation>
Overrides

deleteGcpUserAccessBindingOperationCallable()

public OperationCallable<DeleteGcpUserAccessBindingRequest,Empty,GcpUserAccessBindingOperationMetadata> deleteGcpUserAccessBindingOperationCallable()
Returns
Type Description
OperationCallable<DeleteGcpUserAccessBindingRequest,Empty,GcpUserAccessBindingOperationMetadata>
Overrides

deleteServicePerimeterCallable()

public UnaryCallable<DeleteServicePerimeterRequest,Operation> deleteServicePerimeterCallable()
Returns
Type Description
UnaryCallable<DeleteServicePerimeterRequest,Operation>
Overrides

deleteServicePerimeterOperationCallable()

public OperationCallable<DeleteServicePerimeterRequest,Empty,AccessContextManagerOperationMetadata> deleteServicePerimeterOperationCallable()
Returns
Type Description
OperationCallable<DeleteServicePerimeterRequest,Empty,AccessContextManagerOperationMetadata>
Overrides

getAccessLevelCallable()

public UnaryCallable<GetAccessLevelRequest,AccessLevel> getAccessLevelCallable()
Returns
Type Description
UnaryCallable<GetAccessLevelRequest,AccessLevel>
Overrides

getAccessPolicyCallable()

public UnaryCallable<GetAccessPolicyRequest,AccessPolicy> getAccessPolicyCallable()
Returns
Type Description
UnaryCallable<GetAccessPolicyRequest,AccessPolicy>
Overrides

getGcpUserAccessBindingCallable()

public UnaryCallable<GetGcpUserAccessBindingRequest,GcpUserAccessBinding> getGcpUserAccessBindingCallable()
Returns
Type Description
UnaryCallable<GetGcpUserAccessBindingRequest,GcpUserAccessBinding>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getServicePerimeterCallable()

public UnaryCallable<GetServicePerimeterRequest,ServicePerimeter> getServicePerimeterCallable()
Returns
Type Description
UnaryCallable<GetServicePerimeterRequest,ServicePerimeter>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAccessLevelsCallable()

public UnaryCallable<ListAccessLevelsRequest,ListAccessLevelsResponse> listAccessLevelsCallable()
Returns
Type Description
UnaryCallable<ListAccessLevelsRequest,ListAccessLevelsResponse>
Overrides

listAccessLevelsPagedCallable()

public UnaryCallable<ListAccessLevelsRequest,AccessContextManagerClient.ListAccessLevelsPagedResponse> listAccessLevelsPagedCallable()
Returns
Type Description
UnaryCallable<ListAccessLevelsRequest,ListAccessLevelsPagedResponse>
Overrides

listAccessPoliciesCallable()

public UnaryCallable<ListAccessPoliciesRequest,ListAccessPoliciesResponse> listAccessPoliciesCallable()
Returns
Type Description
UnaryCallable<ListAccessPoliciesRequest,ListAccessPoliciesResponse>
Overrides

listAccessPoliciesPagedCallable()

public UnaryCallable<ListAccessPoliciesRequest,AccessContextManagerClient.ListAccessPoliciesPagedResponse> listAccessPoliciesPagedCallable()
Returns
Type Description
UnaryCallable<ListAccessPoliciesRequest,ListAccessPoliciesPagedResponse>
Overrides

listGcpUserAccessBindingsCallable()

public UnaryCallable<ListGcpUserAccessBindingsRequest,ListGcpUserAccessBindingsResponse> listGcpUserAccessBindingsCallable()
Returns
Type Description
UnaryCallable<ListGcpUserAccessBindingsRequest,ListGcpUserAccessBindingsResponse>
Overrides

listGcpUserAccessBindingsPagedCallable()

public UnaryCallable<ListGcpUserAccessBindingsRequest,AccessContextManagerClient.ListGcpUserAccessBindingsPagedResponse> listGcpUserAccessBindingsPagedCallable()
Returns
Type Description
UnaryCallable<ListGcpUserAccessBindingsRequest,ListGcpUserAccessBindingsPagedResponse>
Overrides

listServicePerimetersCallable()

public UnaryCallable<ListServicePerimetersRequest,ListServicePerimetersResponse> listServicePerimetersCallable()
Returns
Type Description
UnaryCallable<ListServicePerimetersRequest,ListServicePerimetersResponse>
Overrides

listServicePerimetersPagedCallable()

public UnaryCallable<ListServicePerimetersRequest,AccessContextManagerClient.ListServicePerimetersPagedResponse> listServicePerimetersPagedCallable()
Returns
Type Description
UnaryCallable<ListServicePerimetersRequest,ListServicePerimetersPagedResponse>
Overrides

replaceAccessLevelsCallable()

public UnaryCallable<ReplaceAccessLevelsRequest,Operation> replaceAccessLevelsCallable()
Returns
Type Description
UnaryCallable<ReplaceAccessLevelsRequest,Operation>
Overrides

replaceAccessLevelsOperationCallable()

public OperationCallable<ReplaceAccessLevelsRequest,ReplaceAccessLevelsResponse,AccessContextManagerOperationMetadata> replaceAccessLevelsOperationCallable()
Returns
Type Description
OperationCallable<ReplaceAccessLevelsRequest,ReplaceAccessLevelsResponse,AccessContextManagerOperationMetadata>
Overrides

replaceServicePerimetersCallable()

public UnaryCallable<ReplaceServicePerimetersRequest,Operation> replaceServicePerimetersCallable()
Returns
Type Description
UnaryCallable<ReplaceServicePerimetersRequest,Operation>
Overrides

replaceServicePerimetersOperationCallable()

public OperationCallable<ReplaceServicePerimetersRequest,ReplaceServicePerimetersResponse,AccessContextManagerOperationMetadata> replaceServicePerimetersOperationCallable()
Returns
Type Description
OperationCallable<ReplaceServicePerimetersRequest,ReplaceServicePerimetersResponse,AccessContextManagerOperationMetadata>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateAccessLevelCallable()

public UnaryCallable<UpdateAccessLevelRequest,Operation> updateAccessLevelCallable()
Returns
Type Description
UnaryCallable<UpdateAccessLevelRequest,Operation>
Overrides

updateAccessLevelOperationCallable()

public OperationCallable<UpdateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata> updateAccessLevelOperationCallable()
Returns
Type Description
OperationCallable<UpdateAccessLevelRequest,AccessLevel,AccessContextManagerOperationMetadata>
Overrides

updateAccessPolicyCallable()

public UnaryCallable<UpdateAccessPolicyRequest,Operation> updateAccessPolicyCallable()
Returns
Type Description
UnaryCallable<UpdateAccessPolicyRequest,Operation>
Overrides

updateAccessPolicyOperationCallable()

public OperationCallable<UpdateAccessPolicyRequest,AccessPolicy,AccessContextManagerOperationMetadata> updateAccessPolicyOperationCallable()
Returns
Type Description
OperationCallable<UpdateAccessPolicyRequest,AccessPolicy,AccessContextManagerOperationMetadata>
Overrides

updateGcpUserAccessBindingCallable()

public UnaryCallable<UpdateGcpUserAccessBindingRequest,Operation> updateGcpUserAccessBindingCallable()
Returns
Type Description
UnaryCallable<UpdateGcpUserAccessBindingRequest,Operation>
Overrides

updateGcpUserAccessBindingOperationCallable()

public OperationCallable<UpdateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata> updateGcpUserAccessBindingOperationCallable()
Returns
Type Description
OperationCallable<UpdateGcpUserAccessBindingRequest,GcpUserAccessBinding,GcpUserAccessBindingOperationMetadata>
Overrides

updateServicePerimeterCallable()

public UnaryCallable<UpdateServicePerimeterRequest,Operation> updateServicePerimeterCallable()
Returns
Type Description
UnaryCallable<UpdateServicePerimeterRequest,Operation>
Overrides

updateServicePerimeterOperationCallable()

public OperationCallable<UpdateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata> updateServicePerimeterOperationCallable()
Returns
Type Description
OperationCallable<UpdateServicePerimeterRequest,ServicePerimeter,AccessContextManagerOperationMetadata>
Overrides