Class: Google::Apis::DoubleclicksearchV2::CustomDimension
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclicksearchV2::CustomDimension
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/doubleclicksearch_v2/classes.rb,
generated/google/apis/doubleclicksearch_v2/representations.rb,
generated/google/apis/doubleclicksearch_v2/representations.rb
Overview
A message containing the custome dimension.
Instance Attribute Summary collapse
-
#name ⇒ String
Custom dimension name.
-
#value ⇒ String
Custom dimension value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomDimension
constructor
A new instance of CustomDimension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomDimension
Returns a new instance of CustomDimension.
350 351 352 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 350 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Custom dimension name.
Corresponds to the JSON property name
343 344 345 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 343 def name @name end |
#value ⇒ String
Custom dimension value.
Corresponds to the JSON property value
348 349 350 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 348 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
355 356 357 358 |
# File 'generated/google/apis/doubleclicksearch_v2/classes.rb', line 355 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |