class 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.

Attributes

end_time[RW]

End of the period included in the report. Inclusive. For reports containing all entities endTime is not set. Corresponds to the JSON property `endTime` @return [DateTime]

start_time[RW]

Start of the period included in the report. Inclusive. Corresponds to the JSON property `startTime` @return [DateTime]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_analytics_v1/classes.rb, line 122
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 127
def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
end