class Google::Apis::YoutubeAnalyticsV1::BatchReport

Contains single batchReport resource.

Attributes

id[RW]

The ID that YouTube assigns and uses to uniquely identify the report. Corresponds to the JSON property `id` @return [String]

kind[RW]

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` @return [String]

outputs[RW]

Report outputs. Corresponds to the JSON property `outputs` @return [Array<Google::Apis::YoutubeAnalyticsV1::BatchReport::Output>]

report_id[RW]

The ID of the the report definition. Corresponds to the JSON property `reportId` @return [String]

time_span[RW]

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` @return [Google::Apis::YoutubeAnalyticsV1::BatchReport::TimeSpan]

time_updated[RW]

The time when the report was updated. Corresponds to the JSON property `timeUpdated` @return [DateTime]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_analytics_v1/classes.rb, line 61
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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