Google Cloud Logging v2 API - Class ListLogEntriesResponse (4.2.0)

public sealed class ListLogEntriesResponse : IMessage<ListLogEntriesResponse>, IEquatable<ListLogEntriesResponse>, IDeepCloneable<ListLogEntriesResponse>, IBufferMessage, IMessage, IPageResponse<LogEntry>, IEnumerable<LogEntry>, IEnumerable

Reference documentation and code samples for the Google Cloud Logging v2 API class ListLogEntriesResponse.

Result returned from ListLogEntries.

Inheritance

object > ListLogEntriesResponse

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

ListLogEntriesResponse()

public ListLogEntriesResponse()

ListLogEntriesResponse(ListLogEntriesResponse)

public ListLogEntriesResponse(ListLogEntriesResponse other)
Parameter
NameDescription
otherListLogEntriesResponse

Properties

Entries

public RepeatedField<LogEntry> Entries { get; }

A list of log entries. If entries is empty, nextPageToken may still be returned, indicating that more entries may exist. See nextPageToken for more information.

Property Value
TypeDescription
RepeatedFieldLogEntry

NextPageToken

public string NextPageToken { get; set; }

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

If a value for next_page_token appears and the entries field is empty, it means that the search found no log entries so far but it did not have time to search all the possible log entries. Retry the method with this value for page_token to continue the search. Alternatively, consider speeding up the search by changing your filter to specify a single log name or resource type, or to narrow the time range of the search.

Property Value
TypeDescription
string

Methods

GetEnumerator()

public IEnumerator<LogEntry> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
TypeDescription
IEnumeratorLogEntry