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

Constructor Details

#initialize(**args) ⇒ AccountStatusDataQualityIssue

Returns a new instance of AccountStatusDataQualityIssue.



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

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

Instance Attribute Details

#countryString

Corresponds to the JSON property country

Returns:

  • (String)


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

def country
  @country
end

#destinationString

Corresponds to the JSON property destination

Returns:

  • (String)


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

def destination
  @destination
end

#detailString

Corresponds to the JSON property detail

Returns:

  • (String)


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

def detail
  @detail
end

#displayed_valueString

Corresponds to the JSON property displayedValue

Returns:

  • (String)


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

def displayed_value
  @displayed_value
end

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

Corresponds to the JSON property exampleItems



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

def example_items
  @example_items
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


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

def id
  @id
end

#last_checkedString

Corresponds to the JSON property lastChecked

Returns:

  • (String)


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

def last_checked
  @last_checked
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


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

def location
  @location
end

#num_itemsFixnum

Corresponds to the JSON property numItems

Returns:

  • (Fixnum)


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

def num_items
  @num_items
end

#severityString

Acceptable values are: - "critical" - "error" - "suggestion" Corresponds to the JSON property severity

Returns:

  • (String)


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

def severity
  @severity
end

#submitted_valueString

Corresponds to the JSON property submittedValue

Returns:

  • (String)


487
488
489
# File 'generated/google/apis/content_v2/classes.rb', line 487

def 
  @submitted_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



494
495
496
497
498
499
500
501
502
503
504
505
506
# File 'generated/google/apis/content_v2/classes.rb', line 494

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