class Google::Apis::DfareportingV2_1::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_1/classes.rb, line 3917 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_1/classes.rb, line 3922 def update!(**args) @end_date = args[:end_date] unless args[:end_date].nil? @kind = args[:kind] unless args[:kind].nil? @relative_date_range = args[:relative_date_range] unless args[:relative_date_range].nil? @start_date = args[:start_date] unless args[:start_date].nil? end