Class: Google::Apis::MerchantapiProductsV1beta::ItemLevelIssue
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiProductsV1beta::ItemLevelIssue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_products_v1beta/classes.rb,
lib/google/apis/merchantapi_products_v1beta/representations.rb,
lib/google/apis/merchantapi_products_v1beta/representations.rb
Overview
The ItemLevelIssue of the product status.
Instance Attribute Summary collapse
-
#applicable_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.
-
#attribute ⇒ String
The attribute's name, if the issue is caused by a single attribute.
-
#code ⇒ String
The error code of the issue.
-
#description ⇒ String
A short issue description in English.
-
#detail ⇒ String
A detailed issue description in English.
-
#documentation ⇒ String
The URL of a web page to help with resolving this issue.
-
#reporting_context ⇒ String
The reporting context the issue applies to.
-
#resolution ⇒ String
Whether the issue can be resolved by the merchant.
-
#severity ⇒ String
How this issue affects serving of the offer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ItemLevelIssue
constructor
A new instance of ItemLevelIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ItemLevelIssue
Returns a new instance of ItemLevelIssue.
982 983 984 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 982 def initialize(**args) update!(**args) end |
Instance Attribute Details
#applicable_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.
Corresponds to the JSON property applicableCountries
940 941 942 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 940 def applicable_countries @applicable_countries end |
#attribute ⇒ String
The attribute's name, if the issue is caused by a single attribute.
Corresponds to the JSON property attribute
945 946 947 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 945 def attribute @attribute end |
#code ⇒ String
The error code of the issue.
Corresponds to the JSON property code
950 951 952 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 950 def code @code end |
#description ⇒ String
A short issue description in English.
Corresponds to the JSON property description
955 956 957 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 955 def description @description end |
#detail ⇒ String
A detailed issue description in English.
Corresponds to the JSON property detail
960 961 962 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 960 def detail @detail end |
#documentation ⇒ String
The URL of a web page to help with resolving this issue.
Corresponds to the JSON property documentation
965 966 967 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 965 def documentation @documentation end |
#reporting_context ⇒ String
The reporting context the issue applies to.
Corresponds to the JSON property reportingContext
970 971 972 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 970 def reporting_context @reporting_context end |
#resolution ⇒ String
Whether the issue can be resolved by the merchant.
Corresponds to the JSON property resolution
975 976 977 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 975 def resolution @resolution end |
#severity ⇒ String
How this issue affects serving of the offer.
Corresponds to the JSON property severity
980 981 982 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 980 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
987 988 989 990 991 992 993 994 995 996 997 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 987 def update!(**args) @applicable_countries = args[:applicable_countries] if args.key?(:applicable_countries) @attribute = args[:attribute] if args.key?(:attribute) @code = args[:code] if args.key?(:code) @description = args[:description] if args.key?(:description) @detail = args[:detail] if args.key?(:detail) @documentation = args[:documentation] if args.key?(:documentation) @reporting_context = args[:reporting_context] if args.key?(:reporting_context) @resolution = args[:resolution] if args.key?(:resolution) @severity = args[:severity] if args.key?(:severity) end |