Class: Google::Apis::ContentV2::AccountStatusDataQualityIssue
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::AccountStatusDataQualityIssue
- 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
-
#country ⇒ String
Corresponds to the JSON property
country
. -
#destination ⇒ String
Corresponds to the JSON property
destination
. -
#detail ⇒ String
Corresponds to the JSON property
detail
. -
#displayed_value ⇒ String
Corresponds to the JSON property
displayedValue
. -
#example_items ⇒ Array<Google::Apis::ContentV2::AccountStatusExampleItem>
Corresponds to the JSON property
exampleItems
. -
#id ⇒ String
Corresponds to the JSON property
id
. -
#last_checked ⇒ String
Corresponds to the JSON property
lastChecked
. -
#location ⇒ String
Corresponds to the JSON property
location
. -
#num_items ⇒ Fixnum
Corresponds to the JSON property
numItems
. -
#severity ⇒ String
Acceptable values are: - "
critical
" - "error
" - "suggestion
" Corresponds to the JSON propertyseverity
. -
#submitted_value ⇒ String
Corresponds to the JSON property
submittedValue
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountStatusDataQualityIssue
constructor
A new instance of AccountStatusDataQualityIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#country ⇒ String
Corresponds to the JSON property country
445 446 447 |
# File 'lib/google/apis/content_v2/classes.rb', line 445 def country @country end |
#destination ⇒ String
Corresponds to the JSON property destination
450 451 452 |
# File 'lib/google/apis/content_v2/classes.rb', line 450 def destination @destination end |
#detail ⇒ String
Corresponds to the JSON property detail
455 456 457 |
# File 'lib/google/apis/content_v2/classes.rb', line 455 def detail @detail end |
#displayed_value ⇒ String
Corresponds to the JSON property displayedValue
460 461 462 |
# File 'lib/google/apis/content_v2/classes.rb', line 460 def displayed_value @displayed_value end |
#example_items ⇒ Array<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 |
#id ⇒ String
Corresponds to the JSON property id
470 471 472 |
# File 'lib/google/apis/content_v2/classes.rb', line 470 def id @id end |
#last_checked ⇒ String
Corresponds to the JSON property lastChecked
475 476 477 |
# File 'lib/google/apis/content_v2/classes.rb', line 475 def last_checked @last_checked end |
#location ⇒ String
Corresponds to the JSON property location
480 481 482 |
# File 'lib/google/apis/content_v2/classes.rb', line 480 def location @location end |
#num_items ⇒ Fixnum
Corresponds to the JSON property numItems
485 486 487 |
# File 'lib/google/apis/content_v2/classes.rb', line 485 def num_items @num_items end |
#severity ⇒ String
Acceptable values are: - "critical
" - "error
" - "suggestion
"
Corresponds to the JSON property severity
490 491 492 |
# File 'lib/google/apis/content_v2/classes.rb', line 490 def severity @severity end |
#submitted_value ⇒ String
Corresponds to the JSON property submittedValue
495 496 497 |
# File 'lib/google/apis/content_v2/classes.rb', line 495 def submitted_value @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 |