public class HttpJsonExternalVpnGatewaysStub extends ExternalVpnGatewaysStub
REST stub implementation for the ExternalVpnGateways service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
HttpJsonExternalVpnGatewaysStub(ExternalVpnGatewaysStubSettings settings, ClientContext clientContext)
protected HttpJsonExternalVpnGatewaysStub(ExternalVpnGatewaysStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonExternalVpnGatewaysStub, 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
HttpJsonExternalVpnGatewaysStub(ExternalVpnGatewaysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonExternalVpnGatewaysStub(ExternalVpnGatewaysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonExternalVpnGatewaysStub, 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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
create(ClientContext clientContext)
public static final HttpJsonExternalVpnGatewaysStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonExternalVpnGatewaysStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ExternalVpnGatewaysStubSettings settings)
public static final HttpJsonExternalVpnGatewaysStub create(ExternalVpnGatewaysStubSettings settings)
Parameter
Returns
Exceptions
deleteCallable()
public UnaryCallable<DeleteExternalVpnGatewayRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteExternalVpnGatewayRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetExternalVpnGatewayRequest,ExternalVpnGateway> getCallable()
Returns
Overrides
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
insertCallable()
public UnaryCallable<InsertExternalVpnGatewayRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertExternalVpnGatewayRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListExternalVpnGatewaysRequest,ExternalVpnGatewayList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListExternalVpnGatewaysRequest,ExternalVpnGatewaysClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsExternalVpnGatewayRequest,Operation> setLabelsCallable()
Returns
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsExternalVpnGatewayRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsExternalVpnGatewayRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Overrides