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

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

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






Logging.Entries (Cloud Logging API v2-rev20240419-2.0.0)












com.google.api.services.logging.v2

Class Logging.Entries

  • Enclosing class:
    Logging


    public class Logging.Entries
    extends Object
    The "entries" collection of methods.
    • Constructor Detail

      • Entries

        public Entries()
    • Method Detail

      • copy

        public Logging.Entries.Copy copy(CopyLogEntriesRequest content)
                                  throws IOException
        Copies a set of log entries from a log bucket to a Cloud Storage bucket. Create a request for the method "entries.copy". 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:
        content - the CopyLogEntriesRequest
        Returns:
        the request
        Throws:
        IOException
      • list

        public Logging.Entries.List list(ListLogEntriesRequest content)
                                  throws IOException
        Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export). Create a request for the method "entries.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:
        content - the ListLogEntriesRequest
        Returns:
        the request
        Throws:
        IOException
      • tail

        public Logging.Entries.Tail tail(TailLogEntriesRequest content)
                                  throws IOException
        Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs. Create a request for the method "entries.tail". 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:
        content - the TailLogEntriesRequest
        Returns:
        the request
        Throws:
        IOException
      • write

        public Logging.Entries.Write write(WriteLogEntriesRequest content)
                                    throws IOException
        Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging libraries configured to use Logging. A single request may contain log entries for a maximum of 1000 different resource names (projects, organizations, billing accounts or folders), where the resource name for a log entry is determined from its logName field. Create a request for the method "entries.write". 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:
        content - the WriteLogEntriesRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy