Class: Google::Apis::ContentV2::AccountStatusDataQualityIssue

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

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) ⇒ AccountStatusDataQualityIssue

Returns a new instance of AccountStatusDataQualityIssue.


698
699
700
# File 'generated/google/apis/content_v2/classes.rb', line 698

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

Instance Attribute Details

#countryString

Country for which this issue is reported. Corresponds to the JSON property country

Returns:

  • (String)

661
662
663
# File 'generated/google/apis/content_v2/classes.rb', line 661

def country
  @country
end

#displayed_valueString

Actual value displayed on the landing page. Corresponds to the JSON property displayedValue

Returns:

  • (String)

666
667
668
# File 'generated/google/apis/content_v2/classes.rb', line 666

def displayed_value
  @displayed_value
end

#example_itemsArray<Google::Apis::ContentV2::AccountStatusExampleItem>

Example items featuring the issue. Corresponds to the JSON property exampleItems


671
672
673
# File 'generated/google/apis/content_v2/classes.rb', line 671

def example_items
  @example_items
end

#idString

Issue identifier. Corresponds to the JSON property id

Returns:

  • (String)

676
677
678
# File 'generated/google/apis/content_v2/classes.rb', line 676

def id
  @id
end

#last_checkedString

Last time the account was checked for this issue. Corresponds to the JSON property lastChecked

Returns:

  • (String)

681
682
683
# File 'generated/google/apis/content_v2/classes.rb', line 681

def last_checked
  @last_checked
end

#num_itemsFixnum

Number of items in the account found to have the said issue. Corresponds to the JSON property numItems

Returns:

  • (Fixnum)

686
687
688
# File 'generated/google/apis/content_v2/classes.rb', line 686

def num_items
  @num_items
end

#severityString

Severity of the problem. Corresponds to the JSON property severity

Returns:

  • (String)

691
692
693
# File 'generated/google/apis/content_v2/classes.rb', line 691

def severity
  @severity
end

#submitted_valueString

Submitted value that causes the issue. Corresponds to the JSON property submittedValue

Returns:

  • (String)

696
697
698
# File 'generated/google/apis/content_v2/classes.rb', line 696

def 
  @submitted_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


703
704
705
706
707
708
709
710
711
712
# File 'generated/google/apis/content_v2/classes.rb', line 703

def update!(**args)
  @country = args[:country] if args.key?(:country)
  @displayed_value = args[:displayed_value] if args.key?(:displayed_value)
  @example_items = args[:example_items] if args.key?(:example_items)
  @id = args[:id] if args.key?(:id)
  @last_checked = args[:last_checked] if args.key?(:last_checked)
  @num_items = args[:num_items] if args.key?(:num_items)
  @severity = args[:severity] if args.key?(:severity)
  @submitted_value = args[:submitted_value] if args.key?(:submitted_value)
end