Cloud Profiler v2 API - Class ExportService.ExportServiceClient (2.3.0)

public class ExportService.ExportServiceClient : ClientBase<ExportService.ExportServiceClient>

Reference documentation and code samples for the Cloud Profiler v2 API class ExportService.ExportServiceClient.

Client for ExportService

Inheritance

object > ClientBase > ClientBaseExportServiceExportServiceClient > ExportService.ExportServiceClient

Namespace

Google.Cloud.Profiler.V2

Assembly

Google.Cloud.Profiler.V2.dll

Constructors

ExportServiceClient()

protected ExportServiceClient()

Protected parameterless constructor to allow creation of test doubles.

ExportServiceClient(CallInvoker)

public ExportServiceClient(CallInvoker callInvoker)

Creates a new client for ExportService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ExportServiceClient(ChannelBase)

public ExportServiceClient(ChannelBase channel)

Creates a new client for ExportService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ExportServiceClient(ClientBaseConfiguration)

protected ExportServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

ListProfiles(ListProfilesRequest, CallOptions)

public virtual ListProfilesResponse ListProfiles(ListProfilesRequest request, CallOptions options)

Lists profiles which have been collected so far and for which the caller has permission to view.

Parameters
NameDescription
requestListProfilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListProfilesResponse

The response received from the server.

ListProfiles(ListProfilesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListProfilesResponse ListProfiles(ListProfilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists profiles which have been collected so far and for which the caller has permission to view.

Parameters
NameDescription
requestListProfilesRequest

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
ListProfilesResponse

The response received from the server.

ListProfilesAsync(ListProfilesRequest, CallOptions)

public virtual AsyncUnaryCall<ListProfilesResponse> ListProfilesAsync(ListProfilesRequest request, CallOptions options)

Lists profiles which have been collected so far and for which the caller has permission to view.

Parameters
NameDescription
requestListProfilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListProfilesResponse

The call object.

ListProfilesAsync(ListProfilesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListProfilesResponse> ListProfilesAsync(ListProfilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists profiles which have been collected so far and for which the caller has permission to view.

Parameters
NameDescription
requestListProfilesRequest

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
AsyncUnaryCallListProfilesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override ExportService.ExportServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ExportServiceExportServiceClient
Overrides