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.



44051
44052
44053
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44051

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



44044
44045
44046
# File 'lib/google/apis/searchads360_v23/classes.rb', line 44044

def attributes
  @attributes
end

#nameString

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

Returns:

  • (String)


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