Class: Google::Apis::GmailpostmastertoolsV2::DateRanges
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV2::DateRanges
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gmailpostmastertools_v2/classes.rb,
lib/google/apis/gmailpostmastertools_v2/representations.rb,
lib/google/apis/gmailpostmastertools_v2/representations.rb
Overview
A set of date ranges.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ DateRanges
constructor
A new instance of DateRanges.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DateRanges
Returns a new instance of DateRanges.
267 268 269 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_ranges ⇒ Array<Google::Apis::GmailpostmastertoolsV2::DateRange>
Required. The list of date ranges for which to retrieve data.
Corresponds to the JSON property dateRanges
265 266 267 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 265 def date_ranges @date_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
272 273 274 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 272 def update!(**args) @date_ranges = args[:date_ranges] if args.key?(:date_ranges) end |