3.78.0 (latest) 3.77.0 3.76.0 3.75.0 3.74.0 3.73.0 3.72.0 3.71.0 3.70.0 3.69.0 3.68.0 3.67.0 3.66.0 3.65.0 3.64.0 3.63.0 3.62.0 3.61.0 3.60.0 3.59.0 3.58.0 3.57.0 3.56.0 3.55.0 3.54.0 3.53.0 3.52.0 3.51.0 3.50.0 3.49.0 3.48.0 3.47.0 3.46.0 3.45.0 3.44.0 3.43.0 3.42.0 3.41.0 3.40.0 3.39.0 3.38.0 3.37.0 3.36.0 3.35.0 3.34.0 3.33.0 3.32.0 3.31.0 3.30.0 3.29.0 3.28.0 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.28.0 2.27.0 2.26.0 2.25.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class GenAiCacheServiceClientImpl : GenAiCacheServiceClient

Reference documentation and code samples for the Vertex AI v1 API class GenAiCacheServiceClientImpl.

GenAiCacheService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [GenAiCacheServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt) \> GenAiCacheServiceClientImpl

## Inherited Members

[GenAiCacheServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_DefaultEndpoint) [GenAiCacheServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_DefaultScopes) [GenAiCacheServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_ServiceMetadata) [GenAiCacheServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_CreateAsync_System_Threading_CancellationToken_) [GenAiCacheServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_Create) [GenAiCacheServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_ShutdownDefaultChannelsAsync) [GenAiCacheServiceClient.CreateCachedContentAsync(CreateCachedContentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_CreateCachedContentAsync_Google_Cloud_AIPlatform_V1_CreateCachedContentRequest_System_Threading_CancellationToken_) [GenAiCacheServiceClient.CreateCachedContent(string, CachedContent, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_CreateCachedContent_System_String_Google_Cloud_AIPlatform_V1_CachedContent_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.CreateCachedContentAsync(string, CachedContent, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_CreateCachedContentAsync_System_String_Google_Cloud_AIPlatform_V1_CachedContent_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.CreateCachedContentAsync(string, CachedContent, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_CreateCachedContentAsync_System_String_Google_Cloud_AIPlatform_V1_CachedContent_System_Threading_CancellationToken_) [GenAiCacheServiceClient.CreateCachedContent(LocationName, CachedContent, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_CreateCachedContent_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_AIPlatform_V1_CachedContent_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.CreateCachedContentAsync(LocationName, CachedContent, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_CreateCachedContentAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_AIPlatform_V1_CachedContent_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.CreateCachedContentAsync(LocationName, CachedContent, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_CreateCachedContentAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_AIPlatform_V1_CachedContent_System_Threading_CancellationToken_) [GenAiCacheServiceClient.GetCachedContentAsync(GetCachedContentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_GetCachedContentAsync_Google_Cloud_AIPlatform_V1_GetCachedContentRequest_System_Threading_CancellationToken_) [GenAiCacheServiceClient.GetCachedContent(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_GetCachedContent_System_String_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.GetCachedContentAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_GetCachedContentAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.GetCachedContentAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_GetCachedContentAsync_System_String_System_Threading_CancellationToken_) [GenAiCacheServiceClient.GetCachedContent(CachedContentName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_GetCachedContent_Google_Cloud_AIPlatform_V1_CachedContentName_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.GetCachedContentAsync(CachedContentName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_GetCachedContentAsync_Google_Cloud_AIPlatform_V1_CachedContentName_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.GetCachedContentAsync(CachedContentName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_GetCachedContentAsync_Google_Cloud_AIPlatform_V1_CachedContentName_System_Threading_CancellationToken_) [GenAiCacheServiceClient.UpdateCachedContentAsync(UpdateCachedContentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_UpdateCachedContentAsync_Google_Cloud_AIPlatform_V1_UpdateCachedContentRequest_System_Threading_CancellationToken_) [GenAiCacheServiceClient.UpdateCachedContent(CachedContent, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_UpdateCachedContent_Google_Cloud_AIPlatform_V1_CachedContent_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.UpdateCachedContentAsync(CachedContent, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_UpdateCachedContentAsync_Google_Cloud_AIPlatform_V1_CachedContent_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.UpdateCachedContentAsync(CachedContent, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_UpdateCachedContentAsync_Google_Cloud_AIPlatform_V1_CachedContent_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [GenAiCacheServiceClient.DeleteCachedContentAsync(DeleteCachedContentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_DeleteCachedContentAsync_Google_Cloud_AIPlatform_V1_DeleteCachedContentRequest_System_Threading_CancellationToken_) [GenAiCacheServiceClient.DeleteCachedContent(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_DeleteCachedContent_System_String_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.DeleteCachedContentAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_DeleteCachedContentAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.DeleteCachedContentAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_DeleteCachedContentAsync_System_String_System_Threading_CancellationToken_) [GenAiCacheServiceClient.DeleteCachedContent(CachedContentName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_DeleteCachedContent_Google_Cloud_AIPlatform_V1_CachedContentName_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.DeleteCachedContentAsync(CachedContentName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_DeleteCachedContentAsync_Google_Cloud_AIPlatform_V1_CachedContentName_Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.DeleteCachedContentAsync(CachedContentName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_DeleteCachedContentAsync_Google_Cloud_AIPlatform_V1_CachedContentName_System_Threading_CancellationToken_) [GenAiCacheServiceClient.ListCachedContents(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_ListCachedContents_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.ListCachedContentsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_ListCachedContentsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.ListCachedContents(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_ListCachedContents_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [GenAiCacheServiceClient.ListCachedContentsAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_ListCachedContentsAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [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.AIPlatform.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.md.txt)

## Assembly

Google.Cloud.AIPlatform.V1.dll

## Remarks

Service for managing Vertex AI's CachedContent resource.

## Constructors

### GenAiCacheServiceClientImpl(GenAiCacheServiceClient, GenAiCacheServiceSettings, ILogger)

    public GenAiCacheServiceClientImpl(GenAiCacheService.GenAiCacheServiceClient grpcClient, GenAiCacheServiceSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `GenAiCacheServiceGenAiCacheServiceClient` The underlying gRPC client. |
| `settings` | `GenAiCacheServiceSettings` The base [GenAiCacheServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceSettings.md.txt) used within this client. |
| `logger` | `ILogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override GenAiCacheService.GenAiCacheServiceClient GrpcClient { get; }

The underlying gRPC GenAiCacheService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `GenAiCacheServiceGenAiCacheServiceClient` |   |

**Overrides** [GenAiCacheServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_GrpcClient)

### IAMPolicyClient

    public override IAMPolicyClient IAMPolicyClient { get; }

The [IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.md.txt) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `IAMPolicyClient` |   |

**Overrides** [GenAiCacheServiceClient.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_IAMPolicyClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.md.txt) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationsClient` |   |

**Overrides** [GenAiCacheServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_LocationsClient)

## Methods

### CreateCachedContent(CreateCachedContentRequest, CallSettings)

    public override CachedContent CreateCachedContent(CreateCachedContentRequest request, CallSettings callSettings = null)

Creates cached content, this call will initialize the cached content in the
data storage, and users need to pay for the cache data storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateCachedContentRequest` 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** |
| `CachedContent` | The RPC response. |

**Overrides** [GenAiCacheServiceClient.CreateCachedContent(CreateCachedContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_CreateCachedContent_Google_Cloud_AIPlatform_V1_CreateCachedContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateCachedContentAsync(CreateCachedContentRequest, CallSettings)

    public override Task<CachedContent> CreateCachedContentAsync(CreateCachedContentRequest request, CallSettings callSettings = null)

Creates cached content, this call will initialize the cached content in the
data storage, and users need to pay for the cache data storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateCachedContentRequest` 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** |
| `TaskCachedContent` | A Task containing the RPC response. |

**Overrides** [GenAiCacheServiceClient.CreateCachedContentAsync(CreateCachedContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_CreateCachedContentAsync_Google_Cloud_AIPlatform_V1_CreateCachedContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteCachedContent(DeleteCachedContentRequest, CallSettings)

    public override void DeleteCachedContent(DeleteCachedContentRequest request, CallSettings callSettings = null)

Deletes cached content

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteCachedContentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

**Overrides** [GenAiCacheServiceClient.DeleteCachedContent(DeleteCachedContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_DeleteCachedContent_Google_Cloud_AIPlatform_V1_DeleteCachedContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteCachedContentAsync(DeleteCachedContentRequest, CallSettings)

    public override Task DeleteCachedContentAsync(DeleteCachedContentRequest request, CallSettings callSettings = null)

Deletes cached content

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteCachedContentRequest` 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** |
| `Task` | A Task containing the RPC response. |

**Overrides** [GenAiCacheServiceClient.DeleteCachedContentAsync(DeleteCachedContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_DeleteCachedContentAsync_Google_Cloud_AIPlatform_V1_DeleteCachedContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetCachedContent(GetCachedContentRequest, CallSettings)

    public override CachedContent GetCachedContent(GetCachedContentRequest request, CallSettings callSettings = null)

Gets cached content configurations

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetCachedContentRequest` 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** |
| `CachedContent` | The RPC response. |

**Overrides** [GenAiCacheServiceClient.GetCachedContent(GetCachedContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_GetCachedContent_Google_Cloud_AIPlatform_V1_GetCachedContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetCachedContentAsync(GetCachedContentRequest, CallSettings)

    public override Task<CachedContent> GetCachedContentAsync(GetCachedContentRequest request, CallSettings callSettings = null)

Gets cached content configurations

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetCachedContentRequest` 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** |
| `TaskCachedContent` | A Task containing the RPC response. |

**Overrides** [GenAiCacheServiceClient.GetCachedContentAsync(GetCachedContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_GetCachedContentAsync_Google_Cloud_AIPlatform_V1_GetCachedContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListCachedContents(ListCachedContentsRequest, CallSettings)

    public override PagedEnumerable<ListCachedContentsResponse, CachedContent> ListCachedContents(ListCachedContentsRequest request, CallSettings callSettings = null)

Lists cached contents in a project

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListCachedContentsRequest` 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** |
| `PagedEnumerableListCachedContentsResponseCachedContent` | A pageable sequence of [CachedContent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.CachedContent.md.txt) resources. |

**Overrides** [GenAiCacheServiceClient.ListCachedContents(ListCachedContentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_ListCachedContents_Google_Cloud_AIPlatform_V1_ListCachedContentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListCachedContentsAsync(ListCachedContentsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListCachedContentsResponse, CachedContent> ListCachedContentsAsync(ListCachedContentsRequest request, CallSettings callSettings = null)

Lists cached contents in a project

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListCachedContentsRequest` 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** |
| `PagedAsyncEnumerableListCachedContentsResponseCachedContent` | A pageable asynchronous sequence of [CachedContent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.CachedContent.md.txt) resources. |

**Overrides** [GenAiCacheServiceClient.ListCachedContentsAsync(ListCachedContentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_ListCachedContentsAsync_Google_Cloud_AIPlatform_V1_ListCachedContentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateCachedContent(UpdateCachedContentRequest, CallSettings)

    public override CachedContent UpdateCachedContent(UpdateCachedContentRequest request, CallSettings callSettings = null)

Updates cached content configurations

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateCachedContentRequest` 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** |
| `CachedContent` | The RPC response. |

**Overrides** [GenAiCacheServiceClient.UpdateCachedContent(UpdateCachedContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_UpdateCachedContent_Google_Cloud_AIPlatform_V1_UpdateCachedContentRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateCachedContentAsync(UpdateCachedContentRequest, CallSettings)

    public override Task<CachedContent> UpdateCachedContentAsync(UpdateCachedContentRequest request, CallSettings callSettings = null)

Updates cached content configurations

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateCachedContentRequest` 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** |
| `TaskCachedContent` | A Task containing the RPC response. |

**Overrides** [GenAiCacheServiceClient.UpdateCachedContentAsync(UpdateCachedContentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.GenAiCacheServiceClient.md.txt#Google_Cloud_AIPlatform_V1_GenAiCacheServiceClient_UpdateCachedContentAsync_Google_Cloud_AIPlatform_V1_UpdateCachedContentRequest_Google_Api_Gax_Grpc_CallSettings_)