Google Cloud Billing v1 API - Class CloudCatalog.CloudCatalogClient (3.7.0)

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.CloudCatalogClient

Namespace

Google.Cloud.Billing.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

CloudCatalogClient(ChannelBase)

public CloudCatalogClient(ChannelBase channel)

Creates a new client for CloudCatalog

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

CloudCatalogClient(ClientBaseConfiguration)

protected CloudCatalogClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

ListServices(ListServicesRequest, CallOptions)

public virtual ListServicesResponse ListServices(ListServicesRequest request, CallOptions options)

Lists all public cloud services.

Parameters
NameDescription
requestListServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListServicesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListServicesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListSkusRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListSkusRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListSkusRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListSkusRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListSkusResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override CloudCatalog.CloudCatalogClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
CloudCatalogCloudCatalogClient
Overrides