Class: Google::Apis::ContentV2_1::CollectionStatusItemLevelIssue
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::CollectionStatusItemLevelIssue
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Issue associated with the collection.
Instance Attribute Summary collapse
-
#attribute_name ⇒ 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.
-
#destination ⇒ String
The destination the issue applies to.
-
#detail ⇒ String
A detailed issue description in English.
-
#documentation ⇒ String
The URL of a web page to help with resolving this issue.
-
#resolution ⇒ String
Whether the issue can be resolved by the merchant.
-
#servability ⇒ String
How this issue affects the serving of the collection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CollectionStatusItemLevelIssue
constructor
A new instance of CollectionStatusItemLevelIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CollectionStatusItemLevelIssue
Returns a new instance of CollectionStatusItemLevelIssue.
2210 2211 2212 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attribute_name ⇒ String
The attribute's name, if the issue is caused by a single attribute.
Corresponds to the JSON property attributeName
2173 2174 2175 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2173 def attribute_name @attribute_name end |
#code ⇒ String
The error code of the issue.
Corresponds to the JSON property code
2178 2179 2180 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2178 def code @code end |
#description ⇒ String
A short issue description in English.
Corresponds to the JSON property description
2183 2184 2185 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2183 def description @description end |
#destination ⇒ String
The destination the issue applies to.
Corresponds to the JSON property destination
2188 2189 2190 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2188 def destination @destination end |
#detail ⇒ String
A detailed issue description in English.
Corresponds to the JSON property detail
2193 2194 2195 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2193 def detail @detail end |
#documentation ⇒ String
The URL of a web page to help with resolving this issue.
Corresponds to the JSON property documentation
2198 2199 2200 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2198 def documentation @documentation end |
#resolution ⇒ String
Whether the issue can be resolved by the merchant.
Corresponds to the JSON property resolution
2203 2204 2205 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2203 def resolution @resolution end |
#servability ⇒ String
How this issue affects the serving of the collection.
Corresponds to the JSON property servability
2208 2209 2210 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2208 def servability @servability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2215 def update!(**args) @attribute_name = args[:attribute_name] if args.key?(:attribute_name) @code = args[:code] if args.key?(:code) @description = args[:description] if args.key?(:description) @destination = args[:destination] if args.key?(:destination) @detail = args[:detail] if args.key?(:detail) @documentation = args[:documentation] if args.key?(:documentation) @resolution = args[:resolution] if args.key?(:resolution) @servability = args[:servability] if args.key?(:servability) end |