Cloud AI Platform v1beta1 API - Class GenAiCacheServiceSettings (1.0.0-beta01)

public sealed class GenAiCacheServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class GenAiCacheServiceSettings.

Settings for GenAiCacheServiceClient instances.

Inheritance

object > ServiceSettingsBase > GenAiCacheServiceSettings

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

GenAiCacheServiceSettings()

public GenAiCacheServiceSettings()

Constructs a new GenAiCacheServiceSettings object with default settings.

Properties

CreateCachedContentSettings

public CallSettings CreateCachedContentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GenAiCacheServiceClient.CreateCachedContent and GenAiCacheServiceClient.CreateCachedContentAsync .

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

DeleteCachedContentSettings

public CallSettings DeleteCachedContentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GenAiCacheServiceClient.DeleteCachedContent and GenAiCacheServiceClient.DeleteCachedContentAsync .

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

GetCachedContentSettings

public CallSettings GetCachedContentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GenAiCacheServiceClient.GetCachedContent and GenAiCacheServiceClient.GetCachedContentAsync.

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

IAMPolicySettings

public IAMPolicySettings IAMPolicySettings { get; set; }

The settings to use for the IAMPolicyClient associated with the client.

Property Value
Type Description
IAMPolicySettings

ListCachedContentsSettings

public CallSettings ListCachedContentsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GenAiCacheServiceClient.ListCachedContents and GenAiCacheServiceClient.ListCachedContentsAsync .

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

UpdateCachedContentSettings

public CallSettings UpdateCachedContentSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GenAiCacheServiceClient.UpdateCachedContent and GenAiCacheServiceClient.UpdateCachedContentAsync .

Property Value
Type Description
CallSettings
Remarks
  • This call will not be retried.
  • No timeout is applied.

Methods

Clone()

public GenAiCacheServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
GenAiCacheServiceSettings

A deep clone of this GenAiCacheServiceSettings object.

GetDefault()

public static GenAiCacheServiceSettings GetDefault()

Get a new instance of the default GenAiCacheServiceSettings.

Returns
Type Description
GenAiCacheServiceSettings

A new instance of the default GenAiCacheServiceSettings.