Class: Google::Apis::MerchantapiReportsV1beta::ItemIssue

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

Overview

Item issue associated with the product.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ItemIssue

Returns a new instance of ItemIssue.



654
655
656
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 654

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

Instance Attribute Details

#resolutionString

Item issue resolution. Corresponds to the JSON property resolution

Returns:

  • (String)


642
643
644
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 642

def resolution
  @resolution
end

#severityGoogle::Apis::MerchantapiReportsV1beta::ItemIssueSeverity

How the issue affects the serving of the product. Corresponds to the JSON property severity



647
648
649
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 647

def severity
  @severity
end

#typeGoogle::Apis::MerchantapiReportsV1beta::ItemIssueType

Issue type. Corresponds to the JSON property type



652
653
654
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 652

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



659
660
661
662
663
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 659

def update!(**args)
  @resolution = args[:resolution] if args.key?(:resolution)
  @severity = args[:severity] if args.key?(:severity)
  @type = args[:type] if args.key?(:type)
end