Google Cloud Trace v1 API - Class TraceServiceSettings (3.1.0)

public sealed class TraceServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Trace v1 API class TraceServiceSettings.

Settings for TraceServiceClient instances.

Inheritance

Object > ServiceSettingsBase > TraceServiceSettings

Namespace

Google.Cloud.Trace.V1

Assembly

Google.Cloud.Trace.V1.dll

Constructors

TraceServiceSettings()

public TraceServiceSettings()

Constructs a new TraceServiceSettings object with default settings.

Properties

GetTraceSettings

public CallSettings GetTraceSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TraceServiceClient.GetTrace and TraceServiceClient.GetTraceAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.2
  • Retry maximum delay: 1000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 45 seconds.

ListTracesSettings

public CallSettings ListTracesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TraceServiceClient.ListTraces and TraceServiceClient.ListTracesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.2
  • Retry maximum delay: 1000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 45 seconds.

PatchTracesSettings

public CallSettings PatchTracesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to TraceServiceClient.PatchTraces and TraceServiceClient.PatchTracesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.2
  • Retry maximum delay: 1000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 45 seconds.

Methods

Clone()

public TraceServiceSettings Clone()

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

Returns
TypeDescription
TraceServiceSettings

A deep clone of this TraceServiceSettings object.

GetDefault()

public static TraceServiceSettings GetDefault()

Get a new instance of the default TraceServiceSettings.

Returns
TypeDescription
TraceServiceSettings

A new instance of the default TraceServiceSettings.