class Google::Apis::YoutubeAnalyticsV2::GroupItem

A group item.

Attributes

errors[RW]

Request Error information. The presence of an error field signals that the operation has failed. Corresponds to the JSON property `errors` @return [Google::Apis::YoutubeAnalyticsV2::Errors]

etag[RW]

The Etag of this resource. Corresponds to the JSON property `etag` @return [String]

group_id[RW]

The ID that YouTube uses to uniquely identify the group that contains the item. Corresponds to the JSON property `groupId` @return [String]

id[RW]

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` @return [String]

kind[RW]

Identifies the API resource's type. The value will be `youtube#groupItem`. Corresponds to the JSON property `kind` @return [String]

resource[RW]

The `resource` object contains information that identifies the item being added to the group. Corresponds to the JSON property `resource` @return [Google::Apis::YoutubeAnalyticsV2::GroupItemResource]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_analytics_v2/classes.rb, line 264
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_analytics_v2/classes.rb, line 269
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