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.
5384 5385 5386 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5384 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
5377 5378 5379 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5377 def end_date @end_date end |
#start_date ⇒ String
Start date in the YYYY-MM-DD format.
Corresponds to the JSON property startDate
5382 5383 5384 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5382 def start_date @start_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5389 5390 5391 5392 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 5389 def update!(**args) @end_date = args[:end_date] if args.key?(:end_date) @start_date = args[:start_date] if args.key?(:start_date) end |