Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMetricAttributesAttribute
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMetricAttributesAttribute
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
The attribute of the metric in key value pair format.
Instance Attribute Summary collapse
-
#key ⇒ String
The key of the attribute.
-
#value ⇒ String
The value of the attribute.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMetricAttributesAttribute
constructor
A new instance of GoogleAdsSearchads360V23ServicesMetricAttributesAttribute.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMetricAttributesAttribute
Returns a new instance of GoogleAdsSearchads360V23ServicesMetricAttributesAttribute.
35584 35585 35586 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35584 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
The key of the attribute.
Corresponds to the JSON property key
35577 35578 35579 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35577 def key @key end |
#value ⇒ String
The value of the attribute.
Corresponds to the JSON property value
35582 35583 35584 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35582 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35589 35590 35591 35592 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35589 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |