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.



497
498
499
# File 'generated/google/apis/content_v2/classes.rb', line 497

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

Instance Attribute Details

#countryString

Corresponds to the JSON property country

Returns:

  • (String)


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

def country
  @country
end

#destinationString

Corresponds to the JSON property destination

Returns:

  • (String)


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

def destination
  @destination
end

#detailString

Corresponds to the JSON property detail

Returns:

  • (String)


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

def detail
  @detail
end

#displayed_valueString

Corresponds to the JSON property displayedValue

Returns:

  • (String)


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

def displayed_value
  @displayed_value
end

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

Corresponds to the JSON property exampleItems



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

def example_items
  @example_items
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


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

def id
  @id
end

#last_checkedString

Corresponds to the JSON property lastChecked

Returns:

  • (String)


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

def last_checked
  @last_checked
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


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

def location
  @location
end

#num_itemsFixnum

Corresponds to the JSON property numItems

Returns:

  • (Fixnum)


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

def num_items
  @num_items
end

#severityString

Acceptable values are:

  • "critical"
  • "error"
  • "suggestion" Corresponds to the JSON property severity

Returns:

  • (String)


490
491
492
# File 'generated/google/apis/content_v2/classes.rb', line 490

def severity
  @severity
end

#submitted_valueString

Corresponds to the JSON property submittedValue

Returns:

  • (String)


495
496
497
# File 'generated/google/apis/content_v2/classes.rb', line 495

def 
  @submitted_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



502
503
504
505
506
507
508
509
510
511
512
513
514
# File 'generated/google/apis/content_v2/classes.rb', line 502

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