Google Cloud Logging v2 API - Class UpdateSettingsRequest (4.2.0)

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

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

The parameters to [UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings].

See Enabling CMEK for Log Router for more information.

Inheritance

object > UpdateSettingsRequest

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

UpdateSettingsRequest()

public UpdateSettingsRequest()

UpdateSettingsRequest(UpdateSettingsRequest)

public UpdateSettingsRequest(UpdateSettingsRequest other)
Parameter
NameDescription
otherUpdateSettingsRequest

Properties

Name

public string Name { get; set; }

Required. The resource name for the settings to update.

"organizations/[ORGANIZATION_ID]/settings"

For example:

"organizations/12345/settings"

Note: Settings for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.

Property Value
TypeDescription
string

Settings

public Settings Settings { get; set; }

Required. The settings to update.

See Enabling CMEK for Log Router for more information.

Property Value
TypeDescription
Settings

UpdateMask

public FieldMask UpdateMask { get; set; }

Optional. Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.

See [FieldMask][google.protobuf.FieldMask] for more information.

For example: "updateMask=kmsKeyName"

Property Value
TypeDescription
FieldMask