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
2343 2344 2345 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2343 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
2321 2322 2323 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2321 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
2326 2327 2328 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2326 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
2331 2332 2333 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2331 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
2336 2337 2338 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2336 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
2341 2342 2343 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2341 def convert_undefined_to_value @convert_undefined_to_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2348 2349 2350 2351 2352 2353 2354 |
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2348 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 |