class Google::Apis::IamV1::CounterOptions
Options for counters
Attributes
field[RW]
The field value to attribute. Corresponds to the JSON property `field` @return [String]
metric[RW]
The metric to update. Corresponds to the JSON property `metric` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/iam_v1/classes.rb, line 559 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/iam_v1/classes.rb, line 564 def update!(**args) @metric = args[:metric] if args.key?(:metric) @field = args[:field] if args.key?(:field) end