Class ProvisioningGrpc.ProvisioningStub (0.1.0)

public static final class ProvisioningGrpc.ProvisioningStub extends AbstractAsyncStub<ProvisioningGrpc.ProvisioningStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > ProvisioningGrpc.ProvisioningStub

Methods

build(Channel channel, CallOptions callOptions)

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

createApiHubInstance(CreateApiHubInstanceRequest request, StreamObserver<Operation> responseObserver)

public void createApiHubInstance(CreateApiHubInstanceRequest request, StreamObserver<Operation> responseObserver)

Provisions instance resources for the API Hub.

Parameters
Name Description
request CreateApiHubInstanceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getApiHubInstance(GetApiHubInstanceRequest request, StreamObserver<ApiHubInstance> responseObserver)

public void getApiHubInstance(GetApiHubInstanceRequest request, StreamObserver<ApiHubInstance> responseObserver)

Gets details of a single API Hub instance.

Parameters
Name Description
request GetApiHubInstanceRequest
responseObserver io.grpc.stub.StreamObserver<ApiHubInstance>

lookupApiHubInstance(LookupApiHubInstanceRequest request, StreamObserver<LookupApiHubInstanceResponse> responseObserver)

public void lookupApiHubInstance(LookupApiHubInstanceRequest request, StreamObserver<LookupApiHubInstanceResponse> responseObserver)

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.

Parameters
Name Description
request LookupApiHubInstanceRequest
responseObserver io.grpc.stub.StreamObserver<LookupApiHubInstanceResponse>