Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonDateRange
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonDateRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
A date range.
Instance Attribute Summary collapse
-
#end_date ⇒ String
The end date, in yyyy-mm-dd format.
-
#start_date ⇒ String
The start date, in yyyy-mm-dd format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonDateRange
constructor
A new instance of GoogleAdsSearchads360V23CommonDateRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonDateRange
Returns a new instance of GoogleAdsSearchads360V23CommonDateRange.
3474 3475 3476 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3474 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_date ⇒ String
The end date, in yyyy-mm-dd format. This date is inclusive.
Corresponds to the JSON property endDate
3467 3468 3469 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3467 def end_date @end_date end |
#start_date ⇒ String
The start date, in yyyy-mm-dd format. This date is inclusive.
Corresponds to the JSON property startDate
3472 3473 3474 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3472 def start_date @start_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3479 3480 3481 3482 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3479 def update!(**args) @end_date = args[:end_date] if args.key?(:end_date) @start_date = args[:start_date] if args.key?(:start_date) end |