Cloud IDS v1 API - Class IDSSettings (2.2.0)

public sealed class IDSSettings : ServiceSettingsBase

Reference documentation and code samples for the Cloud IDS v1 API class IDSSettings.

Settings for IDSClient instances.

Inheritance

object > ServiceSettingsBase > IDSSettings

Namespace

Google.Cloud.Ids.V1

Assembly

Google.Cloud.Ids.V1.dll

Constructors

IDSSettings()

public IDSSettings()

Constructs a new IDSSettings object with default settings.

Properties

CreateEndpointOperationsSettings

public OperationsSettings CreateEndpointOperationsSettings { get; set; }

Long Running Operation settings for calls to IDSClient.CreateEndpoint and IDSClient.CreateEndpointAsync.

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.

CreateEndpointSettings

public CallSettings CreateEndpointSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IDSClient.CreateEndpoint and IDSClient.CreateEndpointAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 3600 seconds.

DeleteEndpointOperationsSettings

public OperationsSettings DeleteEndpointOperationsSettings { get; set; }

Long Running Operation settings for calls to IDSClient.DeleteEndpoint and IDSClient.DeleteEndpointAsync.

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.

DeleteEndpointSettings

public CallSettings DeleteEndpointSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IDSClient.DeleteEndpoint and IDSClient.DeleteEndpointAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 3600 seconds.

GetEndpointSettings

public CallSettings GetEndpointSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IDSClient.GetEndpoint and IDSClient.GetEndpointAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 250 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 32000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

ListEndpointsSettings

public CallSettings ListEndpointsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to IDSClient.ListEndpoints and IDSClient.ListEndpointsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 250 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 32000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 60 seconds.

Methods

Clone()

public IDSSettings Clone()

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

Returns
TypeDescription
IDSSettings

A deep clone of this IDSSettings object.

GetDefault()

public static IDSSettings GetDefault()

Get a new instance of the default IDSSettings.

Returns
TypeDescription
IDSSettings

A new instance of the default IDSSettings.