Discovery Engine v1beta API - Class SchemaServiceSettings (1.0.0-beta11)

public sealed class SchemaServiceSettings : ServiceSettingsBase

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

Settings for SchemaServiceClient instances.

Inheritance

object > ServiceSettingsBase > SchemaServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
LocationsSettings

UpdateSchemaOperationsSettings

public OperationsSettings UpdateSchemaOperationsSettings { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
SchemaServiceSettings

A deep clone of this SchemaServiceSettings object.

GetDefault()

public static SchemaServiceSettings GetDefault()

Get a new instance of the default SchemaServiceSettings.

Returns
TypeDescription
SchemaServiceSettings

A new instance of the default SchemaServiceSettings.