Google Cloud Error Reporting v1beta1 API - Class ListGroupStatsRequest (3.0.0-beta06)

public sealed class ListGroupStatsRequest : IMessage<ListGroupStatsRequest>, IEquatable<ListGroupStatsRequest>, IDeepCloneable<ListGroupStatsRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the Google Cloud Error Reporting v1beta1 API class ListGroupStatsRequest.

Specifies a set of ErrorGroupStats to return.

Inheritance

object > ListGroupStatsRequest

Namespace

Google.Cloud.ErrorReporting.V1Beta1

Assembly

Google.Cloud.ErrorReporting.V1Beta1.dll

Constructors

ListGroupStatsRequest()

public ListGroupStatsRequest()

ListGroupStatsRequest(ListGroupStatsRequest)

public ListGroupStatsRequest(ListGroupStatsRequest other)
Parameter
Name Description
other ListGroupStatsRequest

Properties

Alignment

public TimedCountAlignment Alignment { get; set; }

Optional. The alignment of the timed counts to be returned. Default is ALIGNMENT_EQUAL_AT_END.

Property Value
Type Description
TimedCountAlignment

AlignmentTime

public Timestamp AlignmentTime { get; set; }

Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.

Property Value
Type Description
Timestamp

GroupId

public RepeatedField<string> GroupId { get; }

Optional. List all [ErrorGroupStats] [google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats] with these IDs. The group_id is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice.

Property Value
Type Description
RepeatedFieldstring

Order

public ErrorGroupOrder Order { get; set; }

Optional. The sort order in which the results are returned. Default is COUNT_DESC.

Property Value
Type Description
ErrorGroupOrder

PageSize

public int PageSize { get; set; }

Optional. The maximum number of results to return per response. Default is 20.

Property Value
Type Description
int

PageToken

public string PageToken { get; set; }

Optional. A [next_page_token] [google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse.next_page_token] provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.

Property Value
Type Description
string

ProjectName

public string ProjectName { get; set; }

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectNumber}, where {projectID} and {projectNumber} can be found in the Google Cloud console. It may also include a location, such as projects/{projectID}/locations/{location} where {location} is a cloud region.

Examples: projects/my-project-123, projects/5551234, projects/my-project-123/locations/us-central1, projects/5551234/locations/us-central1.

For a list of supported locations, see Supported Regions. global is the default when unspecified. Use - as a wildcard to request group stats from all regions.

Property Value
Type Description
string

ProjectNameAsProjectName

public ProjectName ProjectNameAsProjectName { get; set; }

ProjectName-typed view over the ProjectName resource name property.

Property Value
Type Description
ProjectName

ServiceFilter

public ServiceContextFilter ServiceFilter { get; set; }

Optional. List only [ErrorGroupStats] [google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats] which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

Property Value
Type Description
ServiceContextFilter

TimeRange

public QueryTimeRange TimeRange { get; set; }

Optional. List data for the given time range. If not set, a default time range is used. The field [time_range_begin] [google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse.time_range_begin] in the response will specify the beginning of this time range. Only [ErrorGroupStats] [google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats] with a non-zero count in the given time range are returned, unless the request contains an explicit [group_id] [google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.group_id] list. If a [group_id] [google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.group_id] list is given, also [ErrorGroupStats] [google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats] with zero occurrences are returned.

Property Value
Type Description
QueryTimeRange

TimedCountDuration

public Duration TimedCountDuration { get; set; }

Optional. The preferred duration for a single returned [TimedCount] [google.devtools.clouderrorreporting.v1beta1.TimedCount]. If not set, no timed counts are returned.

Property Value
Type Description
Duration