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



252
253
254
# File 'generated/google/apis/content_v2/classes.rb', line 252

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)


205
206
207
# File 'generated/google/apis/content_v2/classes.rb', line 205

def country
  @country
end

#detailString

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

Returns:

  • (String)


210
211
212
# File 'generated/google/apis/content_v2/classes.rb', line 210

def detail
  @detail
end

#displayed_valueString

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

Returns:

  • (String)


215
216
217
# File 'generated/google/apis/content_v2/classes.rb', line 215

def displayed_value
  @displayed_value
end

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

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



220
221
222
# File 'generated/google/apis/content_v2/classes.rb', line 220

def example_items
  @example_items
end

#idString

Issue identifier. Corresponds to the JSON property id

Returns:

  • (String)


225
226
227
# File 'generated/google/apis/content_v2/classes.rb', line 225

def id
  @id
end

#last_checkedString

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

Returns:

  • (String)


230
231
232
# File 'generated/google/apis/content_v2/classes.rb', line 230

def last_checked
  @last_checked
end

#locationString

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

Returns:

  • (String)


235
236
237
# File 'generated/google/apis/content_v2/classes.rb', line 235

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)


240
241
242
# File 'generated/google/apis/content_v2/classes.rb', line 240

def num_items
  @num_items
end

#severityString

Severity of the problem. Corresponds to the JSON property severity

Returns:

  • (String)


245
246
247
# File 'generated/google/apis/content_v2/classes.rb', line 245

def severity
  @severity
end

#submitted_valueString

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

Returns:

  • (String)


250
251
252
# File 'generated/google/apis/content_v2/classes.rb', line 250

def 
  @submitted_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



257
258
259
260
261
262
263
264
265
266
267
268
# File 'generated/google/apis/content_v2/classes.rb', line 257

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