Class: Google::Shopping::Css::V1::CssProductStatus

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/css/v1/css_product_common.rb

Overview

The status of the Css Product, data validation issues, that is, information about the Css Product computed asynchronously.

Defined Under Namespace

Classes: DestinationStatus, ItemLevelIssue

Instance Attribute Summary collapse

Instance Attribute Details

#creation_date::Google::Protobuf::Timestamp

Returns Date on which the item has been created, in ISO 8601 format.

Returns:



304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 304

class CssProductStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The destination status of the product status.
  # @!attribute [rw] destination
  #   @return [::String]
  #     The name of the destination
  # @!attribute [rw] approved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     approved.
  # @!attribute [rw] pending_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     pending approval.
  # @!attribute [rw] disapproved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     disapproved.
  class DestinationStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The ItemLevelIssue of the product status.
  # @!attribute [rw] code
  #   @return [::String]
  #     The error code of the issue.
  # @!attribute [rw] servability
  #   @return [::String]
  #     How this issue affects serving of the aggregate offer.
  # @!attribute [rw] resolution
  #   @return [::String]
  #     Whether the issue can be resolved by the merchant.
  # @!attribute [rw] attribute
  #   @return [::String]
  #     The attribute's name, if the issue is caused by a single attribute.
  # @!attribute [rw] destination
  #   @return [::String]
  #     The destination the issue applies to.
  # @!attribute [rw] description
  #   @return [::String]
  #     A short issue description in English.
  # @!attribute [rw] detail
  #   @return [::String]
  #     A detailed issue description in English.
  # @!attribute [rw] documentation
  #   @return [::String]
  #     The URL of a web page to help with resolving this issue.
  # @!attribute [rw] applicable_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where issue applies to the
  #     aggregate offer.
  class ItemLevelIssue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#destination_statuses::Array<::Google::Shopping::Css::V1::CssProductStatus::DestinationStatus>

Returns The intended destinations for the product.

Returns:



304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 304

class CssProductStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The destination status of the product status.
  # @!attribute [rw] destination
  #   @return [::String]
  #     The name of the destination
  # @!attribute [rw] approved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     approved.
  # @!attribute [rw] pending_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     pending approval.
  # @!attribute [rw] disapproved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     disapproved.
  class DestinationStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The ItemLevelIssue of the product status.
  # @!attribute [rw] code
  #   @return [::String]
  #     The error code of the issue.
  # @!attribute [rw] servability
  #   @return [::String]
  #     How this issue affects serving of the aggregate offer.
  # @!attribute [rw] resolution
  #   @return [::String]
  #     Whether the issue can be resolved by the merchant.
  # @!attribute [rw] attribute
  #   @return [::String]
  #     The attribute's name, if the issue is caused by a single attribute.
  # @!attribute [rw] destination
  #   @return [::String]
  #     The destination the issue applies to.
  # @!attribute [rw] description
  #   @return [::String]
  #     A short issue description in English.
  # @!attribute [rw] detail
  #   @return [::String]
  #     A detailed issue description in English.
  # @!attribute [rw] documentation
  #   @return [::String]
  #     The URL of a web page to help with resolving this issue.
  # @!attribute [rw] applicable_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where issue applies to the
  #     aggregate offer.
  class ItemLevelIssue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#google_expiration_date::Google::Protobuf::Timestamp

Returns Date on which the item expires, in ISO 8601 format.

Returns:



304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 304

class CssProductStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The destination status of the product status.
  # @!attribute [rw] destination
  #   @return [::String]
  #     The name of the destination
  # @!attribute [rw] approved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     approved.
  # @!attribute [rw] pending_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     pending approval.
  # @!attribute [rw] disapproved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     disapproved.
  class DestinationStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The ItemLevelIssue of the product status.
  # @!attribute [rw] code
  #   @return [::String]
  #     The error code of the issue.
  # @!attribute [rw] servability
  #   @return [::String]
  #     How this issue affects serving of the aggregate offer.
  # @!attribute [rw] resolution
  #   @return [::String]
  #     Whether the issue can be resolved by the merchant.
  # @!attribute [rw] attribute
  #   @return [::String]
  #     The attribute's name, if the issue is caused by a single attribute.
  # @!attribute [rw] destination
  #   @return [::String]
  #     The destination the issue applies to.
  # @!attribute [rw] description
  #   @return [::String]
  #     A short issue description in English.
  # @!attribute [rw] detail
  #   @return [::String]
  #     A detailed issue description in English.
  # @!attribute [rw] documentation
  #   @return [::String]
  #     The URL of a web page to help with resolving this issue.
  # @!attribute [rw] applicable_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where issue applies to the
  #     aggregate offer.
  class ItemLevelIssue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#item_level_issues::Array<::Google::Shopping::Css::V1::CssProductStatus::ItemLevelIssue>

Returns A list of all issues associated with the product.

Returns:



304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 304

class CssProductStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The destination status of the product status.
  # @!attribute [rw] destination
  #   @return [::String]
  #     The name of the destination
  # @!attribute [rw] approved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     approved.
  # @!attribute [rw] pending_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     pending approval.
  # @!attribute [rw] disapproved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     disapproved.
  class DestinationStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The ItemLevelIssue of the product status.
  # @!attribute [rw] code
  #   @return [::String]
  #     The error code of the issue.
  # @!attribute [rw] servability
  #   @return [::String]
  #     How this issue affects serving of the aggregate offer.
  # @!attribute [rw] resolution
  #   @return [::String]
  #     Whether the issue can be resolved by the merchant.
  # @!attribute [rw] attribute
  #   @return [::String]
  #     The attribute's name, if the issue is caused by a single attribute.
  # @!attribute [rw] destination
  #   @return [::String]
  #     The destination the issue applies to.
  # @!attribute [rw] description
  #   @return [::String]
  #     A short issue description in English.
  # @!attribute [rw] detail
  #   @return [::String]
  #     A detailed issue description in English.
  # @!attribute [rw] documentation
  #   @return [::String]
  #     The URL of a web page to help with resolving this issue.
  # @!attribute [rw] applicable_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where issue applies to the
  #     aggregate offer.
  class ItemLevelIssue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#last_update_date::Google::Protobuf::Timestamp

Returns Date on which the item has been last updated, in ISO 8601 format.

Returns:



304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 304

class CssProductStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The destination status of the product status.
  # @!attribute [rw] destination
  #   @return [::String]
  #     The name of the destination
  # @!attribute [rw] approved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     approved.
  # @!attribute [rw] pending_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     pending approval.
  # @!attribute [rw] disapproved_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
  #     disapproved.
  class DestinationStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The ItemLevelIssue of the product status.
  # @!attribute [rw] code
  #   @return [::String]
  #     The error code of the issue.
  # @!attribute [rw] servability
  #   @return [::String]
  #     How this issue affects serving of the aggregate offer.
  # @!attribute [rw] resolution
  #   @return [::String]
  #     Whether the issue can be resolved by the merchant.
  # @!attribute [rw] attribute
  #   @return [::String]
  #     The attribute's name, if the issue is caused by a single attribute.
  # @!attribute [rw] destination
  #   @return [::String]
  #     The destination the issue applies to.
  # @!attribute [rw] description
  #   @return [::String]
  #     A short issue description in English.
  # @!attribute [rw] detail
  #   @return [::String]
  #     A detailed issue description in English.
  # @!attribute [rw] documentation
  #   @return [::String]
  #     The URL of a web page to help with resolving this issue.
  # @!attribute [rw] applicable_countries
  #   @return [::Array<::String>]
  #     List of country codes (ISO 3166-1 alpha-2) where issue applies to the
  #     aggregate offer.
  class ItemLevelIssue
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end