Class LoggingServiceV2Settings (3.5.0)

public sealed class LoggingServiceV2Settings : ServiceSettingsBase

Settings for LoggingServiceV2Client instances.

Inheritance

Object > ServiceSettingsBase > LoggingServiceV2Settings

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

LoggingServiceV2Settings()

public LoggingServiceV2Settings()

Constructs a new LoggingServiceV2Settings object with default settings.

Properties

DeleteLogSettings

public CallSettings DeleteLogSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LoggingServiceV2Client.DeleteLog and LoggingServiceV2Client.DeleteLogAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Internal, Unavailable.
  • Timeout: 60 seconds.

ListLogEntriesSettings

public CallSettings ListLogEntriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LoggingServiceV2Client.ListLogEntries and LoggingServiceV2Client.ListLogEntriesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Internal, Unavailable.
  • Timeout: 60 seconds.

ListLogsSettings

public CallSettings ListLogsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LoggingServiceV2Client.ListLogs and LoggingServiceV2Client.ListLogsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Internal, Unavailable.
  • Timeout: 60 seconds.

ListMonitoredResourceDescriptorsSettings

public CallSettings ListMonitoredResourceDescriptorsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LoggingServiceV2Client.ListMonitoredResourceDescriptors and LoggingServiceV2Client.ListMonitoredResourceDescriptorsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Internal, Unavailable.
  • Timeout: 60 seconds.

TailLogEntriesSettings

public CallSettings TailLogEntriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LoggingServiceV2Client.TailLogEntries and LoggingServiceV2Client.TailLogEntriesAsync.

Property Value
TypeDescription
CallSettings
Remarks

Timeout: 3600 seconds.

TailLogEntriesStreamingSettings

public BidirectionalStreamingSettings TailLogEntriesStreamingSettings { get; set; }

BidirectionalStreamingSettings for calls to LoggingServiceV2Client.TailLogEntries and LoggingServiceV2Client.TailLogEntriesAsync.

Property Value
TypeDescription
BidirectionalStreamingSettings
Remarks

The default local send queue size is 100.

WriteLogEntriesSettings

public CallSettings WriteLogEntriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to LoggingServiceV2Client.WriteLogEntries and LoggingServiceV2Client.WriteLogEntriesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: DeadlineExceeded, Internal, Unavailable.
  • Timeout: 60 seconds.

Methods

Clone()

public LoggingServiceV2Settings Clone()

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

Returns
TypeDescription
LoggingServiceV2Settings

A deep clone of this LoggingServiceV2Settings object.

GetDefault()

public static LoggingServiceV2Settings GetDefault()

Get a new instance of the default LoggingServiceV2Settings.

Returns
TypeDescription
LoggingServiceV2Settings

A new instance of the default LoggingServiceV2Settings.