Class: Google::Apis::DfareportingV4::UserDefinedVariableConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::UserDefinedVariableConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
User Defined Variable configuration.
Instance Attribute Summary collapse
-
#data_type ⇒ String
Data type for the variable.
-
#report_name ⇒ String
User-friendly name for the variable which will appear in reports.
-
#variable_type ⇒ String
Variable name in the tag.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserDefinedVariableConfiguration
constructor
A new instance of UserDefinedVariableConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserDefinedVariableConfiguration
Returns a new instance of UserDefinedVariableConfiguration.
12801 12802 12803 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_type ⇒ String
Data type for the variable. This is a required field.
Corresponds to the JSON property dataType
12787 12788 12789 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12787 def data_type @data_type end |
#report_name ⇒ String
User-friendly name for the variable which will appear in reports. This is a
required field, must be less than 64 characters long, and cannot contain the
following characters: ""<>".
Corresponds to the JSON property reportName
12794 12795 12796 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12794 def report_name @report_name end |
#variable_type ⇒ String
Variable name in the tag. This is a required field.
Corresponds to the JSON property variableType
12799 12800 12801 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12799 def variable_type @variable_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12806 12807 12808 12809 12810 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12806 def update!(**args) @data_type = args[:data_type] if args.key?(:data_type) @report_name = args[:report_name] if args.key?(:report_name) @variable_type = args[:variable_type] if args.key?(:variable_type) end |