Interface CreateExclusionRequestOrBuilder (3.16.2)

public interface CreateExclusionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExclusion()

public abstract LogExclusion getExclusion()

Required. The new exclusion, whose name parameter is an exclusion name that is not already used in the parent resource.

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

Returns
TypeDescription
LogExclusion

The exclusion.

getExclusionOrBuilder()

public abstract LogExclusionOrBuilder getExclusionOrBuilder()

Required. The new exclusion, whose name parameter is an exclusion name that is not already used in the parent resource.

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

Returns
TypeDescription
LogExclusionOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource in which to create the exclusion:

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

For examples:

"projects/my-logging-project" "organizations/123456789"

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource in which to create the exclusion:

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

For examples:

"projects/my-logging-project" "organizations/123456789"

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasExclusion()

public abstract boolean hasExclusion()

Required. The new exclusion, whose name parameter is an exclusion name that is not already used in the parent resource.

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

Returns
TypeDescription
boolean

Whether the exclusion field is set.