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.
2211 2212 2213 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2211 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
2174 2175 2176 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2174 def attribute_name @attribute_name end |
#code ⇒ String
The error code of the issue.
Corresponds to the JSON property code
2179 2180 2181 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2179 def code @code end |
#description ⇒ String
A short issue description in English.
Corresponds to the JSON property description
2184 2185 2186 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2184 def description @description end |
#destination ⇒ String
The destination the issue applies to.
Corresponds to the JSON property destination
2189 2190 2191 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2189 def destination @destination end |
#detail ⇒ String
A detailed issue description in English.
Corresponds to the JSON property detail
2194 2195 2196 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2194 def detail @detail end |
#documentation ⇒ String
The URL of a web page to help with resolving this issue.
Corresponds to the JSON property documentation
2199 2200 2201 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2199 def documentation @documentation end |
#resolution ⇒ String
Whether the issue can be resolved by the merchant.
Corresponds to the JSON property resolution
2204 2205 2206 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2204 def resolution @resolution end |
#servability ⇒ String
How this issue affects the serving of the collection.
Corresponds to the JSON property servability
2209 2210 2211 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2209 def servability @servability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2216 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 |