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.
44051 44052 44053 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44051 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
44044 44045 44046 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44044 def attributes @attributes end |
#name ⇒ String
The name of the metric.
Corresponds to the JSON property name
44049 44050 44051 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44049 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44056 44057 44058 44059 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44056 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @name = args[:name] if args.key?(:name) end |