Class: Google::Apis::ContentV2::AccountStatusExampleItem

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb

Overview

An example of an item that has poor data quality. An item value on the landing page differs from what is submitted, or conflicts with a policy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AccountStatusExampleItem

Returns a new instance of AccountStatusExampleItem



758
759
760
# File 'generated/google/apis/content_v2/classes.rb', line 758

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

Instance Attribute Details

#item_idString

Unique item ID as specified in the uploaded product data. Corresponds to the JSON property itemId

Returns:

  • (String)


736
737
738
# File 'generated/google/apis/content_v2/classes.rb', line 736

def item_id
  @item_id
end

Landing page of the item. Corresponds to the JSON property link

Returns:

  • (String)


741
742
743
# File 'generated/google/apis/content_v2/classes.rb', line 741

def link
  @link
end

#submitted_valueString

The item value that was submitted. Corresponds to the JSON property submittedValue

Returns:

  • (String)


746
747
748
# File 'generated/google/apis/content_v2/classes.rb', line 746

def 
  @submitted_value
end

#titleString

Title of the item. Corresponds to the JSON property title

Returns:

  • (String)


751
752
753
# File 'generated/google/apis/content_v2/classes.rb', line 751

def title
  @title
end

#value_on_landing_pageString

The actual value on the landing page. Corresponds to the JSON property valueOnLandingPage

Returns:

  • (String)


756
757
758
# File 'generated/google/apis/content_v2/classes.rb', line 756

def value_on_landing_page
  @value_on_landing_page
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



763
764
765
766
767
768
769
# File 'generated/google/apis/content_v2/classes.rb', line 763

def update!(**args)
  @item_id = args[:item_id] if args.key?(:item_id)
  @link = args[:link] if args.key?(:link)
  @submitted_value = args[:submitted_value] if args.key?(:submitted_value)
  @title = args[:title] if args.key?(:title)
  @value_on_landing_page = args[:value_on_landing_page] if args.key?(:value_on_landing_page)
end