Class: Google::Apis::DfareportingV3_4::CustomVariable
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::CustomVariable
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/representations.rb
Overview
Custom variable.
Instance Attribute Summary collapse
-
#index ⇒ Fixnum
The index of the custom variable.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#value ⇒ String
The value of the custom variable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomVariable
constructor
A new instance of CustomVariable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomVariable
Returns a new instance of CustomVariable.
5030 5031 5032 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5030 def initialize(**args) update!(**args) end |
Instance Attribute Details
#index ⇒ Fixnum
The index of the custom variable.
Corresponds to the JSON property index
5016 5017 5018 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5016 def index @index end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#customVariable".
Corresponds to the JSON property kind
5022 5023 5024 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5022 def kind @kind end |
#value ⇒ String
The value of the custom variable. The length of string must not exceed 50
characters.
Corresponds to the JSON property value
5028 5029 5030 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5028 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5035 5036 5037 5038 5039 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5035 def update!(**args) @index = args[:index] if args.key?(:index) @kind = args[:kind] if args.key?(:kind) @value = args[:value] if args.key?(:value) end |