Class: Google::Apis::DfareportingV2_1::UserDefinedVariableConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::UserDefinedVariableConfiguration
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/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::Hashable
Constructor Details
#initialize(**args) ⇒ UserDefinedVariableConfiguration
Returns a new instance of UserDefinedVariableConfiguration
10434 10435 10436 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10434 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
10420 10421 10422 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10420 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
10427 10428 10429 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10427 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
10432 10433 10434 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10432 def variable_type @variable_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10439 10440 10441 10442 10443 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 10439 def update!(**args) @data_type = args[:data_type] unless args[:data_type].nil? @report_name = args[:report_name] unless args[:report_name].nil? @variable_type = args[:variable_type] unless args[:variable_type].nil? end |