Discovery Engine v1 API - Class EngineServiceSettings (1.2.0)

public sealed class EngineServiceSettings : ServiceSettingsBase

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

Settings for EngineServiceClient instances.

Inheritance

object > ServiceSettingsBase > EngineServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.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

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.