Cloud Profiler v2 API - Class ExportService.ExportServiceClient (2.6.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ExportServiceClient(ChannelBase)

public ExportServiceClient(ChannelBase channel)

Creates a new client for ExportService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ExportServiceClient(ClientBaseConfiguration)

protected ExportServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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
Name Description
request ListProfilesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListProfilesRequest

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request ListProfilesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListProfilesRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallListProfilesResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ExportServiceExportServiceClient
Overrides