Class: Google::Apis::YoutubeAnalyticsV2::ListGroupsResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV2::ListGroupsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtube_analytics_v2/classes.rb,
lib/google/apis/youtube_analytics_v2/representations.rb,
lib/google/apis/youtube_analytics_v2/representations.rb
Overview
Response message for GroupsService.ListGroups.
Instance Attribute Summary collapse
-
#errors ⇒ Google::Apis::YoutubeAnalyticsV2::Errors
Request Error information.
-
#etag ⇒ String
The Etag of this resource.
-
#items ⇒ Array<Google::Apis::YoutubeAnalyticsV2::Group>
A list of groups that match the API request parameters.
-
#kind ⇒ String
Identifies the API resource's type.
-
#next_page_token ⇒ String
The token that can be used as the value of the
pageToken
parameter to retrieve the next page in the result set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListGroupsResponse
constructor
A new instance of ListGroupsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListGroupsResponse
Returns a new instance of ListGroupsResponse.
406 407 408 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 406 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Google::Apis::YoutubeAnalyticsV2::Errors
Request Error information. The presence of an error field signals that the
operation has failed.
Corresponds to the JSON property errors
381 382 383 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 381 def errors @errors end |
#etag ⇒ String
The Etag of this resource.
Corresponds to the JSON property etag
386 387 388 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 386 def etag @etag end |
#items ⇒ Array<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
392 393 394 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 392 def items @items end |
#kind ⇒ String
Identifies the API resource's type. The value will be youtube#
groupListResponse
.
Corresponds to the JSON property kind
398 399 400 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 398 def kind @kind end |
#next_page_token ⇒ String
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
404 405 406 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 404 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
411 412 413 414 415 416 417 |
# File 'lib/google/apis/youtube_analytics_v2/classes.rb', line 411 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 |