Class: Google::Apis::GmailpostmastertoolsV2::TimeQuery
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV2::TimeQuery
- 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
The date ranges or specific dates for which you want to retrieve data.
Instance Attribute Summary collapse
-
#date_list ⇒ Google::Apis::GmailpostmastertoolsV2::DateList
A set of specific dates.
-
#date_ranges ⇒ Google::Apis::GmailpostmastertoolsV2::DateRanges
A set of date ranges.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimeQuery
constructor
A new instance of TimeQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TimeQuery
Returns a new instance of TimeQuery.
757 758 759 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 757 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_list ⇒ Google::Apis::GmailpostmastertoolsV2::DateList
A set of specific dates.
Corresponds to the JSON property dateList
750 751 752 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 750 def date_list @date_list end |
#date_ranges ⇒ Google::Apis::GmailpostmastertoolsV2::DateRanges
A set of date ranges.
Corresponds to the JSON property dateRanges
755 756 757 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 755 def date_ranges @date_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
762 763 764 765 |
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 762 def update!(**args) @date_list = args[:date_list] if args.key?(:date_list) @date_ranges = args[:date_ranges] if args.key?(:date_ranges) end |