Class CloudCatalogGrpc.CloudCatalogStub (2.42.0)

public static final class CloudCatalogGrpc.CloudCatalogStub extends AbstractAsyncStub<CloudCatalogGrpc.CloudCatalogStub>

A stub to allow clients to do asynchronous rpc calls to service CloudCatalog.

A catalog of Google Cloud Platform services and SKUs. Provides pricing information and metadata on Google Cloud Platform services and SKUs.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > CloudCatalogGrpc.CloudCatalogStub

Methods

build(Channel channel, CallOptions callOptions)

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

listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)

public void listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)

Lists all public cloud services.

Parameters
Name Description
request ListServicesRequest
responseObserver io.grpc.stub.StreamObserver<ListServicesResponse>

listSkus(ListSkusRequest request, StreamObserver<ListSkusResponse> responseObserver)

public void listSkus(ListSkusRequest request, StreamObserver<ListSkusResponse> responseObserver)

Lists all publicly available SKUs for a given cloud service.

Parameters
Name Description
request ListSkusRequest
responseObserver io.grpc.stub.StreamObserver<ListSkusResponse>