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.
3534 3535 3536 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3534 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
3527 3528 3529 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3527 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
3532 3533 3534 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3532 def start_date @start_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3539 3540 3541 3542 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 3539 def update!(**args) @end_date = args[:end_date] if args.key?(:end_date) @start_date = args[:start_date] if args.key?(:start_date) end |