Class: Google::Apis::YoutubeAnalyticsV1::Group::ContentDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV1::Group::ContentDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_analytics_v1/classes.rb,
generated/google/apis/youtube_analytics_v1/representations.rb,
generated/google/apis/youtube_analytics_v1/representations.rb
Instance Attribute Summary collapse
-
#item_count ⇒ Fixnum
Corresponds to the JSON property
itemCount
. -
#item_type ⇒ String
Corresponds to the JSON property
itemType
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContentDetails
constructor
A new instance of ContentDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContentDetails
Returns a new instance of ContentDetails
81 82 83 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 81 def initialize(**args) update!(**args) end |
Instance Attribute Details
#item_count ⇒ Fixnum
Corresponds to the JSON property itemCount
74 75 76 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 74 def item_count @item_count end |
#item_type ⇒ String
Corresponds to the JSON property itemType
79 80 81 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 79 def item_type @item_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
86 87 88 89 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 86 def update!(**args) @item_count = args[:item_count] if args.key?(:item_count) @item_type = args[:item_type] if args.key?(:item_type) end |