Google Cloud Logging v2 API - Class ListLogMetricsResponse (4.4.0)

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.

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