Interface UpdateExclusionRequestOrBuilder (3.14.9)

public interface UpdateExclusionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExclusion()

public abstract LogExclusion getExclusion()

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

.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LogExclusion

The exclusion.

getExclusionOrBuilder()

public abstract LogExclusionOrBuilder getExclusionOrBuilder()

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

.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LogExclusionOrBuilder

getName()

public abstract String getName()

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"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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"

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getUpdateMask()

public abstract FieldMask getUpdateMask()

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 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".

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

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 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".

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasExclusion()

public abstract boolean hasExclusion()

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

.google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the exclusion field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

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 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".

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.