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.
Implements
IMessageListLogsResponse, IEquatableListLogsResponse, IDeepCloneableListLogsResponse, IBufferMessage, IMessage, IPageResponsestring, IEnumerablestring, IEnumerableNamespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Constructors
ListLogsResponse()
public ListLogsResponse()
ListLogsResponse(ListLogsResponse)
public ListLogsResponse(ListLogsResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListLogsResponse |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
Methods
GetEnumerator()
public IEnumerator<string> GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Returns | |
---|---|
Type | Description |
IEnumeratorstring |