Google Cloud Logging v2 API - Class ListLogsResponse (4.3.0)

public sealed class ListLogsResponse : IMessage<ListLogsResponse>, IEquatable<ListLogsResponse>, IDeepCloneable<ListLogsResponse>, IBufferMessage, IMessage, IPageResponse<string>, IEnumerable<string>, IEnumerable

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

Result returned from ListLogs.

Inheritance

object > ListLogsResponse

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

ListLogsResponse()

public ListLogsResponse()

ListLogsResponse(ListLogsResponse)

public ListLogsResponse(ListLogsResponse other)
Parameter
NameDescription
otherListLogsResponse

Properties

LogNames

public RepeatedField<string> LogNames { get; }

A list of log names. For example, "projects/my-project/logs/syslog" or "organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity".

Property Value
TypeDescription
RepeatedFieldstring

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.

Property Value
TypeDescription
string

Methods

GetEnumerator()

public IEnumerator<string> GetEnumerator()

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

Returns
TypeDescription
IEnumeratorstring