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.
27054 27055 27056 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27054 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
27030 27031 27032 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27030 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
27035 27036 27037 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27035 def code @code end |
#name ⇒ String
Output only. Full English name of the currency.
Corresponds to the JSON property name
27040 27041 27042 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27040 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`
27046 27047 27048 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27046 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
27052 27053 27054 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27052 def symbol @symbol end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27059 27060 27061 27062 27063 27064 27065 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 27059 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 |