Class HttpJsonIamCheckerStub (1.10.0)

public class HttpJsonIamCheckerStub extends IamCheckerStub

REST stub implementation for the IamChecker service API.

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

Inheritance

java.lang.Object > IamCheckerStub > HttpJsonIamCheckerStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(IamCheckerStubSettings settings)

public static final HttpJsonIamCheckerStub create(IamCheckerStubSettings settings)
Parameter
NameDescription
settingsIamCheckerStubSettings
Returns
TypeDescription
HttpJsonIamCheckerStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonIamCheckerStub(IamCheckerStubSettings settings, ClientContext clientContext)

protected HttpJsonIamCheckerStub(IamCheckerStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonIamCheckerStub, 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
settingsIamCheckerStubSettings
clientContextClientContext

HttpJsonIamCheckerStub(IamCheckerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonIamCheckerStub(IamCheckerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonIamCheckerStub, 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
settingsIamCheckerStubSettings
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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

troubleshootIamPolicyCallable()

public UnaryCallable<TroubleshootIamPolicyRequest,TroubleshootIamPolicyResponse> troubleshootIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<TroubleshootIamPolicyRequest,TroubleshootIamPolicyResponse>
Overrides