class Google::Apis::DfareportingV2_1::Metric

Represents a metric.

Attributes

kind[RW]

The kind of resource this is, in this case dfareporting#metric. Corresponds to the JSON property `kind` @return [String]

name[RW]

The metric name, e.g. dfa:impressions Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6342
def update!(**args)
  @kind = args[:kind] unless args[:kind].nil?
  @name = args[:name] unless args[:name].nil?
end