Class: Google::Apis::YoutubeAnalyticsV1::BatchReportDefinitionList

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 batchReportDefinition resources returned in response to a youtubeAnalytics.batchReportDefinitions.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) ⇒ BatchReportDefinitionList

Returns a new instance of BatchReportDefinitionList.



196
197
198
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 196

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

Instance Attribute Details

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

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



187
188
189
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 187

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# batchReportDefinitionList. Corresponds to the JSON property kind

Returns:

  • (String)


194
195
196
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 194

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



201
202
203
204
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 201

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