Cloud AI Platform v1 API - Class LlmUtilityServiceSettings (3.9.0)

public sealed class LlmUtilityServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud AI Platform v1 API class LlmUtilityServiceSettings.

Settings for LlmUtilityServiceClient instances.

Inheritance

object > ServiceSettingsBase > LlmUtilityServiceSettings

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

LlmUtilityServiceSettings()

public LlmUtilityServiceSettings()

Constructs a new LlmUtilityServiceSettings object with default settings.

Properties

ComputeTokensSettings

public CallSettings ComputeTokensSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LlmUtilityServiceClient.ComputeTokens and LlmUtilityServiceClient.ComputeTokensAsync.

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

CountTokensSettings

public CallSettings CountTokensSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LlmUtilityServiceClient.CountTokens and LlmUtilityServiceClient.CountTokensAsync.

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

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
Type Description
LocationsSettings

Methods

Clone()

public LlmUtilityServiceSettings Clone()

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

Returns
Type Description
LlmUtilityServiceSettings

A deep clone of this LlmUtilityServiceSettings object.

GetDefault()

public static LlmUtilityServiceSettings GetDefault()

Get a new instance of the default LlmUtilityServiceSettings.

Returns
Type Description
LlmUtilityServiceSettings

A new instance of the default LlmUtilityServiceSettings.