Class: Google::Apis::ContentV2_1::AccountStatusProducts
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AccountStatusProducts
- 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
Instance Attribute Summary collapse
-
#channel ⇒ String
The channel the data applies to.
-
#country ⇒ String
The country the data applies to.
-
#destination ⇒ String
The destination the data applies to.
-
#item_level_issues ⇒ Array<Google::Apis::ContentV2_1::AccountStatusItemLevelIssue>
List of item-level issues.
-
#statistics ⇒ Google::Apis::ContentV2_1::AccountStatusStatistics
Aggregated product statistics.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountStatusProducts
constructor
A new instance of AccountStatusProducts.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountStatusProducts
Returns a new instance of AccountStatusProducts.
1155 1156 1157 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1155 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel ⇒ String
The channel the data applies to. Acceptable values are: - "local
" - "online
"
Corresponds to the JSON property channel
1133 1134 1135 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1133 def channel @channel end |
#country ⇒ String
The country the data applies to.
Corresponds to the JSON property country
1138 1139 1140 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1138 def country @country end |
#destination ⇒ String
The destination the data applies to.
Corresponds to the JSON property destination
1143 1144 1145 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1143 def destination @destination end |
#item_level_issues ⇒ Array<Google::Apis::ContentV2_1::AccountStatusItemLevelIssue>
List of item-level issues.
Corresponds to the JSON property itemLevelIssues
1148 1149 1150 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1148 def item_level_issues @item_level_issues end |
#statistics ⇒ Google::Apis::ContentV2_1::AccountStatusStatistics
Aggregated product statistics.
Corresponds to the JSON property statistics
1153 1154 1155 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1153 def statistics @statistics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1160 1161 1162 1163 1164 1165 1166 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1160 def update!(**args) @channel = args[:channel] if args.key?(:channel) @country = args[:country] if args.key?(:country) @destination = args[:destination] if args.key?(:destination) @item_level_issues = args[:item_level_issues] if args.key?(:item_level_issues) @statistics = args[:statistics] if args.key?(:statistics) end |