Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMetricAttributes
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMetricAttributes
- 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
Indicates the attributes of metrics.
Instance Attribute Summary collapse
-
#attributes ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMetricAttributesAttribute>
The attributes of the metric.
-
#name ⇒ String
The name of the metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMetricAttributes
constructor
A new instance of GoogleAdsSearchads360V23ServicesMetricAttributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMetricAttributes
Returns a new instance of GoogleAdsSearchads360V23ServicesMetricAttributes.
43358 43359 43360 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43358 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMetricAttributesAttribute>
The attributes of the metric.
Corresponds to the JSON property attributes
43351 43352 43353 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43351 def attributes @attributes end |
#name ⇒ String
The name of the metric.
Corresponds to the JSON property name
43356 43357 43358 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43356 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43363 43364 43365 43366 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 43363 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @name = args[:name] if args.key?(:name) end |