Class: Google::Apis::YoutubeAnalyticsV2::GroupItemResource
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV2::GroupItemResource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_analytics_v2/classes.rb,
generated/google/apis/youtube_analytics_v2/representations.rb,
generated/google/apis/youtube_analytics_v2/representations.rb
Instance Attribute Summary collapse
-
#id ⇒ String
The channel, video, playlist, or asset ID that YouTube uses to uniquely identify the item that is being added to the group.
-
#kind ⇒ String
Identifies the type of resource being added to the group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GroupItemResource
constructor
A new instance of GroupItemResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GroupItemResource
Returns a new instance of GroupItemResource.
296 297 298 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The channel, video, playlist, or asset ID that YouTube uses to uniquely
identify the item that is being added to the group.
Corresponds to the JSON property id
287 288 289 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 287 def id @id end |
#kind ⇒ String
Identifies the type of resource being added to the group. Valid values for
this property are: * youtube#channel
* youtube#playlist
* youtube#video
*
youtubePartner#asset
Corresponds to the JSON property kind
294 295 296 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 294 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
301 302 303 304 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 301 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) end |