genproto: google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1 Index | Files

package clouderrorreporting

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

Index

Package Files

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

Variables

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

Enum value maps for TimedCountAlignment.

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

Enum value maps for ErrorGroupOrder.

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

Enum value maps for QueryTimeRange_Period.

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

func RegisterErrorGroupServiceServer Uses

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

func RegisterErrorStatsServiceServer Uses

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

func RegisterReportErrorsServiceServer Uses

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

type DeleteEventsRequest Uses

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"`
    // contains filtered or unexported fields
}

Deletes all events in the project.

func (*DeleteEventsRequest) Descriptor Uses

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

Deprecated: Use DeleteEventsRequest.ProtoReflect.Descriptor instead.

func (*DeleteEventsRequest) GetProjectName Uses

func (x *DeleteEventsRequest) GetProjectName() string

func (*DeleteEventsRequest) ProtoMessage Uses

func (*DeleteEventsRequest) ProtoMessage()

func (*DeleteEventsRequest) ProtoReflect Uses

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

func (*DeleteEventsRequest) Reset Uses

func (x *DeleteEventsRequest) Reset()

func (*DeleteEventsRequest) String Uses

func (x *DeleteEventsRequest) String() string

type DeleteEventsResponse Uses

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

Response message for deleting error events.

func (*DeleteEventsResponse) Descriptor Uses

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

Deprecated: Use DeleteEventsResponse.ProtoReflect.Descriptor instead.

func (*DeleteEventsResponse) ProtoMessage Uses

func (*DeleteEventsResponse) ProtoMessage()

func (*DeleteEventsResponse) ProtoReflect Uses

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

func (*DeleteEventsResponse) Reset Uses

func (x *DeleteEventsResponse) Reset()

func (*DeleteEventsResponse) String Uses

func (x *DeleteEventsResponse) String() string

type ErrorContext Uses

type ErrorContext struct {

    // The HTTP request which was processed when the error was
    // triggered.
    HttpRequest *HttpRequestContext `protobuf:"bytes,1,opt,name=http_request,json=httpRequest,proto3" json:"http_request,omitempty"`
    // The user who caused or was affected by the crash.
    // This can be a user ID, an email address, or an arbitrary token that
    // uniquely identifies the user.
    // When sending an error report, leave this field empty if the user was not
    // logged in. In this case the
    // Error Reporting system will use other data, such as remote IP address, to
    // distinguish affected users. See `affected_users_count` in
    // `ErrorGroupStats`.
    User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
    // The location in the source code where the decision was made to
    // report the error, usually the place where it was logged.
    // For a logged exception this would be the source line where the
    // exception is logged, usually close to the place where it was
    // caught.
    ReportLocation *SourceLocation `protobuf:"bytes,3,opt,name=report_location,json=reportLocation,proto3" json:"report_location,omitempty"`
    // contains filtered or unexported fields
}

A description of the context in which an error occurred. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.

func (*ErrorContext) Descriptor Uses

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

Deprecated: Use ErrorContext.ProtoReflect.Descriptor instead.

func (*ErrorContext) GetHttpRequest Uses

func (x *ErrorContext) GetHttpRequest() *HttpRequestContext

func (*ErrorContext) GetReportLocation Uses

func (x *ErrorContext) GetReportLocation() *SourceLocation

func (*ErrorContext) GetUser Uses

func (x *ErrorContext) GetUser() string

func (*ErrorContext) ProtoMessage Uses

func (*ErrorContext) ProtoMessage()

func (*ErrorContext) ProtoReflect Uses

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

func (*ErrorContext) Reset Uses

func (x *ErrorContext) Reset()

func (*ErrorContext) String Uses

func (x *ErrorContext) String() string

type ErrorEvent Uses

type ErrorEvent struct {

    // Time when the event occurred as provided in the error report.
    // If the report did not contain a timestamp, the time the error was received
    // by the Error Reporting system is used.
    EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
    // The `ServiceContext` for which this error was reported.
    ServiceContext *ServiceContext `protobuf:"bytes,2,opt,name=service_context,json=serviceContext,proto3" json:"service_context,omitempty"`
    // The stack trace that was reported or logged by the service.
    Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
    // Data about the context in which the error occurred.
    Context *ErrorContext `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
    // contains filtered or unexported fields
}

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

func (*ErrorEvent) Descriptor Uses

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

Deprecated: Use ErrorEvent.ProtoReflect.Descriptor instead.

func (*ErrorEvent) GetContext Uses

func (x *ErrorEvent) GetContext() *ErrorContext

func (*ErrorEvent) GetEventTime Uses

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

func (*ErrorEvent) GetMessage Uses

func (x *ErrorEvent) GetMessage() string

func (*ErrorEvent) GetServiceContext Uses

func (x *ErrorEvent) GetServiceContext() *ServiceContext

func (*ErrorEvent) ProtoMessage Uses

func (*ErrorEvent) ProtoMessage()

func (*ErrorEvent) ProtoReflect Uses

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

func (*ErrorEvent) Reset Uses

func (x *ErrorEvent) Reset()

func (*ErrorEvent) String Uses

func (x *ErrorEvent) String() string

type ErrorGroup Uses

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"`
    // contains filtered or unexported fields
}

Description of a group of similar error events.

func (*ErrorGroup) Descriptor Uses

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

Deprecated: Use ErrorGroup.ProtoReflect.Descriptor instead.

func (*ErrorGroup) GetGroupId Uses

func (x *ErrorGroup) GetGroupId() string

func (*ErrorGroup) GetName Uses

func (x *ErrorGroup) GetName() string

func (*ErrorGroup) GetTrackingIssues Uses

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

func (*ErrorGroup) ProtoMessage Uses

func (*ErrorGroup) ProtoMessage()

func (*ErrorGroup) ProtoReflect Uses

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

func (*ErrorGroup) Reset Uses

func (x *ErrorGroup) Reset()

func (*ErrorGroup) String Uses

func (x *ErrorGroup) String() string

type ErrorGroupOrder Uses

type ErrorGroupOrder int32

A sorting order of error groups.

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

func (ErrorGroupOrder) Descriptor Uses

func (ErrorGroupOrder) Descriptor() protoreflect.EnumDescriptor

func (ErrorGroupOrder) Enum Uses

func (x ErrorGroupOrder) Enum() *ErrorGroupOrder

func (ErrorGroupOrder) EnumDescriptor Uses

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

Deprecated: Use ErrorGroupOrder.Descriptor instead.

func (ErrorGroupOrder) Number Uses

func (x ErrorGroupOrder) Number() protoreflect.EnumNumber

func (ErrorGroupOrder) String Uses

func (x ErrorGroupOrder) String() string

func (ErrorGroupOrder) Type Uses

func (ErrorGroupOrder) Type() protoreflect.EnumType

type ErrorGroupServiceClient Uses

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 Uses

func NewErrorGroupServiceClient(cc grpc.ClientConnInterface) ErrorGroupServiceClient

type ErrorGroupServiceServer Uses

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 Uses

type ErrorGroupStats struct {

    // Group data that is independent of the filter criteria.
    Group *ErrorGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
    // Approximate total number of events in the given group that match
    // the filter criteria.
    Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
    // Approximate number of affected users in the given group that
    // match the filter criteria.
    // Users are distinguished by data in the `ErrorContext` of the
    // individual error events, such as their login name or their remote
    // IP address in case of HTTP requests.
    // The number of affected users can be zero even if the number of
    // errors is non-zero if no data was provided from which the
    // affected user could be deduced.
    // Users are counted based on data in the request
    // context that was provided in the error report. If more users are
    // implicitly affected, such as due to a crash of the whole service,
    // this is not reflected here.
    AffectedUsersCount int64 `protobuf:"varint,3,opt,name=affected_users_count,json=affectedUsersCount,proto3" json:"affected_users_count,omitempty"`
    // Approximate number of occurrences over time.
    // Timed counts returned by ListGroups are guaranteed to be:
    //
    // - Inside the requested time interval
    // - Non-overlapping, and
    // - Ordered by ascending time.
    TimedCounts []*TimedCount `protobuf:"bytes,4,rep,name=timed_counts,json=timedCounts,proto3" json:"timed_counts,omitempty"`
    // Approximate first occurrence that was ever seen for this group
    // and which matches the given filter criteria, ignoring the
    // time_range that was specified in the request.
    FirstSeenTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=first_seen_time,json=firstSeenTime,proto3" json:"first_seen_time,omitempty"`
    // Approximate last occurrence that was ever seen for this group and
    // which matches the given filter criteria, ignoring the time_range
    // that was specified in the request.
    LastSeenTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_seen_time,json=lastSeenTime,proto3" json:"last_seen_time,omitempty"`
    // Service contexts with a non-zero error count for the given filter
    // criteria. This list can be truncated if multiple services are affected.
    // Refer to `num_affected_services` for the total count.
    AffectedServices []*ServiceContext `protobuf:"bytes,7,rep,name=affected_services,json=affectedServices,proto3" json:"affected_services,omitempty"`
    // The total number of services with a non-zero error count for the given
    // filter criteria.
    NumAffectedServices int32 `protobuf:"varint,8,opt,name=num_affected_services,json=numAffectedServices,proto3" json:"num_affected_services,omitempty"`
    // An arbitrary event that is chosen as representative for the whole group.
    // The representative event is intended to be used as a quick preview for
    // the whole group. Events in the group are usually sufficiently similar
    // to each other such that showing an arbitrary representative provides
    // insight into the characteristics of the group as a whole.
    Representative *ErrorEvent `protobuf:"bytes,9,opt,name=representative,proto3" json:"representative,omitempty"`
    // contains filtered or unexported fields
}

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

func (*ErrorGroupStats) Descriptor Uses

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

Deprecated: Use ErrorGroupStats.ProtoReflect.Descriptor instead.

func (*ErrorGroupStats) GetAffectedServices Uses

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

func (*ErrorGroupStats) GetAffectedUsersCount Uses

func (x *ErrorGroupStats) GetAffectedUsersCount() int64

func (*ErrorGroupStats) GetCount Uses

func (x *ErrorGroupStats) GetCount() int64

func (*ErrorGroupStats) GetFirstSeenTime Uses

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

func (*ErrorGroupStats) GetGroup Uses

func (x *ErrorGroupStats) GetGroup() *ErrorGroup

func (*ErrorGroupStats) GetLastSeenTime Uses

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

func (*ErrorGroupStats) GetNumAffectedServices Uses

func (x *ErrorGroupStats) GetNumAffectedServices() int32

func (*ErrorGroupStats) GetRepresentative Uses

func (x *ErrorGroupStats) GetRepresentative() *ErrorEvent

func (*ErrorGroupStats) GetTimedCounts Uses

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

func (*ErrorGroupStats) ProtoMessage Uses

func (*ErrorGroupStats) ProtoMessage()

func (*ErrorGroupStats) ProtoReflect Uses

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

func (*ErrorGroupStats) Reset Uses

func (x *ErrorGroupStats) Reset()

func (*ErrorGroupStats) String Uses

func (x *ErrorGroupStats) String() string

type ErrorStatsServiceClient Uses

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 Uses

func NewErrorStatsServiceClient(cc grpc.ClientConnInterface) ErrorStatsServiceClient

type ErrorStatsServiceServer Uses

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 Uses

type GetGroupRequest struct {

    // The group resource name. Written as
    // `projects/{projectID}/groups/{group_name}`. Call
    // [`groupStats.list`](https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groupStats/list)
    // to return a list of groups belonging to this project.
    //
    // Example: `projects/my-project-123/groups/my-group`
    GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
    // contains filtered or unexported fields
}

A request to return an individual group.

func (*GetGroupRequest) Descriptor Uses

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

Deprecated: Use GetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRequest) GetGroupName Uses

func (x *GetGroupRequest) GetGroupName() string

func (*GetGroupRequest) ProtoMessage Uses

func (*GetGroupRequest) ProtoMessage()

func (*GetGroupRequest) ProtoReflect Uses

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

func (*GetGroupRequest) Reset Uses

func (x *GetGroupRequest) Reset()

func (*GetGroupRequest) String Uses

func (x *GetGroupRequest) String() string

type HttpRequestContext Uses

type HttpRequestContext struct {

    // The type of HTTP request, such as `GET`, `POST`, etc.
    Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
    // The URL of the request.
    Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
    // The user agent information that is provided with the request.
    UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
    // The referrer information that is provided with the request.
    Referrer string `protobuf:"bytes,4,opt,name=referrer,proto3" json:"referrer,omitempty"`
    // The HTTP response status code for the request.
    ResponseStatusCode int32 `protobuf:"varint,5,opt,name=response_status_code,json=responseStatusCode,proto3" json:"response_status_code,omitempty"`
    // The IP address from which the request originated.
    // This can be IPv4, IPv6, or a token which is derived from the
    // IP address, depending on the data that has been provided
    // in the error report.
    RemoteIp string `protobuf:"bytes,6,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"`
    // contains filtered or unexported fields
}

HTTP request data that is related to a reported error. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs.

func (*HttpRequestContext) Descriptor Uses

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

Deprecated: Use HttpRequestContext.ProtoReflect.Descriptor instead.

func (*HttpRequestContext) GetMethod Uses

func (x *HttpRequestContext) GetMethod() string

func (*HttpRequestContext) GetReferrer Uses

func (x *HttpRequestContext) GetReferrer() string

func (*HttpRequestContext) GetRemoteIp Uses

func (x *HttpRequestContext) GetRemoteIp() string

func (*HttpRequestContext) GetResponseStatusCode Uses

func (x *HttpRequestContext) GetResponseStatusCode() int32

func (*HttpRequestContext) GetUrl Uses

func (x *HttpRequestContext) GetUrl() string

func (*HttpRequestContext) GetUserAgent Uses

func (x *HttpRequestContext) GetUserAgent() string

func (*HttpRequestContext) ProtoMessage Uses

func (*HttpRequestContext) ProtoMessage()

func (*HttpRequestContext) ProtoReflect Uses

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

func (*HttpRequestContext) Reset Uses

func (x *HttpRequestContext) Reset()

func (*HttpRequestContext) String Uses

func (x *HttpRequestContext) String() string

type ListEventsRequest Uses

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"`
    // contains filtered or unexported fields
}

Specifies a set of error events to return.

func (*ListEventsRequest) Descriptor Uses

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

Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.

func (*ListEventsRequest) GetGroupId Uses

func (x *ListEventsRequest) GetGroupId() string

func (*ListEventsRequest) GetPageSize Uses

func (x *ListEventsRequest) GetPageSize() int32

func (*ListEventsRequest) GetPageToken Uses

func (x *ListEventsRequest) GetPageToken() string

func (*ListEventsRequest) GetProjectName Uses

func (x *ListEventsRequest) GetProjectName() string

func (*ListEventsRequest) GetServiceFilter Uses

func (x *ListEventsRequest) GetServiceFilter() *ServiceContextFilter

func (*ListEventsRequest) GetTimeRange Uses

func (x *ListEventsRequest) GetTimeRange() *QueryTimeRange

func (*ListEventsRequest) ProtoMessage Uses

func (*ListEventsRequest) ProtoMessage()

func (*ListEventsRequest) ProtoReflect Uses

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

func (*ListEventsRequest) Reset Uses

func (x *ListEventsRequest) Reset()

func (*ListEventsRequest) String Uses

func (x *ListEventsRequest) String() string

type ListEventsResponse Uses

type ListEventsResponse struct {

    // The error events which match the given request.
    ErrorEvents []*ErrorEvent `protobuf:"bytes,1,rep,name=error_events,json=errorEvents,proto3" json:"error_events,omitempty"`
    // If non-empty, more results are available.
    // Pass this token, along with the same query parameters as the first
    // request, to view the next page of results.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // The timestamp specifies the start time to which the request was restricted.
    TimeRangeBegin *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin,proto3" json:"time_range_begin,omitempty"`
    // contains filtered or unexported fields
}

Contains a set of requested error events.

func (*ListEventsResponse) Descriptor Uses

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

Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.

func (*ListEventsResponse) GetErrorEvents Uses

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

func (*ListEventsResponse) GetNextPageToken Uses

func (x *ListEventsResponse) GetNextPageToken() string

func (*ListEventsResponse) GetTimeRangeBegin Uses

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

func (*ListEventsResponse) ProtoMessage Uses

func (*ListEventsResponse) ProtoMessage()

func (*ListEventsResponse) ProtoReflect Uses

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

func (*ListEventsResponse) Reset Uses

func (x *ListEventsResponse) Reset()

func (*ListEventsResponse) String Uses

func (x *ListEventsResponse) String() string

type ListGroupStatsRequest Uses

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
    // <code>time_range_begin</code> in the response will specify the beginning
    // of this time range.
    // Only <code>ErrorGroupStats</code> with a non-zero count in the given time
    // range are returned, unless the request contains an explicit
    // <code>group_id</code> list. If a <code>group_id</code> list is given, also
    // <code>ErrorGroupStats</code> with zero occurrences are returned.
    TimeRange *QueryTimeRange `protobuf:"bytes,5,opt,name=time_range,json=timeRange,proto3" json:"time_range,omitempty"`
    // Optional. The preferred duration for a single returned `TimedCount`.
    // If not set, no timed counts are returned.
    TimedCountDuration *durationpb.Duration `protobuf:"bytes,6,opt,name=timed_count_duration,json=timedCountDuration,proto3" json:"timed_count_duration,omitempty"`
    // Optional. The alignment of the timed counts to be returned.
    // Default is `ALIGNMENT_EQUAL_AT_END`.
    Alignment TimedCountAlignment `protobuf:"varint,7,opt,name=alignment,proto3,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 *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=alignment_time,json=alignmentTime,proto3" json:"alignment_time,omitempty"`
    // Optional. The sort order in which the results are returned.
    // Default is `COUNT_DESC`.
    Order ErrorGroupOrder `protobuf:"varint,9,opt,name=order,proto3,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,proto3" json:"page_size,omitempty"`
    // Optional. A `next_page_token` provided by a previous response. To view
    // additional results, pass this token along with the identical query
    // parameters as the first request.
    PageToken string `protobuf:"bytes,12,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Specifies a set of `ErrorGroupStats` to return.

func (*ListGroupStatsRequest) Descriptor Uses

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

Deprecated: Use ListGroupStatsRequest.ProtoReflect.Descriptor instead.

func (*ListGroupStatsRequest) GetAlignment Uses

func (x *ListGroupStatsRequest) GetAlignment() TimedCountAlignment

func (*ListGroupStatsRequest) GetAlignmentTime Uses

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

func (*ListGroupStatsRequest) GetGroupId Uses

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

func (*ListGroupStatsRequest) GetOrder Uses

func (x *ListGroupStatsRequest) GetOrder() ErrorGroupOrder

func (*ListGroupStatsRequest) GetPageSize Uses

func (x *ListGroupStatsRequest) GetPageSize() int32

func (*ListGroupStatsRequest) GetPageToken Uses

func (x *ListGroupStatsRequest) GetPageToken() string

func (*ListGroupStatsRequest) GetProjectName Uses

func (x *ListGroupStatsRequest) GetProjectName() string

func (*ListGroupStatsRequest) GetServiceFilter Uses

func (x *ListGroupStatsRequest) GetServiceFilter() *ServiceContextFilter

func (*ListGroupStatsRequest) GetTimeRange Uses

func (x *ListGroupStatsRequest) GetTimeRange() *QueryTimeRange

func (*ListGroupStatsRequest) GetTimedCountDuration Uses

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

func (*ListGroupStatsRequest) ProtoMessage Uses

func (*ListGroupStatsRequest) ProtoMessage()

func (*ListGroupStatsRequest) ProtoReflect Uses

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

func (*ListGroupStatsRequest) Reset Uses

func (x *ListGroupStatsRequest) Reset()

func (*ListGroupStatsRequest) String Uses

func (x *ListGroupStatsRequest) String() string

type ListGroupStatsResponse Uses

type ListGroupStatsResponse struct {

    // The error group stats which match the given request.
    ErrorGroupStats []*ErrorGroupStats `protobuf:"bytes,1,rep,name=error_group_stats,json=errorGroupStats,proto3" json:"error_group_stats,omitempty"`
    // If non-empty, more results are available.
    // Pass this token, along with the same query parameters as the first
    // request, to view the next page of results.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // The timestamp specifies the start time to which the request was restricted.
    // The start time is set based on the requested time range. It may be adjusted
    // to a later time if a project has exceeded the storage quota and older data
    // has been deleted.
    TimeRangeBegin *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time_range_begin,json=timeRangeBegin,proto3" json:"time_range_begin,omitempty"`
    // contains filtered or unexported fields
}

Contains a set of requested error group stats.

func (*ListGroupStatsResponse) Descriptor Uses

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

Deprecated: Use ListGroupStatsResponse.ProtoReflect.Descriptor instead.

func (*ListGroupStatsResponse) GetErrorGroupStats Uses

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

func (*ListGroupStatsResponse) GetNextPageToken Uses

func (x *ListGroupStatsResponse) GetNextPageToken() string

func (*ListGroupStatsResponse) GetTimeRangeBegin Uses

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

func (*ListGroupStatsResponse) ProtoMessage Uses

func (*ListGroupStatsResponse) ProtoMessage()

func (*ListGroupStatsResponse) ProtoReflect Uses

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

func (*ListGroupStatsResponse) Reset Uses

func (x *ListGroupStatsResponse) Reset()

func (*ListGroupStatsResponse) String Uses

func (x *ListGroupStatsResponse) String() string

type QueryTimeRange Uses

type QueryTimeRange struct {

    // Restricts the query to the specified time range.
    Period QueryTimeRange_Period `protobuf:"varint,1,opt,name=period,proto3,enum=google.devtools.clouderrorreporting.v1beta1.QueryTimeRange_Period" json:"period,omitempty"`
    // contains filtered or unexported fields
}

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

func (*QueryTimeRange) Descriptor Uses

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

Deprecated: Use QueryTimeRange.ProtoReflect.Descriptor instead.

func (*QueryTimeRange) GetPeriod Uses

func (x *QueryTimeRange) GetPeriod() QueryTimeRange_Period

func (*QueryTimeRange) ProtoMessage Uses

func (*QueryTimeRange) ProtoMessage()

func (*QueryTimeRange) ProtoReflect Uses

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

func (*QueryTimeRange) Reset Uses

func (x *QueryTimeRange) Reset()

func (*QueryTimeRange) String Uses

func (x *QueryTimeRange) String() string

type QueryTimeRange_Period Uses

type QueryTimeRange_Period int32

The supported time ranges.

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

func (QueryTimeRange_Period) Descriptor Uses

func (QueryTimeRange_Period) Descriptor() protoreflect.EnumDescriptor

func (QueryTimeRange_Period) Enum Uses

func (x QueryTimeRange_Period) Enum() *QueryTimeRange_Period

func (QueryTimeRange_Period) EnumDescriptor Uses

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

Deprecated: Use QueryTimeRange_Period.Descriptor instead.

func (QueryTimeRange_Period) Number Uses

func (x QueryTimeRange_Period) Number() protoreflect.EnumNumber

func (QueryTimeRange_Period) String Uses

func (x QueryTimeRange_Period) String() string

func (QueryTimeRange_Period) Type Uses

func (QueryTimeRange_Period) Type() protoreflect.EnumType

type ReportErrorEventRequest Uses

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"`
    // contains filtered or unexported fields
}

A request for reporting an individual error event.

func (*ReportErrorEventRequest) Descriptor Uses

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

Deprecated: Use ReportErrorEventRequest.ProtoReflect.Descriptor instead.

func (*ReportErrorEventRequest) GetEvent Uses

func (x *ReportErrorEventRequest) GetEvent() *ReportedErrorEvent

func (*ReportErrorEventRequest) GetProjectName Uses

func (x *ReportErrorEventRequest) GetProjectName() string

func (*ReportErrorEventRequest) ProtoMessage Uses

func (*ReportErrorEventRequest) ProtoMessage()

func (*ReportErrorEventRequest) ProtoReflect Uses

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

func (*ReportErrorEventRequest) Reset Uses

func (x *ReportErrorEventRequest) Reset()

func (*ReportErrorEventRequest) String Uses

func (x *ReportErrorEventRequest) String() string

type ReportErrorEventResponse Uses

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

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

func (*ReportErrorEventResponse) Descriptor Uses

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

Deprecated: Use ReportErrorEventResponse.ProtoReflect.Descriptor instead.

func (*ReportErrorEventResponse) ProtoMessage Uses

func (*ReportErrorEventResponse) ProtoMessage()

func (*ReportErrorEventResponse) ProtoReflect Uses

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

func (*ReportErrorEventResponse) Reset Uses

func (x *ReportErrorEventResponse) Reset()

func (*ReportErrorEventResponse) String Uses

func (x *ReportErrorEventResponse) String() string

type ReportErrorsServiceClient Uses

type ReportErrorsServiceClient interface {
    // Report an individual error event.
    //
    // This endpoint accepts **either** an OAuth token,
    // **or** an [API key](https://support.google.com/cloud/answer/6158862)
    // for authentication. To use an API key, append it to the URL as the value of
    // a `key` parameter. For example:
    //
    // `POST
    // https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456`
    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 Uses

func NewReportErrorsServiceClient(cc grpc.ClientConnInterface) ReportErrorsServiceClient

type ReportErrorsServiceServer Uses

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

ReportErrorsServiceServer is the server API for ReportErrorsService service.

type ReportedErrorEvent Uses

type ReportedErrorEvent struct {

    // Optional. Time when the event occurred.
    // If not provided, the time when the event was received by the
    // Error Reporting system will be used.
    EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
    // Required. The service context in which this error has occurred.
    ServiceContext *ServiceContext `protobuf:"bytes,2,opt,name=service_context,json=serviceContext,proto3" json:"service_context,omitempty"`
    // Required. The error message.
    // If no `context.reportLocation` is provided, the message must contain a
    // header (typically consisting of the exception type name and an error
    // message) and an exception stack trace in one of the supported programming
    // languages and formats.
    // Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
    // Supported stack trace formats are:
    //
    // * **Java**: Must be the return value of
    // [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).
    // * **Python**: Must be the return value of
    // [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).
    // * **JavaScript**: Must be the value of
    // [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
    // by V8.
    // * **Ruby**: Must contain frames returned by
    // [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
    // * **C#**: Must be the return value of
    // [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).
    // * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
    // and contain the result of
    // [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
    // * **Go**: Must be the return value of
    // [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
    Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
    // Optional. A description of the context in which the error occurred.
    Context *ErrorContext `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
    // contains filtered or unexported fields
}

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

func (*ReportedErrorEvent) Descriptor Uses

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

Deprecated: Use ReportedErrorEvent.ProtoReflect.Descriptor instead.

func (*ReportedErrorEvent) GetContext Uses

func (x *ReportedErrorEvent) GetContext() *ErrorContext

func (*ReportedErrorEvent) GetEventTime Uses

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

func (*ReportedErrorEvent) GetMessage Uses

func (x *ReportedErrorEvent) GetMessage() string

func (*ReportedErrorEvent) GetServiceContext Uses

func (x *ReportedErrorEvent) GetServiceContext() *ServiceContext

func (*ReportedErrorEvent) ProtoMessage Uses

func (*ReportedErrorEvent) ProtoMessage()

func (*ReportedErrorEvent) ProtoReflect Uses

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

func (*ReportedErrorEvent) Reset Uses

func (x *ReportedErrorEvent) Reset()

func (*ReportedErrorEvent) String Uses

func (x *ReportedErrorEvent) String() string

type ServiceContext Uses

type ServiceContext struct {

    // An identifier of the service, such as the name of the
    // executable, job, or Google App Engine service name. This field is expected
    // to have a low number of values that are relatively stable over time, as
    // opposed to `version`, which can be changed whenever new code is deployed.
    //
    // Contains the service name for error reports extracted from Google
    // App Engine logs or `default` if the App Engine default service is used.
    Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
    // Represents the source code version that the developer provided,
    // which could represent a version label or a Git SHA-1 hash, for example.
    // For App Engine standard environment, the version is set to the version of
    // the app.
    Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
    // Type of the MonitoredResource. List of possible values:
    // https://cloud.google.com/monitoring/api/resources
    //
    // Value is set automatically for incoming errors and must not be set when
    // reporting errors.
    ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
    // contains filtered or unexported fields
}

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

func (*ServiceContext) Descriptor Uses

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

Deprecated: Use ServiceContext.ProtoReflect.Descriptor instead.

func (*ServiceContext) GetResourceType Uses

func (x *ServiceContext) GetResourceType() string

func (*ServiceContext) GetService Uses

func (x *ServiceContext) GetService() string

func (*ServiceContext) GetVersion Uses

func (x *ServiceContext) GetVersion() string

func (*ServiceContext) ProtoMessage Uses

func (*ServiceContext) ProtoMessage()

func (*ServiceContext) ProtoReflect Uses

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

func (*ServiceContext) Reset Uses

func (x *ServiceContext) Reset()

func (*ServiceContext) String Uses

func (x *ServiceContext) String() string

type ServiceContextFilter Uses

type ServiceContextFilter struct {

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

Specifies criteria for filtering a subset of service contexts. The fields in the filter correspond to the fields in `ServiceContext`. Only exact, case-sensitive matches are supported. If a field is unset or empty, it matches arbitrary values.

func (*ServiceContextFilter) Descriptor Uses

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

Deprecated: Use ServiceContextFilter.ProtoReflect.Descriptor instead.

func (*ServiceContextFilter) GetResourceType Uses

func (x *ServiceContextFilter) GetResourceType() string

func (*ServiceContextFilter) GetService Uses

func (x *ServiceContextFilter) GetService() string

func (*ServiceContextFilter) GetVersion Uses

func (x *ServiceContextFilter) GetVersion() string

func (*ServiceContextFilter) ProtoMessage Uses

func (*ServiceContextFilter) ProtoMessage()

func (*ServiceContextFilter) ProtoReflect Uses

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

func (*ServiceContextFilter) Reset Uses

func (x *ServiceContextFilter) Reset()

func (*ServiceContextFilter) String Uses

func (x *ServiceContextFilter) String() string

type SourceLocation Uses

type SourceLocation struct {

    // The source code filename, which can include a truncated relative
    // path, or a full path from a production machine.
    FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
    // 1-based. 0 indicates that the line number is unknown.
    LineNumber int32 `protobuf:"varint,2,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"`
    // Human-readable name of a function or method.
    // The value can include optional context like the class or package name.
    // For example, `my.package.MyClass.method` in case of Java.
    FunctionName string `protobuf:"bytes,4,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
    // contains filtered or unexported fields
}

Indicates a location in the source code of the service for which errors are reported. `functionName` must be provided by the application when reporting an error, unless the error report contains a `message` with a supported exception stack trace. All fields are optional for the later case.

func (*SourceLocation) Descriptor Uses

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

Deprecated: Use SourceLocation.ProtoReflect.Descriptor instead.

func (*SourceLocation) GetFilePath Uses

func (x *SourceLocation) GetFilePath() string

func (*SourceLocation) GetFunctionName Uses

func (x *SourceLocation) GetFunctionName() string

func (*SourceLocation) GetLineNumber Uses

func (x *SourceLocation) GetLineNumber() int32

func (*SourceLocation) ProtoMessage Uses

func (*SourceLocation) ProtoMessage()

func (*SourceLocation) ProtoReflect Uses

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

func (*SourceLocation) Reset Uses

func (x *SourceLocation) Reset()

func (*SourceLocation) String Uses

func (x *SourceLocation) String() string

type TimedCount Uses

type TimedCount struct {

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

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

func (*TimedCount) Descriptor Uses

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

Deprecated: Use TimedCount.ProtoReflect.Descriptor instead.

func (*TimedCount) GetCount Uses

func (x *TimedCount) GetCount() int64

func (*TimedCount) GetEndTime Uses

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

func (*TimedCount) GetStartTime Uses

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

func (*TimedCount) ProtoMessage Uses

func (*TimedCount) ProtoMessage()

func (*TimedCount) ProtoReflect Uses

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

func (*TimedCount) Reset Uses

func (x *TimedCount) Reset()

func (*TimedCount) String Uses

func (x *TimedCount) String() string

type TimedCountAlignment Uses

type TimedCountAlignment int32

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

const (
    // No alignment specified.
    TimedCountAlignment_ERROR_COUNT_ALIGNMENT_UNSPECIFIED TimedCountAlignment = 0
    // The time periods shall be consecutive, have width equal to the
    // requested duration, and be aligned at the `alignment_time` provided in
    // the request.
    // The `alignment_time` does not have to be inside the query period but
    // even if it is outside, only time periods are returned which overlap
    // with the query period.
    // A rounded alignment will typically result in a
    // different size of the first or the last time period.
    TimedCountAlignment_ALIGNMENT_EQUAL_ROUNDED TimedCountAlignment = 1
    // The time periods shall be consecutive, have width equal to the
    // requested duration, and be aligned at the end of the requested time
    // period. This can result in a different size of the
    // first time period.
    TimedCountAlignment_ALIGNMENT_EQUAL_AT_END TimedCountAlignment = 2
)

func (TimedCountAlignment) Descriptor Uses

func (TimedCountAlignment) Descriptor() protoreflect.EnumDescriptor

func (TimedCountAlignment) Enum Uses

func (x TimedCountAlignment) Enum() *TimedCountAlignment

func (TimedCountAlignment) EnumDescriptor Uses

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

Deprecated: Use TimedCountAlignment.Descriptor instead.

func (TimedCountAlignment) Number Uses

func (x TimedCountAlignment) Number() protoreflect.EnumNumber

func (TimedCountAlignment) String Uses

func (x TimedCountAlignment) String() string

func (TimedCountAlignment) Type Uses

func (TimedCountAlignment) Type() protoreflect.EnumType

type TrackingIssue Uses

type TrackingIssue struct {

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

Information related to tracking the progress on resolving the error.

func (*TrackingIssue) Descriptor Uses

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

Deprecated: Use TrackingIssue.ProtoReflect.Descriptor instead.

func (*TrackingIssue) GetUrl Uses

func (x *TrackingIssue) GetUrl() string

func (*TrackingIssue) ProtoMessage Uses

func (*TrackingIssue) ProtoMessage()

func (*TrackingIssue) ProtoReflect Uses

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

func (*TrackingIssue) Reset Uses

func (x *TrackingIssue) Reset()

func (*TrackingIssue) String Uses

func (x *TrackingIssue) String() string

type UnimplementedErrorGroupServiceServer Uses

type UnimplementedErrorGroupServiceServer struct {
}

UnimplementedErrorGroupServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedErrorGroupServiceServer) GetGroup Uses

func (*UnimplementedErrorGroupServiceServer) GetGroup(context.Context, *GetGroupRequest) (*ErrorGroup, error)

func (*UnimplementedErrorGroupServiceServer) UpdateGroup Uses

func (*UnimplementedErrorGroupServiceServer) UpdateGroup(context.Context, *UpdateGroupRequest) (*ErrorGroup, error)

type UnimplementedErrorStatsServiceServer Uses

type UnimplementedErrorStatsServiceServer struct {
}

UnimplementedErrorStatsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedErrorStatsServiceServer) DeleteEvents Uses

func (*UnimplementedErrorStatsServiceServer) DeleteEvents(context.Context, *DeleteEventsRequest) (*DeleteEventsResponse, error)

func (*UnimplementedErrorStatsServiceServer) ListEvents Uses

func (*UnimplementedErrorStatsServiceServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)

func (*UnimplementedErrorStatsServiceServer) ListGroupStats Uses

func (*UnimplementedErrorStatsServiceServer) ListGroupStats(context.Context, *ListGroupStatsRequest) (*ListGroupStatsResponse, error)

type UnimplementedReportErrorsServiceServer Uses

type UnimplementedReportErrorsServiceServer struct {
}

UnimplementedReportErrorsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedReportErrorsServiceServer) ReportErrorEvent Uses

func (*UnimplementedReportErrorsServiceServer) ReportErrorEvent(context.Context, *ReportErrorEventRequest) (*ReportErrorEventResponse, error)

type UpdateGroupRequest Uses

type UpdateGroupRequest struct {

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

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

func (*UpdateGroupRequest) Descriptor Uses

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

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetGroup Uses

func (x *UpdateGroupRequest) GetGroup() *ErrorGroup

func (*UpdateGroupRequest) ProtoMessage Uses

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect Uses

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

func (*UpdateGroupRequest) Reset Uses

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String Uses

func (x *UpdateGroupRequest) String() string

Package clouderrorreporting imports 12 packages (graph) and is imported by 2 packages. Updated 2020-09-04. Refresh now. Tools for package owners.