Class: Google::Apis::MerchantapiReviewsV1beta::MerchantReviewStatus

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 status of a merchant review, data validation issues, that is, information about a merchant review computed asynchronously.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MerchantReviewStatus

Returns a new instance of MerchantReviewStatus.



416
417
418
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 416

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

Instance Attribute Details

#create_timeString

Output only. Date on which the item has been created, in ISO 8601 format. Corresponds to the JSON property createTime

Returns:

  • (String)


398
399
400
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 398

def create_time
  @create_time
end

#destination_statusesArray<Google::Apis::MerchantapiReviewsV1beta::MerchantReviewDestinationStatus>

Output only. The intended destinations for the merchant review. Corresponds to the JSON property destinationStatuses



403
404
405
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 403

def destination_statuses
  @destination_statuses
end

#item_level_issuesArray<Google::Apis::MerchantapiReviewsV1beta::MerchantReviewItemLevelIssue>

Output only. A list of all issues associated with the merchant review. Corresponds to the JSON property itemLevelIssues



408
409
410
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 408

def item_level_issues
  @item_level_issues
end

#last_update_timeString

Output only. Date on which the item has been last updated, in ISO 8601 format. Corresponds to the JSON property lastUpdateTime

Returns:

  • (String)


414
415
416
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 414

def last_update_time
  @last_update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



421
422
423
424
425
426
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 421

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses)
  @item_level_issues = args[:item_level_issues] if args.key?(:item_level_issues)
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
end