Class: Google::Apis::DiscoveryengineV1beta::GoogleMonitoringV3Point

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

A single data point in a time series.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleMonitoringV3Point

Returns a new instance of GoogleMonitoringV3Point.



22586
22587
22588
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 22586

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#intervalGoogle::Apis::DiscoveryengineV1beta::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



22579
22580
22581
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 22579

def interval
  @interval
end

#valueGoogle::Apis::DiscoveryengineV1beta::GoogleMonitoringV3TypedValue

A single strongly-typed value. Corresponds to the JSON property value



22584
22585
22586
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 22584

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22591
22592
22593
22594
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 22591

def update!(**args)
  @interval = args[:interval] if args.key?(:interval)
  @value = args[:value] if args.key?(:value)
end