Class: Google::Shopping::Merchant::Products::V1::ProductStatus
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Products::V1::ProductStatus
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/products/v1/products_common.rb
Overview
The status of a product, data validation issues, that is, information about a product computed asynchronously.
Defined Under Namespace
Classes: DestinationStatus, ItemLevelIssue
Instance Attribute Summary collapse
-
#creation_date ⇒ ::Google::Protobuf::Timestamp
Date on which the item has been created, in ISO 8601 format.
-
#destination_statuses ⇒ ::Array<::Google::Shopping::Merchant::Products::V1::ProductStatus::DestinationStatus>
The intended destinations for the product.
-
#google_expiration_date ⇒ ::Google::Protobuf::Timestamp
Date on which the item expires, in ISO 8601 format.
-
#item_level_issues ⇒ ::Array<::Google::Shopping::Merchant::Products::V1::ProductStatus::ItemLevelIssue>
A list of all issues associated with the product.
-
#last_update_date ⇒ ::Google::Protobuf::Timestamp
Date on which the item has been last updated, in ISO 8601 format.
Instance Attribute Details
#creation_date ⇒ ::Google::Protobuf::Timestamp
Returns Date on which the item has been created, in ISO 8601 format.
1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 |
# File 'proto_docs/google/shopping/merchant/products/v1/products_common.rb', line 1092 class ProductStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The destination status of the product status. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # The name of the reporting context. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the offer is approved. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the offer is pending # approval. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the 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] severity # @return [::Google::Shopping::Merchant::Products::V1::ProductStatus::ItemLevelIssue::Severity] # How this issue affects serving of the offer. # @!attribute [rw] resolution # @return [::String] # Whether the issue can be resolved by the business. # @!attribute [rw] attribute # @return [::String] # The attribute's name, if the issue is caused by a single attribute. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # The reporting context 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 # offer. class ItemLevelIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # How the issue affects the serving of the product. module Severity # Not specified. SEVERITY_UNSPECIFIED = 0 # This issue represents a warning and does not have a direct affect # on the product. NOT_IMPACTED = 1 # The product is demoted and most likely have limited performance # in search results DEMOTED = 2 # Issue disapproves the product. DISAPPROVED = 3 end end end |
#destination_statuses ⇒ ::Array<::Google::Shopping::Merchant::Products::V1::ProductStatus::DestinationStatus>
Returns The intended destinations for the product.
1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 |
# File 'proto_docs/google/shopping/merchant/products/v1/products_common.rb', line 1092 class ProductStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The destination status of the product status. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # The name of the reporting context. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the offer is approved. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the offer is pending # approval. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the 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] severity # @return [::Google::Shopping::Merchant::Products::V1::ProductStatus::ItemLevelIssue::Severity] # How this issue affects serving of the offer. # @!attribute [rw] resolution # @return [::String] # Whether the issue can be resolved by the business. # @!attribute [rw] attribute # @return [::String] # The attribute's name, if the issue is caused by a single attribute. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # The reporting context 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 # offer. class ItemLevelIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # How the issue affects the serving of the product. module Severity # Not specified. SEVERITY_UNSPECIFIED = 0 # This issue represents a warning and does not have a direct affect # on the product. NOT_IMPACTED = 1 # The product is demoted and most likely have limited performance # in search results DEMOTED = 2 # Issue disapproves the product. DISAPPROVED = 3 end end end |
#google_expiration_date ⇒ ::Google::Protobuf::Timestamp
Returns Date on which the item expires, in ISO 8601 format.
1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 |
# File 'proto_docs/google/shopping/merchant/products/v1/products_common.rb', line 1092 class ProductStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The destination status of the product status. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # The name of the reporting context. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the offer is approved. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the offer is pending # approval. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the 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] severity # @return [::Google::Shopping::Merchant::Products::V1::ProductStatus::ItemLevelIssue::Severity] # How this issue affects serving of the offer. # @!attribute [rw] resolution # @return [::String] # Whether the issue can be resolved by the business. # @!attribute [rw] attribute # @return [::String] # The attribute's name, if the issue is caused by a single attribute. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # The reporting context 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 # offer. class ItemLevelIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # How the issue affects the serving of the product. module Severity # Not specified. SEVERITY_UNSPECIFIED = 0 # This issue represents a warning and does not have a direct affect # on the product. NOT_IMPACTED = 1 # The product is demoted and most likely have limited performance # in search results DEMOTED = 2 # Issue disapproves the product. DISAPPROVED = 3 end end end |
#item_level_issues ⇒ ::Array<::Google::Shopping::Merchant::Products::V1::ProductStatus::ItemLevelIssue>
Returns A list of all issues associated with the product.
1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 |
# File 'proto_docs/google/shopping/merchant/products/v1/products_common.rb', line 1092 class ProductStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The destination status of the product status. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # The name of the reporting context. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the offer is approved. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the offer is pending # approval. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the 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] severity # @return [::Google::Shopping::Merchant::Products::V1::ProductStatus::ItemLevelIssue::Severity] # How this issue affects serving of the offer. # @!attribute [rw] resolution # @return [::String] # Whether the issue can be resolved by the business. # @!attribute [rw] attribute # @return [::String] # The attribute's name, if the issue is caused by a single attribute. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # The reporting context 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 # offer. class ItemLevelIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # How the issue affects the serving of the product. module Severity # Not specified. SEVERITY_UNSPECIFIED = 0 # This issue represents a warning and does not have a direct affect # on the product. NOT_IMPACTED = 1 # The product is demoted and most likely have limited performance # in search results DEMOTED = 2 # Issue disapproves the product. DISAPPROVED = 3 end end end |
#last_update_date ⇒ ::Google::Protobuf::Timestamp
Returns Date on which the item has been last updated, in ISO 8601 format.
1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 |
# File 'proto_docs/google/shopping/merchant/products/v1/products_common.rb', line 1092 class ProductStatus include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The destination status of the product status. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # The name of the reporting context. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the offer is approved. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the offer is pending # approval. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of country codes (ISO 3166-1 alpha-2) where the 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] severity # @return [::Google::Shopping::Merchant::Products::V1::ProductStatus::ItemLevelIssue::Severity] # How this issue affects serving of the offer. # @!attribute [rw] resolution # @return [::String] # Whether the issue can be resolved by the business. # @!attribute [rw] attribute # @return [::String] # The attribute's name, if the issue is caused by a single attribute. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # The reporting context 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 # offer. class ItemLevelIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # How the issue affects the serving of the product. module Severity # Not specified. SEVERITY_UNSPECIFIED = 0 # This issue represents a warning and does not have a direct affect # on the product. NOT_IMPACTED = 1 # The product is demoted and most likely have limited performance # in search results DEMOTED = 2 # Issue disapproves the product. DISAPPROVED = 3 end end end |