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



484
485
486
# File 'generated/google/apis/content_v2/classes.rb', line 484

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)


432
433
434
# File 'generated/google/apis/content_v2/classes.rb', line 432

def country
  @country
end

#destinationString

The destination the issue applies to. Corresponds to the JSON property destination

Returns:

  • (String)


437
438
439
# File 'generated/google/apis/content_v2/classes.rb', line 437

def destination
  @destination
end

#detailString

A more detailed description of the issue. Corresponds to the JSON property detail

Returns:

  • (String)


442
443
444
# File 'generated/google/apis/content_v2/classes.rb', line 442

def detail
  @detail
end

#displayed_valueString

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

Returns:

  • (String)


447
448
449
# File 'generated/google/apis/content_v2/classes.rb', line 447

def displayed_value
  @displayed_value
end

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

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



452
453
454
# File 'generated/google/apis/content_v2/classes.rb', line 452

def example_items
  @example_items
end

#idString

Issue identifier. Corresponds to the JSON property id

Returns:

  • (String)


457
458
459
# File 'generated/google/apis/content_v2/classes.rb', line 457

def id
  @id
end

#last_checkedString

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

Returns:

  • (String)


462
463
464
# File 'generated/google/apis/content_v2/classes.rb', line 462

def last_checked
  @last_checked
end

#locationString

The attribute name that is relevant for the issue. Corresponds to the JSON property location

Returns:

  • (String)


467
468
469
# File 'generated/google/apis/content_v2/classes.rb', line 467

def location
  @location
end

#num_itemsFixnum

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

Returns:

  • (Fixnum)


472
473
474
# File 'generated/google/apis/content_v2/classes.rb', line 472

def num_items
  @num_items
end

#severityString

Severity of the problem. Corresponds to the JSON property severity

Returns:

  • (String)


477
478
479
# File 'generated/google/apis/content_v2/classes.rb', line 477

def severity
  @severity
end

#submitted_valueString

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

Returns:

  • (String)


482
483
484
# File 'generated/google/apis/content_v2/classes.rb', line 482

def 
  @submitted_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



489
490
491
492
493
494
495
496
497
498
499
500
501
# File 'generated/google/apis/content_v2/classes.rb', line 489

def update!(**args)
  @country = args[:country] if args.key?(:country)
  @destination = args[:destination] if args.key?(:destination)
  @detail = args[:detail] if args.key?(:detail)
  @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)
  @location = args[:location] if args.key?(:location)
  @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