Class HttpJsonAccessContextManagerStub (1.15.0)

public class HttpJsonAccessContextManagerStub extends AccessContextManagerStub

REST stub implementation for the AccessContextManager service API.

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

Inheritance

java.lang.Object > AccessContextManagerStub > HttpJsonAccessContextManagerStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonAccessContextManagerStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonAccessContextManagerStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonAccessContextManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonAccessContextManagerStub
Exceptions
TypeDescription
IOException

create(AccessContextManagerStubSettings settings)

public static final HttpJsonAccessContextManagerStub create(AccessContextManagerStubSettings settings)
Parameter
NameDescription
settingsAccessContextManagerStubSettings
Returns
TypeDescription
HttpJsonAccessContextManagerStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonAccessContextManagerStub(AccessContextManagerStubSettings settings, ClientContext clientContext)

protected HttpJsonAccessContextManagerStub(AccessContextManagerStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonAccessContextManagerStub, 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
NameDescription
settingsAccessContextManagerStubSettings
clientContextClientContext

HttpJsonAccessContextManagerStub(AccessContextManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonAccessContextManagerStub(AccessContextManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonAccessContextManagerStub, 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
NameDescription
settingsAccessContextManagerStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

commitServicePerimetersCallable()

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

commitServicePerimetersOperationCallable()

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

createAccessLevelCallable()

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

createAccessLevelOperationCallable()

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

createAccessPolicyCallable()

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

createAccessPolicyOperationCallable()

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

createGcpUserAccessBindingCallable()

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

createGcpUserAccessBindingOperationCallable()

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

createServicePerimeterCallable()

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

createServicePerimeterOperationCallable()

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

deleteAccessLevelCallable()

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

deleteAccessLevelOperationCallable()

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

deleteAccessPolicyCallable()

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

deleteAccessPolicyOperationCallable()

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

deleteGcpUserAccessBindingCallable()

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

deleteGcpUserAccessBindingOperationCallable()

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

deleteServicePerimeterCallable()

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

deleteServicePerimeterOperationCallable()

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

getAccessLevelCallable()

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

getAccessPolicyCallable()

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

getGcpUserAccessBindingCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

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

getServicePerimeterCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAccessLevelsCallable()

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

listAccessLevelsPagedCallable()

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

listAccessPoliciesCallable()

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

listAccessPoliciesPagedCallable()

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

listGcpUserAccessBindingsCallable()

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

listGcpUserAccessBindingsPagedCallable()

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

listServicePerimetersCallable()

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

listServicePerimetersPagedCallable()

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

replaceAccessLevelsCallable()

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

replaceAccessLevelsOperationCallable()

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

replaceServicePerimetersCallable()

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

replaceServicePerimetersOperationCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateAccessLevelCallable()

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

updateAccessLevelOperationCallable()

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

updateAccessPolicyCallable()

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

updateAccessPolicyOperationCallable()

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

updateGcpUserAccessBindingCallable()

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

updateGcpUserAccessBindingOperationCallable()

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

updateServicePerimeterCallable()

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

updateServicePerimeterOperationCallable()

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