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

Constructor Details

#initialize(**args) ⇒ VariableFormatValue

Returns a new instance of VariableFormatValue.



2487
2488
2489
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2487

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)


2465
2466
2467
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2465

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



2470
2471
2472
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2470

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



2475
2476
2477
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2475

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



2480
2481
2482
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2480

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



2485
2486
2487
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2485

def convert_undefined_to_value
  @convert_undefined_to_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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