Class: Google::Apis::YoutubeAnalyticsV2::ListGroupItemsResponse
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV2::ListGroupItemsResponse
- 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
-
#errors ⇒ Google::Apis::YoutubeAnalyticsV2::Errors
Request Error information.
-
#etag ⇒ String
The Etag of this resource.
-
#items ⇒ Array<Google::Apis::YoutubeAnalyticsV2::GroupItem>
A list of groups that match the API request parameters.
-
#kind ⇒ String
Identifies the API resource's type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListGroupItemsResponse
constructor
A new instance of ListGroupItemsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListGroupItemsResponse
Returns a new instance of ListGroupItemsResponse
382 383 384 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 382 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
363 364 365 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 363 def errors @errors end |
#etag ⇒ String
The Etag of this resource.
Corresponds to the JSON property etag
368 369 370 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 368 def etag @etag end |
#items ⇒ Array<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
374 375 376 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 374 def items @items end |
#kind ⇒ String
Identifies the API resource's type. The value will be
youtube#groupItemListResponse
.
Corresponds to the JSON property kind
380 381 382 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 380 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
387 388 389 390 391 392 |
# File 'generated/google/apis/youtube_analytics_v2/classes.rb', line 387 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 |