# Cloud Profiler v2 API - Class ProfilerServiceClientImpl (2.7.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.7.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClientImpl)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.6.0/Google.Cloud.Profiler.V2.ProfilerServiceClientImpl)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.5.0/Google.Cloud.Profiler.V2.ProfilerServiceClientImpl)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.4.0/Google.Cloud.Profiler.V2.ProfilerServiceClientImpl)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.3.0/Google.Cloud.Profiler.V2.ProfilerServiceClientImpl)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.2.0/Google.Cloud.Profiler.V2.ProfilerServiceClientImpl)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.1.0/Google.Cloud.Profiler.V2.ProfilerServiceClientImpl)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.0.0/Google.Cloud.Profiler.V2.ProfilerServiceClientImpl)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.2.0/Google.Cloud.Profiler.V2.ProfilerServiceClientImpl)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.1.0/Google.Cloud.Profiler.V2.ProfilerServiceClientImpl)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.0.0/Google.Cloud.Profiler.V2.ProfilerServiceClientImpl)

    public sealed class ProfilerServiceClientImpl : ProfilerServiceClient

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

ProfilerService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ProfilerServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient) \> ProfilerServiceClientImpl

## Inherited Members

[ProfilerServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_DefaultEndpoint) [ProfilerServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_DefaultScopes) [ProfilerServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_ServiceMetadata) [ProfilerServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateAsync_System_Threading_CancellationToken_) [ProfilerServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_Create) [ProfilerServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_ShutdownDefaultChannelsAsync) [ProfilerServiceClient.CreateProfileAsync(CreateProfileRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateProfileAsync_Google_Cloud_Profiler_V2_CreateProfileRequest_System_Threading_CancellationToken_) [ProfilerServiceClient.CreateOfflineProfileAsync(CreateOfflineProfileRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateOfflineProfileAsync_Google_Cloud_Profiler_V2_CreateOfflineProfileRequest_System_Threading_CancellationToken_) [ProfilerServiceClient.CreateOfflineProfile(string, Profile, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateOfflineProfile_System_String_Google_Cloud_Profiler_V2_Profile_Google_Api_Gax_Grpc_CallSettings_) [ProfilerServiceClient.CreateOfflineProfileAsync(string, Profile, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateOfflineProfileAsync_System_String_Google_Cloud_Profiler_V2_Profile_Google_Api_Gax_Grpc_CallSettings_) [ProfilerServiceClient.CreateOfflineProfileAsync(string, Profile, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateOfflineProfileAsync_System_String_Google_Cloud_Profiler_V2_Profile_System_Threading_CancellationToken_) [ProfilerServiceClient.CreateOfflineProfile(ProjectName, Profile, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateOfflineProfile_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_Profiler_V2_Profile_Google_Api_Gax_Grpc_CallSettings_) [ProfilerServiceClient.CreateOfflineProfileAsync(ProjectName, Profile, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateOfflineProfileAsync_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_Profiler_V2_Profile_Google_Api_Gax_Grpc_CallSettings_) [ProfilerServiceClient.CreateOfflineProfileAsync(ProjectName, Profile, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateOfflineProfileAsync_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_Profiler_V2_Profile_System_Threading_CancellationToken_) [ProfilerServiceClient.UpdateProfileAsync(UpdateProfileRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_UpdateProfileAsync_Google_Cloud_Profiler_V2_UpdateProfileRequest_System_Threading_CancellationToken_) [ProfilerServiceClient.UpdateProfile(Profile, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_UpdateProfile_Google_Cloud_Profiler_V2_Profile_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ProfilerServiceClient.UpdateProfileAsync(Profile, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_UpdateProfileAsync_Google_Cloud_Profiler_V2_Profile_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ProfilerServiceClient.UpdateProfileAsync(Profile, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_UpdateProfileAsync_Google_Cloud_Profiler_V2_Profile_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Profiler.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2)

## Assembly

Google.Cloud.Profiler.V2.dll

## Remarks

Manage the collection of continuous profiling data provided by profiling
agents running in the cloud or by an offline provider of profiling data.

**The APIs listed in this service are intended for use within our profiler
agents only.**

## Constructors

### ProfilerServiceClientImpl(ProfilerServiceClient, ProfilerServiceSettings, ILogger)

    public ProfilerServiceClientImpl(ProfilerService.ProfilerServiceClient grpcClient, ProfilerServiceSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerService.ProfilerServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceSettings` The base [ProfilerServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override ProfilerService.ProfilerServiceClient GrpcClient { get; }

The underlying gRPC ProfilerService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerService.ProfilerServiceClient` |   |

**Overrides** [ProfilerServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_GrpcClient)

## Methods

### CreateOfflineProfile(CreateOfflineProfileRequest, CallSettings)

    public override Profile CreateOfflineProfile(CreateOfflineProfileRequest request, CallSettings callSettings = null)

CreateOfflineProfile creates a new profile resource in the offline
mode. The client provides the profile to create along with the profile
bytes, the server records it.

*Direct use of this API is discouraged, please use a [supported
profiler
agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent)
instead for profile collection.*

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.Profile` | The RPC response. |

**Overrides** [ProfilerServiceClient.CreateOfflineProfile(CreateOfflineProfileRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateOfflineProfile_Google_Cloud_Profiler_V2_CreateOfflineProfileRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateOfflineProfileAsync(CreateOfflineProfileRequest, CallSettings)

    public override Task<Profile> CreateOfflineProfileAsync(CreateOfflineProfileRequest request, CallSettings callSettings = null)

CreateOfflineProfile creates a new profile resource in the offline
mode. The client provides the profile to create along with the profile
bytes, the server records it.

*Direct use of this API is discouraged, please use a [supported
profiler
agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent)
instead for profile collection.*

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.Profile` | A Task containing the RPC response. |

**Overrides** [ProfilerServiceClient.CreateOfflineProfileAsync(CreateOfflineProfileRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateOfflineProfileAsync_Google_Cloud_Profiler_V2_CreateOfflineProfileRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateProfile(CreateProfileRequest, CallSettings)

    public override Profile CreateProfile(CreateProfileRequest request, CallSettings callSettings = null)

CreateProfile creates a new profile resource in the online mode.

*Direct use of this API is discouraged, please use a [supported
profiler
agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent)
instead for profile collection.*

The server ensures that the new profiles are created at a constant rate per
deployment, so the creation request may hang for some time until the next
profile session is available.

The request may fail with ABORTED error if the creation is not available
within \~1m, the response will indicate the duration of the backoff the
client should take before attempting creating a profile again. The backoff
duration is returned in google.rpc.RetryInfo extension on the response
status. To a gRPC client, the extension will be return as a
binary-serialized proto in the trailing metadata item named
"google.rpc.retryinfo-bin".

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.CreateProfileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.Profile` | The RPC response. |

**Overrides** [ProfilerServiceClient.CreateProfile(CreateProfileRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateProfile_Google_Cloud_Profiler_V2_CreateProfileRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateProfileAsync(CreateProfileRequest, CallSettings)

    public override Task<Profile> CreateProfileAsync(CreateProfileRequest request, CallSettings callSettings = null)

CreateProfile creates a new profile resource in the online mode.

*Direct use of this API is discouraged, please use a [supported
profiler
agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent)
instead for profile collection.*

The server ensures that the new profiles are created at a constant rate per
deployment, so the creation request may hang for some time until the next
profile session is available.

The request may fail with ABORTED error if the creation is not available
within \~1m, the response will indicate the duration of the backoff the
client should take before attempting creating a profile again. The backoff
duration is returned in google.rpc.RetryInfo extension on the response
status. To a gRPC client, the extension will be return as a
binary-serialized proto in the trailing metadata item named
"google.rpc.retryinfo-bin".

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.CreateProfileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.Profile` | A Task containing the RPC response. |

**Overrides** [ProfilerServiceClient.CreateProfileAsync(CreateProfileRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_CreateProfileAsync_Google_Cloud_Profiler_V2_CreateProfileRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateProfile(UpdateProfileRequest, CallSettings)

    public override Profile UpdateProfile(UpdateProfileRequest request, CallSettings callSettings = null)

UpdateProfile updates the profile bytes and labels on the profile resource
created in the online mode. Updating the bytes for profiles created in the
offline mode is currently not supported: the profile content must be
provided at the time of the profile creation.

*Direct use of this API is discouraged, please use a [supported
profiler
agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent)
instead for profile collection.*

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.UpdateProfileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.Profile` | The RPC response. |

**Overrides** [ProfilerServiceClient.UpdateProfile(UpdateProfileRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_UpdateProfile_Google_Cloud_Profiler_V2_UpdateProfileRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateProfileAsync(UpdateProfileRequest, CallSettings)

    public override Task<Profile> UpdateProfileAsync(UpdateProfileRequest request, CallSettings callSettings = null)

UpdateProfile updates the profile bytes and labels on the profile resource
created in the online mode. Updating the bytes for profiles created in the
offline mode is currently not supported: the profile content must be
provided at the time of the profile creation.

*Direct use of this API is discouraged, please use a [supported
profiler
agent](https://cloud.google.com/profiler/docs/about-profiler#profiling_agent)
instead for profile collection.*

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.UpdateProfileRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.Profile` | A Task containing the RPC response. |

**Overrides** [ProfilerServiceClient.UpdateProfileAsync(UpdateProfileRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ProfilerServiceClient#Google_Cloud_Profiler_V2_ProfilerServiceClient_UpdateProfileAsync_Google_Cloud_Profiler_V2_UpdateProfileRequest_Google_Api_Gax_Grpc_CallSettings_)