Class: Google::Apis::TagmanagerV2::VariableFormatValue

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VariableFormatValue

Returns a new instance of VariableFormatValue.



2513
2514
2515
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2513

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#case_conversion_typeString

The option to convert a string-type variable value to either lowercase or uppercase. Corresponds to the JSON property caseConversionType

Returns:

  • (String)


2491
2492
2493
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2491

def case_conversion_type
  @case_conversion_type
end

#convert_false_to_valueGoogle::Apis::TagmanagerV2::Parameter

Represents a Google Tag Manager Parameter. Corresponds to the JSON property convertFalseToValue



2496
2497
2498
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2496

def convert_false_to_value
  @convert_false_to_value
end

#convert_null_to_valueGoogle::Apis::TagmanagerV2::Parameter

Represents a Google Tag Manager Parameter. Corresponds to the JSON property convertNullToValue



2501
2502
2503
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2501

def convert_null_to_value
  @convert_null_to_value
end

#convert_true_to_valueGoogle::Apis::TagmanagerV2::Parameter

Represents a Google Tag Manager Parameter. Corresponds to the JSON property convertTrueToValue



2506
2507
2508
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2506

def convert_true_to_value
  @convert_true_to_value
end

#convert_undefined_to_valueGoogle::Apis::TagmanagerV2::Parameter

Represents a Google Tag Manager Parameter. Corresponds to the JSON property convertUndefinedToValue



2511
2512
2513
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2511

def convert_undefined_to_value
  @convert_undefined_to_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2518
2519
2520
2521
2522
2523
2524
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2518

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