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

public sealed class SampleQueryServiceSettings : ServiceSettingsBase

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

Settings for SampleQueryServiceClient instances.

Inheritance

object > ServiceSettingsBase > SampleQueryServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

SampleQueryServiceSettings()

public SampleQueryServiceSettings()

Constructs a new SampleQueryServiceSettings object with default settings.

Properties

CreateSampleQuerySettings

public CallSettings CreateSampleQuerySettings { get; set; }

CallSettings for synchronous and asynchronous calls to SampleQueryServiceClient.CreateSampleQuery and SampleQueryServiceClient.CreateSampleQueryAsync .

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.

DeleteSampleQuerySettings

public CallSettings DeleteSampleQuerySettings { get; set; }

CallSettings for synchronous and asynchronous calls to SampleQueryServiceClient.DeleteSampleQuery and SampleQueryServiceClient.DeleteSampleQueryAsync .

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.

GetSampleQuerySettings

public CallSettings GetSampleQuerySettings { get; set; }

CallSettings for synchronous and asynchronous calls to SampleQueryServiceClient.GetSampleQuery and SampleQueryServiceClient.GetSampleQueryAsync.

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.

ImportSampleQueriesOperationsSettings

public OperationsSettings ImportSampleQueriesOperationsSettings { get; set; }

Long Running Operation settings for calls to SampleQueryServiceClient.ImportSampleQueries and SampleQueryServiceClient.ImportSampleQueriesAsync.

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.

ImportSampleQueriesSettings

public CallSettings ImportSampleQueriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SampleQueryServiceClient.ImportSampleQueries and SampleQueryServiceClient.ImportSampleQueriesAsync .

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.

ListSampleQueriesSettings

public CallSettings ListSampleQueriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SampleQueryServiceClient.ListSampleQueries and SampleQueryServiceClient.ListSampleQueriesAsync .

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

UpdateSampleQuerySettings

public CallSettings UpdateSampleQuerySettings { get; set; }

CallSettings for synchronous and asynchronous calls to SampleQueryServiceClient.UpdateSampleQuery and SampleQueryServiceClient.UpdateSampleQueryAsync .

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 SampleQueryServiceSettings Clone()

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

Returns
Type Description
SampleQueryServiceSettings

A deep clone of this SampleQueryServiceSettings object.

GetDefault()

public static SampleQueryServiceSettings GetDefault()

Get a new instance of the default SampleQueryServiceSettings.

Returns
Type Description
SampleQueryServiceSettings

A new instance of the default SampleQueryServiceSettings.