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.ExportServiceClientNamespace
Google.Cloud.Profiler.V2Assembly
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 |
CallInvokerThe callInvoker to use to make remote calls. |
ExportServiceClient(ChannelBase)
public ExportServiceClient(ChannelBase channel)Creates a new client for ExportService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe 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 |
ClientBaseClientBaseConfigurationThe 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 |
ListProfilesRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListProfilesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListProfilesRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListProfilesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
|