public sealed class AdaptationSettings : ServiceSettingsBase
Reference documentation and code samples for the Google Cloud Speech v1p1beta1 API class AdaptationSettings.
Settings for AdaptationClient instances.
Namespace
Google.Cloud.Speech.V1P1Beta1Assembly
Google.Cloud.Speech.V1P1Beta1.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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
AdaptationSettings | A deep clone of this AdaptationSettings object. |
GetDefault()
public static AdaptationSettings GetDefault()
Get a new instance of the default AdaptationSettings.
Returns | |
---|---|
Type | Description |
AdaptationSettings | A new instance of the default AdaptationSettings. |