Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYearMonthRange
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYearMonthRange
- 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
The year month range inclusive of the start and end months. Eg: A year month range to represent Jan 2020 would be: (Jan 2020, Jan 2020).
Instance Attribute Summary collapse
-
#end ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYearMonth
Year month.
-
#start ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYearMonth
Year month.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonYearMonthRange
constructor
A new instance of GoogleAdsSearchads360V23CommonYearMonthRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonYearMonthRange
Returns a new instance of GoogleAdsSearchads360V23CommonYearMonthRange.
13287 13288 13289 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYearMonth
Year month.
Corresponds to the JSON property end
13280 13281 13282 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13280 def end @end end |
#start ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYearMonth
Year month.
Corresponds to the JSON property start
13285 13286 13287 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13285 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13292 13293 13294 13295 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13292 def update!(**args) @end = args[:end] if args.key?(:end) @start = args[:start] if args.key?(:start) end |