Class CloudCatalogGrpc.CloudCatalogStub (2.11.0)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestListServicesRequest
responseObserverio.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
NameDescription
requestListSkusRequest
responseObserverio.grpc.stub.StreamObserver<ListSkusResponse>