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.
Namespace
Google.Cloud.Billing.V1Assembly
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(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 | |
---|---|
Name | Description |
grpcClient | CloudCatalogCloudCatalogClient The underlying gRPC client. |
settings | CloudCatalogSettings The base CloudCatalogSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override CloudCatalog.CloudCatalogClient GrpcClient { get; }
The underlying gRPC CloudCatalog client
Property Value | |
---|---|
Type | Description |
CloudCatalogCloudCatalogClient |
Methods
ListServices(ListServicesRequest, CallSettings)
public override PagedEnumerable<ListServicesResponse, Service> ListServices(ListServicesRequest request, CallSettings callSettings = null)
Lists all public cloud services.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListServicesResponseService | A pageable sequence of Service resources. |
ListServicesAsync(ListServicesRequest, CallSettings)
public override PagedAsyncEnumerable<ListServicesResponse, Service> ListServicesAsync(ListServicesRequest request, CallSettings callSettings = null)
Lists all public cloud services.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListServicesResponseService | A pageable asynchronous sequence of Service resources. |
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 | |
---|---|
Name | Description |
request | ListSkusRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListSkusResponseSku | A pageable sequence of Sku resources. |
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 | |
---|---|
Name | Description |
request | ListSkusRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListSkusResponseSku | A pageable asynchronous sequence of Sku resources. |