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.
13161 13162 13163 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13161 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYearMonth
Year month.
Corresponds to the JSON property end
13154 13155 13156 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13154 def end @end end |
#start ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYearMonth
Year month.
Corresponds to the JSON property start
13159 13160 13161 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13159 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13166 13167 13168 13169 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13166 def update!(**args) @end = args[:end] if args.key?(:end) @start = args[:start] if args.key?(:start) end |