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.
27141 27142 27143 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27141 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
27117 27118 27119 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27117 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
27122 27123 27124 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27122 def code @code end |
#name ⇒ String
Output only. Full English name of the currency.
Corresponds to the JSON property name
27127 27128 27129 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27127 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`
27133 27134 27135 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27133 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
27139 27140 27141 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27139 def symbol @symbol end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27146 27147 27148 27149 27150 27151 27152 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27146 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 |