Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ErrorReport

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/representations.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/representations.rb

Overview

An error report received for an app. There reports are produced by the Android platform code when a (potentially fatal) error condition is detected. Identical reports from many users will be deduplicated and coalesced into a single ErrorReport. Required permissions: to access this resource, the calling user needs the View app information (read-only) permission for the app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1ErrorReport

Returns a new instance of GooglePlayDeveloperReportingV1alpha1ErrorReport.



384
385
386
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 384

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#issueString

The issue this report was associated with. Please note: this resource is currently in Alpha. There could be changes to the issue grouping that would result in similar but more recent error reports being assigned to a different issue. Corresponds to the JSON property issue

Returns:

  • (String)


362
363
364
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 362

def issue
  @issue
end

#nameString

The resource name of the report. Format: apps/app/errorReports/report Corresponds to the JSON property name

Returns:

  • (String)


367
368
369
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 367

def name
  @name
end

#report_textString

Textual representation of the error report. These textual reports are produced by the platform. The reports are then sanitized and filtered to remove any potentially sensitive information. Although their format is fairly stable, they are not entirely meant for machine consumption and we cannot guarantee that there won't be subtle changes to the formatting that may break systems trying to parse information out of the reports. Corresponds to the JSON property reportText

Returns:

  • (String)


377
378
379
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 377

def report_text
  @report_text
end

#typeString

Type of the error for which this report was generated. Corresponds to the JSON property type

Returns:

  • (String)


382
383
384
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 382

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



389
390
391
392
393
394
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 389

def update!(**args)
  @issue = args[:issue] if args.key?(:issue)
  @name = args[:name] if args.key?(:name)
  @report_text = args[:report_text] if args.key?(:report_text)
  @type = args[:type] if args.key?(:type)
end