Discovery Engine v1beta API - Class EngineServiceSettings (1.0.0-beta17)

public sealed class EngineServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Discovery Engine v1beta API class EngineServiceSettings.

Settings for EngineServiceClient instances.

Inheritance

object > ServiceSettingsBase > EngineServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

EngineServiceSettings()

public EngineServiceSettings()

Constructs a new EngineServiceSettings object with default settings.

Properties

CreateEngineOperationsSettings

public OperationsSettings CreateEngineOperationsSettings { get; set; }

Long Running Operation settings for calls to EngineServiceClient.CreateEngine and EngineServiceClient.CreateEngineAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

CreateEngineSettings

public CallSettings CreateEngineSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EngineServiceClient.CreateEngine and EngineServiceClient.CreateEngineAsync.

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

DeleteEngineOperationsSettings

public OperationsSettings DeleteEngineOperationsSettings { get; set; }

Long Running Operation settings for calls to EngineServiceClient.DeleteEngine and EngineServiceClient.DeleteEngineAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

DeleteEngineSettings

public CallSettings DeleteEngineSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EngineServiceClient.DeleteEngine and EngineServiceClient.DeleteEngineAsync.

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

GetEngineSettings

public CallSettings GetEngineSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EngineServiceClient.GetEngine and EngineServiceClient.GetEngineAsync.

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

ListEnginesSettings

public CallSettings ListEnginesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EngineServiceClient.ListEngines and EngineServiceClient.ListEnginesAsync.

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

PauseEngineSettings

public CallSettings PauseEngineSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EngineServiceClient.PauseEngine and EngineServiceClient.PauseEngineAsync.

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

ResumeEngineSettings

public CallSettings ResumeEngineSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EngineServiceClient.ResumeEngine and EngineServiceClient.ResumeEngineAsync.

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

TuneEngineOperationsSettings

public OperationsSettings TuneEngineOperationsSettings { get; set; }

Long Running Operation settings for calls to EngineServiceClient.TuneEngine and EngineServiceClient.TuneEngineAsync.

Property Value
Type Description
OperationsSettings
Remarks

Uses default PollSettings of:

  • Initial delay: 20 seconds.
  • Delay multiplier: 1.5
  • Maximum delay: 45 seconds.
  • Total timeout: 24 hours.

TuneEngineSettings

public CallSettings TuneEngineSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EngineServiceClient.TuneEngine and EngineServiceClient.TuneEngineAsync.

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

UpdateEngineSettings

public CallSettings UpdateEngineSettings { get; set; }

CallSettings for synchronous and asynchronous calls to EngineServiceClient.UpdateEngine and EngineServiceClient.UpdateEngineAsync.

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

Methods

Clone()

public EngineServiceSettings Clone()

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

Returns
Type Description
EngineServiceSettings

A deep clone of this EngineServiceSettings object.

GetDefault()

public static EngineServiceSettings GetDefault()

Get a new instance of the default EngineServiceSettings.

Returns
Type Description
EngineServiceSettings

A new instance of the default EngineServiceSettings.