Discovery Engine v1 API - Class SchemaServiceSettings (1.0.0-beta06)

public sealed class SchemaServiceSettings : ServiceSettingsBase

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

Settings for SchemaServiceClient instances.

Inheritance

object > ServiceSettingsBase > SchemaServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

SchemaServiceSettings()

public SchemaServiceSettings()

Constructs a new SchemaServiceSettings object with default settings.

Properties

CreateSchemaOperationsSettings

public OperationsSettings CreateSchemaOperationsSettings { get; set; }

Long Running Operation settings for calls to SchemaServiceClient.CreateSchema and SchemaServiceClient.CreateSchemaAsync.

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.

CreateSchemaSettings

public CallSettings CreateSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.CreateSchema and SchemaServiceClient.CreateSchemaAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 30 seconds.

DeleteSchemaOperationsSettings

public OperationsSettings DeleteSchemaOperationsSettings { get; set; }

Long Running Operation settings for calls to SchemaServiceClient.DeleteSchema and SchemaServiceClient.DeleteSchemaAsync.

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.

DeleteSchemaSettings

public CallSettings DeleteSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.DeleteSchema and SchemaServiceClient.DeleteSchemaAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 30 seconds.

GetSchemaSettings

public CallSettings GetSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.GetSchema and SchemaServiceClient.GetSchemaAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 30 seconds.

ListSchemasSettings

public CallSettings ListSchemasSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.ListSchemas and SchemaServiceClient.ListSchemasAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 30 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

UpdateSchemaOperationsSettings

public OperationsSettings UpdateSchemaOperationsSettings { get; set; }

Long Running Operation settings for calls to SchemaServiceClient.UpdateSchema and SchemaServiceClient.UpdateSchemaAsync.

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.

UpdateSchemaSettings

public CallSettings UpdateSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SchemaServiceClient.UpdateSchema and SchemaServiceClient.UpdateSchemaAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 1000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 10000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 30 seconds.

Methods

Clone()

public SchemaServiceSettings Clone()

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

Returns
Type Description
SchemaServiceSettings

A deep clone of this SchemaServiceSettings object.

GetDefault()

public static SchemaServiceSettings GetDefault()

Get a new instance of the default SchemaServiceSettings.

Returns
Type Description
SchemaServiceSettings

A new instance of the default SchemaServiceSettings.