public class CloudCatalog.CloudCatalogClient : ClientBase<CloudCatalog.CloudCatalogClient>Reference documentation and code samples for the Google Cloud Billing v1 API class CloudCatalog.CloudCatalogClient.
Client for CloudCatalog
Inheritance
object > ClientBase > ClientBaseCloudCatalogCloudCatalogClient > CloudCatalog.CloudCatalogClientNamespace
Google.Cloud.Billing.V1Assembly
Google.Cloud.Billing.V1.dll
Constructors
CloudCatalogClient()
protected CloudCatalogClient()Protected parameterless constructor to allow creation of test doubles.
CloudCatalogClient(CallInvoker)
public CloudCatalogClient(CallInvoker callInvoker)Creates a new client for CloudCatalog that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
CloudCatalogClient(ChannelBase)
public CloudCatalogClient(ChannelBase channel)Creates a new client for CloudCatalog
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
CloudCatalogClient(ClientBaseConfiguration)
protected CloudCatalogClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
ListServices(ListServicesRequest, CallOptions)
public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)Lists all public cloud services.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse |
The response received from the server. |
ListServices(ListServicesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListServicesResponse ListServices(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all public cloud services.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse |
The response received from the server. |
ListServicesAsync(ListServicesRequest, CallOptions)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, CallOptions options)Lists all public cloud services.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListServicesResponse |
The call object. |
ListServicesAsync(ListServicesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all public cloud services.
| Parameters | |
|---|---|
| Name | Description |
request |
ListServicesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListServicesResponse |
The call object. |
ListSkus(ListSkusRequest, CallOptions)
public virtual ListSkusResponse ListSkus(ListSkusRequest request, CallOptions options)Lists all publicly available SKUs for a given cloud service.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSkusRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListSkusResponse |
The response received from the server. |
ListSkus(ListSkusRequest, Metadata, DateTime?, CancellationToken)
public virtual ListSkusResponse ListSkus(ListSkusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all publicly available SKUs for a given cloud service.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSkusRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListSkusResponse |
The response received from the server. |
ListSkusAsync(ListSkusRequest, CallOptions)
public virtual AsyncUnaryCall<ListSkusResponse> ListSkusAsync(ListSkusRequest request, CallOptions options)Lists all publicly available SKUs for a given cloud service.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSkusRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListSkusResponse |
The call object. |
ListSkusAsync(ListSkusRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListSkusResponse> ListSkusAsync(ListSkusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all publicly available SKUs for a given cloud service.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSkusRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListSkusResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override CloudCatalog.CloudCatalogClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
CloudCatalogCloudCatalogClient |
|