Class: Google::Apis::YoutubeAnalyticsV2::ListGroupsResponse

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.ListGroups.

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

Returns a new instance of ListGroupsResponse.



429
430
431
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 429

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



404
405
406
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 404

def errors
  @errors
end

#etagString

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

Returns:

  • (String)


409
410
411
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 409

def etag
  @etag
end

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

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



415
416
417
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 415

def items
  @items
end

#kindString

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

Returns:

  • (String)


421
422
423
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 421

def kind
  @kind
end

#next_page_tokenString

The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


427
428
429
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 427

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



434
435
436
437
438
439
440
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 434

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)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end