Discovery Engine v1beta API - Class ProjectServiceSettings (1.0.0-beta14)

public sealed class ProjectServiceSettings : ServiceSettingsBase

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

Settings for ProjectServiceClient instances.

Inheritance

object > ServiceSettingsBase > ProjectServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

ProjectServiceSettings()

public ProjectServiceSettings()

Constructs a new ProjectServiceSettings object with default settings.

Properties

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

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

Property Value
Type Description
LocationsSettings

ProvisionProjectOperationsSettings

public OperationsSettings ProvisionProjectOperationsSettings { get; set; }

Long Running Operation settings for calls to ProjectServiceClient.ProvisionProject and ProjectServiceClient.ProvisionProjectAsync.

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.

ProvisionProjectSettings

public CallSettings ProvisionProjectSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProjectServiceClient.ProvisionProject and ProjectServiceClient.ProvisionProjectAsync.

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

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

Returns
Type Description
ProjectServiceSettings

A deep clone of this ProjectServiceSettings object.

GetDefault()

public static ProjectServiceSettings GetDefault()

Get a new instance of the default ProjectServiceSettings.

Returns
Type Description
ProjectServiceSettings

A new instance of the default ProjectServiceSettings.