package clouderrorreporting

Import Path
	google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1 (on go.dev)

Dependency Relation
	imports 12 packages, and imported by 2 packages


Package-Level Type Names (total 37, in which 34 are exported)
/* sort exporteds by: | */
Deletes all events in the project. Required. The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`. Deprecated: Use DeleteEventsRequest.ProtoReflect.Descriptor instead. (*T) GetProjectName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func ErrorStatsServiceClient.DeleteEvents(ctx context.Context, in *DeleteEventsRequest, opts ...grpc.CallOption) (*DeleteEventsResponse, error) func ErrorStatsServiceServer.DeleteEvents(context.Context, *DeleteEventsRequest) (*DeleteEventsResponse, error) func (*UnimplementedErrorStatsServiceServer).DeleteEvents(context.Context, *DeleteEventsRequest) (*DeleteEventsResponse, error) func cloud.google.com/go/errorreporting/apiv1beta1.(*ErrorStatsClient).DeleteEvents(ctx context.Context, req *DeleteEventsRequest, opts ...gax.CallOption) (*DeleteEventsResponse, error)
Response message for deleting error events. Deprecated: Use DeleteEventsResponse.ProtoReflect.Descriptor instead. (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func ErrorStatsServiceClient.DeleteEvents(ctx context.Context, in *DeleteEventsRequest, opts ...grpc.CallOption) (*DeleteEventsResponse, error) func ErrorStatsServiceServer.DeleteEvents(context.Context, *DeleteEventsRequest) (*DeleteEventsResponse, error) func (*UnimplementedErrorStatsServiceServer).DeleteEvents(context.Context, *DeleteEventsRequest) (*DeleteEventsResponse, error) func cloud.google.com/go/errorreporting/apiv1beta1.(*ErrorStatsClient).DeleteEvents(ctx context.Context, req *DeleteEventsRequest, opts ...gax.CallOption) (*DeleteEventsResponse, error)
A description of the context in which an error occurred. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs. The HTTP request which was processed when the error was triggered. The location in the source code where the decision was made to report the error, usually the place where it was logged. For a logged exception this would be the source line where the exception is logged, usually close to the place where it was caught. The user who caused or was affected by the crash. This can be a user ID, an email address, or an arbitrary token that uniquely identifies the user. When sending an error report, leave this field empty if the user was not logged in. In this case the Error Reporting system will use other data, such as remote IP address, to distinguish affected users. See `affected_users_count` in `ErrorGroupStats`. Deprecated: Use ErrorContext.ProtoReflect.Descriptor instead. (*T) GetHttpRequest() *HttpRequestContext (*T) GetReportLocation() *SourceLocation (*T) GetUser() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ErrorEvent).GetContext() *ErrorContext func (*ReportedErrorEvent).GetContext() *ErrorContext
An error event which is returned by the Error Reporting system. Data about the context in which the error occurred. Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used. The stack trace that was reported or logged by the service. The `ServiceContext` for which this error was reported. Deprecated: Use ErrorEvent.ProtoReflect.Descriptor instead. (*T) GetContext() *ErrorContext (*T) GetEventTime() *timestamppb.Timestamp (*T) GetMessage() string (*T) GetServiceContext() *ServiceContext (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ErrorGroupStats).GetRepresentative() *ErrorEvent func (*ListEventsResponse).GetErrorEvents() []*ErrorEvent func cloud.google.com/go/errorreporting/apiv1beta1.(*ErrorEventIterator).Next() (*ErrorEvent, error)
Description of a group of similar error events. Group IDs are unique for a given project. If the same kind of error occurs in different service contexts, it will receive the same group ID. The group resource name. Example: <code>projects/my-project-123/groups/my-groupid</code> Associated tracking issues. Deprecated: Use ErrorGroup.ProtoReflect.Descriptor instead. (*T) GetGroupId() string (*T) GetName() string (*T) GetTrackingIssues() []*TrackingIssue (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func ErrorGroupServiceClient.GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) func ErrorGroupServiceClient.UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) func ErrorGroupServiceServer.GetGroup(context.Context, *GetGroupRequest) (*ErrorGroup, error) func ErrorGroupServiceServer.UpdateGroup(context.Context, *UpdateGroupRequest) (*ErrorGroup, error) func (*ErrorGroupStats).GetGroup() *ErrorGroup func (*UnimplementedErrorGroupServiceServer).GetGroup(context.Context, *GetGroupRequest) (*ErrorGroup, error) func (*UnimplementedErrorGroupServiceServer).UpdateGroup(context.Context, *UpdateGroupRequest) (*ErrorGroup, error) func (*UpdateGroupRequest).GetGroup() *ErrorGroup func cloud.google.com/go/errorreporting/apiv1beta1.(*ErrorGroupClient).GetGroup(ctx context.Context, req *GetGroupRequest, opts ...gax.CallOption) (*ErrorGroup, error) func cloud.google.com/go/errorreporting/apiv1beta1.(*ErrorGroupClient).UpdateGroup(ctx context.Context, req *UpdateGroupRequest, opts ...gax.CallOption) (*ErrorGroup, error)
A sorting order of error groups. ( T) Descriptor() protoreflect.EnumDescriptor ( T) Enum() *ErrorGroupOrder Deprecated: Use ErrorGroupOrder.Descriptor instead. ( T) Number() protoreflect.EnumNumber ( T) String() string ( T) Type() protoreflect.EnumType T : google.golang.org/protobuf/reflect/protoreflect.Enum T : expvar.Var T : fmt.Stringer func ErrorGroupOrder.Enum() *ErrorGroupOrder func (*ListGroupStatsRequest).GetOrder() ErrorGroupOrder const ErrorGroupOrder_AFFECTED_USERS_DESC const ErrorGroupOrder_COUNT_DESC const ErrorGroupOrder_CREATED_DESC const ErrorGroupOrder_GROUP_ORDER_UNSPECIFIED const ErrorGroupOrder_LAST_SEEN_DESC
ErrorGroupServiceClient is the client API for ErrorGroupService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. Get the specified group. Replace the data for the specified group. Fails if the group does not exist. func NewErrorGroupServiceClient(cc grpc.ClientConnInterface) ErrorGroupServiceClient
ErrorGroupServiceServer is the server API for ErrorGroupService service. Get the specified group. Replace the data for the specified group. Fails if the group does not exist. *UnimplementedErrorGroupServiceServer func RegisterErrorGroupServiceServer(s *grpc.Server, srv ErrorGroupServiceServer)
Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter. Service contexts with a non-zero error count for the given filter criteria. This list can be truncated if multiple services are affected. Refer to `num_affected_services` for the total count. Approximate number of affected users in the given group that match the filter criteria. Users are distinguished by data in the `ErrorContext` of the individual error events, such as their login name or their remote IP address in case of HTTP requests. The number of affected users can be zero even if the number of errors is non-zero if no data was provided from which the affected user could be deduced. Users are counted based on data in the request context that was provided in the error report. If more users are implicitly affected, such as due to a crash of the whole service, this is not reflected here. Approximate total number of events in the given group that match the filter criteria. Approximate first occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request. Group data that is independent of the filter criteria. Approximate last occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request. The total number of services with a non-zero error count for the given filter criteria. An arbitrary event that is chosen as representative for the whole group. The representative event is intended to be used as a quick preview for the whole group. Events in the group are usually sufficiently similar to each other such that showing an arbitrary representative provides insight into the characteristics of the group as a whole. Approximate number of occurrences over time. Timed counts returned by ListGroups are guaranteed to be: - Inside the requested time interval - Non-overlapping, and - Ordered by ascending time. Deprecated: Use ErrorGroupStats.ProtoReflect.Descriptor instead. (*T) GetAffectedServices() []*ServiceContext (*T) GetAffectedUsersCount() int64 (*T) GetCount() int64 (*T) GetFirstSeenTime() *timestamppb.Timestamp (*T) GetGroup() *ErrorGroup (*T) GetLastSeenTime() *timestamppb.Timestamp (*T) GetNumAffectedServices() int32 (*T) GetRepresentative() *ErrorEvent (*T) GetTimedCounts() []*TimedCount (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ListGroupStatsResponse).GetErrorGroupStats() []*ErrorGroupStats func cloud.google.com/go/errorreporting/apiv1beta1.(*ErrorGroupStatsIterator).Next() (*ErrorGroupStats, error)
ErrorStatsServiceClient is the client API for ErrorStatsService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. Deletes all error events of a given project. Lists the specified events. Lists the specified groups. func NewErrorStatsServiceClient(cc grpc.ClientConnInterface) ErrorStatsServiceClient
ErrorStatsServiceServer is the server API for ErrorStatsService service. Deletes all error events of a given project. Lists the specified events. Lists the specified groups. *UnimplementedErrorStatsServiceServer func RegisterErrorStatsServiceServer(s *grpc.Server, srv ErrorStatsServiceServer)
A request to return an individual group. The group resource name. Written as `projects/{projectID}/groups/{group_name}`. Call [`groupStats.list`](https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groupStats/list) to return a list of groups belonging to this project. Example: `projects/my-project-123/groups/my-group` Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead. (*T) GetGroupName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func ErrorGroupServiceClient.GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) func ErrorGroupServiceServer.GetGroup(context.Context, *GetGroupRequest) (*ErrorGroup, error) func (*UnimplementedErrorGroupServiceServer).GetGroup(context.Context, *GetGroupRequest) (*ErrorGroup, error) func cloud.google.com/go/errorreporting/apiv1beta1.(*ErrorGroupClient).GetGroup(ctx context.Context, req *GetGroupRequest, opts ...gax.CallOption) (*ErrorGroup, error)
HTTP request data that is related to a reported error. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs. The type of HTTP request, such as `GET`, `POST`, etc. The referrer information that is provided with the request. The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report. The HTTP response status code for the request. The URL of the request. The user agent information that is provided with the request. Deprecated: Use HttpRequestContext.ProtoReflect.Descriptor instead. (*T) GetMethod() string (*T) GetReferrer() string (*T) GetRemoteIp() string (*T) GetResponseStatusCode() int32 (*T) GetUrl() string (*T) GetUserAgent() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ErrorContext).GetHttpRequest() *HttpRequestContext
Specifies a set of error events to return. Required. The group for which events shall be returned. Optional. The maximum number of results to return per response. Optional. A `next_page_token` provided by a previous response. Required. The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`. Optional. List only ErrorGroups which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified. Optional. List only data for the given time range. If not set a default time range is used. The field time_range_begin in the response will specify the beginning of this time range. Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead. (*T) GetGroupId() string (*T) GetPageSize() int32 (*T) GetPageToken() string (*T) GetProjectName() string (*T) GetServiceFilter() *ServiceContextFilter (*T) GetTimeRange() *QueryTimeRange (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func ErrorStatsServiceClient.ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error) func ErrorStatsServiceServer.ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) func (*UnimplementedErrorStatsServiceServer).ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) func cloud.google.com/go/errorreporting/apiv1beta1.(*ErrorStatsClient).ListEvents(ctx context.Context, req *ListEventsRequest, opts ...gax.CallOption) *errorreporting.ErrorEventIterator
Contains a set of requested error events. The error events which match the given request. If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results. The timestamp specifies the start time to which the request was restricted. Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead. (*T) GetErrorEvents() []*ErrorEvent (*T) GetNextPageToken() string (*T) GetTimeRangeBegin() *timestamppb.Timestamp (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func ErrorStatsServiceClient.ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error) func ErrorStatsServiceServer.ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) func (*UnimplementedErrorStatsServiceServer).ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
Specifies a set of `ErrorGroupStats` to return. Optional. The alignment of the timed counts to be returned. Default is `ALIGNMENT_EQUAL_AT_END`. Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC. Optional. List all <code>ErrorGroupStats</code> with these IDs. Optional. The sort order in which the results are returned. Default is `COUNT_DESC`. Optional. The maximum number of results to return per response. Default is 20. Optional. A `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. Required. The resource name of the Google Cloud Platform project. Written as <code>projects/</code> plus the <a href="https://support.google.com/cloud/answer/6158840">Google Cloud Platform project ID</a>. Example: <code>projects/my-project-123</code>. Optional. List only <code>ErrorGroupStats</code> which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified. Optional. List data for the given time range. If not set, a default time range is used. The field <code>time_range_begin</code> in the response will specify the beginning of this time range. Only <code>ErrorGroupStats</code> with a non-zero count in the given time range are returned, unless the request contains an explicit <code>group_id</code> list. If a <code>group_id</code> list is given, also <code>ErrorGroupStats</code> with zero occurrences are returned. Optional. The preferred duration for a single returned `TimedCount`. If not set, no timed counts are returned. Deprecated: Use ListGroupStatsRequest.ProtoReflect.Descriptor instead. (*T) GetAlignment() TimedCountAlignment (*T) GetAlignmentTime() *timestamppb.Timestamp (*T) GetGroupId() []string (*T) GetOrder() ErrorGroupOrder (*T) GetPageSize() int32 (*T) GetPageToken() string (*T) GetProjectName() string (*T) GetServiceFilter() *ServiceContextFilter (*T) GetTimeRange() *QueryTimeRange (*T) GetTimedCountDuration() *durationpb.Duration (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func ErrorStatsServiceClient.ListGroupStats(ctx context.Context, in *ListGroupStatsRequest, opts ...grpc.CallOption) (*ListGroupStatsResponse, error) func ErrorStatsServiceServer.ListGroupStats(context.Context, *ListGroupStatsRequest) (*ListGroupStatsResponse, error) func (*UnimplementedErrorStatsServiceServer).ListGroupStats(context.Context, *ListGroupStatsRequest) (*ListGroupStatsResponse, error) func cloud.google.com/go/errorreporting/apiv1beta1.(*ErrorStatsClient).ListGroupStats(ctx context.Context, req *ListGroupStatsRequest, opts ...gax.CallOption) *errorreporting.ErrorGroupStatsIterator
Contains a set of requested error group stats. The error group stats which match the given request. If non-empty, more results are available. Pass this token, along with the same query parameters as the first request, to view the next page of results. The timestamp specifies the start time to which the request was restricted. The start time is set based on the requested time range. It may be adjusted to a later time if a project has exceeded the storage quota and older data has been deleted. Deprecated: Use ListGroupStatsResponse.ProtoReflect.Descriptor instead. (*T) GetErrorGroupStats() []*ErrorGroupStats (*T) GetNextPageToken() string (*T) GetTimeRangeBegin() *timestamppb.Timestamp (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func ErrorStatsServiceClient.ListGroupStats(ctx context.Context, in *ListGroupStatsRequest, opts ...grpc.CallOption) (*ListGroupStatsResponse, error) func ErrorStatsServiceServer.ListGroupStats(context.Context, *ListGroupStatsRequest) (*ListGroupStatsResponse, error) func (*UnimplementedErrorStatsServiceServer).ListGroupStats(context.Context, *ListGroupStatsRequest) (*ListGroupStatsResponse, error)
Requests might be rejected or the resulting timed count durations might be adjusted for lower durations. Restricts the query to the specified time range. Deprecated: Use QueryTimeRange.ProtoReflect.Descriptor instead. (*T) GetPeriod() QueryTimeRange_Period (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ListEventsRequest).GetTimeRange() *QueryTimeRange func (*ListGroupStatsRequest).GetTimeRange() *QueryTimeRange
The supported time ranges. ( T) Descriptor() protoreflect.EnumDescriptor ( T) Enum() *QueryTimeRange_Period Deprecated: Use QueryTimeRange_Period.Descriptor instead. ( T) Number() protoreflect.EnumNumber ( T) String() string ( T) Type() protoreflect.EnumType T : google.golang.org/protobuf/reflect/protoreflect.Enum T : expvar.Var T : fmt.Stringer func (*QueryTimeRange).GetPeriod() QueryTimeRange_Period func QueryTimeRange_Period.Enum() *QueryTimeRange_Period const QueryTimeRange_PERIOD_1_DAY const QueryTimeRange_PERIOD_1_HOUR const QueryTimeRange_PERIOD_1_WEEK const QueryTimeRange_PERIOD_30_DAYS const QueryTimeRange_PERIOD_6_HOURS const QueryTimeRange_PERIOD_UNSPECIFIED
An error event which is reported to the Error Reporting system. Optional. A description of the context in which the error occurred. Optional. Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used. Required. The error message. If no `context.reportLocation` is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). * **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc). * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned by V8. * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)` and contain the result of [`(string)$exception`](http://php.net/manual/en/exception.tostring.php). * **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack). Required. The service context in which this error has occurred. Deprecated: Use ReportedErrorEvent.ProtoReflect.Descriptor instead. (*T) GetContext() *ErrorContext (*T) GetEventTime() *timestamppb.Timestamp (*T) GetMessage() string (*T) GetServiceContext() *ServiceContext (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ReportErrorEventRequest).GetEvent() *ReportedErrorEvent
A request for reporting an individual error event. Required. The error event to be reported. Required. The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`. Deprecated: Use ReportErrorEventRequest.ProtoReflect.Descriptor instead. (*T) GetEvent() *ReportedErrorEvent (*T) GetProjectName() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func ReportErrorsServiceClient.ReportErrorEvent(ctx context.Context, in *ReportErrorEventRequest, opts ...grpc.CallOption) (*ReportErrorEventResponse, error) func ReportErrorsServiceServer.ReportErrorEvent(context.Context, *ReportErrorEventRequest) (*ReportErrorEventResponse, error) func (*UnimplementedReportErrorsServiceServer).ReportErrorEvent(context.Context, *ReportErrorEventRequest) (*ReportErrorEventResponse, error) func cloud.google.com/go/errorreporting/apiv1beta1.(*ReportErrorsClient).ReportErrorEvent(ctx context.Context, req *ReportErrorEventRequest, opts ...gax.CallOption) (*ReportErrorEventResponse, error)
Response for reporting an individual error event. Data may be added to this message in the future. Deprecated: Use ReportErrorEventResponse.ProtoReflect.Descriptor instead. (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func ReportErrorsServiceClient.ReportErrorEvent(ctx context.Context, in *ReportErrorEventRequest, opts ...grpc.CallOption) (*ReportErrorEventResponse, error) func ReportErrorsServiceServer.ReportErrorEvent(context.Context, *ReportErrorEventRequest) (*ReportErrorEventResponse, error) func (*UnimplementedReportErrorsServiceServer).ReportErrorEvent(context.Context, *ReportErrorEventRequest) (*ReportErrorEventResponse, error) func cloud.google.com/go/errorreporting/apiv1beta1.(*ReportErrorsClient).ReportErrorEvent(ctx context.Context, req *ReportErrorEventRequest, opts ...gax.CallOption) (*ReportErrorEventResponse, error)
ReportErrorsServiceClient is the client API for ReportErrorsService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. Report an individual error event. This endpoint accepts **either** an OAuth token, **or** an [API key](https://support.google.com/cloud/answer/6158862) for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456` func NewReportErrorsServiceClient(cc grpc.ClientConnInterface) ReportErrorsServiceClient
ReportErrorsServiceServer is the server API for ReportErrorsService service. Report an individual error event. This endpoint accepts **either** an OAuth token, **or** an [API key](https://support.google.com/cloud/answer/6158862) for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456` *UnimplementedReportErrorsServiceServer func RegisterReportErrorsServiceServer(s *grpc.Server, srv ReportErrorsServiceServer)
Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel. Type of the MonitoredResource. List of possible values: https://cloud.google.com/monitoring/api/resources Value is set automatically for incoming errors and must not be set when reporting errors. An identifier of the service, such as the name of the executable, job, or Google App Engine service name. This field is expected to have a low number of values that are relatively stable over time, as opposed to `version`, which can be changed whenever new code is deployed. Contains the service name for error reports extracted from Google App Engine logs or `default` if the App Engine default service is used. Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example. For App Engine standard environment, the version is set to the version of the app. Deprecated: Use ServiceContext.ProtoReflect.Descriptor instead. (*T) GetResourceType() string (*T) GetService() string (*T) GetVersion() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ErrorEvent).GetServiceContext() *ServiceContext func (*ErrorGroupStats).GetAffectedServices() []*ServiceContext func (*ReportedErrorEvent).GetServiceContext() *ServiceContext
Specifies criteria for filtering a subset of service contexts. The fields in the filter correspond to the fields in `ServiceContext`. Only exact, case-sensitive matches are supported. If a field is unset or empty, it matches arbitrary values. Type of the MonitoredResource. List of possible values: https://cloud.google.com/monitoring/api/resources Value is set automatically for incoming errors and must not be set when reporting errors. An identifier of the service, such as the name of the executable, job, or Google App Engine service name. This field is expected to have a low number of values that are relatively stable over time, as opposed to `version`, which can be changed whenever new code is deployed. Contains the service name for error reports extracted from Google App Engine logs or `default` if the App Engine default service is used. Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example. For App Engine standard environment, the version is set to the version of the app. Deprecated: Use ServiceContextFilter.ProtoReflect.Descriptor instead. (*T) GetResourceType() string (*T) GetService() string (*T) GetVersion() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ListEventsRequest).GetServiceFilter() *ServiceContextFilter func (*ListGroupStatsRequest).GetServiceFilter() *ServiceContextFilter
Indicates a location in the source code of the service for which errors are reported. `functionName` must be provided by the application when reporting an error, unless the error report contains a `message` with a supported exception stack trace. All fields are optional for the later case. The source code filename, which can include a truncated relative path, or a full path from a production machine. Human-readable name of a function or method. The value can include optional context like the class or package name. For example, `my.package.MyClass.method` in case of Java. 1-based. 0 indicates that the line number is unknown. Deprecated: Use SourceLocation.ProtoReflect.Descriptor instead. (*T) GetFilePath() string (*T) GetFunctionName() string (*T) GetLineNumber() int32 (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ErrorContext).GetReportLocation() *SourceLocation
The number of errors in a given time period. All numbers are approximate since the error events are sampled before counting them. Approximate number of occurrences in the given time period. End of the time period to which `count` refers (excluded). Start of the time period to which `count` refers (included). Deprecated: Use TimedCount.ProtoReflect.Descriptor instead. (*T) GetCount() int64 (*T) GetEndTime() *timestamppb.Timestamp (*T) GetStartTime() *timestamppb.Timestamp (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ErrorGroupStats).GetTimedCounts() []*TimedCount
Specifies how the time periods of error group counts are aligned. ( T) Descriptor() protoreflect.EnumDescriptor ( T) Enum() *TimedCountAlignment Deprecated: Use TimedCountAlignment.Descriptor instead. ( T) Number() protoreflect.EnumNumber ( T) String() string ( T) Type() protoreflect.EnumType T : google.golang.org/protobuf/reflect/protoreflect.Enum T : expvar.Var T : fmt.Stringer func (*ListGroupStatsRequest).GetAlignment() TimedCountAlignment func TimedCountAlignment.Enum() *TimedCountAlignment const TimedCountAlignment_ALIGNMENT_EQUAL_AT_END const TimedCountAlignment_ALIGNMENT_EQUAL_ROUNDED const TimedCountAlignment_ERROR_COUNT_ALIGNMENT_UNSPECIFIED
Information related to tracking the progress on resolving the error. A URL pointing to a related entry in an issue tracking system. Example: `https://github.com/user/project/issues/4` Deprecated: Use TrackingIssue.ProtoReflect.Descriptor instead. (*T) GetUrl() string (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func (*ErrorGroup).GetTrackingIssues() []*TrackingIssue
UnimplementedErrorGroupServiceServer can be embedded to have forward compatible implementations. (*T) GetGroup(context.Context, *GetGroupRequest) (*ErrorGroup, error) (*T) UpdateGroup(context.Context, *UpdateGroupRequest) (*ErrorGroup, error) *T : ErrorGroupServiceServer
UnimplementedErrorStatsServiceServer can be embedded to have forward compatible implementations. (*T) DeleteEvents(context.Context, *DeleteEventsRequest) (*DeleteEventsResponse, error) (*T) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) (*T) ListGroupStats(context.Context, *ListGroupStatsRequest) (*ListGroupStatsResponse, error) *T : ErrorStatsServiceServer
UnimplementedReportErrorsServiceServer can be embedded to have forward compatible implementations. (*T) ReportErrorEvent(context.Context, *ReportErrorEventRequest) (*ReportErrorEventResponse, error) *T : ReportErrorsServiceServer
A request to replace the existing data for the given group. Required. The group which replaces the resource on the server. Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead. (*T) GetGroup() *ErrorGroup (*T) ProtoMessage() (*T) ProtoReflect() protoreflect.Message (*T) Reset() (*T) String() string *T : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *T : google.golang.org/protobuf/runtime/protoiface.MessageV1 *T : expvar.Var *T : fmt.Stringer func ErrorGroupServiceClient.UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error) func ErrorGroupServiceServer.UpdateGroup(context.Context, *UpdateGroupRequest) (*ErrorGroup, error) func (*UnimplementedErrorGroupServiceServer).UpdateGroup(context.Context, *UpdateGroupRequest) (*ErrorGroup, error) func cloud.google.com/go/errorreporting/apiv1beta1.(*ErrorGroupClient).UpdateGroup(ctx context.Context, req *UpdateGroupRequest, opts ...gax.CallOption) (*ErrorGroup, error)
Package-Level Functions (total 24, in which 6 are exported)
Package-Level Variables (total 38, in which 10 are exported)
Enum value maps for ErrorGroupOrder.
Enum value maps for ErrorGroupOrder.
Enum value maps for QueryTimeRange_Period.
Enum value maps for QueryTimeRange_Period.
Enum value maps for TimedCountAlignment.
Enum value maps for TimedCountAlignment.
Package-Level Constants (total 14, all are exported)
Number of affected users in the given time window in descending order.
Total count of errors in the given time window in descending order.
Timestamp when the group was created in descending order.
Timestamp when the group was last seen in the given time window in descending order.
Retrieve data for the last day. Recommended minimum timed count duration: 1 hour.
Retrieve data for the last hour. Recommended minimum timed count duration: 1 min.
Retrieve data for the last week. Recommended minimum timed count duration: 6 hours.
Retrieve data for the last 30 days. Recommended minimum timed count duration: 1 day.
Retrieve data for the last 6 hours. Recommended minimum timed count duration: 10 min.
The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the end of the requested time period. This can result in a different size of the first time period.
The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the `alignment_time` provided in the request. The `alignment_time` does not have to be inside the query period but even if it is outside, only time periods are returned which overlap with the query period. A rounded alignment will typically result in a different size of the first or the last time period.