Class: Google::Apis::ContentV2::ProductStatusDataQualityIssue

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) ⇒ ProductStatusDataQualityIssue

Returns a new instance of ProductStatusDataQualityIssue



9331
9332
9333
# File 'generated/google/apis/content_v2/classes.rb', line 9331

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

Instance Attribute Details

#destinationString

The destination the issue applies to. Corresponds to the JSON property destination

Returns:

  • (String)


9289
9290
9291
# File 'generated/google/apis/content_v2/classes.rb', line 9289

def destination
  @destination
end

#detailString

A more detailed error string. Corresponds to the JSON property detail

Returns:

  • (String)


9294
9295
9296
# File 'generated/google/apis/content_v2/classes.rb', line 9294

def detail
  @detail
end

#fetch_statusString

The fetch status for landing_page_errors. Corresponds to the JSON property fetchStatus

Returns:

  • (String)


9299
9300
9301
# File 'generated/google/apis/content_v2/classes.rb', line 9299

def fetch_status
  @fetch_status
end

#idString

The id of the data quality issue. Corresponds to the JSON property id

Returns:

  • (String)


9304
9305
9306
# File 'generated/google/apis/content_v2/classes.rb', line 9304

def id
  @id
end

#locationString

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

Returns:

  • (String)


9309
9310
9311
# File 'generated/google/apis/content_v2/classes.rb', line 9309

def location
  @location
end

#severityString

The severity of the data quality issue. Corresponds to the JSON property severity

Returns:

  • (String)


9314
9315
9316
# File 'generated/google/apis/content_v2/classes.rb', line 9314

def severity
  @severity
end

#timestampString

The time stamp of the data quality issue. Corresponds to the JSON property timestamp

Returns:

  • (String)


9319
9320
9321
# File 'generated/google/apis/content_v2/classes.rb', line 9319

def timestamp
  @timestamp
end

#value_on_landing_pageString

The value of that attribute that was found on the landing page Corresponds to the JSON property valueOnLandingPage

Returns:

  • (String)


9324
9325
9326
# File 'generated/google/apis/content_v2/classes.rb', line 9324

def value_on_landing_page
  @value_on_landing_page
end

#value_providedString

The value the attribute had at time of evaluation. Corresponds to the JSON property valueProvided

Returns:

  • (String)


9329
9330
9331
# File 'generated/google/apis/content_v2/classes.rb', line 9329

def value_provided
  @value_provided
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
# File 'generated/google/apis/content_v2/classes.rb', line 9336

def update!(**args)
  @destination = args[:destination] if args.key?(:destination)
  @detail = args[:detail] if args.key?(:detail)
  @fetch_status = args[:fetch_status] if args.key?(:fetch_status)
  @id = args[:id] if args.key?(:id)
  @location = args[:location] if args.key?(:location)
  @severity = args[:severity] if args.key?(:severity)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
  @value_on_landing_page = args[:value_on_landing_page] if args.key?(:value_on_landing_page)
  @value_provided = args[:value_provided] if args.key?(:value_provided)
end