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



2288
2289
2290
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2288

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)


2266
2267
2268
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2266

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



2271
2272
2273
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2271

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



2276
2277
2278
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2276

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



2281
2282
2283
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2281

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



2286
2287
2288
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2286

def convert_undefined_to_value
  @convert_undefined_to_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2293
2294
2295
2296
2297
2298
2299
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2293

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