Class: Google::Apis::ContentV2_1::AccountStatusProducts

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountStatusProducts

Returns a new instance of AccountStatusProducts.



1193
1194
1195
# File 'lib/google/apis/content_v2_1/classes.rb', line 1193

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#channelString

The channel the data applies to. Acceptable values are: - "local" - "online " Corresponds to the JSON property channel

Returns:

  • (String)


1171
1172
1173
# File 'lib/google/apis/content_v2_1/classes.rb', line 1171

def channel
  @channel
end

#countryString

The country the data applies to. Corresponds to the JSON property country

Returns:

  • (String)


1176
1177
1178
# File 'lib/google/apis/content_v2_1/classes.rb', line 1176

def country
  @country
end

#destinationString

The destination the data applies to. Corresponds to the JSON property destination

Returns:

  • (String)


1181
1182
1183
# File 'lib/google/apis/content_v2_1/classes.rb', line 1181

def destination
  @destination
end

#item_level_issuesArray<Google::Apis::ContentV2_1::AccountStatusItemLevelIssue>

List of item-level issues. Corresponds to the JSON property itemLevelIssues



1186
1187
1188
# File 'lib/google/apis/content_v2_1/classes.rb', line 1186

def item_level_issues
  @item_level_issues
end

#statisticsGoogle::Apis::ContentV2_1::AccountStatusStatistics

Aggregated product statistics. Corresponds to the JSON property statistics



1191
1192
1193
# File 'lib/google/apis/content_v2_1/classes.rb', line 1191

def statistics
  @statistics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1198
1199
1200
1201
1202
1203
1204
# File 'lib/google/apis/content_v2_1/classes.rb', line 1198

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