Class: Google::Apis::TagmanagerV2::VariableFormatValue
- Inherits:
-
Object
- Object
- Google::Apis::TagmanagerV2::VariableFormatValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/tagmanager_v2/classes.rb,
generated/google/apis/tagmanager_v2/representations.rb,
generated/google/apis/tagmanager_v2/representations.rb
Instance Attribute Summary collapse
-
#case_conversion_type ⇒ String
The option to convert a string-type variable value to either lowercase or uppercase.
-
#convert_false_to_value ⇒ Google::Apis::TagmanagerV2::Parameter
Represents a Google Tag Manager Parameter.
-
#convert_null_to_value ⇒ Google::Apis::TagmanagerV2::Parameter
Represents a Google Tag Manager Parameter.
-
#convert_true_to_value ⇒ Google::Apis::TagmanagerV2::Parameter
Represents a Google Tag Manager Parameter.
-
#convert_undefined_to_value ⇒ Google::Apis::TagmanagerV2::Parameter
Represents a Google Tag Manager Parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VariableFormatValue
constructor
A new instance of VariableFormatValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VariableFormatValue
Returns a new instance of VariableFormatValue
2334 2335 2336 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2334 def initialize(**args) update!(**args) end |
Instance Attribute Details
#case_conversion_type ⇒ String
The option to convert a string-type variable value to either lowercase or
uppercase.
Corresponds to the JSON property caseConversionType
2312 2313 2314 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2312 def case_conversion_type @case_conversion_type end |
#convert_false_to_value ⇒ Google::Apis::TagmanagerV2::Parameter
Represents a Google Tag Manager Parameter.
Corresponds to the JSON property convertFalseToValue
2317 2318 2319 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2317 def convert_false_to_value @convert_false_to_value end |
#convert_null_to_value ⇒ Google::Apis::TagmanagerV2::Parameter
Represents a Google Tag Manager Parameter.
Corresponds to the JSON property convertNullToValue
2322 2323 2324 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2322 def convert_null_to_value @convert_null_to_value end |
#convert_true_to_value ⇒ Google::Apis::TagmanagerV2::Parameter
Represents a Google Tag Manager Parameter.
Corresponds to the JSON property convertTrueToValue
2327 2328 2329 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2327 def convert_true_to_value @convert_true_to_value end |
#convert_undefined_to_value ⇒ Google::Apis::TagmanagerV2::Parameter
Represents a Google Tag Manager Parameter.
Corresponds to the JSON property convertUndefinedToValue
2332 2333 2334 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2332 def convert_undefined_to_value @convert_undefined_to_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2339 2340 2341 2342 2343 2344 2345 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2339 def update!(**args) @case_conversion_type = args[:case_conversion_type] if args.key?(:case_conversion_type) @convert_false_to_value = args[:convert_false_to_value] if args.key?(:convert_false_to_value) @convert_null_to_value = args[:convert_null_to_value] if args.key?(:convert_null_to_value) @convert_true_to_value = args[:convert_true_to_value] if args.key?(:convert_true_to_value) @convert_undefined_to_value = args[:convert_undefined_to_value] if args.key?(:convert_undefined_to_value) end |