Class: Google::Apis::DiscoveryengineV1alpha::GoogleMonitoringV3Point
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleMonitoringV3Point
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
A single data point in a time series.
Instance Attribute Summary collapse
-
#interval ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleMonitoringV3TimeInterval
A time interval extending just after a start time through an end time.
-
#value ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleMonitoringV3TypedValue
A single strongly-typed value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMonitoringV3Point
constructor
A new instance of GoogleMonitoringV3Point.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMonitoringV3Point
Returns a new instance of GoogleMonitoringV3Point.
22703 22704 22705 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22703 def initialize(**args) update!(**args) end |
Instance Attribute Details
#interval ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleMonitoringV3TimeInterval
A time interval extending just after a start time through an end time. If the
start time is the same as the end time, then the interval represents a single
point in time.
Corresponds to the JSON property interval
22696 22697 22698 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22696 def interval @interval end |
#value ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleMonitoringV3TypedValue
A single strongly-typed value.
Corresponds to the JSON property value
22701 22702 22703 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22701 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22708 22709 22710 22711 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22708 def update!(**args) @interval = args[:interval] if args.key?(:interval) @value = args[:value] if args.key?(:value) end |