Class: Google::Apis::YoutubeAnalyticsV1::BatchReport
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV1::BatchReport
- 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
Contains single batchReport resource.
Defined Under Namespace
Instance Attribute Summary collapse
-
#id ⇒ String
The ID that YouTube assigns and uses to uniquely identify the report.
-
#kind ⇒ String
This value specifies the type of data of this item.
-
#outputs ⇒ Array<Google::Apis::YoutubeAnalyticsV1::BatchReport::Output>
Report outputs.
-
#report_id ⇒ String
The ID of the the report definition.
-
#time_span ⇒ Google::Apis::YoutubeAnalyticsV1::BatchReport::TimeSpan
Period included in the report.
-
#time_updated ⇒ DateTime
The time when the report was updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchReport
constructor
A new instance of BatchReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchReport
Returns a new instance of BatchReport.
61 62 63 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 61 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The ID that YouTube assigns and uses to uniquely identify the report.
Corresponds to the JSON property id
32 33 34 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 32 def id @id end |
#kind ⇒ String
This value specifies the type of data of this item. For batch report the kind
property value is youtubeAnalytics#batchReport.
Corresponds to the JSON property kind
38 39 40 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 38 def kind @kind end |
#outputs ⇒ Array<Google::Apis::YoutubeAnalyticsV1::BatchReport::Output>
Report outputs.
Corresponds to the JSON property outputs
43 44 45 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 43 def outputs @outputs end |
#report_id ⇒ String
The ID of the the report definition.
Corresponds to the JSON property reportId
48 49 50 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 48 def report_id @report_id end |
#time_span ⇒ Google::Apis::YoutubeAnalyticsV1::BatchReport::TimeSpan
Period included in the report. For reports containing all entities endTime is
not set. Both startTime and endTime are inclusive.
Corresponds to the JSON property timeSpan
54 55 56 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 54 def time_span @time_span end |
#time_updated ⇒ DateTime
The time when the report was updated.
Corresponds to the JSON property timeUpdated
59 60 61 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 59 def time_updated @time_updated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
66 67 68 69 70 71 72 73 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 66 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @outputs = args[:outputs] if args.key?(:outputs) @report_id = args[:report_id] if args.key?(:report_id) @time_span = args[:time_span] if args.key?(:time_span) @time_updated = args[:time_updated] if args.key?(:time_updated) end |