Class: Google::Apis::MerchantapiReviewsV1beta::ProductReviewItemLevelIssue

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

Overview

The ItemLevelIssue of the product review status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProductReviewItemLevelIssue

Returns a new instance of ProductReviewItemLevelIssue.



795
796
797
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 795

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

Instance Attribute Details

#attributeString

Output only. The attribute's name, if the issue is caused by a single attribute. Corresponds to the JSON property attribute

Returns:

  • (String)


758
759
760
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 758

def attribute
  @attribute
end

#codeString

Output only. The error code of the issue. Corresponds to the JSON property code

Returns:

  • (String)


763
764
765
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 763

def code
  @code
end

#descriptionString

Output only. A short issue description in English. Corresponds to the JSON property description

Returns:

  • (String)


768
769
770
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 768

def description
  @description
end

#detailString

Output only. A detailed issue description in English. Corresponds to the JSON property detail

Returns:

  • (String)


773
774
775
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 773

def detail
  @detail
end

#documentationString

Output only. The URL of a web page to help with resolving this issue. Corresponds to the JSON property documentation

Returns:

  • (String)


778
779
780
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 778

def documentation
  @documentation
end

#reporting_contextString

Output only. The reporting context the issue applies to. Corresponds to the JSON property reportingContext

Returns:

  • (String)


783
784
785
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 783

def reporting_context
  @reporting_context
end

#resolutionString

Output only. Whether the issue can be resolved by the merchant. Corresponds to the JSON property resolution

Returns:

  • (String)


788
789
790
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 788

def resolution
  @resolution
end

#severityString

Output only. How this issue affects serving of the product review. Corresponds to the JSON property severity

Returns:

  • (String)


793
794
795
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 793

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



800
801
802
803
804
805
806
807
808
809
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 800

def update!(**args)
  @attribute = args[:attribute] if args.key?(:attribute)
  @code = args[:code] if args.key?(:code)
  @description = args[:description] if args.key?(:description)
  @detail = args[:detail] if args.key?(:detail)
  @documentation = args[:documentation] if args.key?(:documentation)
  @reporting_context = args[:reporting_context] if args.key?(:reporting_context)
  @resolution = args[:resolution] if args.key?(:resolution)
  @severity = args[:severity] if args.key?(:severity)
end