class Google::Apis::DfareportingV3_3::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 lib/google/apis/dfareporting_v3_3/classes.rb, line 7043
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_3/classes.rb, line 7048
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
end