Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonValue
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
A generic data container.
Instance Attribute Summary collapse
-
#boolean_value ⇒ Boolean
(also: #boolean_value?)
A boolean.
-
#double_value ⇒ Float
A double.
-
#float_value ⇒ Float
A float.
-
#int64_value ⇒ Fixnum
An int64.
-
#string_value ⇒ String
A string.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonValue
constructor
A new instance of GoogleAdsSearchads360V0CommonValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonValue
Returns a new instance of GoogleAdsSearchads360V0CommonValue.
1243 1244 1245 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1243 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boolean_value ⇒ Boolean Also known as: boolean_value?
A boolean.
Corresponds to the JSON property booleanValue
1220 1221 1222 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1220 def boolean_value @boolean_value end |
#double_value ⇒ Float
A double.
Corresponds to the JSON property doubleValue
1226 1227 1228 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1226 def double_value @double_value end |
#float_value ⇒ Float
A float.
Corresponds to the JSON property floatValue
1231 1232 1233 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1231 def float_value @float_value end |
#int64_value ⇒ Fixnum
An int64.
Corresponds to the JSON property int64Value
1236 1237 1238 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1236 def int64_value @int64_value end |
#string_value ⇒ String
A string.
Corresponds to the JSON property stringValue
1241 1242 1243 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1241 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1248 1249 1250 1251 1252 1253 1254 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1248 def update!(**args) @boolean_value = args[:boolean_value] if args.key?(:boolean_value) @double_value = args[:double_value] if args.key?(:double_value) @float_value = args[:float_value] if args.key?(:float_value) @int64_value = args[:int64_value] if args.key?(:int64_value) @string_value = args[:string_value] if args.key?(:string_value) end |