Class UpdateExclusionRequest (4.0.0)

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

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
NameDescription
otherUpdateExclusionRequest

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
TypeDescription
LogExclusion

LogExclusionName

public LogExclusionName LogExclusionName { get; set; }

LogExclusionName-typed view over the Name resource name property.

Property Value
TypeDescription
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:

&quot;projects/my-project/exclusions/my-exclusion&quot;

Property Value
TypeDescription
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 &quot;filter,description&quot;.

Property Value
TypeDescription
FieldMask