Class CloudCatalog.CloudCatalogClient (3.0.0)

public class CloudCatalogClient : ClientBase<CloudCatalog.CloudCatalogClient>

Client for CloudCatalog

Inheritance

Object > ClientBase > ClientBase<CloudCatalog.CloudCatalogClient> > 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(ClientBase.ClientBaseConfiguration)

protected CloudCatalogClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, 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
NameDescription
requestListServicesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
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
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, 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
NameDescription
requestListSkusRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
CloudCatalog.CloudCatalogClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Billing.V1.CloudCatalog.CloudCatalogClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)