Class Settings (3.5.0)

public sealed class Settings : IMessage<Settings>, IEquatable<Settings>, IDeepCloneable<Settings>, IBufferMessage, IMessage

Describes the settings associated with a project, folder, organization, billing account, or flexible resource.

Inheritance

Object > Settings

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

Settings()

public Settings()

Settings(Settings)

public Settings(Settings other)
Parameter
NameDescription
otherSettings

Properties

DisableDefaultSink

public bool DisableDefaultSink { get; set; }

Optional. If set to true, the _Default sink in newly created projects and folders will created in a disabled state. This can be used to automatically disable log ingestion if there is already an aggregated sink configured in the hierarchy. The _Default sink can be re-enabled manually if needed.

Property Value
TypeDescription
Boolean

Name

public string Name { get; set; }

Output only. The resource name of the settings.

Property Value
TypeDescription
String

SettingsName

public SettingsName SettingsName { get; set; }

SettingsName-typed view over the Name resource name property.

Property Value
TypeDescription
SettingsName

StorageLocation

public string StorageLocation { get; set; }

Optional. The Cloud region that will be used for _Default and _Required log buckets for newly created projects and folders. For example europe-west1. This setting does not affect the location of custom log buckets.

Property Value
TypeDescription
String