clouderrorreporting - ActiveState ActiveGo 1.8
...

Package clouderrorreporting

import "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1"
Overview
Index

Overview ▾

Package clouderrorreporting is a generated protocol buffer package.

It is generated from these files:

google/devtools/clouderrorreporting/v1beta1/common.proto
google/devtools/clouderrorreporting/v1beta1/error_group_service.proto
google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto
google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto

It has these top-level messages:

ErrorGroup
TrackingIssue
ErrorEvent
ServiceContext
ErrorContext
HttpRequestContext
SourceLocation
GetGroupRequest
UpdateGroupRequest
ListGroupStatsRequest
ListGroupStatsResponse
ErrorGroupStats
TimedCount
ListEventsRequest
ListEventsResponse
QueryTimeRange
ServiceContextFilter
DeleteEventsRequest
DeleteEventsResponse
ReportErrorEventRequest
ReportErrorEventResponse
ReportedErrorEvent

Index ▾

Variables
func RegisterErrorGroupServiceServer(s *grpc.Server, srv ErrorGroupServiceServer)
func RegisterErrorStatsServiceServer(s *grpc.Server, srv ErrorStatsServiceServer)
func RegisterReportErrorsServiceServer(s *grpc.Server, srv ReportErrorsServiceServer)
type DeleteEventsRequest
    func (*DeleteEventsRequest) Descriptor() ([]byte, []int)
    func (m *DeleteEventsRequest) GetProjectName() string
    func (*DeleteEventsRequest) ProtoMessage()
    func (m *DeleteEventsRequest) Reset()
    func (m *DeleteEventsRequest) String() string
type DeleteEventsResponse
    func (*DeleteEventsResponse) Descriptor() ([]byte, []int)
    func (*DeleteEventsResponse) ProtoMessage()
    func (m *DeleteEventsResponse) Reset()
    func (m *DeleteEventsResponse) String() string
type ErrorContext
    func (*ErrorContext) Descriptor() ([]byte, []int)
    func (m *ErrorContext) GetHttpRequest() *HttpRequestContext
    func (m *ErrorContext) GetReportLocation() *SourceLocation
    func (m *ErrorContext) GetUser() string
    func (*ErrorContext) ProtoMessage()
    func (m *ErrorContext) Reset()
    func (m *ErrorContext) String() string
type ErrorEvent
    func (*ErrorEvent) Descriptor() ([]byte, []int)
    func (m *ErrorEvent) GetContext() *ErrorContext
    func (m *ErrorEvent) GetEventTime() *google_protobuf1.Timestamp
    func (m *ErrorEvent) GetMessage() string
    func (m *ErrorEvent) GetServiceContext() *ServiceContext
    func (*ErrorEvent) ProtoMessage()
    func (m *ErrorEvent) Reset()
    func (m *ErrorEvent) String() string
type ErrorGroup
    func (*ErrorGroup) Descriptor() ([]byte, []int)
    func (m *ErrorGroup) GetGroupId() string
    func (m *ErrorGroup) GetName() string
    func (m *ErrorGroup) GetTrackingIssues() []*TrackingIssue
    func (*ErrorGroup) ProtoMessage()
    func (m *ErrorGroup) Reset()
    func (m *ErrorGroup) String() string
type ErrorGroupOrder
    func (ErrorGroupOrder) EnumDescriptor() ([]byte, []int)
    func (x ErrorGroupOrder) String() string
type ErrorGroupServiceClient
    func NewErrorGroupServiceClient(cc *grpc.ClientConn) ErrorGroupServiceClient
type ErrorGroupServiceServer
type ErrorGroupStats
    func (*ErrorGroupStats) Descriptor() ([]byte, []int)
    func (m *ErrorGroupStats) GetAffectedServices() []*ServiceContext
    func (m *ErrorGroupStats) GetAffectedUsersCount() int64
    func (m *ErrorGroupStats) GetCount() int64
    func (m *ErrorGroupStats) GetFirstSeenTime() *google_protobuf1.Timestamp
    func (m *ErrorGroupStats) GetGroup() *ErrorGroup
    func (m *ErrorGroupStats) GetLastSeenTime() *google_protobuf1.Timestamp
    func (m *ErrorGroupStats) GetNumAffectedServices() int32
    func (m *ErrorGroupStats) GetRepresentative() *ErrorEvent
    func (m *ErrorGroupStats) GetTimedCounts() []*TimedCount
    func (*ErrorGroupStats) ProtoMessage()
    func (m *ErrorGroupStats) Reset()
    func (m *ErrorGroupStats) String() string
type ErrorStatsServiceClient
    func NewErrorStatsServiceClient(cc *grpc.ClientConn) ErrorStatsServiceClient
type ErrorStatsServiceServer
type GetGroupRequest
    func (*GetGroupRequest) Descriptor() ([]byte, []int)
    func (m *GetGroupRequest) GetGroupName() string
    func (*GetGroupRequest) ProtoMessage()
    func (m *GetGroupRequest) Reset()
    func (m *GetGroupRequest) String() string
type HttpRequestContext
    func (*HttpRequestContext) Descriptor() ([]byte, []int)
    func (m *HttpRequestContext) GetMethod() string
    func (m *HttpRequestContext) GetReferrer() string
    func (m *HttpRequestContext) GetRemoteIp() string
    func (m *HttpRequestContext) GetResponseStatusCode() int32
    func (m *HttpRequestContext) GetUrl() string
    func (m *HttpRequestContext) GetUserAgent() string
    func (*HttpRequestContext) ProtoMessage()
    func (m *HttpRequestContext) Reset()
    func (m *HttpRequestContext) String() string
type ListEventsRequest
    func (*ListEventsRequest) Descriptor() ([]byte, []int)
    func (m *ListEventsRequest) GetGroupId() string
    func (m *ListEventsRequest) GetPageSize() int32
    func (m *ListEventsRequest) GetPageToken() string
    func (m *ListEventsRequest) GetProjectName() string
    func (m *ListEventsRequest) GetServiceFilter() *ServiceContextFilter
    func (m *ListEventsRequest) GetTimeRange() *QueryTimeRange
    func (*ListEventsRequest) ProtoMessage()
    func (m *ListEventsRequest) Reset()
    func (m *ListEventsRequest) String() string
type ListEventsResponse
    func (*ListEventsResponse) Descriptor() ([]byte, []int)
    func (m *ListEventsResponse) GetErrorEvents() []*ErrorEvent
    func (m *ListEventsResponse) GetNextPageToken() string
    func (m *ListEventsResponse) GetTimeRangeBegin() *google_protobuf1.Timestamp
    func (*ListEventsResponse) ProtoMessage()
    func (m *ListEventsResponse) Reset()
    func (m *ListEventsResponse) String() string
type ListGroupStatsRequest
    func (*ListGroupStatsRequest) Descriptor() ([]byte, []int)
    func (m *ListGroupStatsRequest) GetAlignment() TimedCountAlignment
    func (m *ListGroupStatsRequest) GetAlignmentTime() *google_protobuf1.Timestamp
    func (m *ListGroupStatsRequest) GetGroupId() []string
    func (m *ListGroupStatsRequest) GetOrder() ErrorGroupOrder
    func (m *ListGroupStatsRequest) GetPageSize() int32
    func (m *ListGroupStatsRequest) GetPageToken() string
    func (m *ListGroupStatsRequest) GetProjectName() string
    func (m *ListGroupStatsRequest) GetServiceFilter() *ServiceContextFilter
    func (m *ListGroupStatsRequest) GetTimeRange() *QueryTimeRange
    func (m *ListGroupStatsRequest) GetTimedCountDuration() *google_protobuf2.Duration
    func (*ListGroupStatsRequest) ProtoMessage()
    func (m *ListGroupStatsRequest) Reset()
    func (m *ListGroupStatsRequest) String() string
type ListGroupStatsResponse
    func (*ListGroupStatsResponse) Descriptor() ([]byte, []int)
    func (m *ListGroupStatsResponse) GetErrorGroupStats() []*ErrorGroupStats
    func (m *ListGroupStatsResponse) GetNextPageToken() string
    func (m *ListGroupStatsResponse) GetTimeRangeBegin() *google_protobuf1.Timestamp
    func (*ListGroupStatsResponse) ProtoMessage()
    func (m *ListGroupStatsResponse) Reset()
    func (m *ListGroupStatsResponse) String() string
type QueryTimeRange
    func (*QueryTimeRange) Descriptor() ([]byte, []int)
    func (m *QueryTimeRange) GetPeriod() QueryTimeRange_Period
    func (*QueryTimeRange) ProtoMessage()
    func (m *QueryTimeRange) Reset()
    func (m *QueryTimeRange) String() string
type QueryTimeRange_Period
    func (QueryTimeRange_Period) EnumDescriptor() ([]byte, []int)
    func (x QueryTimeRange_Period) String() string
type ReportErrorEventRequest
    func (*ReportErrorEventRequest) Descriptor() ([]byte, []int)
    func (m *ReportErrorEventRequest) GetEvent() *ReportedErrorEvent
    func (m *ReportErrorEventRequest) GetProjectName() string
    func (*ReportErrorEventRequest) ProtoMessage()
    func (m *ReportErrorEventRequest) Reset()
    func (m *ReportErrorEventRequest) String() string
type ReportErrorEventResponse
    func (*ReportErrorEventResponse) Descriptor() ([]byte, []int)
    func (*ReportErrorEventResponse) ProtoMessage()
    func (m *ReportErrorEventResponse) Reset()
    func (m *ReportErrorEventResponse) String() string
type ReportErrorsServiceClient
    func NewReportErrorsServiceClient(cc *grpc.ClientConn) ReportErrorsServiceClient
type ReportErrorsServiceServer
type ReportedErrorEvent
    func (*ReportedErrorEvent) Descriptor() ([]byte, []int)
    func (m *ReportedErrorEvent) GetContext() *ErrorContext
    func (m *ReportedErrorEvent) GetEventTime() *google_protobuf1.Timestamp
    func (m *ReportedErrorEvent) GetMessage() string
    func (m *ReportedErrorEvent) GetServiceContext() *ServiceContext
    func (*ReportedErrorEvent) ProtoMessage()
    func (m *ReportedErrorEvent) Reset()
    func (m *ReportedErrorEvent) String() string
type ServiceContext
    func (*ServiceContext) Descriptor() ([]byte, []int)
    func (m *ServiceContext) GetResourceType() string
    func (m *ServiceContext) GetService() string
    func (m *ServiceContext) GetVersion() string
    func (*ServiceContext) ProtoMessage()
    func (m *ServiceContext) Reset()
    func (m *ServiceContext) String() string
type ServiceContextFilter
    func (*ServiceContextFilter) Descriptor() ([]byte, []int)
    func (m *ServiceContextFilter) GetResourceType() string
    func (m *ServiceContextFilter) GetService() string
    func (m *ServiceContextFilter) GetVersion() string
    func (*ServiceContextFilter) ProtoMessage()
    func (m *ServiceContextFilter) Reset()
    func (m *ServiceContextFilter) String() string
type SourceLocation
    func (*SourceLocation) Descriptor() ([]byte, []int)
    func (m *SourceLocation) GetFilePath() string
    func (m *SourceLocation) GetFunctionName() string
    func (m *SourceLocation) GetLineNumber() int32
    func (*SourceLocation) ProtoMessage()
    func (m *SourceLocation) Reset()
    func (m *SourceLocation) String() string
type TimedCount
    func (*TimedCount) Descriptor() ([]byte, []int)
    func (m *TimedCount) GetCount() int64
    func (m *TimedCount) GetEndTime() *google_protobuf1.Timestamp
    func (m *TimedCount) GetStartTime() *google_protobuf1.Timestamp
    func (*TimedCount) ProtoMessage()
    func (m *TimedCount) Reset()
    func (m *TimedCount) String() string
type TimedCountAlignment
    func (TimedCountAlignment) EnumDescriptor() ([]byte, []int)
    func (x TimedCountAlignment) String() string
type TrackingIssue
    func (*TrackingIssue) Descriptor() ([]byte, []int)
    func (m *TrackingIssue) GetUrl() string
    func (*TrackingIssue) ProtoMessage()
    func (m *TrackingIssue) Reset()
    func (m *TrackingIssue) String() string
type UpdateGroupRequest
    func (*UpdateGroupRequest) Descriptor() ([]byte, []int)
    func (m *UpdateGroupRequest) GetGroup() *ErrorGroup
    func (*UpdateGroupRequest) ProtoMessage()
    func (m *UpdateGroupRequest) Reset()
    func (m *UpdateGroupRequest) String() string

Package files

common.pb.go error_group_service.pb.go error_stats_service.pb.go report_errors_service.pb.go

Variables

var ErrorGroupOrder_name = map[int32]string{
    0: "GROUP_ORDER_UNSPECIFIED",
    1: "COUNT_DESC",
    2: "LAST_SEEN_DESC",
    3: "CREATED_DESC",
    4: "AFFECTED_USERS_DESC",
}
var ErrorGroupOrder_value = map[string]int32{
    "GROUP_ORDER_UNSPECIFIED": 0,
    "COUNT_DESC":              1,
    "LAST_SEEN_DESC":          2,
    "CREATED_DESC":            3,
    "AFFECTED_USERS_DESC":     4,
}
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",
}
var 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,
}
var TimedCountAlignment_name = map[int32]string{
    0: "ERROR_COUNT_ALIGNMENT_UNSPECIFIED",
    1: "ALIGNMENT_EQUAL_ROUNDED",
    2: "ALIGNMENT_EQUAL_AT_END",
}
var TimedCountAlignment_value = map[string]int32{
    "ERROR_COUNT_ALIGNMENT_UNSPECIFIED": 0,
    "ALIGNMENT_EQUAL_ROUNDED":           1,
    "ALIGNMENT_EQUAL_AT_END":            2,
}

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)

type DeleteEventsRequest

Deletes all events in the project.

type DeleteEventsRequest struct {
    // [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`.
    ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName" json:"project_name,omitempty"`
}

func (*DeleteEventsRequest) Descriptor

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

func (*DeleteEventsRequest) GetProjectName

func (m *DeleteEventsRequest) GetProjectName() string

func (*DeleteEventsRequest) ProtoMessage

func (*DeleteEventsRequest) ProtoMessage()

func (*DeleteEventsRequest) Reset

func (m *DeleteEventsRequest) Reset()

func (*DeleteEventsRequest) String

func (m *DeleteEventsRequest) String() string

type DeleteEventsResponse

Response message for deleting error events.

type DeleteEventsResponse struct {
}

func (*DeleteEventsResponse) Descriptor

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

func (*DeleteEventsResponse) ProtoMessage

func (*DeleteEventsResponse) ProtoMessage()

func (*DeleteEventsResponse) Reset

func (m *DeleteEventsResponse) Reset()

func (*DeleteEventsResponse) String

func (m *DeleteEventsResponse) String() string

type ErrorContext

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.

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" 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" 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. This value is in contrast to `Exception.cause_location`,
    // which describes the source line where the exception was thrown.
    ReportLocation *SourceLocation `protobuf:"bytes,3,opt,name=report_location,json=reportLocation" json:"report_location,omitempty"`
}

func (*ErrorContext) Descriptor

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

func (*ErrorContext) GetHttpRequest

func (m *ErrorContext) GetHttpRequest() *HttpRequestContext

func (*ErrorContext) GetReportLocation

func (m *ErrorContext) GetReportLocation() *SourceLocation

func (*ErrorContext) GetUser

func (m *ErrorContext) GetUser() string

func (*ErrorContext) ProtoMessage

func (*ErrorContext) ProtoMessage()

func (*ErrorContext) Reset

func (m *ErrorContext) Reset()

func (*ErrorContext) String

func (m *ErrorContext) String() string

type ErrorEvent

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

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

func (*ErrorEvent) Descriptor

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

func (*ErrorEvent) GetContext

func (m *ErrorEvent) GetContext() *ErrorContext

func (*ErrorEvent) GetEventTime

func (m *ErrorEvent) GetEventTime() *google_protobuf1.Timestamp

func (*ErrorEvent) GetMessage

func (m *ErrorEvent) GetMessage() string

func (*ErrorEvent) GetServiceContext

func (m *ErrorEvent) GetServiceContext() *ServiceContext

func (*ErrorEvent) ProtoMessage

func (*ErrorEvent) ProtoMessage()

func (*ErrorEvent) Reset

func (m *ErrorEvent) Reset()

func (*ErrorEvent) String

func (m *ErrorEvent) String() string

type ErrorGroup

Description of a group of similar error events.

type ErrorGroup struct {
    // The group resource name.
    // Example: <code>projects/my-project-123/groups/my-groupid</code>
    Name string `protobuf:"bytes,1,opt,name=name" 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" json:"group_id,omitempty"`
    // Associated tracking issues.
    TrackingIssues []*TrackingIssue `protobuf:"bytes,3,rep,name=tracking_issues,json=trackingIssues" json:"tracking_issues,omitempty"`
}

func (*ErrorGroup) Descriptor

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

func (*ErrorGroup) GetGroupId

func (m *ErrorGroup) GetGroupId() string

func (*ErrorGroup) GetName

func (m *ErrorGroup) GetName() string

func (*ErrorGroup) GetTrackingIssues

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

func (*ErrorGroup) ProtoMessage

func (*ErrorGroup) ProtoMessage()

func (*ErrorGroup) Reset

func (m *ErrorGroup) Reset()

func (*ErrorGroup) String

func (m *ErrorGroup) String() string

type ErrorGroupOrder

A sorting order of error groups.

type ErrorGroupOrder int32
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) EnumDescriptor

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

func (ErrorGroupOrder) String

func (x ErrorGroupOrder) String() string

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

func NewErrorGroupServiceClient

func NewErrorGroupServiceClient(cc *grpc.ClientConn) ErrorGroupServiceClient

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

type ErrorGroupStats

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

type ErrorGroupStats struct {
    // Group data that is independent of the filter criteria.
    Group *ErrorGroup `protobuf:"bytes,1,opt,name=group" 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" 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" 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" 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 *google_protobuf1.Timestamp `protobuf:"bytes,5,opt,name=first_seen_time,json=firstSeenTime" 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 *google_protobuf1.Timestamp `protobuf:"bytes,6,opt,name=last_seen_time,json=lastSeenTime" 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" 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" 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" json:"representative,omitempty"`
}

func (*ErrorGroupStats) Descriptor

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

func (*ErrorGroupStats) GetAffectedServices

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

func (*ErrorGroupStats) GetAffectedUsersCount

func (m *ErrorGroupStats) GetAffectedUsersCount() int64

func (*ErrorGroupStats) GetCount

func (m *ErrorGroupStats) GetCount() int64

func (*ErrorGroupStats) GetFirstSeenTime

func (m *ErrorGroupStats) GetFirstSeenTime() *google_protobuf1.Timestamp

func (*ErrorGroupStats) GetGroup

func (m *ErrorGroupStats) GetGroup() *ErrorGroup

func (*ErrorGroupStats) GetLastSeenTime

func (m *ErrorGroupStats) GetLastSeenTime() *google_protobuf1.Timestamp

func (*ErrorGroupStats) GetNumAffectedServices

func (m *ErrorGroupStats) GetNumAffectedServices() int32

func (*ErrorGroupStats) GetRepresentative

func (m *ErrorGroupStats) GetRepresentative() *ErrorEvent

func (*ErrorGroupStats) GetTimedCounts

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

func (*ErrorGroupStats) ProtoMessage

func (*ErrorGroupStats) ProtoMessage()

func (*ErrorGroupStats) Reset

func (m *ErrorGroupStats) Reset()

func (*ErrorGroupStats) String

func (m *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)
}

func NewErrorStatsServiceClient

func NewErrorStatsServiceClient(cc *grpc.ClientConn) ErrorStatsServiceClient

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

type GetGroupRequest

A request to return an individual group.

type GetGroupRequest struct {
    // [Required] The group resource name. Written as
    // <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
    // Call
    // <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
    // <code>groupStats.list</code></a> to return a list of groups belonging to
    // this project.
    //
    // Example: <code>projects/my-project-123/groups/my-group</code>
    GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName" json:"group_name,omitempty"`
}

func (*GetGroupRequest) Descriptor

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

func (*GetGroupRequest) GetGroupName

func (m *GetGroupRequest) GetGroupName() string

func (*GetGroupRequest) ProtoMessage

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) Reset

func (m *GetGroupRequest) Reset()

func (*GetGroupRequest) String

func (m *GetGroupRequest) String() string

type HttpRequestContext

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.

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

func (*HttpRequestContext) Descriptor

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

func (*HttpRequestContext) GetMethod

func (m *HttpRequestContext) GetMethod() string

func (*HttpRequestContext) GetReferrer

func (m *HttpRequestContext) GetReferrer() string

func (*HttpRequestContext) GetRemoteIp

func (m *HttpRequestContext) GetRemoteIp() string

func (*HttpRequestContext) GetResponseStatusCode

func (m *HttpRequestContext) GetResponseStatusCode() int32

func (*HttpRequestContext) GetUrl

func (m *HttpRequestContext) GetUrl() string

func (*HttpRequestContext) GetUserAgent

func (m *HttpRequestContext) GetUserAgent() string

func (*HttpRequestContext) ProtoMessage

func (*HttpRequestContext) ProtoMessage()

func (*HttpRequestContext) Reset

func (m *HttpRequestContext) Reset()

func (*HttpRequestContext) String

func (m *HttpRequestContext) String() string

type ListEventsRequest

Specifies a set of error events to return.

type ListEventsRequest struct {
    // [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`.
    ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName" json:"project_name,omitempty"`
    // [Required] The group for which events shall be returned.
    GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId" 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" 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" 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" 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" json:"page_token,omitempty"`
}

func (*ListEventsRequest) Descriptor

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

func (*ListEventsRequest) GetGroupId

func (m *ListEventsRequest) GetGroupId() string

func (*ListEventsRequest) GetPageSize

func (m *ListEventsRequest) GetPageSize() int32

func (*ListEventsRequest) GetPageToken

func (m *ListEventsRequest) GetPageToken() string

func (*ListEventsRequest) GetProjectName

func (m *ListEventsRequest) GetProjectName() string

func (*ListEventsRequest) GetServiceFilter

func (m *ListEventsRequest) GetServiceFilter() *ServiceContextFilter

func (*ListEventsRequest) GetTimeRange

func (m *ListEventsRequest) GetTimeRange() *QueryTimeRange

func (*ListEventsRequest) ProtoMessage

func (*ListEventsRequest) ProtoMessage()

func (*ListEventsRequest) Reset

func (m *ListEventsRequest) Reset()

func (*ListEventsRequest) String

func (m *ListEventsRequest) String() string

type ListEventsResponse

Contains a set of requested error events.

type ListEventsResponse struct {
    // The error events which match the given request.
    ErrorEvents []*ErrorEvent `protobuf:"bytes,1,rep,name=error_events,json=errorEvents" 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" json:"next_page_token,omitempty"`
    // The timestamp specifies the start time to which the request was restricted.
    TimeRangeBegin *google_protobuf1.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin" json:"time_range_begin,omitempty"`
}

func (*ListEventsResponse) Descriptor

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

func (*ListEventsResponse) GetErrorEvents

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

func (*ListEventsResponse) GetNextPageToken

func (m *ListEventsResponse) GetNextPageToken() string

func (*ListEventsResponse) GetTimeRangeBegin

func (m *ListEventsResponse) GetTimeRangeBegin() *google_protobuf1.Timestamp

func (*ListEventsResponse) ProtoMessage

func (*ListEventsResponse) ProtoMessage()

func (*ListEventsResponse) Reset

func (m *ListEventsResponse) Reset()

func (*ListEventsResponse) String

func (m *ListEventsResponse) String() string

type ListGroupStatsRequest

Specifies a set of `ErrorGroupStats` to return.

type ListGroupStatsRequest struct {
    // [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>.
    ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName" json:"project_name,omitempty"`
    // [Optional] List all <code>ErrorGroupStats</code> with these IDs.
    GroupId []string `protobuf:"bytes,2,rep,name=group_id,json=groupId" 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" json:"service_filter,omitempty"`
    // [Optional] List 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.
    // Only <code>ErrorGroupStats</code> with a non-zero count in the given time
    // range are returned, unless the request contains an explicit group_id list.
    // If a group_id list is given, also <code>ErrorGroupStats</code> with zero
    // occurrences are returned.
    TimeRange *QueryTimeRange `protobuf:"bytes,5,opt,name=time_range,json=timeRange" json:"time_range,omitempty"`
    // [Optional] The preferred duration for a single returned `TimedCount`.
    // If not set, no timed counts are returned.
    TimedCountDuration *google_protobuf2.Duration `protobuf:"bytes,6,opt,name=timed_count_duration,json=timedCountDuration" json:"timed_count_duration,omitempty"`
    // [Optional] The alignment of the timed counts to be returned.
    // Default is `ALIGNMENT_EQUAL_AT_END`.
    Alignment TimedCountAlignment `protobuf:"varint,7,opt,name=alignment,enum=google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment" json:"alignment,omitempty"`
    // [Optional] Time where the timed counts shall be aligned if rounded
    // alignment is chosen. Default is 00:00 UTC.
    AlignmentTime *google_protobuf1.Timestamp `protobuf:"bytes,8,opt,name=alignment_time,json=alignmentTime" json:"alignment_time,omitempty"`
    // [Optional] The sort order in which the results are returned.
    // Default is `COUNT_DESC`.
    Order ErrorGroupOrder `protobuf:"varint,9,opt,name=order,enum=google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder" json:"order,omitempty"`
    // [Optional] The maximum number of results to return per response.
    // Default is 20.
    PageSize int32 `protobuf:"varint,11,opt,name=page_size,json=pageSize" 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" json:"page_token,omitempty"`
}

func (*ListGroupStatsRequest) Descriptor

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

func (*ListGroupStatsRequest) GetAlignment

func (m *ListGroupStatsRequest) GetAlignment() TimedCountAlignment

func (*ListGroupStatsRequest) GetAlignmentTime

func (m *ListGroupStatsRequest) GetAlignmentTime() *google_protobuf1.Timestamp

func (*ListGroupStatsRequest) GetGroupId

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

func (*ListGroupStatsRequest) GetOrder

func (m *ListGroupStatsRequest) GetOrder() ErrorGroupOrder

func (*ListGroupStatsRequest) GetPageSize

func (m *ListGroupStatsRequest) GetPageSize() int32

func (*ListGroupStatsRequest) GetPageToken

func (m *ListGroupStatsRequest) GetPageToken() string

func (*ListGroupStatsRequest) GetProjectName

func (m *ListGroupStatsRequest) GetProjectName() string

func (*ListGroupStatsRequest) GetServiceFilter

func (m *ListGroupStatsRequest) GetServiceFilter() *ServiceContextFilter

func (*ListGroupStatsRequest) GetTimeRange

func (m *ListGroupStatsRequest) GetTimeRange() *QueryTimeRange

func (*ListGroupStatsRequest) GetTimedCountDuration

func (m *ListGroupStatsRequest) GetTimedCountDuration() *google_protobuf2.Duration

func (*ListGroupStatsRequest) ProtoMessage

func (*ListGroupStatsRequest) ProtoMessage()

func (*ListGroupStatsRequest) Reset

func (m *ListGroupStatsRequest) Reset()

func (*ListGroupStatsRequest) String

func (m *ListGroupStatsRequest) String() string

type ListGroupStatsResponse

Contains a set of requested error group stats.

type ListGroupStatsResponse struct {
    // The error group stats which match the given request.
    ErrorGroupStats []*ErrorGroupStats `protobuf:"bytes,1,rep,name=error_group_stats,json=errorGroupStats" 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" 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 *google_protobuf1.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin" json:"time_range_begin,omitempty"`
}

func (*ListGroupStatsResponse) Descriptor

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

func (*ListGroupStatsResponse) GetErrorGroupStats

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

func (*ListGroupStatsResponse) GetNextPageToken

func (m *ListGroupStatsResponse) GetNextPageToken() string

func (*ListGroupStatsResponse) GetTimeRangeBegin

func (m *ListGroupStatsResponse) GetTimeRangeBegin() *google_protobuf1.Timestamp

func (*ListGroupStatsResponse) ProtoMessage

func (*ListGroupStatsResponse) ProtoMessage()

func (*ListGroupStatsResponse) Reset

func (m *ListGroupStatsResponse) Reset()

func (*ListGroupStatsResponse) String

func (m *ListGroupStatsResponse) String() string

type QueryTimeRange

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

type QueryTimeRange struct {
    // Restricts the query to the specified time range.
    Period QueryTimeRange_Period `protobuf:"varint,1,opt,name=period,enum=google.devtools.clouderrorreporting.v1beta1.QueryTimeRange_Period" json:"period,omitempty"`
}

func (*QueryTimeRange) Descriptor

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

func (*QueryTimeRange) GetPeriod

func (m *QueryTimeRange) GetPeriod() QueryTimeRange_Period

func (*QueryTimeRange) ProtoMessage

func (*QueryTimeRange) ProtoMessage()

func (*QueryTimeRange) Reset

func (m *QueryTimeRange) Reset()

func (*QueryTimeRange) String

func (m *QueryTimeRange) String() string

type QueryTimeRange_Period

The supported time ranges.

type QueryTimeRange_Period int32
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) EnumDescriptor

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

func (QueryTimeRange_Period) String

func (x QueryTimeRange_Period) String() string

type ReportErrorEventRequest

A request for reporting an individual error event.

type ReportErrorEventRequest struct {
    // [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`.
    ProjectName string `protobuf:"bytes,1,opt,name=project_name,json=projectName" json:"project_name,omitempty"`
    // [Required] The error event to be reported.
    Event *ReportedErrorEvent `protobuf:"bytes,2,opt,name=event" json:"event,omitempty"`
}

func (*ReportErrorEventRequest) Descriptor

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

func (*ReportErrorEventRequest) GetEvent

func (m *ReportErrorEventRequest) GetEvent() *ReportedErrorEvent

func (*ReportErrorEventRequest) GetProjectName

func (m *ReportErrorEventRequest) GetProjectName() string

func (*ReportErrorEventRequest) ProtoMessage

func (*ReportErrorEventRequest) ProtoMessage()

func (*ReportErrorEventRequest) Reset

func (m *ReportErrorEventRequest) Reset()

func (*ReportErrorEventRequest) String

func (m *ReportErrorEventRequest) String() string

type ReportErrorEventResponse

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

type ReportErrorEventResponse struct {
}

func (*ReportErrorEventResponse) Descriptor

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

func (*ReportErrorEventResponse) ProtoMessage

func (*ReportErrorEventResponse) ProtoMessage()

func (*ReportErrorEventResponse) Reset

func (m *ReportErrorEventResponse) Reset()

func (*ReportErrorEventResponse) String

func (m *ReportErrorEventResponse) String() string

type ReportErrorsServiceClient

type ReportErrorsServiceClient interface {
    // Report an individual error event.
    //
    // This endpoint accepts <strong>either</strong> an OAuth token,
    // <strong>or</strong> an
    // <a href="https://support.google.com/cloud/answer/6158862">API key</a>
    // for authentication. To use an API key, append it to the URL as the value of
    // a `key` parameter. For example:
    // <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
    ReportErrorEvent(ctx context.Context, in *ReportErrorEventRequest, opts ...grpc.CallOption) (*ReportErrorEventResponse, error)
}

func NewReportErrorsServiceClient

func NewReportErrorsServiceClient(cc *grpc.ClientConn) ReportErrorsServiceClient

type ReportErrorsServiceServer

type ReportErrorsServiceServer interface {
    // Report an individual error event.
    //
    // This endpoint accepts <strong>either</strong> an OAuth token,
    // <strong>or</strong> an
    // <a href="https://support.google.com/cloud/answer/6158862">API key</a>
    // for authentication. To use an API key, append it to the URL as the value of
    // a `key` parameter. For example:
    // <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
    ReportErrorEvent(context.Context, *ReportErrorEventRequest) (*ReportErrorEventResponse, error)
}

type ReportedErrorEvent

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

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 *google_protobuf1.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime" 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" json:"service_context,omitempty"`
    // [Required] A message describing the error. The message can contain an
    // exception stack in one of the supported programming languages and formats.
    // In that case, the message is parsed and detailed exception information
    // is returned when retrieving the error event again.
    Message string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
    // [Optional] A description of the context in which the error occurred.
    Context *ErrorContext `protobuf:"bytes,4,opt,name=context" json:"context,omitempty"`
}

func (*ReportedErrorEvent) Descriptor

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

func (*ReportedErrorEvent) GetContext

func (m *ReportedErrorEvent) GetContext() *ErrorContext

func (*ReportedErrorEvent) GetEventTime

func (m *ReportedErrorEvent) GetEventTime() *google_protobuf1.Timestamp

func (*ReportedErrorEvent) GetMessage

func (m *ReportedErrorEvent) GetMessage() string

func (*ReportedErrorEvent) GetServiceContext

func (m *ReportedErrorEvent) GetServiceContext() *ServiceContext

func (*ReportedErrorEvent) ProtoMessage

func (*ReportedErrorEvent) ProtoMessage()

func (*ReportedErrorEvent) Reset

func (m *ReportedErrorEvent) Reset()

func (*ReportedErrorEvent) String

func (m *ReportedErrorEvent) String() string

type ServiceContext

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

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" 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.
    Version string `protobuf:"bytes,3,opt,name=version" 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" json:"resource_type,omitempty"`
}

func (*ServiceContext) Descriptor

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

func (*ServiceContext) GetResourceType

func (m *ServiceContext) GetResourceType() string

func (*ServiceContext) GetService

func (m *ServiceContext) GetService() string

func (*ServiceContext) GetVersion

func (m *ServiceContext) GetVersion() string

func (*ServiceContext) ProtoMessage

func (*ServiceContext) ProtoMessage()

func (*ServiceContext) Reset

func (m *ServiceContext) Reset()

func (*ServiceContext) String

func (m *ServiceContext) String() string

type ServiceContextFilter

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 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" 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" 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" json:"resource_type,omitempty"`
}

func (*ServiceContextFilter) Descriptor

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

func (*ServiceContextFilter) GetResourceType

func (m *ServiceContextFilter) GetResourceType() string

func (*ServiceContextFilter) GetService

func (m *ServiceContextFilter) GetService() string

func (*ServiceContextFilter) GetVersion

func (m *ServiceContextFilter) GetVersion() string

func (*ServiceContextFilter) ProtoMessage

func (*ServiceContextFilter) ProtoMessage()

func (*ServiceContextFilter) Reset

func (m *ServiceContextFilter) Reset()

func (*ServiceContextFilter) String

func (m *ServiceContextFilter) String() string

type SourceLocation

Indicates a location in the source code of the service for which errors are reported. 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. All fields are optional.

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" 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" 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" json:"function_name,omitempty"`
}

func (*SourceLocation) Descriptor

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

func (*SourceLocation) GetFilePath

func (m *SourceLocation) GetFilePath() string

func (*SourceLocation) GetFunctionName

func (m *SourceLocation) GetFunctionName() string

func (*SourceLocation) GetLineNumber

func (m *SourceLocation) GetLineNumber() int32

func (*SourceLocation) ProtoMessage

func (*SourceLocation) ProtoMessage()

func (*SourceLocation) Reset

func (m *SourceLocation) Reset()

func (*SourceLocation) String

func (m *SourceLocation) String() string

type TimedCount

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

type TimedCount struct {
    // Approximate number of occurrences in the given time period.
    Count int64 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
    // Start of the time period to which `count` refers (included).
    StartTime *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
    // End of the time period to which `count` refers (excluded).
    EndTime *google_protobuf1.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
}

func (*TimedCount) Descriptor

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

func (*TimedCount) GetCount

func (m *TimedCount) GetCount() int64

func (*TimedCount) GetEndTime

func (m *TimedCount) GetEndTime() *google_protobuf1.Timestamp

func (*TimedCount) GetStartTime

func (m *TimedCount) GetStartTime() *google_protobuf1.Timestamp

func (*TimedCount) ProtoMessage

func (*TimedCount) ProtoMessage()

func (*TimedCount) Reset

func (m *TimedCount) Reset()

func (*TimedCount) String

func (m *TimedCount) String() string

type TimedCountAlignment

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

type TimedCountAlignment int32
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) EnumDescriptor

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

func (TimedCountAlignment) String

func (x TimedCountAlignment) String() string

type TrackingIssue

Information related to tracking the progress on resolving the error.

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" json:"url,omitempty"`
}

func (*TrackingIssue) Descriptor

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

func (*TrackingIssue) GetUrl

func (m *TrackingIssue) GetUrl() string

func (*TrackingIssue) ProtoMessage

func (*TrackingIssue) ProtoMessage()

func (*TrackingIssue) Reset

func (m *TrackingIssue) Reset()

func (*TrackingIssue) String

func (m *TrackingIssue) String() string

type UpdateGroupRequest

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

type UpdateGroupRequest struct {
    // [Required] The group which replaces the resource on the server.
    Group *ErrorGroup `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
}

func (*UpdateGroupRequest) Descriptor

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

func (*UpdateGroupRequest) GetGroup

func (m *UpdateGroupRequest) GetGroup() *ErrorGroup

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) Reset

func (m *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (m *UpdateGroupRequest) String() string