Google Cloud Logging v2 API - Class UpdateExclusionRequest (4.3.0)

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

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

The parameters to UpdateExclusion.

Inheritance

object > UpdateExclusionRequest

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

UpdateExclusionRequest()

public UpdateExclusionRequest()

UpdateExclusionRequest(UpdateExclusionRequest)

public UpdateExclusionRequest(UpdateExclusionRequest other)
Parameter
Name Description
other UpdateExclusionRequest

Properties

Exclusion

public LogExclusion Exclusion { get; set; }

Required. New values for the existing exclusion. Only the fields specified in update_mask are relevant.

Property Value
Type Description
LogExclusion

LogExclusionName

public LogExclusionName LogExclusionName { get; set; }

LogExclusionName-typed view over the Name resource name property.

Property Value
Type Description
LogExclusionName

Name

public string Name { get; set; }

Required. The resource name of the exclusion to update:

"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
"organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
"folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"

For example:

"projects/my-project/exclusions/my-exclusion"

Property Value
Type Description
string

UpdateMask

public FieldMask UpdateMask { get; set; }

Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.

For example, to change the filter and description of an exclusion, specify an update_mask of "filter,description".

Property Value
Type Description
FieldMask