class Google::Apis::DfareportingV2_3::DateRange
Represents a date range.
Attributes
end_date[RW]
The end date of the date range, inclusive. A string of the format: “yyyy-MM-dd” . 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]
The start date of the date range, inclusive. A string of the format: “yyyy-MM- dd”. Corresponds to the JSON property `startDate` @return [Date]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 3960 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 3965 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