Class: Google::Apis::DfareportingV2_8::UserDefinedVariableConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_8::UserDefinedVariableConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_8/classes.rb,
generated/google/apis/dfareporting_v2_8/representations.rb,
generated/google/apis/dfareporting_v2_8/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserDefinedVariableConfiguration
Returns a new instance of UserDefinedVariableConfiguration
11575 11576 11577 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11575 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
11561 11562 11563 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11561 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
11568 11569 11570 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11568 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
11573 11574 11575 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11573 def variable_type @variable_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11580 11581 11582 11583 11584 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 11580 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 |