Google Cloud Billing v1 API - Class CloudCatalogClientImpl (3.1.0)

public sealed class CloudCatalogClientImpl : CloudCatalogClient

Reference documentation and code samples for the Google Cloud Billing v1 API class CloudCatalogClientImpl.

CloudCatalog client wrapper implementation, for convenient use.

Inheritance

Object > CloudCatalogClient > CloudCatalogClientImpl

Namespace

Google.Cloud.Billing.V1

Assembly

Google.Cloud.Billing.V1.dll

Remarks

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

Constructors

CloudCatalogClientImpl(CloudCatalog.CloudCatalogClient, CloudCatalogSettings, ILogger)

public CloudCatalogClientImpl(CloudCatalog.CloudCatalogClient grpcClient, CloudCatalogSettings settings, ILogger logger)

Constructs a client wrapper for the CloudCatalog service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientCloudCatalog.CloudCatalogClient

The underlying gRPC client.

settingsCloudCatalogSettings

The base CloudCatalogSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override CloudCatalog.CloudCatalogClient GrpcClient { get; }

The underlying gRPC CloudCatalog client

Property Value
TypeDescription
CloudCatalog.CloudCatalogClient
Overrides

Methods

ListServices(ListServicesRequest, CallSettings)

public override PagedEnumerable<ListServicesResponse, Service> ListServices(ListServicesRequest request, CallSettings callSettings = null)

Lists all public cloud services.

Parameters
NameDescription
requestListServicesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListServicesResponse, Service>

A pageable sequence of Service resources.

Overrides

ListServicesAsync(ListServicesRequest, CallSettings)

public override PagedAsyncEnumerable<ListServicesResponse, Service> ListServicesAsync(ListServicesRequest request, CallSettings callSettings = null)

Lists all public cloud services.

Parameters
NameDescription
requestListServicesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListServicesResponse, Service>

A pageable asynchronous sequence of Service resources.

Overrides

ListSkus(ListSkusRequest, CallSettings)

public override PagedEnumerable<ListSkusResponse, Sku> ListSkus(ListSkusRequest request, CallSettings callSettings = null)

Lists all publicly available SKUs for a given cloud service.

Parameters
NameDescription
requestListSkusRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListSkusResponse, Sku>

A pageable sequence of Sku resources.

Overrides

ListSkusAsync(ListSkusRequest, CallSettings)

public override PagedAsyncEnumerable<ListSkusResponse, Sku> ListSkusAsync(ListSkusRequest request, CallSettings callSettings = null)

Lists all publicly available SKUs for a given cloud service.

Parameters
NameDescription
requestListSkusRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListSkusResponse, Sku>

A pageable asynchronous sequence of Sku resources.

Overrides