Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYearMonth
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYearMonth
- 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
Year month.
Instance Attribute Summary collapse
-
#month ⇒ String
The month of the year.
-
#year ⇒ Fixnum
The year (for example, 2020).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonYearMonth
constructor
A new instance of GoogleAdsSearchads360V23CommonYearMonth.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonYearMonth
Returns a new instance of GoogleAdsSearchads360V23CommonYearMonth.
13135 13136 13137 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#month ⇒ String
The month of the year. (for example, FEBRUARY).
Corresponds to the JSON property month
13128 13129 13130 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13128 def month @month end |
#year ⇒ Fixnum
The year (for example, 2020).
Corresponds to the JSON property year
13133 13134 13135 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13133 def year @year end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13140 13141 13142 13143 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13140 def update!(**args) @month = args[:month] if args.key?(:month) @year = args[:year] if args.key?(:year) end |