class Google::Apis::MonitoringV1::Axis

A chart axis.

Attributes

label[RW]

The label of the axis. Corresponds to the JSON property `label` @return [String]

scale[RW]

The axis scale. By default, a linear scale is used. Corresponds to the JSON property `scale` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/monitoring_v1/classes.rb, line 158
def update!(**args)
  @label = args[:label] if args.key?(:label)
  @scale = args[:scale] if args.key?(:scale)
end