Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCurrencyConstant
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCurrencyConstant
- 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
A currency constant.
Instance Attribute Summary collapse
-
#billable_unit_micros ⇒ Fixnum
Output only.
-
#code ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#resource_name ⇒ String
Output only.
-
#symbol ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCurrencyConstant
constructor
A new instance of GoogleAdsSearchads360V23ResourcesCurrencyConstant.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesCurrencyConstant
Returns a new instance of GoogleAdsSearchads360V23ResourcesCurrencyConstant.
27213 27214 27215 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27213 def initialize(**args) update!(**args) end |
Instance Attribute Details
#billable_unit_micros ⇒ Fixnum
Output only. The billable unit for this currency. Billed amounts should be
multiples of this value.
Corresponds to the JSON property billableUnitMicros
27189 27190 27191 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27189 def billable_unit_micros @billable_unit_micros end |
#code ⇒ String
Output only. ISO 4217 three-letter currency code, for example, "USD"
Corresponds to the JSON property code
27194 27195 27196 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27194 def code @code end |
#name ⇒ String
Output only. Full English name of the currency.
Corresponds to the JSON property name
27199 27200 27201 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27199 def name @name end |
#resource_name ⇒ String
Output only. The resource name of the currency constant. Currency constant
resource names have the form: currencyConstants/code`
Corresponds to the JSON propertyresourceName`
27205 27206 27207 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27205 def resource_name @resource_name end |
#symbol ⇒ String
Output only. Standard symbol for describing this currency, for example, '$'
for US Dollars.
Corresponds to the JSON property symbol
27211 27212 27213 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27211 def symbol @symbol end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27218 27219 27220 27221 27222 27223 27224 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27218 def update!(**args) @billable_unit_micros = args[:billable_unit_micros] if args.key?(:billable_unit_micros) @code = args[:code] if args.key?(:code) @name = args[:name] if args.key?(:name) @resource_name = args[:resource_name] if args.key?(:resource_name) @symbol = args[:symbol] if args.key?(:symbol) end |