Class: Google::Apis::YoutubeAnalyticsV2::ListGroupItemsResponse

Inherits:
Object
  • Object
show all
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

Response message for GroupsService.ListGroupItems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListGroupItemsResponse

Returns a new instance of ListGroupItemsResponse.



360
361
362
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 360

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

Instance Attribute Details

#errorsGoogle::Apis::YoutubeAnalyticsV2::Errors

Request Error information. The presence of an error field signals that the operation has failed. Corresponds to the JSON property errors



341
342
343
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 341

def errors
  @errors
end

#etagString

The Etag of this resource. Corresponds to the JSON property etag

Returns:

  • (String)


346
347
348
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 346

def etag
  @etag
end

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

A list of groups that match the API request parameters. Each item in the list represents a groupItem resource. Corresponds to the JSON property items



352
353
354
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 352

def items
  @items
end

#kindString

Identifies the API resource's type. The value will be youtube# groupItemListResponse. Corresponds to the JSON property kind

Returns:

  • (String)


358
359
360
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 358

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



365
366
367
368
369
370
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 365

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