Cloud Profiler v2 API - Class ExportServiceClientImpl (2.4.0)

public sealed class ExportServiceClientImpl : ExportServiceClient

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

ExportService client wrapper implementation, for convenient use.

Inheritance

object > ExportServiceClient > ExportServiceClientImpl

Namespace

Google.Cloud.Profiler.V2

Assembly

Google.Cloud.Profiler.V2.dll

Remarks

Service allows existing Cloud Profiler customers to export their profile data out of Google Cloud.

Constructors

ExportServiceClientImpl(ExportServiceClient, ExportServiceSettings, ILogger)

public ExportServiceClientImpl(ExportService.ExportServiceClient grpcClient, ExportServiceSettings settings, ILogger logger)

Constructs a client wrapper for the ExportService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientExportServiceExportServiceClient

The underlying gRPC client.

settingsExportServiceSettings

The base ExportServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ExportService.ExportServiceClient GrpcClient { get; }

The underlying gRPC ExportService client

Property Value
TypeDescription
ExportServiceExportServiceClient
Overrides

Methods

ListProfiles(ListProfilesRequest, CallSettings)

public override PagedEnumerable<ListProfilesResponse, Profile> ListProfiles(ListProfilesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListProfilesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListProfilesResponseProfile

A pageable sequence of Profile resources.

Overrides

ListProfilesAsync(ListProfilesRequest, CallSettings)

public override PagedAsyncEnumerable<ListProfilesResponse, Profile> ListProfilesAsync(ListProfilesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListProfilesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListProfilesResponseProfile

A pageable asynchronous sequence of Profile resources.

Overrides