Class HttpJsonGSuiteAddOnsStub (2.13.0)

public class HttpJsonGSuiteAddOnsStub extends GSuiteAddOnsStub

REST stub implementation for the GSuiteAddOns service API.

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

Inheritance

java.lang.Object > GSuiteAddOnsStub > HttpJsonGSuiteAddOnsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(GSuiteAddOnsStubSettings settings)

public static final HttpJsonGSuiteAddOnsStub create(GSuiteAddOnsStubSettings settings)
Parameter
NameDescription
settingsGSuiteAddOnsStubSettings
Returns
TypeDescription
HttpJsonGSuiteAddOnsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext)

protected HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonGSuiteAddOnsStub, 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
settingsGSuiteAddOnsStubSettings
clientContextClientContext

HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonGSuiteAddOnsStub, 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
settingsGSuiteAddOnsStubSettings
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

createDeploymentCallable()

public UnaryCallable<CreateDeploymentRequest,Deployment> createDeploymentCallable()
Returns
TypeDescription
UnaryCallable<CreateDeploymentRequest,Deployment>
Overrides

deleteDeploymentCallable()

public UnaryCallable<DeleteDeploymentRequest,Empty> deleteDeploymentCallable()
Returns
TypeDescription
UnaryCallable<DeleteDeploymentRequest,Empty>
Overrides

getAuthorizationCallable()

public UnaryCallable<GetAuthorizationRequest,Authorization> getAuthorizationCallable()
Returns
TypeDescription
UnaryCallable<GetAuthorizationRequest,Authorization>
Overrides

getDeploymentCallable()

public UnaryCallable<GetDeploymentRequest,Deployment> getDeploymentCallable()
Returns
TypeDescription
UnaryCallable<GetDeploymentRequest,Deployment>
Overrides

getInstallStatusCallable()

public UnaryCallable<GetInstallStatusRequest,InstallStatus> getInstallStatusCallable()
Returns
TypeDescription
UnaryCallable<GetInstallStatusRequest,InstallStatus>
Overrides

installDeploymentCallable()

public UnaryCallable<InstallDeploymentRequest,Empty> installDeploymentCallable()
Returns
TypeDescription
UnaryCallable<InstallDeploymentRequest,Empty>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listDeploymentsCallable()

public UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> listDeploymentsCallable()
Returns
TypeDescription
UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse>
Overrides

listDeploymentsPagedCallable()

public UnaryCallable<ListDeploymentsRequest,GSuiteAddOnsClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListDeploymentsRequest,ListDeploymentsPagedResponse>
Overrides

replaceDeploymentCallable()

public UnaryCallable<ReplaceDeploymentRequest,Deployment> replaceDeploymentCallable()
Returns
TypeDescription
UnaryCallable<ReplaceDeploymentRequest,Deployment>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

uninstallDeploymentCallable()

public UnaryCallable<UninstallDeploymentRequest,Empty> uninstallDeploymentCallable()
Returns
TypeDescription
UnaryCallable<UninstallDeploymentRequest,Empty>
Overrides