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



394
395
396
# File 'generated/google/apis/content_v2/classes.rb', line 394

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)


372
373
374
# File 'generated/google/apis/content_v2/classes.rb', line 372

def item_id
  @item_id
end

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

Returns:

  • (String)


377
378
379
# File 'generated/google/apis/content_v2/classes.rb', line 377

def link
  @link
end

#submitted_valueString

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

Returns:

  • (String)


382
383
384
# File 'generated/google/apis/content_v2/classes.rb', line 382

def 
  @submitted_value
end

#titleString

Title of the item. Corresponds to the JSON property title

Returns:

  • (String)


387
388
389
# File 'generated/google/apis/content_v2/classes.rb', line 387

def title
  @title
end

#value_on_landing_pageString

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

Returns:

  • (String)


392
393
394
# File 'generated/google/apis/content_v2/classes.rb', line 392

def value_on_landing_page
  @value_on_landing_page
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



399
400
401
402
403
404
405
# File 'generated/google/apis/content_v2/classes.rb', line 399

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