Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1ErrorIssue

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

A group of related ErrorReports received for an app. Similar error reports are grouped together into issues with a likely identical root cause. 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 different issues. This could also cause some issues disappearing entirely and being replaced by new ones. **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) ⇒ GooglePlayDeveloperReportingV1alpha1ErrorIssue

Returns a new instance of GooglePlayDeveloperReportingV1alpha1ErrorIssue.



322
323
324
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 322

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

Instance Attribute Details

#causeString

Cause of the issue. Depending on the type this can be either: * APPLICATION_NOT_RESPONDING: the type of ANR that occurred, e.g., 'Input dispatching timed out'. * CRASH: for Java unhandled exception errors, the type of the innermost exception that was thrown, e.g., IllegalArgumentException. For signals in native code, the signal that was raised, e.g. SIGSEGV. Corresponds to the JSON property cause

Returns:

  • (String)


303
304
305
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 303

def cause
  @cause
end

#locationString

Location where the issue happened. Depending on the type this can be either: * APPLICATION_NOT_RESPONDING: the name of the activity or service that stopped responding. * CRASH: the likely method name that caused the error. Corresponds to the JSON property location

Returns:

  • (String)


310
311
312
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 310

def location
  @location
end

#nameString

The resource name of the issue. Format: apps/app/errorIssues/issue Corresponds to the JSON property name

Returns:

  • (String)


315
316
317
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 315

def name
  @name
end

#typeString

Type of the errors grouped in this issue. Corresponds to the JSON property type

Returns:

  • (String)


320
321
322
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 320

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



327
328
329
330
331
332
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 327

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