Types for Stackdriver Error Reporting API Client#

class google.cloud.errorreporting_v1beta1.types.CustomHttpPattern#
kind#

Field google.api.CustomHttpPattern.kind

path#

Field google.api.CustomHttpPattern.path

class google.cloud.errorreporting_v1beta1.types.DeleteEventsRequest#

Deletes all events in the project.

project_name#

[Required] The resource name of the Google Cloud Platform project. Written as projects/ plus the Google Cloud Platform project ID. Example: projects/my-project-123.

project_name

Field google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest.project_name

class google.cloud.errorreporting_v1beta1.types.DeleteEventsResponse#

Response message for deleting error events.

class google.cloud.errorreporting_v1beta1.types.DescriptorProto#
class ExtensionRange#
end#

Field google.protobuf.DescriptorProto.ExtensionRange.end

options#

Field google.protobuf.DescriptorProto.ExtensionRange.options

start#

Field google.protobuf.DescriptorProto.ExtensionRange.start

class ReservedRange#
end#

Field google.protobuf.DescriptorProto.ReservedRange.end

start#

Field google.protobuf.DescriptorProto.ReservedRange.start

enum_type#

Field google.protobuf.DescriptorProto.enum_type

extension#

Field google.protobuf.DescriptorProto.extension

extension_range#

Field google.protobuf.DescriptorProto.extension_range

field#

Field google.protobuf.DescriptorProto.field

name#

Field google.protobuf.DescriptorProto.name

nested_type#

Field google.protobuf.DescriptorProto.nested_type

oneof_decl#

Field google.protobuf.DescriptorProto.oneof_decl

options#

Field google.protobuf.DescriptorProto.options

reserved_name#

Field google.protobuf.DescriptorProto.reserved_name

reserved_range#

Field google.protobuf.DescriptorProto.reserved_range

class google.cloud.errorreporting_v1beta1.types.Duration#
nanos#

Field google.protobuf.Duration.nanos

seconds#

Field google.protobuf.Duration.seconds

class google.cloud.errorreporting_v1beta1.types.EnumDescriptorProto#
class EnumReservedRange#
end#

Field google.protobuf.EnumDescriptorProto.EnumReservedRange.end

start#

Field google.protobuf.EnumDescriptorProto.EnumReservedRange.start

name#

Field google.protobuf.EnumDescriptorProto.name

options#

Field google.protobuf.EnumDescriptorProto.options

reserved_name#

Field google.protobuf.EnumDescriptorProto.reserved_name

reserved_range#

Field google.protobuf.EnumDescriptorProto.reserved_range

value#

Field google.protobuf.EnumDescriptorProto.value

class google.cloud.errorreporting_v1beta1.types.EnumOptions#
allow_alias#

Field google.protobuf.EnumOptions.allow_alias

deprecated#

Field google.protobuf.EnumOptions.deprecated

uninterpreted_option#

Field google.protobuf.EnumOptions.uninterpreted_option

class google.cloud.errorreporting_v1beta1.types.EnumValueDescriptorProto#
name#

Field google.protobuf.EnumValueDescriptorProto.name

number#

Field google.protobuf.EnumValueDescriptorProto.number

options#

Field google.protobuf.EnumValueDescriptorProto.options

class google.cloud.errorreporting_v1beta1.types.EnumValueOptions#
deprecated#

Field google.protobuf.EnumValueOptions.deprecated

uninterpreted_option#

Field google.protobuf.EnumValueOptions.uninterpreted_option

class google.cloud.errorreporting_v1beta1.types.ErrorContext#

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

http_request#

The HTTP request which was processed when the error was triggered.

user#

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.

report_location#

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.

http_request

Field google.devtools.clouderrorreporting.v1beta1.ErrorContext.http_request

report_location

Field google.devtools.clouderrorreporting.v1beta1.ErrorContext.report_location

user

Field google.devtools.clouderrorreporting.v1beta1.ErrorContext.user

class google.cloud.errorreporting_v1beta1.types.ErrorEvent#

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

event_time#

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.

service_context#

The ServiceContext for which this error was reported.

message#

The stack trace that was reported or logged by the service.

context#

Data about the context in which the error occurred.

context

Field google.devtools.clouderrorreporting.v1beta1.ErrorEvent.context

event_time

Field google.devtools.clouderrorreporting.v1beta1.ErrorEvent.event_time

message

Field google.devtools.clouderrorreporting.v1beta1.ErrorEvent.message

service_context

Field google.devtools.clouderrorreporting.v1beta1.ErrorEvent.service_context

class google.cloud.errorreporting_v1beta1.types.ErrorGroup#

Description of a group of similar error events.

name#

The group resource name. Example: projects/my- project-123/groups/my-groupid

group_id#

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.

tracking_issues#

Associated tracking issues.

group_id

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroup.group_id

name

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroup.name

tracking_issues

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroup.tracking_issues

class google.cloud.errorreporting_v1beta1.types.ErrorGroupStats#

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

group#

Group data that is independent of the filter criteria.

count#

Approximate total number of events in the given group that match the filter criteria.

affected_users_count#

Approximate number of affected users in the given group that match the filter criteria. Users are distinguished by data in the ErrorContext of the individual error events, such as their login name or their remote IP address in case of HTTP requests. The number of affected users can be zero even if the number of errors is non-zero if no data was provided from which the affected user could be deduced. Users are counted based on data in the request context that was provided in the error report. If more users are implicitly affected, such as due to a crash of the whole service, this is not reflected here.

timed_counts#

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.

first_seen_time#

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.

last_seen_time#

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.

affected_services#

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.

num_affected_services#

The total number of services with a non-zero error count for the given filter criteria.

representative#

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.

affected_services

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats.affected_services

affected_users_count

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats.affected_users_count

count

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats.count

first_seen_time

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats.first_seen_time

group

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats.group

last_seen_time

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats.last_seen_time

num_affected_services

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats.num_affected_services

representative

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats.representative

timed_counts

Field google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats.timed_counts

class google.cloud.errorreporting_v1beta1.types.ExtensionRangeOptions#
uninterpreted_option#

Field google.protobuf.ExtensionRangeOptions.uninterpreted_option

class google.cloud.errorreporting_v1beta1.types.FieldDescriptorProto#
default_value#

Field google.protobuf.FieldDescriptorProto.default_value

extendee#

Field google.protobuf.FieldDescriptorProto.extendee

json_name#

Field google.protobuf.FieldDescriptorProto.json_name

label#

Field google.protobuf.FieldDescriptorProto.label

name#

Field google.protobuf.FieldDescriptorProto.name

number#

Field google.protobuf.FieldDescriptorProto.number

oneof_index#

Field google.protobuf.FieldDescriptorProto.oneof_index

options#

Field google.protobuf.FieldDescriptorProto.options

type#

Field google.protobuf.FieldDescriptorProto.type

type_name#

Field google.protobuf.FieldDescriptorProto.type_name

class google.cloud.errorreporting_v1beta1.types.FieldOptions#
ctype#

Field google.protobuf.FieldOptions.ctype

deprecated#

Field google.protobuf.FieldOptions.deprecated

jstype#

Field google.protobuf.FieldOptions.jstype

lazy#

Field google.protobuf.FieldOptions.lazy

packed#

Field google.protobuf.FieldOptions.packed

uninterpreted_option#

Field google.protobuf.FieldOptions.uninterpreted_option

weak#

Field google.protobuf.FieldOptions.weak

class google.cloud.errorreporting_v1beta1.types.FileDescriptorProto#
dependency#

Field google.protobuf.FileDescriptorProto.dependency

enum_type#

Field google.protobuf.FileDescriptorProto.enum_type

extension#

Field google.protobuf.FileDescriptorProto.extension

message_type#

Field google.protobuf.FileDescriptorProto.message_type

name#

Field google.protobuf.FileDescriptorProto.name

options#

Field google.protobuf.FileDescriptorProto.options

package#

Field google.protobuf.FileDescriptorProto.package

public_dependency#

Field google.protobuf.FileDescriptorProto.public_dependency

service#

Field google.protobuf.FileDescriptorProto.service

source_code_info#

Field google.protobuf.FileDescriptorProto.source_code_info

syntax#

Field google.protobuf.FileDescriptorProto.syntax

weak_dependency#

Field google.protobuf.FileDescriptorProto.weak_dependency

class google.cloud.errorreporting_v1beta1.types.FileDescriptorSet#
file#

Field google.protobuf.FileDescriptorSet.file

class google.cloud.errorreporting_v1beta1.types.FileOptions#
cc_enable_arenas#

Field google.protobuf.FileOptions.cc_enable_arenas

cc_generic_services#

Field google.protobuf.FileOptions.cc_generic_services

csharp_namespace#

Field google.protobuf.FileOptions.csharp_namespace

deprecated#

Field google.protobuf.FileOptions.deprecated

go_package#

Field google.protobuf.FileOptions.go_package

java_generate_equals_and_hash#

Field google.protobuf.FileOptions.java_generate_equals_and_hash

java_generic_services#

Field google.protobuf.FileOptions.java_generic_services

java_multiple_files#

Field google.protobuf.FileOptions.java_multiple_files

java_outer_classname#

Field google.protobuf.FileOptions.java_outer_classname

java_package#

Field google.protobuf.FileOptions.java_package

java_string_check_utf8#

Field google.protobuf.FileOptions.java_string_check_utf8

objc_class_prefix#

Field google.protobuf.FileOptions.objc_class_prefix

optimize_for#

Field google.protobuf.FileOptions.optimize_for

php_class_prefix#

Field google.protobuf.FileOptions.php_class_prefix

php_generic_services#

Field google.protobuf.FileOptions.php_generic_services

php_metadata_namespace#

Field google.protobuf.FileOptions.php_metadata_namespace

php_namespace#

Field google.protobuf.FileOptions.php_namespace

py_generic_services#

Field google.protobuf.FileOptions.py_generic_services

ruby_package#

Field google.protobuf.FileOptions.ruby_package

swift_prefix#

Field google.protobuf.FileOptions.swift_prefix

uninterpreted_option#

Field google.protobuf.FileOptions.uninterpreted_option

class google.cloud.errorreporting_v1beta1.types.GeneratedCodeInfo#
class Annotation#
begin#

Field google.protobuf.GeneratedCodeInfo.Annotation.begin

end#

Field google.protobuf.GeneratedCodeInfo.Annotation.end

path#

Field google.protobuf.GeneratedCodeInfo.Annotation.path

source_file#

Field google.protobuf.GeneratedCodeInfo.Annotation.source_file

annotation#

Field google.protobuf.GeneratedCodeInfo.annotation

class google.cloud.errorreporting_v1beta1.types.GetGroupRequest#

A request to return an individual group.

group_name#

[Required] The group resource name. Written as projects/projectID/groups/group_name. Call groupStats.list to return a list of groups belonging to this project. Example: projects/my-project-123/groups/my-group

group_name

Field google.devtools.clouderrorreporting.v1beta1.GetGroupRequest.group_name

class google.cloud.errorreporting_v1beta1.types.Http#
fully_decode_reserved_expansion#

Field google.api.Http.fully_decode_reserved_expansion

rules#

Field google.api.Http.rules

class google.cloud.errorreporting_v1beta1.types.HttpRequestContext#

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

method#

The type of HTTP request, such as GET, POST, etc.

url#

The URL of the request.

user_agent#

The user agent information that is provided with the request.

referrer#

The referrer information that is provided with the request.

response_status_code#

The HTTP response status code for the request.

remote_ip#

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.

method

Field google.devtools.clouderrorreporting.v1beta1.HttpRequestContext.method

referrer

Field google.devtools.clouderrorreporting.v1beta1.HttpRequestContext.referrer

remote_ip

Field google.devtools.clouderrorreporting.v1beta1.HttpRequestContext.remote_ip

response_status_code

Field google.devtools.clouderrorreporting.v1beta1.HttpRequestContext.response_status_code

url

Field google.devtools.clouderrorreporting.v1beta1.HttpRequestContext.url

user_agent

Field google.devtools.clouderrorreporting.v1beta1.HttpRequestContext.user_agent

class google.cloud.errorreporting_v1beta1.types.HttpRule#
additional_bindings#

Field google.api.HttpRule.additional_bindings

body#

Field google.api.HttpRule.body

custom#

Field google.api.HttpRule.custom

delete#

Field google.api.HttpRule.delete

get#

Field google.api.HttpRule.get

patch#

Field google.api.HttpRule.patch

post#

Field google.api.HttpRule.post

put#

Field google.api.HttpRule.put

response_body#

Field google.api.HttpRule.response_body

selector#

Field google.api.HttpRule.selector

class google.cloud.errorreporting_v1beta1.types.LabelDescriptor#
description#

Field google.api.LabelDescriptor.description

key#

Field google.api.LabelDescriptor.key

value_type#

Field google.api.LabelDescriptor.value_type

class google.cloud.errorreporting_v1beta1.types.ListEventsRequest#

Specifies a set of error events to return.

project_name#

[Required] The resource name of the Google Cloud Platform project. Written as projects/ plus the Google Cloud Platform project ID. Example: projects/my-project-123.

group_id#

[Required] The group for which events shall be returned.

service_filter#

[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.

time_range#

[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.

page_size#

[Optional] The maximum number of results to return per response.

page_token#

[Optional] A next_page_token provided by a previous response.

group_id

Field google.devtools.clouderrorreporting.v1beta1.ListEventsRequest.group_id

page_size

Field google.devtools.clouderrorreporting.v1beta1.ListEventsRequest.page_size

page_token

Field google.devtools.clouderrorreporting.v1beta1.ListEventsRequest.page_token

project_name

Field google.devtools.clouderrorreporting.v1beta1.ListEventsRequest.project_name

service_filter

Field google.devtools.clouderrorreporting.v1beta1.ListEventsRequest.service_filter

time_range

Field google.devtools.clouderrorreporting.v1beta1.ListEventsRequest.time_range

class google.cloud.errorreporting_v1beta1.types.ListEventsResponse#

Contains a set of requested error events.

error_events#

The error events which match the given request.

next_page_token#

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.

time_range_begin#

The timestamp specifies the start time to which the request was restricted.

error_events

Field google.devtools.clouderrorreporting.v1beta1.ListEventsResponse.error_events

next_page_token

Field google.devtools.clouderrorreporting.v1beta1.ListEventsResponse.next_page_token

time_range_begin

Field google.devtools.clouderrorreporting.v1beta1.ListEventsResponse.time_range_begin

class google.cloud.errorreporting_v1beta1.types.ListGroupStatsRequest#

Specifies a set of ErrorGroupStats to return.

project_name#

[Required] The resource name of the Google Cloud Platform project. Written as projects/ plus the Google Cloud Platform project ID. Example: projects/my-project-123.

group_id#

[Optional] List all ErrorGroupStats with these IDs.

service_filter#

[Optional] List only ErrorGroupStats which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

time_range#

[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 ErrorGroupStats 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 ErrorGroupStats with zero occurrences are returned.

timed_count_duration#

[Optional] The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.

alignment#

[Optional] The alignment of the timed counts to be returned. Default is ALIGNMENT_EQUAL_AT_END.

alignment_time#

[Optional] Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.

order#

[Optional] The sort order in which the results are returned. Default is COUNT_DESC.

page_size#

[Optional] The maximum number of results to return per response. Default is 20.

page_token#

[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.

alignment

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.alignment

alignment_time

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.alignment_time

group_id

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.group_id

order

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.order

page_size

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.page_size

page_token

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.page_token

project_name

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.project_name

service_filter

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.service_filter

time_range

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.time_range

timed_count_duration

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.timed_count_duration

class google.cloud.errorreporting_v1beta1.types.ListGroupStatsResponse#

Contains a set of requested error group stats.

error_group_stats#

The error group stats which match the given request.

next_page_token#

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.

time_range_begin#

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.

error_group_stats

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse.error_group_stats

next_page_token

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse.next_page_token

time_range_begin

Field google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse.time_range_begin

class google.cloud.errorreporting_v1beta1.types.MessageOptions#
deprecated#

Field google.protobuf.MessageOptions.deprecated

map_entry#

Field google.protobuf.MessageOptions.map_entry

message_set_wire_format#

Field google.protobuf.MessageOptions.message_set_wire_format

no_standard_descriptor_accessor#

Field google.protobuf.MessageOptions.no_standard_descriptor_accessor

uninterpreted_option#

Field google.protobuf.MessageOptions.uninterpreted_option

class google.cloud.errorreporting_v1beta1.types.MethodDescriptorProto#
client_streaming#

Field google.protobuf.MethodDescriptorProto.client_streaming

input_type#

Field google.protobuf.MethodDescriptorProto.input_type

name#

Field google.protobuf.MethodDescriptorProto.name

options#

Field google.protobuf.MethodDescriptorProto.options

output_type#

Field google.protobuf.MethodDescriptorProto.output_type

server_streaming#

Field google.protobuf.MethodDescriptorProto.server_streaming

class google.cloud.errorreporting_v1beta1.types.MethodOptions#
deprecated#

Field google.protobuf.MethodOptions.deprecated

idempotency_level#

Field google.protobuf.MethodOptions.idempotency_level

uninterpreted_option#

Field google.protobuf.MethodOptions.uninterpreted_option

class google.cloud.errorreporting_v1beta1.types.MonitoredResource#
class LabelsEntry#
key#

Field google.api.MonitoredResource.LabelsEntry.key

value#

Field google.api.MonitoredResource.LabelsEntry.value

labels#

Field google.api.MonitoredResource.labels

type#

Field google.api.MonitoredResource.type

class google.cloud.errorreporting_v1beta1.types.MonitoredResourceDescriptor#
description#

Field google.api.MonitoredResourceDescriptor.description

display_name#

Field google.api.MonitoredResourceDescriptor.display_name

labels#

Field google.api.MonitoredResourceDescriptor.labels

name#

Field google.api.MonitoredResourceDescriptor.name

type#

Field google.api.MonitoredResourceDescriptor.type

class google.cloud.errorreporting_v1beta1.types.MonitoredResourceMetadata#
class UserLabelsEntry#
key#

Field google.api.MonitoredResourceMetadata.UserLabelsEntry.key

value#

Field google.api.MonitoredResourceMetadata.UserLabelsEntry.value

system_labels#

Field google.api.MonitoredResourceMetadata.system_labels

user_labels#

Field google.api.MonitoredResourceMetadata.user_labels

class google.cloud.errorreporting_v1beta1.types.OneofDescriptorProto#
name#

Field google.protobuf.OneofDescriptorProto.name

options#

Field google.protobuf.OneofDescriptorProto.options

class google.cloud.errorreporting_v1beta1.types.OneofOptions#
uninterpreted_option#

Field google.protobuf.OneofOptions.uninterpreted_option

class google.cloud.errorreporting_v1beta1.types.QueryTimeRange#

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

period#

Restricts the query to the specified time range.

period

Field google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.period

class google.cloud.errorreporting_v1beta1.types.ReportErrorEventRequest#

A request for reporting an individual error event.

project_name#

[Required] The resource name of the Google Cloud Platform project. Written as projects/ plus the Google Cloud Platform project ID. Example: projects/my-project-123.

event#

[Required] The error event to be reported.

event

Field google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest.event

project_name

Field google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest.project_name

class google.cloud.errorreporting_v1beta1.types.ReportErrorEventResponse#

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

class google.cloud.errorreporting_v1beta1.types.ReportedErrorEvent#

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

event_time#

[Optional] Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.

service_context#

[Required] The service context in which this error has occurred.

message#

[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.

context#

[Optional] A description of the context in which the error occurred.

context

Field google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent.context

event_time

Field google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent.event_time

message

Field google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent.message

service_context

Field google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent.service_context

class google.cloud.errorreporting_v1beta1.types.ServiceContext#

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

service#

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.

version#

Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.

resource_type#

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.

resource_type

Field google.devtools.clouderrorreporting.v1beta1.ServiceContext.resource_type

service

Field google.devtools.clouderrorreporting.v1beta1.ServiceContext.service

version

Field google.devtools.clouderrorreporting.v1beta1.ServiceContext.version

class google.cloud.errorreporting_v1beta1.types.ServiceContextFilter#

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

service#

[Optional] The exact value to match against `ServiceContext.service </error-reporting/reference/rest/v 1beta1/ServiceContext#FIELDS.service>`__.

version#

[Optional] The exact value to match against `ServiceContext.version </error-reporting/reference/rest/v 1beta1/ServiceContext#FIELDS.version>`__.

resource_type#

[Optional] The exact value to match against `ServiceContext.resource_type </error-reporting/reference/ rest/v1beta1/ServiceContext#FIELDS.resource_type>`__.

resource_type

Field google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter.resource_type

service

Field google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter.service

version

Field google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter.version

class google.cloud.errorreporting_v1beta1.types.ServiceDescriptorProto#
method#

Field google.protobuf.ServiceDescriptorProto.method

name#

Field google.protobuf.ServiceDescriptorProto.name

options#

Field google.protobuf.ServiceDescriptorProto.options

class google.cloud.errorreporting_v1beta1.types.ServiceOptions#
deprecated#

Field google.protobuf.ServiceOptions.deprecated

uninterpreted_option#

Field google.protobuf.ServiceOptions.uninterpreted_option

class google.cloud.errorreporting_v1beta1.types.SourceCodeInfo#
class Location#
leading_comments#

Field google.protobuf.SourceCodeInfo.Location.leading_comments

leading_detached_comments#

Field google.protobuf.SourceCodeInfo.Location.leading_detached_comments

path#

Field google.protobuf.SourceCodeInfo.Location.path

span#

Field google.protobuf.SourceCodeInfo.Location.span

trailing_comments#

Field google.protobuf.SourceCodeInfo.Location.trailing_comments

location#

Field google.protobuf.SourceCodeInfo.location

class google.cloud.errorreporting_v1beta1.types.SourceLocation#

Indicates a location in the source code of the service for which errors are reported. This data should be provided by the application when reporting an error, unless the error report has been generated automatically from Google App Engine logs. All fields are optional.

file_path#

The source code filename, which can include a truncated relative path, or a full path from a production machine.

line_number#

1-based. 0 indicates that the line number is unknown.

function_name#

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.

file_path

Field google.devtools.clouderrorreporting.v1beta1.SourceLocation.file_path

function_name

Field google.devtools.clouderrorreporting.v1beta1.SourceLocation.function_name

line_number

Field google.devtools.clouderrorreporting.v1beta1.SourceLocation.line_number

class google.cloud.errorreporting_v1beta1.types.TimedCount#

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

count#

Approximate number of occurrences in the given time period.

start_time#

Start of the time period to which count refers (included).

end_time#

End of the time period to which count refers (excluded).

count

Field google.devtools.clouderrorreporting.v1beta1.TimedCount.count

end_time

Field google.devtools.clouderrorreporting.v1beta1.TimedCount.end_time

start_time

Field google.devtools.clouderrorreporting.v1beta1.TimedCount.start_time

class google.cloud.errorreporting_v1beta1.types.Timestamp#
nanos#

Field google.protobuf.Timestamp.nanos

seconds#

Field google.protobuf.Timestamp.seconds

class google.cloud.errorreporting_v1beta1.types.TrackingIssue#

Information related to tracking the progress on resolving the error.

url#

A URL pointing to a related entry in an issue tracking system. Example: https://github.com/user/project/issues/4

url

Field google.devtools.clouderrorreporting.v1beta1.TrackingIssue.url

class google.cloud.errorreporting_v1beta1.types.UninterpretedOption#
class NamePart#
is_extension#

Field google.protobuf.UninterpretedOption.NamePart.is_extension

name_part#

Field google.protobuf.UninterpretedOption.NamePart.name_part

aggregate_value#

Field google.protobuf.UninterpretedOption.aggregate_value

double_value#

Field google.protobuf.UninterpretedOption.double_value

identifier_value#

Field google.protobuf.UninterpretedOption.identifier_value

name#

Field google.protobuf.UninterpretedOption.name

negative_int_value#

Field google.protobuf.UninterpretedOption.negative_int_value

positive_int_value#

Field google.protobuf.UninterpretedOption.positive_int_value

string_value#

Field google.protobuf.UninterpretedOption.string_value

class google.cloud.errorreporting_v1beta1.types.UpdateGroupRequest#

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

group#

[Required] The group which replaces the resource on the server.

group

Field google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest.group