Class ProvisioningGrpc.ProvisioningFutureStub (0.2.0)

public static final class ProvisioningGrpc.ProvisioningFutureStub extends AbstractFutureStub<ProvisioningGrpc.ProvisioningFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service Provisioning.

This service is used for managing the data plane provisioning of the API hub.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ProvisioningGrpc.ProvisioningFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ProvisioningGrpc.ProvisioningFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ProvisioningGrpc.ProvisioningFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createApiHubInstance(CreateApiHubInstanceRequest request)

public ListenableFuture<Operation> createApiHubInstance(CreateApiHubInstanceRequest request)

Provisions instance resources for the API Hub.

Parameter
Name Description
request CreateApiHubInstanceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getApiHubInstance(GetApiHubInstanceRequest request)

public ListenableFuture<ApiHubInstance> getApiHubInstance(GetApiHubInstanceRequest request)

Gets details of a single API Hub instance.

Parameter
Name Description
request GetApiHubInstanceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ApiHubInstance>

lookupApiHubInstance(LookupApiHubInstanceRequest request)

public ListenableFuture<LookupApiHubInstanceResponse> lookupApiHubInstance(LookupApiHubInstanceRequest request)

Looks up an Api Hub instance in a given GCP project. There will always be only one Api Hub instance for a GCP project across all locations.

Parameter
Name Description
request LookupApiHubInstanceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LookupApiHubInstanceResponse>