class Google::Apis::DoubleclicksearchV2::CustomMetric

A message containing the custome metric.

Attributes

name[RW]

Custom metric name. Corresponds to the JSON property `name` @return [String]

value[RW]

Custom metric numeric value. Corresponds to the JSON property `value` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/doubleclicksearch_v2/classes.rb, line 375
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/doubleclicksearch_v2/classes.rb, line 380
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @value = args[:value] if args.key?(:value)
end