Class: Google::Apis::ContentV2::AccountStatusProducts

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AccountStatusProducts

Returns a new instance of AccountStatusProducts.



637
638
639
# File 'generated/google/apis/content_v2/classes.rb', line 637

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

Instance Attribute Details

#channelString

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

Returns:

  • (String)


615
616
617
# File 'generated/google/apis/content_v2/classes.rb', line 615

def channel
  @channel
end

#countryString

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

Returns:

  • (String)


620
621
622
# File 'generated/google/apis/content_v2/classes.rb', line 620

def country
  @country
end

#destinationString

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

Returns:

  • (String)


625
626
627
# File 'generated/google/apis/content_v2/classes.rb', line 625

def destination
  @destination
end

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

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



630
631
632
# File 'generated/google/apis/content_v2/classes.rb', line 630

def item_level_issues
  @item_level_issues
end

#statisticsGoogle::Apis::ContentV2::AccountStatusStatistics

Aggregated product statistics. Corresponds to the JSON property statistics



635
636
637
# File 'generated/google/apis/content_v2/classes.rb', line 635

def statistics
  @statistics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



642
643
644
645
646
647
648
# File 'generated/google/apis/content_v2/classes.rb', line 642

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