Class: Google::Apis::YoutubeAnalyticsV1beta1::GroupListResponse

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

Returns a new instance of GroupListResponse



243
244
245
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 243

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

Instance Attribute Details

#etagString

Corresponds to the JSON property etag

Returns:

  • (String)


226
227
228
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 226

def etag
  @etag
end

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

Corresponds to the JSON property items



231
232
233
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 231

def items
  @items
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


236
237
238
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 236

def kind
  @kind
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


241
242
243
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 241

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



248
249
250
251
252
253
# File 'generated/google/apis/youtube_analytics_v1beta1/classes.rb', line 248

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