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



345
346
347
# File 'generated/google/apis/content_v2/classes.rb', line 345

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)


298
299
300
# File 'generated/google/apis/content_v2/classes.rb', line 298

def country
  @country
end

#detailString

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

Returns:

  • (String)


303
304
305
# File 'generated/google/apis/content_v2/classes.rb', line 303

def detail
  @detail
end

#displayed_valueString

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

Returns:

  • (String)


308
309
310
# File 'generated/google/apis/content_v2/classes.rb', line 308

def displayed_value
  @displayed_value
end

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

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



313
314
315
# File 'generated/google/apis/content_v2/classes.rb', line 313

def example_items
  @example_items
end

#idString

Issue identifier. Corresponds to the JSON property id

Returns:

  • (String)


318
319
320
# File 'generated/google/apis/content_v2/classes.rb', line 318

def id
  @id
end

#last_checkedString

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

Returns:

  • (String)


323
324
325
# File 'generated/google/apis/content_v2/classes.rb', line 323

def last_checked
  @last_checked
end

#locationString

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

Returns:

  • (String)


328
329
330
# File 'generated/google/apis/content_v2/classes.rb', line 328

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)


333
334
335
# File 'generated/google/apis/content_v2/classes.rb', line 333

def num_items
  @num_items
end

#severityString

Severity of the problem. Corresponds to the JSON property severity

Returns:

  • (String)


338
339
340
# File 'generated/google/apis/content_v2/classes.rb', line 338

def severity
  @severity
end

#submitted_valueString

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

Returns:

  • (String)


343
344
345
# File 'generated/google/apis/content_v2/classes.rb', line 343

def 
  @submitted_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



350
351
352
353
354
355
356
357
358
359
360
361
# File 'generated/google/apis/content_v2/classes.rb', line 350

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