class Google::Apis::DfareportingV3_4::DateRange
Represents a date range.
Attributes
end_date[RW]
Corresponds to the JSON property `endDate` @return [Date]
kind[RW]
The kind of resource this is, in this case dfareporting#dateRange. Corresponds to the JSON property `kind` @return [String]
relative_date_range[RW]
The date range relative to the date of when the report is run. Corresponds to the JSON property `relativeDateRange` @return [String]
start_date[RW]
Corresponds to the JSON property `startDate` @return [Date]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 5192 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 5197 def update!(**args) @end_date = args[:end_date] if args.key?(:end_date) @kind = args[:kind] if args.key?(:kind) @relative_date_range = args[:relative_date_range] if args.key?(:relative_date_range) @start_date = args[:start_date] if args.key?(:start_date) end