public class 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 > ClientBase<CloudCatalog.CloudCatalogClient> > 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 | CallInvoker The callInvoker to use to make remote calls. |
CloudCatalogClient(ChannelBase)
public CloudCatalogClient(ChannelBase channel)
Creates a new client for CloudCatalog
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
CloudCatalogClient(ClientBase.ClientBaseConfiguration)
protected CloudCatalogClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
ListServices(ListServicesRequest, CallOptions)
public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)
Lists all public cloud services.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListServicesResponse | The response received from the server. |
ListServices(ListServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListServicesResponse ListServices(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all public cloud services.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 | ListServicesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListServicesResponse> | The call object. |
ListServicesAsync(ListServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListServicesResponse> ListServicesAsync(ListServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all public cloud services.
Parameters | |
---|---|
Name | Description |
request | ListServicesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListServicesResponse> | 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 | ListSkusRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListSkusResponse | The response received from the server. |
ListSkus(ListSkusRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListSkusResponse ListSkus(ListSkusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all publicly available SKUs for a given cloud service.
Parameters | |
---|---|
Name | Description |
request | ListSkusRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An 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 | ListSkusRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListSkusResponse> | The call object. |
ListSkusAsync(ListSkusRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListSkusResponse> ListSkusAsync(ListSkusRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists all publicly available SKUs for a given cloud service.
Parameters | |
---|---|
Name | Description |
request | ListSkusRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListSkusResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override CloudCatalog.CloudCatalogClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
CloudCatalog.CloudCatalogClient |