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 Detail

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