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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountStatusDataQualityIssue

Returns a new instance of AccountStatusDataQualityIssue.



497
498
499
# File 'lib/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)


445
446
447
# File 'lib/google/apis/content_v2/classes.rb', line 445

def country
  @country
end

#destinationString

Corresponds to the JSON property destination

Returns:

  • (String)


450
451
452
# File 'lib/google/apis/content_v2/classes.rb', line 450

def destination
  @destination
end

#detailString

Corresponds to the JSON property detail

Returns:

  • (String)


455
456
457
# File 'lib/google/apis/content_v2/classes.rb', line 455

def detail
  @detail
end

#displayed_valueString

Corresponds to the JSON property displayedValue

Returns:

  • (String)


460
461
462
# File 'lib/google/apis/content_v2/classes.rb', line 460

def displayed_value
  @displayed_value
end

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

Corresponds to the JSON property exampleItems



465
466
467
# File 'lib/google/apis/content_v2/classes.rb', line 465

def example_items
  @example_items
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


470
471
472
# File 'lib/google/apis/content_v2/classes.rb', line 470

def id
  @id
end

#last_checkedString

Corresponds to the JSON property lastChecked

Returns:

  • (String)


475
476
477
# File 'lib/google/apis/content_v2/classes.rb', line 475

def last_checked
  @last_checked
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


480
481
482
# File 'lib/google/apis/content_v2/classes.rb', line 480

def location
  @location
end

#num_itemsFixnum

Corresponds to the JSON property numItems

Returns:

  • (Fixnum)


485
486
487
# File 'lib/google/apis/content_v2/classes.rb', line 485

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 'lib/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 'lib/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 'lib/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