Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo
- 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
Criterion for a check-in date range.
Instance Attribute Summary collapse
-
#end_date ⇒ String
End date in the YYYY-MM-DD format.
-
#start_date ⇒ String
Start date in the YYYY-MM-DD format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo
Returns a new instance of GoogleAdsSearchads360V23CommonHotelCheckInDateRangeInfo.
5444 5445 5446 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_date ⇒ String
End date in the YYYY-MM-DD format.
Corresponds to the JSON property endDate
5437 5438 5439 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5437 def end_date @end_date end |
#start_date ⇒ String
Start date in the YYYY-MM-DD format.
Corresponds to the JSON property startDate
5442 5443 5444 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5442 def start_date @start_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5449 5450 5451 5452 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5449 def update!(**args) @end_date = args[:end_date] if args.key?(:end_date) @start_date = args[:start_date] if args.key?(:start_date) end |