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

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

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






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












com.google.api.services.logging.v2

Class Logging.BillingAccounts.Logs

  • java.lang.Object
    • com.google.api.services.logging.v2.Logging.BillingAccounts.Logs
    • Constructor Detail

      • Logs

        public Logs()
    • Method Detail

      • delete

        public Logging.BillingAccounts.Logs.Delete delete(String logName)
                                                   throws IOException
        Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted. Create a request for the method "logs.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:
        logName - Required. The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, "projects/my- project-id/logs/syslog", "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Logging.BillingAccounts.Logs.List list(String parent)
                                               throws IOException
        Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed. Create a request for the method "logs.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 resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy