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.



324
325
326
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 324

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)


305
306
307
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 305

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)


312
313
314
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 312

def location
  @location
end

#nameString

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

Returns:

  • (String)


317
318
319
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 317

def name
  @name
end

#typeString

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

Returns:

  • (String)


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

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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