public sealed class ListLogMetricsResponse : IMessage<ListLogMetricsResponse>, IEquatable<ListLogMetricsResponse>, IDeepCloneable<ListLogMetricsResponse>, IBufferMessage, IMessage, IPageResponse<LogMetric>, IEnumerable<LogMetric>, IEnumerable
Reference documentation and code samples for the Google Cloud Logging v2 API class ListLogMetricsResponse.
Result returned from ListLogMetrics.
Implements
IMessageListLogMetricsResponse, IEquatableListLogMetricsResponse, IDeepCloneableListLogMetricsResponse, IBufferMessage, IMessage, IPageResponseLogMetric, IEnumerableLogMetric, IEnumerableNamespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Constructors
ListLogMetricsResponse()
public ListLogMetricsResponse()
ListLogMetricsResponse(ListLogMetricsResponse)
public ListLogMetricsResponse(ListLogMetricsResponse other)
Parameter | |
---|---|
Name | Description |
other |
ListLogMetricsResponse |
Properties
Metrics
public RepeatedField<LogMetric> Metrics { get; }
A list of logs-based metrics.
Property Value | |
---|---|
Type | Description |
RepeatedFieldLogMetric |
NextPageToken
public string NextPageToken { get; set; }
If there might be more results than appear 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<LogMetric> GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Returns | |
---|---|
Type | Description |
IEnumeratorLogMetric |