Class: Google::Apis::YoutubeAnalyticsV2::GroupItem
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeAnalyticsV2::GroupItem
 
- 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
Overview
A group item.
Instance Attribute Summary collapse
- 
  
    
      #errors  ⇒ Google::Apis::YoutubeAnalyticsV2::Errors 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Request Error information. 
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Etag of this resource. 
- 
  
    
      #group_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID that YouTube uses to uniquely identify the group that contains the item. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID that YouTube uses to uniquely identify the channel,video,playlist, orassetresource that is included in the group.
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies the API resource's type. 
- 
  
    
      #resource  ⇒ Google::Apis::YoutubeAnalyticsV2::GroupItemResource 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The resourceobject contains information that identifies the item being added to the group.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GroupItem 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GroupItem. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GroupItem
Returns a new instance of GroupItem
| 282 283 284 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 282 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#errors ⇒ Google::Apis::YoutubeAnalyticsV2::Errors
Request Error information.
The presence of an error field signals that the operation
has failed.
Corresponds to the JSON property errors
| 247 248 249 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 247 def errors @errors end | 
#etag ⇒ String
The Etag of this resource.
Corresponds to the JSON property etag
| 252 253 254 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 252 def etag @etag end | 
#group_id ⇒ String
The ID that YouTube uses to uniquely identify the group that contains the
item.
Corresponds to the JSON property groupId
| 258 259 260 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 258 def group_id @group_id end | 
#id ⇒ String
The ID that YouTube uses to uniquely identify the channel, video,
playlist, or asset resource that is included in the group. Note that
this ID refers specifically to the inclusion of that resource in a
particular group and is different than the channel ID, video ID,
playlist ID, or asset ID that uniquely identifies the resource itself.
The resource.id property's value specifies the unique channel, video,
playlist, or asset ID.
Corresponds to the JSON property id
| 269 270 271 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 269 def id @id end | 
#kind ⇒ String
Identifies the API resource's type. The value will be youtube#groupItem.
Corresponds to the JSON property kind
| 274 275 276 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 274 def kind @kind end | 
#resource ⇒ Google::Apis::YoutubeAnalyticsV2::GroupItemResource
The resource object contains information that identifies the item being
added to the group.
Corresponds to the JSON property resource
| 280 281 282 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 280 def resource @resource end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 287 288 289 290 291 292 293 294 | # File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 287 def update!(**args) @errors = args[:errors] if args.key?(:errors) @etag = args[:etag] if args.key?(:etag) @group_id = args[:group_id] if args.key?(:group_id) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @resource = args[:resource] if args.key?(:resource) end |