All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.logging.v2.Logging.Organizations.Exclusions.html Maven / Gradle / Ivy

There is a newer version: v2-rev20241018-2.0.0
Show newest version






Logging.Organizations.Exclusions (Cloud Logging API v2-rev20240913-2.0.0)












com.google.api.services.logging.v2

Class Logging.Organizations.Exclusions

  • java.lang.Object
    • com.google.api.services.logging.v2.Logging.Organizations.Exclusions
  • Enclosing class:
    Logging.Organizations


    public class Logging.Organizations.Exclusions
    extends Object
    The "exclusions" collection of methods.
    • Constructor Detail

      • Exclusions

        public Exclusions()
    • Method Detail

      • create

        public Logging.Organizations.Exclusions.Create create(String parent,
                                                              LogExclusion content)
                                                       throws IOException
        Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource. Create a request for the method "exclusions.create". This request holds the parameters needed by the logging server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - 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"
        content - the LogExclusion
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Logging.Organizations.Exclusions.Delete delete(String name)
                                                       throws IOException
        Deletes an exclusion in the _Default sink. Create a request for the method "exclusions.delete". This request holds the parameters needed by the logging server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The resource name of an existing exclusion to delete: "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"
        Returns:
        the request
        Throws:
        IOException
      • get

        public Logging.Organizations.Exclusions.Get get(String name)
                                                 throws IOException
        Gets the description of an exclusion in the _Default sink. Create a request for the method "exclusions.get". This request holds the parameters needed by the logging server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - Required. The resource name of an existing exclusion: "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"
        Returns:
        the request
        Throws:
        IOException
      • list

        public Logging.Organizations.Exclusions.List list(String parent)
                                                   throws IOException
        Lists all the exclusions on the _Default sink in a parent resource. Create a request for the method "exclusions.list". This request holds the parameters needed by the logging server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Logging.Organizations.Exclusions.Patch patch(String name,
                                                            LogExclusion content)
                                                     throws IOException
        Changes one or more properties of an existing exclusion in the _Default sink. Create a request for the method "exclusions.patch". This request holds the parameters needed by the logging server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - 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"
        content - the LogExclusion
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy