Class: Google::Apis::MerchantapiReviewsV1beta::MerchantReviewItemLevelIssue

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 merchant review status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MerchantReviewItemLevelIssue

Returns a new instance of MerchantReviewItemLevelIssue.



372
373
374
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 372

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)


335
336
337
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 335

def attribute
  @attribute
end

#codeString

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

Returns:

  • (String)


340
341
342
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 340

def code
  @code
end

#descriptionString

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

Returns:

  • (String)


345
346
347
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 345

def description
  @description
end

#detailString

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

Returns:

  • (String)


350
351
352
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 350

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)


355
356
357
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 355

def documentation
  @documentation
end

#reporting_contextString

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

Returns:

  • (String)


360
361
362
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 360

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)


365
366
367
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 365

def resolution
  @resolution
end

#severityString

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

Returns:

  • (String)


370
371
372
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 370

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



377
378
379
380
381
382
383
384
385
386
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 377

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