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.



438
439
440
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 438

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)


419
420
421
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 419

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)


426
427
428
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 426

def location
  @location
end

#nameString

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

Returns:

  • (String)


431
432
433
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 431

def name
  @name
end

#typeString

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

Returns:

  • (String)


436
437
438
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 436

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



443
444
445
446
447
448
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 443

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