Retail v2 API - Class GenerativeQuestionServiceSettings (2.12.0)

public sealed class GenerativeQuestionServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Retail v2 API class GenerativeQuestionServiceSettings.

Settings for GenerativeQuestionServiceClient instances.

Inheritance

object > ServiceSettingsBase > GenerativeQuestionServiceSettings

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

GenerativeQuestionServiceSettings()

public GenerativeQuestionServiceSettings()

Constructs a new GenerativeQuestionServiceSettings object with default settings.

Properties

BatchUpdateGenerativeQuestionConfigsSettings

public CallSettings BatchUpdateGenerativeQuestionConfigsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GenerativeQuestionServiceClient.BatchUpdateGenerativeQuestionConfigs and GenerativeQuestionServiceClient.BatchUpdateGenerativeQuestionConfigsAsync.

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

GetGenerativeQuestionsFeatureConfigSettings

public CallSettings GetGenerativeQuestionsFeatureConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GenerativeQuestionServiceClient.GetGenerativeQuestionsFeatureConfig and GenerativeQuestionServiceClient.GetGenerativeQuestionsFeatureConfigAsync.

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

ListGenerativeQuestionConfigsSettings

public CallSettings ListGenerativeQuestionConfigsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GenerativeQuestionServiceClient.ListGenerativeQuestionConfigs and GenerativeQuestionServiceClient.ListGenerativeQuestionConfigsAsync.

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

UpdateGenerativeQuestionConfigSettings

public CallSettings UpdateGenerativeQuestionConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GenerativeQuestionServiceClient.UpdateGenerativeQuestionConfig and GenerativeQuestionServiceClient.UpdateGenerativeQuestionConfigAsync.

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

UpdateGenerativeQuestionsFeatureConfigSettings

public CallSettings UpdateGenerativeQuestionsFeatureConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GenerativeQuestionServiceClient.UpdateGenerativeQuestionsFeatureConfig and GenerativeQuestionServiceClient.UpdateGenerativeQuestionsFeatureConfigAsync.

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

Methods

Clone()

public GenerativeQuestionServiceSettings Clone()

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

Returns
Type Description
GenerativeQuestionServiceSettings

A deep clone of this GenerativeQuestionServiceSettings object.

GetDefault()

public static GenerativeQuestionServiceSettings GetDefault()

Get a new instance of the default GenerativeQuestionServiceSettings.

Returns
Type Description
GenerativeQuestionServiceSettings

A new instance of the default GenerativeQuestionServiceSettings.