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

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

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






Logging.BillingAccounts.Exclusions (Cloud Logging API v2-rev20240908-2.0.0)












com.google.api.services.logging.v2

Class Logging.BillingAccounts.Exclusions

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


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

      • Exclusions

        public Exclusions()
    • Method Detail

      • create

        public Logging.BillingAccounts.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.BillingAccounts.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.BillingAccounts.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.BillingAccounts.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.BillingAccounts.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