Interface CreateExclusionRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateExclusionRequest, CreateExclusionRequest.Builder

public interface CreateExclusionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      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:
      The parent.
    • getParentBytes

      com.google.protobuf.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:
      The bytes for parent.
    • hasExclusion

      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:
      Whether the exclusion field is set.
    • getExclusion

      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:
      The exclusion.
    • getExclusionOrBuilder

      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];