Class: Google::Apis::YoutubeAnalyticsV1beta1::GroupItemListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/youtube_analytics_v1beta1/classes.rb,
generated/google/apis/youtube_analytics_v1beta1/representations.rb,
generated/google/apis/youtube_analytics_v1beta1/representations.rb

Overview

A paginated list of grouList resources returned in response to a youtubeAnalytics.groupApi.list request.

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) ⇒ GroupItemListResponse

Returns a new instance of GroupItemListResponse



206
207
208
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 206

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

Instance Attribute Details

#etagString

Corresponds to the JSON property etag

Returns:

  • (String)


194
195
196
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 194

def etag
  @etag
end

#itemsArray<Google::Apis::YoutubeAnalyticsV1beta1::GroupItem>

Corresponds to the JSON property items



199
200
201
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 199

def items
  @items
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


204
205
206
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 204

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



211
212
213
214
215
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 211

def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
end