Google Cloud Logging v2 API - Class LoggingServiceV2Settings (4.3.0)

public sealed class LoggingServiceV2Settings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Logging v2 API class LoggingServiceV2Settings.

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
CallSettings
Remarks

Timeout: 3600 seconds.

TailLogEntriesStreamingSettings

public BidirectionalStreamingSettings TailLogEntriesStreamingSettings { get; set; }

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

Property Value
Type Description
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
Type Description
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
Type Description
LoggingServiceV2Settings

A deep clone of this LoggingServiceV2Settings object.

GetDefault()

public static LoggingServiceV2Settings GetDefault()

Get a new instance of the default LoggingServiceV2Settings.

Returns
Type Description
LoggingServiceV2Settings

A new instance of the default LoggingServiceV2Settings.