Cloud Profiler v2 API - Class ExportServiceClientImpl (2.5.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
Name Description
grpcClient ExportServiceExportServiceClient

The underlying gRPC client.

settings ExportServiceSettings

The base ExportServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ExportService.ExportServiceClient GrpcClient { get; }

The underlying gRPC ExportService client

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListProfilesResponseProfile

A pageable asynchronous sequence of Profile resources.

Overrides