errorreportingpb

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ResolutionStatus_name = map[int32]string{
		0: "RESOLUTION_STATUS_UNSPECIFIED",
		1: "OPEN",
		2: "ACKNOWLEDGED",
		3: "RESOLVED",
		4: "MUTED",
	}
	ResolutionStatus_value = map[string]int32{
		"RESOLUTION_STATUS_UNSPECIFIED": 0,
		"OPEN":                          1,
		"ACKNOWLEDGED":                  2,
		"RESOLVED":                      3,
		"MUTED":                         4,
	}
)

Enum value maps for ResolutionStatus.

View Source
var (
	TimedCountAlignment_name = map[int32]string{
		0: "ERROR_COUNT_ALIGNMENT_UNSPECIFIED",
		1: "ALIGNMENT_EQUAL_ROUNDED",
		2: "ALIGNMENT_EQUAL_AT_END",
	}
	TimedCountAlignment_value = map[string]int32{
		"ERROR_COUNT_ALIGNMENT_UNSPECIFIED": 0,
		"ALIGNMENT_EQUAL_ROUNDED":           1,
		"ALIGNMENT_EQUAL_AT_END":            2,
	}
)

Enum value maps for TimedCountAlignment.

View Source
var (
	ErrorGroupOrder_name = map[int32]string{
		0: "GROUP_ORDER_UNSPECIFIED",
		1: "COUNT_DESC",
		2: "LAST_SEEN_DESC",
		3: "CREATED_DESC",
		4: "AFFECTED_USERS_DESC",
	}
	ErrorGroupOrder_value = map[string]int32{
		"GROUP_ORDER_UNSPECIFIED": 0,
		"COUNT_DESC":              1,
		"LAST_SEEN_DESC":          2,
		"CREATED_DESC":            3,
		"AFFECTED_USERS_DESC":     4,
	}
)

Enum value maps for ErrorGroupOrder.

View Source
var (
	QueryTimeRange_Period_name = map[int32]string{
		0: "PERIOD_UNSPECIFIED",
		1: "PERIOD_1_HOUR",
		2: "PERIOD_6_HOURS",
		3: "PERIOD_1_DAY",
		4: "PERIOD_1_WEEK",
		5: "PERIOD_30_DAYS",
	}
	QueryTimeRange_Period_value = map[string]int32{
		"PERIOD_UNSPECIFIED": 0,
		"PERIOD_1_HOUR":      1,
		"PERIOD_6_HOURS":     2,
		"PERIOD_1_DAY":       3,
		"PERIOD_1_WEEK":      4,
		"PERIOD_30_DAYS":     5,
	}
)

Enum value maps for QueryTimeRange_Period.

View Source
var File_google_devtools_clouderrorreporting_v1beta1_common_proto protoreflect.FileDescriptor
View Source
var File_google_devtools_clouderrorreporting_v1beta1_error_group_service_proto protoreflect.FileDescriptor
View Source
var File_google_devtools_clouderrorreporting_v1beta1_error_stats_service_proto protoreflect.FileDescriptor
View Source
var File_google_devtools_clouderrorreporting_v1beta1_report_errors_service_proto protoreflect.FileDescriptor

Functions

func RegisterErrorGroupServiceServer

func RegisterErrorGroupServiceServer(s *grpc.Server, srv ErrorGroupServiceServer)

func RegisterErrorStatsServiceServer

func RegisterErrorStatsServiceServer(s *grpc.Server, srv ErrorStatsServiceServer)

func RegisterReportErrorsServiceServer

func RegisterReportErrorsServiceServer(s *grpc.Server, srv ReportErrorsServiceServer)

Types

type DeleteEventsRequest

type DeleteEventsRequest struct {

	// Required. The resource name of the Google Cloud Platform project. Written
	// as `projects/{projectID}`, where `{projectID}` is the
	// [Google Cloud Platform project
	// ID](https://support.google.com/cloud/answer/6158840).
	//
	// Example: `projects/my-project-123`.
	ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	// contains filtered or unexported fields
}

Deletes all events in the project.

func (*DeleteEventsRequest) Descriptor deprecated

func (*DeleteEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEventsRequest.ProtoReflect.Descriptor instead.

func (*DeleteEventsRequest) GetProjectName

func (x *DeleteEventsRequest) GetProjectName() string

func (*DeleteEventsRequest) ProtoMessage

func (*DeleteEventsRequest) ProtoMessage()

func (*DeleteEventsRequest) ProtoReflect

func (x *DeleteEventsRequest) ProtoReflect() protoreflect.Message

func (*DeleteEventsRequest) Reset

func (x *DeleteEventsRequest) Reset()

func (*DeleteEventsRequest) String

func (x *DeleteEventsRequest) String() string

type DeleteEventsResponse

type DeleteEventsResponse struct {
	// contains filtered or unexported fields
}

Response message for deleting error events.

func (*DeleteEventsResponse) Descriptor deprecated

func (*DeleteEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEventsResponse.ProtoReflect.Descriptor instead.

func (*DeleteEventsResponse) ProtoMessage

func (*DeleteEventsResponse) ProtoMessage()

func (*DeleteEventsResponse) ProtoReflect

func (x *DeleteEventsResponse) ProtoReflect() protoreflect.Message

func (*DeleteEventsResponse) Reset

func (x *DeleteEventsResponse) Reset()

func (*DeleteEventsResponse) String

func (x *DeleteEventsResponse) String() string

type ErrorContext

type ErrorContext struct {

	// The HTTP request which was processed when the error was
	// triggered.
	HttpRequest *HttpRequestContext `protobuf:"bytes,1,opt,name=http_request,json=httpRequest,proto3" json:"http_request,omitempty"`
	// 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`.
	User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// 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.
	ReportLocation *SourceLocation `protobuf:"bytes,3,opt,name=report_location,json=reportLocation,proto3" json:"report_location,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*ErrorContext) Descriptor deprecated

func (*ErrorContext) Descriptor() ([]byte, []int)

Deprecated: Use ErrorContext.ProtoReflect.Descriptor instead.

func (*ErrorContext) GetHttpRequest

func (x *ErrorContext) GetHttpRequest() *HttpRequestContext

func (*ErrorContext) GetReportLocation

func (x *ErrorContext) GetReportLocation() *SourceLocation

func (*ErrorContext) GetUser

func (x *ErrorContext) GetUser() string

func (*ErrorContext) ProtoMessage

func (*ErrorContext) ProtoMessage()

func (*ErrorContext) ProtoReflect

func (x *ErrorContext) ProtoReflect() protoreflect.Message

func (*ErrorContext) Reset

func (x *ErrorContext) Reset()

func (*ErrorContext) String

func (x *ErrorContext) String() string

type ErrorEvent

type ErrorEvent struct {

	// 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.
	EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
	// The `ServiceContext` for which this error was reported.
	ServiceContext *ServiceContext `protobuf:"bytes,2,opt,name=service_context,json=serviceContext,proto3" json:"service_context,omitempty"`
	// The stack trace that was reported or logged by the service.
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// Data about the context in which the error occurred.
	Context *ErrorContext `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

An error event which is returned by the Error Reporting system.

func (*ErrorEvent) Descriptor deprecated

func (*ErrorEvent) Descriptor() ([]byte, []int)

Deprecated: Use ErrorEvent.ProtoReflect.Descriptor instead.

func (*ErrorEvent) GetContext

func (x *ErrorEvent) GetContext() *ErrorContext

func (*ErrorEvent) GetEventTime

func (x *ErrorEvent) GetEventTime() *timestamppb.Timestamp

func (*ErrorEvent) GetMessage

func (x *ErrorEvent) GetMessage() string

func (*ErrorEvent) GetServiceContext

func (x *ErrorEvent) GetServiceContext() *ServiceContext

func (*ErrorEvent) ProtoMessage

func (*ErrorEvent) ProtoMessage()

func (*ErrorEvent) ProtoReflect

func (x *ErrorEvent) ProtoReflect() protoreflect.Message

func (*ErrorEvent) Reset

func (x *ErrorEvent) Reset()

func (*ErrorEvent) String

func (x *ErrorEvent) String() string

type ErrorGroup

type ErrorGroup struct {

	// The group resource name.
	// Example: <code>projects/my-project-123/groups/CNSgkpnppqKCUw</code>
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// 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.
	GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// Associated tracking issues.
	TrackingIssues []*TrackingIssue `protobuf:"bytes,3,rep,name=tracking_issues,json=trackingIssues,proto3" json:"tracking_issues,omitempty"`
	// Error group's resolution status.
	// An unspecified resolution status will be interpreted as OPEN
	ResolutionStatus ResolutionStatus `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

Description of a group of similar error events.

func (*ErrorGroup) Descriptor deprecated

func (*ErrorGroup) Descriptor() ([]byte, []int)

Deprecated: Use ErrorGroup.ProtoReflect.Descriptor instead.

func (*ErrorGroup) GetGroupId

func (x *ErrorGroup) GetGroupId() string

func (*ErrorGroup) GetName

func (x *ErrorGroup) GetName() string

func (*ErrorGroup) GetResolutionStatus

func (x *ErrorGroup) GetResolutionStatus() ResolutionStatus

func (*ErrorGroup) GetTrackingIssues

func (x *ErrorGroup) GetTrackingIssues() []*TrackingIssue

func (*ErrorGroup) ProtoMessage

func (*ErrorGroup) ProtoMessage()

func (*ErrorGroup) ProtoReflect

func (x *ErrorGroup) ProtoReflect() protoreflect.Message

func (*ErrorGroup) Reset

func (x *ErrorGroup) Reset()

func (*ErrorGroup) String

func (x *ErrorGroup) String() string

type ErrorGroupOrder

type ErrorGroupOrder int32

A sorting order of error groups.

const (
	// No group order specified.
	ErrorGroupOrder_GROUP_ORDER_UNSPECIFIED ErrorGroupOrder = 0
	// Total count of errors in the given time window in descending order.
	ErrorGroupOrder_COUNT_DESC ErrorGroupOrder = 1
	// Timestamp when the group was last seen in the given time window
	// in descending order.
	ErrorGroupOrder_LAST_SEEN_DESC ErrorGroupOrder = 2
	// Timestamp when the group was created in descending order.
	ErrorGroupOrder_CREATED_DESC ErrorGroupOrder = 3
	// Number of affected users in the given time window in descending order.
	ErrorGroupOrder_AFFECTED_USERS_DESC ErrorGroupOrder = 4
)

func (ErrorGroupOrder) Descriptor

func (ErrorGroupOrder) Enum

func (x ErrorGroupOrder) Enum() *ErrorGroupOrder

func (ErrorGroupOrder) EnumDescriptor deprecated

func (ErrorGroupOrder) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorGroupOrder.Descriptor instead.

func (ErrorGroupOrder) Number

func (ErrorGroupOrder) String

func (x ErrorGroupOrder) String() string

func (ErrorGroupOrder) Type

type ErrorGroupServiceClient

type ErrorGroupServiceClient interface {
	// Get the specified group.
	GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error)
	// Replace the data for the specified group.
	// Fails if the group does not exist.
	UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*ErrorGroup, error)
}

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.

type ErrorGroupServiceServer

type ErrorGroupServiceServer interface {
	// Get the specified group.
	GetGroup(context.Context, *GetGroupRequest) (*ErrorGroup, error)
	// Replace the data for the specified group.
	// Fails if the group does not exist.
	UpdateGroup(context.Context, *UpdateGroupRequest) (*ErrorGroup, error)
}

ErrorGroupServiceServer is the server API for ErrorGroupService service.

type ErrorGroupStats

type ErrorGroupStats struct {

	// Group data that is independent of the filter criteria.
	Group *ErrorGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// Approximate total number of events in the given group that match
	// the filter criteria.
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// 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.
	AffectedUsersCount int64 `protobuf:"varint,3,opt,name=affected_users_count,json=affectedUsersCount,proto3" json:"affected_users_count,omitempty"`
	// 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.
	TimedCounts []*TimedCount `protobuf:"bytes,4,rep,name=timed_counts,json=timedCounts,proto3" json:"timed_counts,omitempty"`
	// 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.
	FirstSeenTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=first_seen_time,json=firstSeenTime,proto3" json:"first_seen_time,omitempty"`
	// 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.
	LastSeenTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_seen_time,json=lastSeenTime,proto3" json:"last_seen_time,omitempty"`
	// 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.
	AffectedServices []*ServiceContext `protobuf:"bytes,7,rep,name=affected_services,json=affectedServices,proto3" json:"affected_services,omitempty"`
	// The total number of services with a non-zero error count for the given
	// filter criteria.
	NumAffectedServices int32 `protobuf:"varint,8,opt,name=num_affected_services,json=numAffectedServices,proto3" json:"num_affected_services,omitempty"`
	// 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.
	Representative *ErrorEvent `protobuf:"bytes,9,opt,name=representative,proto3" json:"representative,omitempty"`
	// contains filtered or unexported fields
}

Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.

func (*ErrorGroupStats) Descriptor deprecated

func (*ErrorGroupStats) Descriptor() ([]byte, []int)

Deprecated: Use ErrorGroupStats.ProtoReflect.Descriptor instead.

func (*ErrorGroupStats) GetAffectedServices

func (x *ErrorGroupStats) GetAffectedServices() []*ServiceContext

func (*ErrorGroupStats) GetAffectedUsersCount

func (x *ErrorGroupStats) GetAffectedUsersCount() int64

func (*ErrorGroupStats) GetCount

func (x *ErrorGroupStats) GetCount() int64

func (*ErrorGroupStats) GetFirstSeenTime

func (x *ErrorGroupStats) GetFirstSeenTime() *timestamppb.Timestamp

func (*ErrorGroupStats) GetGroup

func (x *ErrorGroupStats) GetGroup() *ErrorGroup

func (*ErrorGroupStats) GetLastSeenTime

func (x *ErrorGroupStats) GetLastSeenTime() *timestamppb.Timestamp

func (*ErrorGroupStats) GetNumAffectedServices

func (x *ErrorGroupStats) GetNumAffectedServices() int32

func (*ErrorGroupStats) GetRepresentative

func (x *ErrorGroupStats) GetRepresentative() *ErrorEvent

func (*ErrorGroupStats) GetTimedCounts

func (x *ErrorGroupStats) GetTimedCounts() []*TimedCount

func (*ErrorGroupStats) ProtoMessage

func (*ErrorGroupStats) ProtoMessage()

func (*ErrorGroupStats) ProtoReflect

func (x *ErrorGroupStats) ProtoReflect() protoreflect.Message

func (*ErrorGroupStats) Reset

func (x *ErrorGroupStats) Reset()

func (*ErrorGroupStats) String

func (x *ErrorGroupStats) String() string

type ErrorStatsServiceClient

type ErrorStatsServiceClient interface {
	// Lists the specified groups.
	ListGroupStats(ctx context.Context, in *ListGroupStatsRequest, opts ...grpc.CallOption) (*ListGroupStatsResponse, error)
	// Lists the specified events.
	ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error)
	// Deletes all error events of a given project.
	DeleteEvents(ctx context.Context, in *DeleteEventsRequest, opts ...grpc.CallOption) (*DeleteEventsResponse, 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.

type ErrorStatsServiceServer

type ErrorStatsServiceServer interface {
	// Lists the specified groups.
	ListGroupStats(context.Context, *ListGroupStatsRequest) (*ListGroupStatsResponse, error)
	// Lists the specified events.
	ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
	// Deletes all error events of a given project.
	DeleteEvents(context.Context, *DeleteEventsRequest) (*DeleteEventsResponse, error)
}

ErrorStatsServiceServer is the server API for ErrorStatsService service.

type GetGroupRequest

type GetGroupRequest struct {

	// Required. 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`
	GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// contains filtered or unexported fields
}

A request to return an individual group.

func (*GetGroupRequest) Descriptor deprecated

func (*GetGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) GetGroupName

func (x *GetGroupRequest) GetGroupName() string

func (*GetGroupRequest) ProtoMessage

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect

func (x *GetGroupRequest) ProtoReflect() protoreflect.Message

func (*GetGroupRequest) Reset

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String

func (x *GetGroupRequest) String() string

type HttpRequestContext

type HttpRequestContext struct {

	// The type of HTTP request, such as `GET`, `POST`, etc.
	Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	// The URL of the request.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// The user agent information that is provided with the request.
	UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	// The referrer information that is provided with the request.
	Referrer string `protobuf:"bytes,4,opt,name=referrer,proto3" json:"referrer,omitempty"`
	// The HTTP response status code for the request.
	ResponseStatusCode int32 `protobuf:"varint,5,opt,name=response_status_code,json=responseStatusCode,proto3" json:"response_status_code,omitempty"`
	// 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.
	RemoteIp string `protobuf:"bytes,6,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*HttpRequestContext) Descriptor deprecated

func (*HttpRequestContext) Descriptor() ([]byte, []int)

Deprecated: Use HttpRequestContext.ProtoReflect.Descriptor instead.

func (*HttpRequestContext) GetMethod

func (x *HttpRequestContext) GetMethod() string

func (*HttpRequestContext) GetReferrer

func (x *HttpRequestContext) GetReferrer() string

func (*HttpRequestContext) GetRemoteIp

func (x *HttpRequestContext) GetRemoteIp() string

func (*HttpRequestContext) GetResponseStatusCode

func (x *HttpRequestContext) GetResponseStatusCode() int32

func (*HttpRequestContext) GetUrl

func (x *HttpRequestContext) GetUrl() string

func (*HttpRequestContext) GetUserAgent

func (x *HttpRequestContext) GetUserAgent() string

func (*HttpRequestContext) ProtoMessage

func (*HttpRequestContext) ProtoMessage()

func (*HttpRequestContext) ProtoReflect

func (x *HttpRequestContext) ProtoReflect() protoreflect.Message

func (*HttpRequestContext) Reset

func (x *HttpRequestContext) Reset()

func (*HttpRequestContext) String

func (x *HttpRequestContext) String() string

type ListEventsRequest

type ListEventsRequest struct {

	// Required. The resource name of the Google Cloud Platform project. Written
	// as `projects/{projectID}`, where `{projectID}` is the
	// [Google Cloud Platform project
	// ID](https://support.google.com/cloud/answer/6158840).
	//
	// Example: `projects/my-project-123`.
	ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	// Required. The group for which events shall be returned.
	GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// 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.
	ServiceFilter *ServiceContextFilter `protobuf:"bytes,3,opt,name=service_filter,json=serviceFilter,proto3" json:"service_filter,omitempty"`
	// 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.
	TimeRange *QueryTimeRange `protobuf:"bytes,4,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"`
	// Optional. The maximum number of results to return per response.
	PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A `next_page_token` provided by a previous response.
	PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Specifies a set of error events to return.

func (*ListEventsRequest) Descriptor deprecated

func (*ListEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.

func (*ListEventsRequest) GetGroupId

func (x *ListEventsRequest) GetGroupId() string

func (*ListEventsRequest) GetPageSize

func (x *ListEventsRequest) GetPageSize() int32

func (*ListEventsRequest) GetPageToken

func (x *ListEventsRequest) GetPageToken() string

func (*ListEventsRequest) GetProjectName

func (x *ListEventsRequest) GetProjectName() string

func (*ListEventsRequest) GetServiceFilter

func (x *ListEventsRequest) GetServiceFilter() *ServiceContextFilter

func (*ListEventsRequest) GetTimeRange

func (x *ListEventsRequest) GetTimeRange() *QueryTimeRange

func (*ListEventsRequest) ProtoMessage

func (*ListEventsRequest) ProtoMessage()

func (*ListEventsRequest) ProtoReflect

func (x *ListEventsRequest) ProtoReflect() protoreflect.Message

func (*ListEventsRequest) Reset

func (x *ListEventsRequest) Reset()

func (*ListEventsRequest) String

func (x *ListEventsRequest) String() string

type ListEventsResponse

type ListEventsResponse struct {

	// The error events which match the given request.
	ErrorEvents []*ErrorEvent `protobuf:"bytes,1,rep,name=error_events,json=errorEvents,proto3" json:"error_events,omitempty"`
	// 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.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The timestamp specifies the start time to which the request was restricted.
	TimeRangeBegin *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin,proto3" json:"time_range_begin,omitempty"`
	// contains filtered or unexported fields
}

Contains a set of requested error events.

func (*ListEventsResponse) Descriptor deprecated

func (*ListEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.

func (*ListEventsResponse) GetErrorEvents

func (x *ListEventsResponse) GetErrorEvents() []*ErrorEvent

func (*ListEventsResponse) GetNextPageToken

func (x *ListEventsResponse) GetNextPageToken() string

func (*ListEventsResponse) GetTimeRangeBegin

func (x *ListEventsResponse) GetTimeRangeBegin() *timestamppb.Timestamp

func (*ListEventsResponse) ProtoMessage

func (*ListEventsResponse) ProtoMessage()

func (*ListEventsResponse) ProtoReflect

func (x *ListEventsResponse) ProtoReflect() protoreflect.Message

func (*ListEventsResponse) Reset

func (x *ListEventsResponse) Reset()

func (*ListEventsResponse) String

func (x *ListEventsResponse) String() string

type ListGroupStatsRequest

type ListGroupStatsRequest struct {

	// 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](https://support.google.com/cloud/answer/6158840).
	//
	// Examples: `projects/my-project-123`, `projects/5551234`.
	ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	// Optional. List all <code>ErrorGroupStats</code> with these IDs.
	GroupId []string `protobuf:"bytes,2,rep,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// 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.
	ServiceFilter *ServiceContextFilter `protobuf:"bytes,3,opt,name=service_filter,json=serviceFilter,proto3" json:"service_filter,omitempty"`
	// 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.
	TimeRange *QueryTimeRange `protobuf:"bytes,5,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"`
	// Optional. The preferred duration for a single returned `TimedCount`.
	// If not set, no timed counts are returned.
	TimedCountDuration *durationpb.Duration `protobuf:"bytes,6,opt,name=timed_count_duration,json=timedCountDuration,proto3" json:"timed_count_duration,omitempty"`
	// Optional. The alignment of the timed counts to be returned.
	// Default is `ALIGNMENT_EQUAL_AT_END`.
	Alignment TimedCountAlignment `` /* 141-byte string literal not displayed */
	// Optional. Time where the timed counts shall be aligned if rounded
	// alignment is chosen. Default is 00:00 UTC.
	AlignmentTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=alignment_time,json=alignmentTime,proto3" json:"alignment_time,omitempty"`
	// Optional. The sort order in which the results are returned.
	// Default is `COUNT_DESC`.
	Order ErrorGroupOrder `` /* 129-byte string literal not displayed */
	// Optional. The maximum number of results to return per response.
	// Default is 20.
	PageSize int32 `protobuf:"varint,11,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// 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.
	PageToken string `protobuf:"bytes,12,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Specifies a set of `ErrorGroupStats` to return.

func (*ListGroupStatsRequest) Descriptor deprecated

func (*ListGroupStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListGroupStatsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupStatsRequest) GetAlignment

func (x *ListGroupStatsRequest) GetAlignment() TimedCountAlignment

func (*ListGroupStatsRequest) GetAlignmentTime

func (x *ListGroupStatsRequest) GetAlignmentTime() *timestamppb.Timestamp

func (*ListGroupStatsRequest) GetGroupId

func (x *ListGroupStatsRequest) GetGroupId() []string

func (*ListGroupStatsRequest) GetOrder

func (x *ListGroupStatsRequest) GetOrder() ErrorGroupOrder

func (*ListGroupStatsRequest) GetPageSize

func (x *ListGroupStatsRequest) GetPageSize() int32

func (*ListGroupStatsRequest) GetPageToken

func (x *ListGroupStatsRequest) GetPageToken() string

func (*ListGroupStatsRequest) GetProjectName

func (x *ListGroupStatsRequest) GetProjectName() string

func (*ListGroupStatsRequest) GetServiceFilter

func (x *ListGroupStatsRequest) GetServiceFilter() *ServiceContextFilter

func (*ListGroupStatsRequest) GetTimeRange

func (x *ListGroupStatsRequest) GetTimeRange() *QueryTimeRange

func (*ListGroupStatsRequest) GetTimedCountDuration

func (x *ListGroupStatsRequest) GetTimedCountDuration() *durationpb.Duration

func (*ListGroupStatsRequest) ProtoMessage

func (*ListGroupStatsRequest) ProtoMessage()

func (*ListGroupStatsRequest) ProtoReflect

func (x *ListGroupStatsRequest) ProtoReflect() protoreflect.Message

func (*ListGroupStatsRequest) Reset

func (x *ListGroupStatsRequest) Reset()

func (*ListGroupStatsRequest) String

func (x *ListGroupStatsRequest) String() string

type ListGroupStatsResponse

type ListGroupStatsResponse struct {

	// The error group stats which match the given request.
	ErrorGroupStats []*ErrorGroupStats `protobuf:"bytes,1,rep,name=error_group_stats,json=errorGroupStats,proto3" json:"error_group_stats,omitempty"`
	// 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.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// 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.
	TimeRangeBegin *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin,proto3" json:"time_range_begin,omitempty"`
	// contains filtered or unexported fields
}

Contains a set of requested error group stats.

func (*ListGroupStatsResponse) Descriptor deprecated

func (*ListGroupStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListGroupStatsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupStatsResponse) GetErrorGroupStats

func (x *ListGroupStatsResponse) GetErrorGroupStats() []*ErrorGroupStats

func (*ListGroupStatsResponse) GetNextPageToken

func (x *ListGroupStatsResponse) GetNextPageToken() string

func (*ListGroupStatsResponse) GetTimeRangeBegin

func (x *ListGroupStatsResponse) GetTimeRangeBegin() *timestamppb.Timestamp

func (*ListGroupStatsResponse) ProtoMessage

func (*ListGroupStatsResponse) ProtoMessage()

func (*ListGroupStatsResponse) ProtoReflect

func (x *ListGroupStatsResponse) ProtoReflect() protoreflect.Message

func (*ListGroupStatsResponse) Reset

func (x *ListGroupStatsResponse) Reset()

func (*ListGroupStatsResponse) String

func (x *ListGroupStatsResponse) String() string

type QueryTimeRange

type QueryTimeRange struct {

	// Restricts the query to the specified time range.
	Period QueryTimeRange_Period `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Requests might be rejected or the resulting timed count durations might be adjusted for lower durations.

func (*QueryTimeRange) Descriptor deprecated

func (*QueryTimeRange) Descriptor() ([]byte, []int)

Deprecated: Use QueryTimeRange.ProtoReflect.Descriptor instead.

func (*QueryTimeRange) GetPeriod

func (x *QueryTimeRange) GetPeriod() QueryTimeRange_Period

func (*QueryTimeRange) ProtoMessage

func (*QueryTimeRange) ProtoMessage()

func (*QueryTimeRange) ProtoReflect

func (x *QueryTimeRange) ProtoReflect() protoreflect.Message

func (*QueryTimeRange) Reset

func (x *QueryTimeRange) Reset()

func (*QueryTimeRange) String

func (x *QueryTimeRange) String() string

type QueryTimeRange_Period

type QueryTimeRange_Period int32

The supported time ranges.

const (
	// Do not use.
	QueryTimeRange_PERIOD_UNSPECIFIED QueryTimeRange_Period = 0
	// Retrieve data for the last hour.
	// Recommended minimum timed count duration: 1 min.
	QueryTimeRange_PERIOD_1_HOUR QueryTimeRange_Period = 1
	// Retrieve data for the last 6 hours.
	// Recommended minimum timed count duration: 10 min.
	QueryTimeRange_PERIOD_6_HOURS QueryTimeRange_Period = 2
	// Retrieve data for the last day.
	// Recommended minimum timed count duration: 1 hour.
	QueryTimeRange_PERIOD_1_DAY QueryTimeRange_Period = 3
	// Retrieve data for the last week.
	// Recommended minimum timed count duration: 6 hours.
	QueryTimeRange_PERIOD_1_WEEK QueryTimeRange_Period = 4
	// Retrieve data for the last 30 days.
	// Recommended minimum timed count duration: 1 day.
	QueryTimeRange_PERIOD_30_DAYS QueryTimeRange_Period = 5
)

func (QueryTimeRange_Period) Descriptor

func (QueryTimeRange_Period) Enum

func (QueryTimeRange_Period) EnumDescriptor deprecated

func (QueryTimeRange_Period) EnumDescriptor() ([]byte, []int)

Deprecated: Use QueryTimeRange_Period.Descriptor instead.

func (QueryTimeRange_Period) Number

func (QueryTimeRange_Period) String

func (x QueryTimeRange_Period) String() string

func (QueryTimeRange_Period) Type

type ReportErrorEventRequest

type ReportErrorEventRequest struct {

	// Required. The resource name of the Google Cloud Platform project. Written
	// as `projects/{projectId}`, where `{projectId}` is the
	// [Google Cloud Platform project
	// ID](https://support.google.com/cloud/answer/6158840).
	//
	// Example: // `projects/my-project-123`.
	ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	// Required. The error event to be reported.
	Event *ReportedErrorEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

A request for reporting an individual error event.

func (*ReportErrorEventRequest) Descriptor deprecated

func (*ReportErrorEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReportErrorEventRequest.ProtoReflect.Descriptor instead.

func (*ReportErrorEventRequest) GetEvent

func (*ReportErrorEventRequest) GetProjectName

func (x *ReportErrorEventRequest) GetProjectName() string

func (*ReportErrorEventRequest) ProtoMessage

func (*ReportErrorEventRequest) ProtoMessage()

func (*ReportErrorEventRequest) ProtoReflect

func (x *ReportErrorEventRequest) ProtoReflect() protoreflect.Message

func (*ReportErrorEventRequest) Reset

func (x *ReportErrorEventRequest) Reset()

func (*ReportErrorEventRequest) String

func (x *ReportErrorEventRequest) String() string

type ReportErrorEventResponse

type ReportErrorEventResponse struct {
	// contains filtered or unexported fields
}

Response for reporting an individual error event. Data may be added to this message in the future.

func (*ReportErrorEventResponse) Descriptor deprecated

func (*ReportErrorEventResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReportErrorEventResponse.ProtoReflect.Descriptor instead.

func (*ReportErrorEventResponse) ProtoMessage

func (*ReportErrorEventResponse) ProtoMessage()

func (*ReportErrorEventResponse) ProtoReflect

func (x *ReportErrorEventResponse) ProtoReflect() protoreflect.Message

func (*ReportErrorEventResponse) Reset

func (x *ReportErrorEventResponse) Reset()

func (*ReportErrorEventResponse) String

func (x *ReportErrorEventResponse) String() string

type ReportErrorsServiceClient

type ReportErrorsServiceClient interface {
	// Report an individual error event and record the event to a log.
	//
	// 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/{projectName}/events:report?key=123ABC456`
	//
	// **Note:** [Error Reporting](/error-reporting) is a global service built
	// on Cloud Logging and doesn't analyze logs stored
	// in regional log buckets or logs routed to other Google Cloud projects.
	ReportErrorEvent(ctx context.Context, in *ReportErrorEventRequest, opts ...grpc.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.

type ReportErrorsServiceServer

type ReportErrorsServiceServer interface {
	// Report an individual error event and record the event to a log.
	//
	// 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/{projectName}/events:report?key=123ABC456`
	//
	// **Note:** [Error Reporting](/error-reporting) is a global service built
	// on Cloud Logging and doesn't analyze logs stored
	// in regional log buckets or logs routed to other Google Cloud projects.
	ReportErrorEvent(context.Context, *ReportErrorEventRequest) (*ReportErrorEventResponse, error)
}

ReportErrorsServiceServer is the server API for ReportErrorsService service.

type ReportedErrorEvent

type ReportedErrorEvent struct {

	// Optional. Time when the event occurred.
	// If not provided, the time when the event was received by the
	// Error Reporting system will be used.
	EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
	// Required. The service context in which this error has occurred.
	ServiceContext *ServiceContext `protobuf:"bytes,2,opt,name=service_context,json=serviceContext,proto3" json:"service_context,omitempty"`
	// 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).
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// Optional. A description of the context in which the error occurred.
	Context *ErrorContext `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

An error event which is reported to the Error Reporting system.

func (*ReportedErrorEvent) Descriptor deprecated

func (*ReportedErrorEvent) Descriptor() ([]byte, []int)

Deprecated: Use ReportedErrorEvent.ProtoReflect.Descriptor instead.

func (*ReportedErrorEvent) GetContext

func (x *ReportedErrorEvent) GetContext() *ErrorContext

func (*ReportedErrorEvent) GetEventTime

func (x *ReportedErrorEvent) GetEventTime() *timestamppb.Timestamp

func (*ReportedErrorEvent) GetMessage

func (x *ReportedErrorEvent) GetMessage() string

func (*ReportedErrorEvent) GetServiceContext

func (x *ReportedErrorEvent) GetServiceContext() *ServiceContext

func (*ReportedErrorEvent) ProtoMessage

func (*ReportedErrorEvent) ProtoMessage()

func (*ReportedErrorEvent) ProtoReflect

func (x *ReportedErrorEvent) ProtoReflect() protoreflect.Message

func (*ReportedErrorEvent) Reset

func (x *ReportedErrorEvent) Reset()

func (*ReportedErrorEvent) String

func (x *ReportedErrorEvent) String() string

type ResolutionStatus

type ResolutionStatus int32

Resolution status of an error group.

const (
	// Status is unknown. When left unspecified in requests, it is treated like
	// OPEN.
	ResolutionStatus_RESOLUTION_STATUS_UNSPECIFIED ResolutionStatus = 0
	// The error group is not being addressed. This is the default for
	// new groups. It is also used for errors re-occurring after marked RESOLVED.
	ResolutionStatus_OPEN ResolutionStatus = 1
	// Error Group manually acknowledged, it can have an issue link attached.
	ResolutionStatus_ACKNOWLEDGED ResolutionStatus = 2
	// Error Group manually resolved, more events for this group are not expected
	// to occur.
	ResolutionStatus_RESOLVED ResolutionStatus = 3
	// The error group is muted and excluded by default on group stats requests.
	ResolutionStatus_MUTED ResolutionStatus = 4
)

func (ResolutionStatus) Descriptor

func (ResolutionStatus) Enum

func (ResolutionStatus) EnumDescriptor deprecated

func (ResolutionStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResolutionStatus.Descriptor instead.

func (ResolutionStatus) Number

func (ResolutionStatus) String

func (x ResolutionStatus) String() string

func (ResolutionStatus) Type

type ServiceContext

type ServiceContext struct {

	// 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.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// 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.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// 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.
	ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	// contains filtered or unexported fields
}

Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel.

func (*ServiceContext) Descriptor deprecated

func (*ServiceContext) Descriptor() ([]byte, []int)

Deprecated: Use ServiceContext.ProtoReflect.Descriptor instead.

func (*ServiceContext) GetResourceType

func (x *ServiceContext) GetResourceType() string

func (*ServiceContext) GetService

func (x *ServiceContext) GetService() string

func (*ServiceContext) GetVersion

func (x *ServiceContext) GetVersion() string

func (*ServiceContext) ProtoMessage

func (*ServiceContext) ProtoMessage()

func (*ServiceContext) ProtoReflect

func (x *ServiceContext) ProtoReflect() protoreflect.Message

func (*ServiceContext) Reset

func (x *ServiceContext) Reset()

func (*ServiceContext) String

func (x *ServiceContext) String() string

type ServiceContextFilter

type ServiceContextFilter struct {

	// Optional. The exact value to match against
	// [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// Optional. The exact value to match against
	// [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// Optional. The exact value to match against
	// [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
	ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*ServiceContextFilter) Descriptor deprecated

func (*ServiceContextFilter) Descriptor() ([]byte, []int)

Deprecated: Use ServiceContextFilter.ProtoReflect.Descriptor instead.

func (*ServiceContextFilter) GetResourceType

func (x *ServiceContextFilter) GetResourceType() string

func (*ServiceContextFilter) GetService

func (x *ServiceContextFilter) GetService() string

func (*ServiceContextFilter) GetVersion

func (x *ServiceContextFilter) GetVersion() string

func (*ServiceContextFilter) ProtoMessage

func (*ServiceContextFilter) ProtoMessage()

func (*ServiceContextFilter) ProtoReflect

func (x *ServiceContextFilter) ProtoReflect() protoreflect.Message

func (*ServiceContextFilter) Reset

func (x *ServiceContextFilter) Reset()

func (*ServiceContextFilter) String

func (x *ServiceContextFilter) String() string

type SourceLocation

type SourceLocation struct {

	// The source code filename, which can include a truncated relative
	// path, or a full path from a production machine.
	FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	// 1-based. 0 indicates that the line number is unknown.
	LineNumber int32 `protobuf:"varint,2,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
	// 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.
	FunctionName string `protobuf:"bytes,4,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*SourceLocation) Descriptor deprecated

func (*SourceLocation) Descriptor() ([]byte, []int)

Deprecated: Use SourceLocation.ProtoReflect.Descriptor instead.

func (*SourceLocation) GetFilePath

func (x *SourceLocation) GetFilePath() string

func (*SourceLocation) GetFunctionName

func (x *SourceLocation) GetFunctionName() string

func (*SourceLocation) GetLineNumber

func (x *SourceLocation) GetLineNumber() int32

func (*SourceLocation) ProtoMessage

func (*SourceLocation) ProtoMessage()

func (*SourceLocation) ProtoReflect

func (x *SourceLocation) ProtoReflect() protoreflect.Message

func (*SourceLocation) Reset

func (x *SourceLocation) Reset()

func (*SourceLocation) String

func (x *SourceLocation) String() string

type TimedCount

type TimedCount struct {

	// Approximate number of occurrences in the given time period.
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// Start of the time period to which `count` refers (included).
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// End of the time period to which `count` refers (excluded).
	EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

The number of errors in a given time period. All numbers are approximate since the error events are sampled before counting them.

func (*TimedCount) Descriptor deprecated

func (*TimedCount) Descriptor() ([]byte, []int)

Deprecated: Use TimedCount.ProtoReflect.Descriptor instead.

func (*TimedCount) GetCount

func (x *TimedCount) GetCount() int64

func (*TimedCount) GetEndTime

func (x *TimedCount) GetEndTime() *timestamppb.Timestamp

func (*TimedCount) GetStartTime

func (x *TimedCount) GetStartTime() *timestamppb.Timestamp

func (*TimedCount) ProtoMessage

func (*TimedCount) ProtoMessage()

func (*TimedCount) ProtoReflect

func (x *TimedCount) ProtoReflect() protoreflect.Message

func (*TimedCount) Reset

func (x *TimedCount) Reset()

func (*TimedCount) String

func (x *TimedCount) String() string

type TimedCountAlignment

type TimedCountAlignment int32

Specifies how the time periods of error group counts are aligned.

const (
	// No alignment specified.
	TimedCountAlignment_ERROR_COUNT_ALIGNMENT_UNSPECIFIED TimedCountAlignment = 0
	// 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.
	TimedCountAlignment_ALIGNMENT_EQUAL_ROUNDED TimedCountAlignment = 1
	// 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.
	TimedCountAlignment_ALIGNMENT_EQUAL_AT_END TimedCountAlignment = 2
)

func (TimedCountAlignment) Descriptor

func (TimedCountAlignment) Enum

func (TimedCountAlignment) EnumDescriptor deprecated

func (TimedCountAlignment) EnumDescriptor() ([]byte, []int)

Deprecated: Use TimedCountAlignment.Descriptor instead.

func (TimedCountAlignment) Number

func (TimedCountAlignment) String

func (x TimedCountAlignment) String() string

func (TimedCountAlignment) Type

type TrackingIssue

type TrackingIssue struct {

	// A URL pointing to a related entry in an issue tracking system.
	// Example: `https://github.com/user/project/issues/4`
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

Information related to tracking the progress on resolving the error.

func (*TrackingIssue) Descriptor deprecated

func (*TrackingIssue) Descriptor() ([]byte, []int)

Deprecated: Use TrackingIssue.ProtoReflect.Descriptor instead.

func (*TrackingIssue) GetUrl

func (x *TrackingIssue) GetUrl() string

func (*TrackingIssue) ProtoMessage

func (*TrackingIssue) ProtoMessage()

func (*TrackingIssue) ProtoReflect

func (x *TrackingIssue) ProtoReflect() protoreflect.Message

func (*TrackingIssue) Reset

func (x *TrackingIssue) Reset()

func (*TrackingIssue) String

func (x *TrackingIssue) String() string

type UnimplementedErrorGroupServiceServer

type UnimplementedErrorGroupServiceServer struct {
}

UnimplementedErrorGroupServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedErrorGroupServiceServer) GetGroup

func (*UnimplementedErrorGroupServiceServer) UpdateGroup

type UnimplementedErrorStatsServiceServer

type UnimplementedErrorStatsServiceServer struct {
}

UnimplementedErrorStatsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedErrorStatsServiceServer) DeleteEvents

func (*UnimplementedErrorStatsServiceServer) ListEvents

func (*UnimplementedErrorStatsServiceServer) ListGroupStats

type UnimplementedReportErrorsServiceServer

type UnimplementedReportErrorsServiceServer struct {
}

UnimplementedReportErrorsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedReportErrorsServiceServer) ReportErrorEvent

type UpdateGroupRequest

type UpdateGroupRequest struct {

	// Required. The group which replaces the resource on the server.
	Group *ErrorGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

A request to replace the existing data for the given group.

func (*UpdateGroupRequest) Descriptor deprecated

func (*UpdateGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetGroup

func (x *UpdateGroupRequest) GetGroup() *ErrorGroup

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect

func (x *UpdateGroupRequest) ProtoReflect() protoreflect.Message

func (*UpdateGroupRequest) Reset

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (x *UpdateGroupRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL