Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMetricAttributes

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#attributesArray<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

#nameString

The name of the metric. Corresponds to the JSON property name

Returns:

  • (String)


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