Show / Hide Table of Contents

Class EntriesResource

The "entries" collection of methods.

Inheritance
object
EntriesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Logging.v2
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class EntriesResource

Constructors

EntriesResource(IClientService)

Constructs a new resource.

Declaration
public EntriesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Copy(CopyLogEntriesRequest)

Copies a set of log entries from a log bucket to a Cloud Storage bucket.

Declaration
public virtual EntriesResource.CopyRequest Copy(CopyLogEntriesRequest body)
Parameters
Type Name Description
CopyLogEntriesRequest body

The body of the request.

Returns
Type Description
EntriesResource.CopyRequest

List(ListLogEntriesRequest)

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).

Declaration
public virtual EntriesResource.ListRequest List(ListLogEntriesRequest body)
Parameters
Type Name Description
ListLogEntriesRequest body

The body of the request.

Returns
Type Description
EntriesResource.ListRequest

Tail(TailLogEntriesRequest)

Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs.

Declaration
public virtual EntriesResource.TailRequest Tail(TailLogEntriesRequest body)
Parameters
Type Name Description
TailLogEntriesRequest body

The body of the request.

Returns
Type Description
EntriesResource.TailRequest

Write(WriteLogEntriesRequest)

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.

Declaration
public virtual EntriesResource.WriteRequest Write(WriteLogEntriesRequest body)
Parameters
Type Name Description
WriteLogEntriesRequest body

The body of the request.

Returns
Type Description
EntriesResource.WriteRequest
In this article
Back to top Generated by DocFX