Class: Google::Apis::MonitoringV1::ChartOptions
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV1::ChartOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v1/classes.rb,
lib/google/apis/monitoring_v1/representations.rb,
lib/google/apis/monitoring_v1/representations.rb
Overview
Options to control visual rendering of a chart.
Instance Attribute Summary collapse
-
#mode ⇒ String
The chart mode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChartOptions
constructor
A new instance of ChartOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChartOptions
Returns a new instance of ChartOptions.
173 174 175 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 173 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ String
The chart mode.
Corresponds to the JSON property mode
171 172 173 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 171 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
178 179 180 |
# File 'lib/google/apis/monitoring_v1/classes.rb', line 178 def update!(**args) @mode = args[:mode] if args.key?(:mode) end |