Class: Google::Apis::ContentV2_1::Breakdown
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::Breakdown
- 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
A detailed impact breakdown for a group of regions where the impact of the issue on different shopping destinations is the same.
Instance Attribute Summary collapse
-
#details ⇒ Array<String>
Human readable, localized description of issue's effect on different targets.
-
#regions ⇒ Array<Google::Apis::ContentV2_1::BreakdownRegion>
Lists of regions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Breakdown
constructor
A new instance of Breakdown.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Breakdown
Returns a new instance of Breakdown.
2566 2567 2568 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2566 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ Array<String>
Human readable, localized description of issue's effect on different targets.
Should be rendered as a list. For example: * "Products not showing in ads" * "
Products not showing organically"
Corresponds to the JSON property details
2557 2558 2559 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2557 def details @details end |
#regions ⇒ Array<Google::Apis::ContentV2_1::BreakdownRegion>
Lists of regions. Should be rendered as a title for this group of details. The
full list should be shown to merchant. If the list is too long, it is
recommended to make it expandable.
Corresponds to the JSON property regions
2564 2565 2566 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2564 def regions @regions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2571 2572 2573 2574 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2571 def update!(**args) @details = args[:details] if args.key?(:details) @regions = args[:regions] if args.key?(:regions) end |