class Google::Apis::ApigeeV1::GoogleCloudApigeeV1CustomReportMetric

This encapsulates a metric property of the form sum(message_count) where name is message_count and function is sum

Attributes

function[RW]

aggregate function Corresponds to the JSON property `function` @return [String]

name[RW]

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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