Class: Google::Apis::YoutubeAnalyticsV1::Group::ContentDetails

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ContentDetails

Returns a new instance of ContentDetails.



290
291
292
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 290

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

Instance Attribute Details

#item_countString

Corresponds to the JSON property itemCount

Returns:

  • (String)


283
284
285
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 283

def item_count
  @item_count
end

#item_typeString

Corresponds to the JSON property itemType

Returns:

  • (String)


288
289
290
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 288

def item_type
  @item_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



295
296
297
298
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 295

def update!(**args)
  @item_count = args[:item_count] if args.key?(:item_count)
  @item_type = args[:item_type] if args.key?(:item_type)
end