Class: Google::Apis::YoutubeAnalyticsV1::BatchReportList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/youtube_analytics_v1/classes.rb,
generated/google/apis/youtube_analytics_v1/representations.rb,
generated/google/apis/youtube_analytics_v1/representations.rb

Overview

A paginated list of batchReport resources returned in response to a youtubeAnalytics.batchReport.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) ⇒ BatchReportList

Returns a new instance of BatchReportList.



223
224
225
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 223

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

Instance Attribute Details

#itemsArray<Google::Apis::YoutubeAnalyticsV1::BatchReport>

A list of batchReport resources that match the request criteria. Corresponds to the JSON property items



215
216
217
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 215

def items
  @items
end

#kindString

This value specifies the type of data included in the API response. For the list method, the kind property value is youtubeAnalytics#batchReportList. Corresponds to the JSON property kind

Returns:

  • (String)


221
222
223
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 221

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



228
229
230
231
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 228

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