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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GroupItemResource
Returns a new instance of GroupItemResource
317 318 319 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 317 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
305 306 307 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 305 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 propertykind
315 316 317 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 315 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
322 323 324 325 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 322 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) end |