Google Cloud Speech v1 API - Class AdaptationSettings (3.1.0)

public sealed class AdaptationSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Speech v1 API class AdaptationSettings.

Settings for AdaptationClient instances.

Inheritance

Object > ServiceSettingsBase > AdaptationSettings

Namespace

Google.Cloud.Speech.V1

Assembly

Google.Cloud.Speech.V1.dll

Constructors

AdaptationSettings()

public AdaptationSettings()

Constructs a new AdaptationSettings object with default settings.

Properties

CreateCustomClassSettings

public CallSettings CreateCustomClassSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdaptationClient.CreateCustomClass and AdaptationClient.CreateCustomClassAsync.

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

CreatePhraseSetSettings

public CallSettings CreatePhraseSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdaptationClient.CreatePhraseSet and AdaptationClient.CreatePhraseSetAsync.

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

DeleteCustomClassSettings

public CallSettings DeleteCustomClassSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdaptationClient.DeleteCustomClass and AdaptationClient.DeleteCustomClassAsync.

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

DeletePhraseSetSettings

public CallSettings DeletePhraseSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdaptationClient.DeletePhraseSet and AdaptationClient.DeletePhraseSetAsync.

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

GetCustomClassSettings

public CallSettings GetCustomClassSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdaptationClient.GetCustomClass and AdaptationClient.GetCustomClassAsync.

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

GetPhraseSetSettings

public CallSettings GetPhraseSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdaptationClient.GetPhraseSet and AdaptationClient.GetPhraseSetAsync.

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

ListCustomClassesSettings

public CallSettings ListCustomClassesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdaptationClient.ListCustomClasses and AdaptationClient.ListCustomClassesAsync.

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

ListPhraseSetSettings

public CallSettings ListPhraseSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdaptationClient.ListPhraseSet and AdaptationClient.ListPhraseSetAsync.

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

UpdateCustomClassSettings

public CallSettings UpdateCustomClassSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdaptationClient.UpdateCustomClass and AdaptationClient.UpdateCustomClassAsync.

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

UpdatePhraseSetSettings

public CallSettings UpdatePhraseSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdaptationClient.UpdatePhraseSet and AdaptationClient.UpdatePhraseSetAsync.

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

Methods

Clone()

public AdaptationSettings Clone()

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

Returns
TypeDescription
AdaptationSettings

A deep clone of this AdaptationSettings object.

GetDefault()

public static AdaptationSettings GetDefault()

Get a new instance of the default AdaptationSettings.

Returns
TypeDescription
AdaptationSettings

A new instance of the default AdaptationSettings.