Class ListLogMetricsResponse (3.5.0)

public sealed class ListLogMetricsResponse : IMessage<ListLogMetricsResponse>, IEquatable<ListLogMetricsResponse>, IDeepCloneable<ListLogMetricsResponse>, IBufferMessage, IMessage, IPageResponse<LogMetric>, IEnumerable<LogMetric>, IEnumerable

Result returned from ListLogMetrics.

Inheritance

Object > ListLogMetricsResponse

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

ListLogMetricsResponse()

public ListLogMetricsResponse()

ListLogMetricsResponse(ListLogMetricsResponse)

public ListLogMetricsResponse(ListLogMetricsResponse other)
Parameter
NameDescription
otherListLogMetricsResponse

Properties

Metrics

public RepeatedField<LogMetric> Metrics { get; }

A list of logs-based metrics.

Property Value
TypeDescription
RepeatedField<LogMetric>

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
TypeDescription
String

Methods

GetEnumerator()

public IEnumerator<LogMetric> GetEnumerator()

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

Returns
TypeDescription
IEnumerator<LogMetric>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator