Class: Google::Apis::YoutubeAnalyticsV2::GroupContentDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV2::GroupContentDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtube_analytics_v2/classes.rb,
lib/google/apis/youtube_analytics_v2/representations.rb,
lib/google/apis/youtube_analytics_v2/representations.rb
Overview
A group's content details.
Instance Attribute Summary collapse
-
#item_count ⇒ Fixnum
The number of items in the group.
-
#item_type ⇒ String
The type of resources that the group contains.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GroupContentDetails
constructor
A new instance of GroupContentDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GroupContentDetails
Returns a new instance of GroupContentDetails.
212 213 214 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 212 def initialize(**args) update!(**args) end |
Instance Attribute Details
#item_count ⇒ Fixnum
The number of items in the group.
Corresponds to the JSON property itemCount
203 204 205 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 203 def item_count @item_count end |
#item_type ⇒ String
The type of resources that the group contains. Valid values for this property
are: * youtube#channel
* youtube#playlist
* youtube#video
*
youtubePartner#asset
Corresponds to the JSON property itemType
210 211 212 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 210 def item_type @item_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
217 218 219 220 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 217 def update!(**args) @item_count = args[:item_count] if args.key?(:item_count) @item_type = args[:item_type] if args.key?(:item_type) end |