Documentation ¶
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
- func (m *DeleteEventsRequest) XXX_DiscardUnknown()
- func (m *DeleteEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteEventsRequest) XXX_Merge(src proto.Message)
- func (m *DeleteEventsRequest) XXX_Size() int
- func (m *DeleteEventsRequest) XXX_Unmarshal(b []byte) error
- type DeleteEventsResponse
- func (*DeleteEventsResponse) Descriptor() ([]byte, []int)
- func (*DeleteEventsResponse) ProtoMessage()
- func (m *DeleteEventsResponse) Reset()
- func (m *DeleteEventsResponse) String() string
- func (m *DeleteEventsResponse) XXX_DiscardUnknown()
- func (m *DeleteEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteEventsResponse) XXX_Merge(src proto.Message)
- func (m *DeleteEventsResponse) XXX_Size() int
- func (m *DeleteEventsResponse) XXX_Unmarshal(b []byte) error
- 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
- func (m *ErrorContext) XXX_DiscardUnknown()
- func (m *ErrorContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrorContext) XXX_Merge(src proto.Message)
- func (m *ErrorContext) XXX_Size() int
- func (m *ErrorContext) XXX_Unmarshal(b []byte) error
- type ErrorEvent
- func (*ErrorEvent) Descriptor() ([]byte, []int)
- func (m *ErrorEvent) GetContext() *ErrorContext
- func (m *ErrorEvent) GetEventTime() *timestamp.Timestamp
- func (m *ErrorEvent) GetMessage() string
- func (m *ErrorEvent) GetServiceContext() *ServiceContext
- func (*ErrorEvent) ProtoMessage()
- func (m *ErrorEvent) Reset()
- func (m *ErrorEvent) String() string
- func (m *ErrorEvent) XXX_DiscardUnknown()
- func (m *ErrorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrorEvent) XXX_Merge(src proto.Message)
- func (m *ErrorEvent) XXX_Size() int
- func (m *ErrorEvent) XXX_Unmarshal(b []byte) error
- 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
- func (m *ErrorGroup) XXX_DiscardUnknown()
- func (m *ErrorGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrorGroup) XXX_Merge(src proto.Message)
- func (m *ErrorGroup) XXX_Size() int
- func (m *ErrorGroup) XXX_Unmarshal(b []byte) error
- type ErrorGroupOrder
- type 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() *timestamp.Timestamp
- func (m *ErrorGroupStats) GetGroup() *ErrorGroup
- func (m *ErrorGroupStats) GetLastSeenTime() *timestamp.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
- func (m *ErrorGroupStats) XXX_DiscardUnknown()
- func (m *ErrorGroupStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrorGroupStats) XXX_Merge(src proto.Message)
- func (m *ErrorGroupStats) XXX_Size() int
- func (m *ErrorGroupStats) XXX_Unmarshal(b []byte) error
- type 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
- func (m *GetGroupRequest) XXX_DiscardUnknown()
- func (m *GetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGroupRequest) XXX_Merge(src proto.Message)
- func (m *GetGroupRequest) XXX_Size() int
- func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error
- 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
- func (m *HttpRequestContext) XXX_DiscardUnknown()
- func (m *HttpRequestContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpRequestContext) XXX_Merge(src proto.Message)
- func (m *HttpRequestContext) XXX_Size() int
- func (m *HttpRequestContext) XXX_Unmarshal(b []byte) error
- 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
- func (m *ListEventsRequest) XXX_DiscardUnknown()
- func (m *ListEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEventsRequest) XXX_Merge(src proto.Message)
- func (m *ListEventsRequest) XXX_Size() int
- func (m *ListEventsRequest) XXX_Unmarshal(b []byte) error
- type ListEventsResponse
- func (*ListEventsResponse) Descriptor() ([]byte, []int)
- func (m *ListEventsResponse) GetErrorEvents() []*ErrorEvent
- func (m *ListEventsResponse) GetNextPageToken() string
- func (m *ListEventsResponse) GetTimeRangeBegin() *timestamp.Timestamp
- func (*ListEventsResponse) ProtoMessage()
- func (m *ListEventsResponse) Reset()
- func (m *ListEventsResponse) String() string
- func (m *ListEventsResponse) XXX_DiscardUnknown()
- func (m *ListEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEventsResponse) XXX_Merge(src proto.Message)
- func (m *ListEventsResponse) XXX_Size() int
- func (m *ListEventsResponse) XXX_Unmarshal(b []byte) error
- type ListGroupStatsRequest
- func (*ListGroupStatsRequest) Descriptor() ([]byte, []int)
- func (m *ListGroupStatsRequest) GetAlignment() TimedCountAlignment
- func (m *ListGroupStatsRequest) GetAlignmentTime() *timestamp.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() *duration.Duration
- func (*ListGroupStatsRequest) ProtoMessage()
- func (m *ListGroupStatsRequest) Reset()
- func (m *ListGroupStatsRequest) String() string
- func (m *ListGroupStatsRequest) XXX_DiscardUnknown()
- func (m *ListGroupStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGroupStatsRequest) XXX_Merge(src proto.Message)
- func (m *ListGroupStatsRequest) XXX_Size() int
- func (m *ListGroupStatsRequest) XXX_Unmarshal(b []byte) error
- type ListGroupStatsResponse
- func (*ListGroupStatsResponse) Descriptor() ([]byte, []int)
- func (m *ListGroupStatsResponse) GetErrorGroupStats() []*ErrorGroupStats
- func (m *ListGroupStatsResponse) GetNextPageToken() string
- func (m *ListGroupStatsResponse) GetTimeRangeBegin() *timestamp.Timestamp
- func (*ListGroupStatsResponse) ProtoMessage()
- func (m *ListGroupStatsResponse) Reset()
- func (m *ListGroupStatsResponse) String() string
- func (m *ListGroupStatsResponse) XXX_DiscardUnknown()
- func (m *ListGroupStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGroupStatsResponse) XXX_Merge(src proto.Message)
- func (m *ListGroupStatsResponse) XXX_Size() int
- func (m *ListGroupStatsResponse) XXX_Unmarshal(b []byte) error
- 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
- func (m *QueryTimeRange) XXX_DiscardUnknown()
- func (m *QueryTimeRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTimeRange) XXX_Merge(src proto.Message)
- func (m *QueryTimeRange) XXX_Size() int
- func (m *QueryTimeRange) XXX_Unmarshal(b []byte) error
- type QueryTimeRange_Period
- 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
- func (m *ReportErrorEventRequest) XXX_DiscardUnknown()
- func (m *ReportErrorEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportErrorEventRequest) XXX_Merge(src proto.Message)
- func (m *ReportErrorEventRequest) XXX_Size() int
- func (m *ReportErrorEventRequest) XXX_Unmarshal(b []byte) error
- type ReportErrorEventResponse
- func (*ReportErrorEventResponse) Descriptor() ([]byte, []int)
- func (*ReportErrorEventResponse) ProtoMessage()
- func (m *ReportErrorEventResponse) Reset()
- func (m *ReportErrorEventResponse) String() string
- func (m *ReportErrorEventResponse) XXX_DiscardUnknown()
- func (m *ReportErrorEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportErrorEventResponse) XXX_Merge(src proto.Message)
- func (m *ReportErrorEventResponse) XXX_Size() int
- func (m *ReportErrorEventResponse) XXX_Unmarshal(b []byte) error
- type ReportErrorsServiceClient
- type ReportErrorsServiceServer
- type ReportedErrorEvent
- func (*ReportedErrorEvent) Descriptor() ([]byte, []int)
- func (m *ReportedErrorEvent) GetContext() *ErrorContext
- func (m *ReportedErrorEvent) GetEventTime() *timestamp.Timestamp
- func (m *ReportedErrorEvent) GetMessage() string
- func (m *ReportedErrorEvent) GetServiceContext() *ServiceContext
- func (*ReportedErrorEvent) ProtoMessage()
- func (m *ReportedErrorEvent) Reset()
- func (m *ReportedErrorEvent) String() string
- func (m *ReportedErrorEvent) XXX_DiscardUnknown()
- func (m *ReportedErrorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportedErrorEvent) XXX_Merge(src proto.Message)
- func (m *ReportedErrorEvent) XXX_Size() int
- func (m *ReportedErrorEvent) XXX_Unmarshal(b []byte) error
- 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
- func (m *ServiceContext) XXX_DiscardUnknown()
- func (m *ServiceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceContext) XXX_Merge(src proto.Message)
- func (m *ServiceContext) XXX_Size() int
- func (m *ServiceContext) XXX_Unmarshal(b []byte) error
- 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
- func (m *ServiceContextFilter) XXX_DiscardUnknown()
- func (m *ServiceContextFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceContextFilter) XXX_Merge(src proto.Message)
- func (m *ServiceContextFilter) XXX_Size() int
- func (m *ServiceContextFilter) XXX_Unmarshal(b []byte) error
- 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
- func (m *SourceLocation) XXX_DiscardUnknown()
- func (m *SourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SourceLocation) XXX_Merge(src proto.Message)
- func (m *SourceLocation) XXX_Size() int
- func (m *SourceLocation) XXX_Unmarshal(b []byte) error
- type TimedCount
- func (*TimedCount) Descriptor() ([]byte, []int)
- func (m *TimedCount) GetCount() int64
- func (m *TimedCount) GetEndTime() *timestamp.Timestamp
- func (m *TimedCount) GetStartTime() *timestamp.Timestamp
- func (*TimedCount) ProtoMessage()
- func (m *TimedCount) Reset()
- func (m *TimedCount) String() string
- func (m *TimedCount) XXX_DiscardUnknown()
- func (m *TimedCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimedCount) XXX_Merge(src proto.Message)
- func (m *TimedCount) XXX_Size() int
- func (m *TimedCount) XXX_Unmarshal(b []byte) error
- type TimedCountAlignment
- type TrackingIssue
- func (*TrackingIssue) Descriptor() ([]byte, []int)
- func (m *TrackingIssue) GetUrl() string
- func (*TrackingIssue) ProtoMessage()
- func (m *TrackingIssue) Reset()
- func (m *TrackingIssue) String() string
- func (m *TrackingIssue) XXX_DiscardUnknown()
- func (m *TrackingIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TrackingIssue) XXX_Merge(src proto.Message)
- func (m *TrackingIssue) XXX_Size() int
- func (m *TrackingIssue) XXX_Unmarshal(b []byte) error
- type UpdateGroupRequest
- func (*UpdateGroupRequest) Descriptor() ([]byte, []int)
- func (m *UpdateGroupRequest) GetGroup() *ErrorGroup
- func (*UpdateGroupRequest) ProtoMessage()
- func (m *UpdateGroupRequest) Reset()
- func (m *UpdateGroupRequest) String() string
- func (m *UpdateGroupRequest) XXX_DiscardUnknown()
- func (m *UpdateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateGroupRequest) XXX_Merge(src proto.Message)
- func (m *UpdateGroupRequest) XXX_Size() int
- func (m *UpdateGroupRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
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,
}
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/` 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,proto3" json:"project_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Deletes all events in the project.
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
func (*DeleteEventsRequest) XXX_DiscardUnknown ¶
func (m *DeleteEventsRequest) XXX_DiscardUnknown()
func (*DeleteEventsRequest) XXX_Marshal ¶
func (m *DeleteEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteEventsRequest) XXX_Merge ¶
func (m *DeleteEventsRequest) XXX_Merge(src proto.Message)
func (*DeleteEventsRequest) XXX_Size ¶
func (m *DeleteEventsRequest) XXX_Size() int
func (*DeleteEventsRequest) XXX_Unmarshal ¶
func (m *DeleteEventsRequest) XXX_Unmarshal(b []byte) error
type DeleteEventsResponse ¶
type DeleteEventsResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for deleting error events.
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
func (*DeleteEventsResponse) XXX_DiscardUnknown ¶
func (m *DeleteEventsResponse) XXX_DiscardUnknown()
func (*DeleteEventsResponse) XXX_Marshal ¶
func (m *DeleteEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteEventsResponse) XXX_Merge ¶
func (m *DeleteEventsResponse) XXX_Merge(src proto.Message)
func (*DeleteEventsResponse) XXX_Size ¶
func (m *DeleteEventsResponse) XXX_Size() int
func (*DeleteEventsResponse) XXX_Unmarshal ¶
func (m *DeleteEventsResponse) XXX_Unmarshal(b []byte) error
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. 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,proto3" json:"report_location,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
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
func (*ErrorContext) XXX_DiscardUnknown ¶
func (m *ErrorContext) XXX_DiscardUnknown()
func (*ErrorContext) XXX_Marshal ¶
func (m *ErrorContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ErrorContext) XXX_Merge ¶
func (m *ErrorContext) XXX_Merge(src proto.Message)
func (*ErrorContext) XXX_Size ¶
func (m *ErrorContext) XXX_Size() int
func (*ErrorContext) XXX_Unmarshal ¶
func (m *ErrorContext) XXX_Unmarshal(b []byte) error
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 *timestamp.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An error event which is returned by the Error Reporting system.
func (*ErrorEvent) Descriptor ¶
func (*ErrorEvent) Descriptor() ([]byte, []int)
func (*ErrorEvent) GetContext ¶
func (m *ErrorEvent) GetContext() *ErrorContext
func (*ErrorEvent) GetEventTime ¶
func (m *ErrorEvent) GetEventTime() *timestamp.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
func (*ErrorEvent) XXX_DiscardUnknown ¶
func (m *ErrorEvent) XXX_DiscardUnknown()
func (*ErrorEvent) XXX_Marshal ¶
func (m *ErrorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ErrorEvent) XXX_Merge ¶
func (m *ErrorEvent) XXX_Merge(src proto.Message)
func (*ErrorEvent) XXX_Size ¶
func (m *ErrorEvent) XXX_Size() int
func (*ErrorEvent) XXX_Unmarshal ¶
func (m *ErrorEvent) XXX_Unmarshal(b []byte) error
type ErrorGroup ¶
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,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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Description of a group of similar error events.
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
func (*ErrorGroup) XXX_DiscardUnknown ¶
func (m *ErrorGroup) XXX_DiscardUnknown()
func (*ErrorGroup) XXX_Marshal ¶
func (m *ErrorGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ErrorGroup) XXX_Merge ¶
func (m *ErrorGroup) XXX_Merge(src proto.Message)
func (*ErrorGroup) XXX_Size ¶
func (m *ErrorGroup) XXX_Size() int
func (*ErrorGroup) XXX_Unmarshal ¶
func (m *ErrorGroup) XXX_Unmarshal(b []byte) error
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) 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) }
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.
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) }
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 *timestamp.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 *timestamp.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.
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() *timestamp.Timestamp
func (*ErrorGroupStats) GetGroup ¶
func (m *ErrorGroupStats) GetGroup() *ErrorGroup
func (*ErrorGroupStats) GetLastSeenTime ¶
func (m *ErrorGroupStats) GetLastSeenTime() *timestamp.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
func (*ErrorGroupStats) XXX_DiscardUnknown ¶
func (m *ErrorGroupStats) XXX_DiscardUnknown()
func (*ErrorGroupStats) XXX_Marshal ¶
func (m *ErrorGroupStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ErrorGroupStats) XXX_Merge ¶
func (m *ErrorGroupStats) XXX_Merge(src proto.Message)
func (*ErrorGroupStats) XXX_Size ¶
func (m *ErrorGroupStats) XXX_Size() int
func (*ErrorGroupStats) XXX_Unmarshal ¶
func (m *ErrorGroupStats) XXX_Unmarshal(b []byte) error
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.
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) }
ErrorStatsServiceServer is the server API for ErrorStatsService service.
type GetGroupRequest ¶
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,proto3" json:"group_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to return an individual group.
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
func (*GetGroupRequest) XXX_DiscardUnknown ¶
func (m *GetGroupRequest) XXX_DiscardUnknown()
func (*GetGroupRequest) XXX_Marshal ¶
func (m *GetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGroupRequest) XXX_Merge ¶
func (m *GetGroupRequest) XXX_Merge(src proto.Message)
func (*GetGroupRequest) XXX_Size ¶
func (m *GetGroupRequest) XXX_Size() int
func (*GetGroupRequest) XXX_Unmarshal ¶
func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
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
func (*HttpRequestContext) XXX_DiscardUnknown ¶
func (m *HttpRequestContext) XXX_DiscardUnknown()
func (*HttpRequestContext) XXX_Marshal ¶
func (m *HttpRequestContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpRequestContext) XXX_Merge ¶
func (m *HttpRequestContext) XXX_Merge(src proto.Message)
func (*HttpRequestContext) XXX_Size ¶
func (m *HttpRequestContext) XXX_Size() int
func (*HttpRequestContext) XXX_Unmarshal ¶
func (m *HttpRequestContext) XXX_Unmarshal(b []byte) error
type ListEventsRequest ¶
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,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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specifies a set of error events to return.
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
func (*ListEventsRequest) XXX_DiscardUnknown ¶
func (m *ListEventsRequest) XXX_DiscardUnknown()
func (*ListEventsRequest) XXX_Marshal ¶
func (m *ListEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEventsRequest) XXX_Merge ¶
func (m *ListEventsRequest) XXX_Merge(src proto.Message)
func (*ListEventsRequest) XXX_Size ¶
func (m *ListEventsRequest) XXX_Size() int
func (*ListEventsRequest) XXX_Unmarshal ¶
func (m *ListEventsRequest) XXX_Unmarshal(b []byte) error
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 *timestamp.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin,proto3" json:"time_range_begin,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Contains a set of requested error events.
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() *timestamp.Timestamp
func (*ListEventsResponse) ProtoMessage ¶
func (*ListEventsResponse) ProtoMessage()
func (*ListEventsResponse) Reset ¶
func (m *ListEventsResponse) Reset()
func (*ListEventsResponse) String ¶
func (m *ListEventsResponse) String() string
func (*ListEventsResponse) XXX_DiscardUnknown ¶
func (m *ListEventsResponse) XXX_DiscardUnknown()
func (*ListEventsResponse) XXX_Marshal ¶
func (m *ListEventsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEventsResponse) XXX_Merge ¶
func (m *ListEventsResponse) XXX_Merge(src proto.Message)
func (*ListEventsResponse) XXX_Size ¶
func (m *ListEventsResponse) XXX_Size() int
func (*ListEventsResponse) XXX_Unmarshal ¶
func (m *ListEventsResponse) XXX_Unmarshal(b []byte) error
type ListGroupStatsRequest ¶
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,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 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,proto3" json:"time_range,omitempty"` // [Optional] The preferred duration for a single returned `TimedCount`. // If not set, no timed counts are returned. TimedCountDuration *duration.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 *timestamp.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specifies a set of `ErrorGroupStats` to return.
func (*ListGroupStatsRequest) Descriptor ¶
func (*ListGroupStatsRequest) Descriptor() ([]byte, []int)
func (*ListGroupStatsRequest) GetAlignment ¶
func (m *ListGroupStatsRequest) GetAlignment() TimedCountAlignment
func (*ListGroupStatsRequest) GetAlignmentTime ¶
func (m *ListGroupStatsRequest) GetAlignmentTime() *timestamp.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() *duration.Duration
func (*ListGroupStatsRequest) ProtoMessage ¶
func (*ListGroupStatsRequest) ProtoMessage()
func (*ListGroupStatsRequest) Reset ¶
func (m *ListGroupStatsRequest) Reset()
func (*ListGroupStatsRequest) String ¶
func (m *ListGroupStatsRequest) String() string
func (*ListGroupStatsRequest) XXX_DiscardUnknown ¶
func (m *ListGroupStatsRequest) XXX_DiscardUnknown()
func (*ListGroupStatsRequest) XXX_Marshal ¶
func (m *ListGroupStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupStatsRequest) XXX_Merge ¶
func (m *ListGroupStatsRequest) XXX_Merge(src proto.Message)
func (*ListGroupStatsRequest) XXX_Size ¶
func (m *ListGroupStatsRequest) XXX_Size() int
func (*ListGroupStatsRequest) XXX_Unmarshal ¶
func (m *ListGroupStatsRequest) XXX_Unmarshal(b []byte) error
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 *timestamp.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin,proto3" json:"time_range_begin,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Contains a set of requested error group stats.
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() *timestamp.Timestamp
func (*ListGroupStatsResponse) ProtoMessage ¶
func (*ListGroupStatsResponse) ProtoMessage()
func (*ListGroupStatsResponse) Reset ¶
func (m *ListGroupStatsResponse) Reset()
func (*ListGroupStatsResponse) String ¶
func (m *ListGroupStatsResponse) String() string
func (*ListGroupStatsResponse) XXX_DiscardUnknown ¶
func (m *ListGroupStatsResponse) XXX_DiscardUnknown()
func (*ListGroupStatsResponse) XXX_Marshal ¶
func (m *ListGroupStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupStatsResponse) XXX_Merge ¶
func (m *ListGroupStatsResponse) XXX_Merge(src proto.Message)
func (*ListGroupStatsResponse) XXX_Size ¶
func (m *ListGroupStatsResponse) XXX_Size() int
func (*ListGroupStatsResponse) XXX_Unmarshal ¶
func (m *ListGroupStatsResponse) XXX_Unmarshal(b []byte) error
type QueryTimeRange ¶
type QueryTimeRange struct { // Restricts the query to the specified time range. Period QueryTimeRange_Period `` /* 137-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Requests might be rejected or the resulting timed count durations might be adjusted for lower durations.
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
func (*QueryTimeRange) XXX_DiscardUnknown ¶
func (m *QueryTimeRange) XXX_DiscardUnknown()
func (*QueryTimeRange) XXX_Marshal ¶
func (m *QueryTimeRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTimeRange) XXX_Merge ¶
func (m *QueryTimeRange) XXX_Merge(src proto.Message)
func (*QueryTimeRange) XXX_Size ¶
func (m *QueryTimeRange) XXX_Size() int
func (*QueryTimeRange) XXX_Unmarshal ¶
func (m *QueryTimeRange) XXX_Unmarshal(b []byte) error
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) EnumDescriptor ¶
func (QueryTimeRange_Period) EnumDescriptor() ([]byte, []int)
func (QueryTimeRange_Period) String ¶
func (x QueryTimeRange_Period) String() string
type ReportErrorEventRequest ¶
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,proto3" json:"project_name,omitempty"` // [Required] The error event to be reported. Event *ReportedErrorEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request for reporting an individual error event.
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
func (*ReportErrorEventRequest) XXX_DiscardUnknown ¶
func (m *ReportErrorEventRequest) XXX_DiscardUnknown()
func (*ReportErrorEventRequest) XXX_Marshal ¶
func (m *ReportErrorEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportErrorEventRequest) XXX_Merge ¶
func (m *ReportErrorEventRequest) XXX_Merge(src proto.Message)
func (*ReportErrorEventRequest) XXX_Size ¶
func (m *ReportErrorEventRequest) XXX_Size() int
func (*ReportErrorEventRequest) XXX_Unmarshal ¶
func (m *ReportErrorEventRequest) XXX_Unmarshal(b []byte) error
type ReportErrorEventResponse ¶
type ReportErrorEventResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response for reporting an individual error event. Data may be added to this message in the future.
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
func (*ReportErrorEventResponse) XXX_DiscardUnknown ¶
func (m *ReportErrorEventResponse) XXX_DiscardUnknown()
func (*ReportErrorEventResponse) XXX_Marshal ¶
func (m *ReportErrorEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportErrorEventResponse) XXX_Merge ¶
func (m *ReportErrorEventResponse) XXX_Merge(src proto.Message)
func (*ReportErrorEventResponse) XXX_Size ¶
func (m *ReportErrorEventResponse) XXX_Size() int
func (*ReportErrorEventResponse) XXX_Unmarshal ¶
func (m *ReportErrorEventResponse) XXX_Unmarshal(b []byte) error
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) }
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.
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) }
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 *timestamp.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] 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,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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An error event which is reported to the Error Reporting system.
func (*ReportedErrorEvent) Descriptor ¶
func (*ReportedErrorEvent) Descriptor() ([]byte, []int)
func (*ReportedErrorEvent) GetContext ¶
func (m *ReportedErrorEvent) GetContext() *ErrorContext
func (*ReportedErrorEvent) GetEventTime ¶
func (m *ReportedErrorEvent) GetEventTime() *timestamp.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
func (*ReportedErrorEvent) XXX_DiscardUnknown ¶
func (m *ReportedErrorEvent) XXX_DiscardUnknown()
func (*ReportedErrorEvent) XXX_Marshal ¶
func (m *ReportedErrorEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportedErrorEvent) XXX_Merge ¶
func (m *ReportedErrorEvent) XXX_Merge(src proto.Message)
func (*ReportedErrorEvent) XXX_Size ¶
func (m *ReportedErrorEvent) XXX_Size() int
func (*ReportedErrorEvent) XXX_Unmarshal ¶
func (m *ReportedErrorEvent) XXX_Unmarshal(b []byte) error
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. 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel.
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
func (*ServiceContext) XXX_DiscardUnknown ¶
func (m *ServiceContext) XXX_DiscardUnknown()
func (*ServiceContext) XXX_Marshal ¶
func (m *ServiceContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceContext) XXX_Merge ¶
func (m *ServiceContext) XXX_Merge(src proto.Message)
func (*ServiceContext) XXX_Size ¶
func (m *ServiceContext) XXX_Size() int
func (*ServiceContext) XXX_Unmarshal ¶
func (m *ServiceContext) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
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
func (*ServiceContextFilter) XXX_DiscardUnknown ¶
func (m *ServiceContextFilter) XXX_DiscardUnknown()
func (*ServiceContextFilter) XXX_Marshal ¶
func (m *ServiceContextFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceContextFilter) XXX_Merge ¶
func (m *ServiceContextFilter) XXX_Merge(src proto.Message)
func (*ServiceContextFilter) XXX_Size ¶
func (m *ServiceContextFilter) XXX_Size() int
func (*ServiceContextFilter) XXX_Unmarshal ¶
func (m *ServiceContextFilter) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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.
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
func (*SourceLocation) XXX_DiscardUnknown ¶
func (m *SourceLocation) XXX_DiscardUnknown()
func (*SourceLocation) XXX_Marshal ¶
func (m *SourceLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SourceLocation) XXX_Merge ¶
func (m *SourceLocation) XXX_Merge(src proto.Message)
func (*SourceLocation) XXX_Size ¶
func (m *SourceLocation) XXX_Size() int
func (*SourceLocation) XXX_Unmarshal ¶
func (m *SourceLocation) XXX_Unmarshal(b []byte) error
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 *timestamp.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 *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
func (*TimedCount) Descriptor() ([]byte, []int)
func (*TimedCount) GetCount ¶
func (m *TimedCount) GetCount() int64
func (*TimedCount) GetEndTime ¶
func (m *TimedCount) GetEndTime() *timestamp.Timestamp
func (*TimedCount) GetStartTime ¶
func (m *TimedCount) GetStartTime() *timestamp.Timestamp
func (*TimedCount) ProtoMessage ¶
func (*TimedCount) ProtoMessage()
func (*TimedCount) Reset ¶
func (m *TimedCount) Reset()
func (*TimedCount) String ¶
func (m *TimedCount) String() string
func (*TimedCount) XXX_DiscardUnknown ¶
func (m *TimedCount) XXX_DiscardUnknown()
func (*TimedCount) XXX_Marshal ¶
func (m *TimedCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimedCount) XXX_Merge ¶
func (m *TimedCount) XXX_Merge(src proto.Message)
func (*TimedCount) XXX_Size ¶
func (m *TimedCount) XXX_Size() int
func (*TimedCount) XXX_Unmarshal ¶
func (m *TimedCount) XXX_Unmarshal(b []byte) error
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) EnumDescriptor ¶
func (TimedCountAlignment) EnumDescriptor() ([]byte, []int)
func (TimedCountAlignment) String ¶
func (x TimedCountAlignment) String() string
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Information related to tracking the progress on resolving the error.
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
func (*TrackingIssue) XXX_DiscardUnknown ¶
func (m *TrackingIssue) XXX_DiscardUnknown()
func (*TrackingIssue) XXX_Marshal ¶
func (m *TrackingIssue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TrackingIssue) XXX_Merge ¶
func (m *TrackingIssue) XXX_Merge(src proto.Message)
func (*TrackingIssue) XXX_Size ¶
func (m *TrackingIssue) XXX_Size() int
func (*TrackingIssue) XXX_Unmarshal ¶
func (m *TrackingIssue) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to replace the existing data for the given group.
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
func (*UpdateGroupRequest) XXX_DiscardUnknown ¶
func (m *UpdateGroupRequest) XXX_DiscardUnknown()
func (*UpdateGroupRequest) XXX_Marshal ¶
func (m *UpdateGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateGroupRequest) XXX_Merge ¶
func (m *UpdateGroupRequest) XXX_Merge(src proto.Message)
func (*UpdateGroupRequest) XXX_Size ¶
func (m *UpdateGroupRequest) XXX_Size() int
func (*UpdateGroupRequest) XXX_Unmarshal ¶
func (m *UpdateGroupRequest) XXX_Unmarshal(b []byte) error