Class ProvisioningGrpc.ProvisioningBlockingStub (0.1.0)

public static final class ProvisioningGrpc.ProvisioningBlockingStub extends AbstractBlockingStub<ProvisioningGrpc.ProvisioningBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > ProvisioningGrpc.ProvisioningBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createApiHubInstance(CreateApiHubInstanceRequest request)

public Operation createApiHubInstance(CreateApiHubInstanceRequest request)

Provisions instance resources for the API Hub.

Parameter
Name Description
request CreateApiHubInstanceRequest
Returns
Type Description
Operation

getApiHubInstance(GetApiHubInstanceRequest request)

public ApiHubInstance getApiHubInstance(GetApiHubInstanceRequest request)

Gets details of a single API Hub instance.

Parameter
Name Description
request GetApiHubInstanceRequest
Returns
Type Description
ApiHubInstance

lookupApiHubInstance(LookupApiHubInstanceRequest request)

public 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
LookupApiHubInstanceResponse