Class: Google::Cloud::Bigquery::Migration::V2::Point
- Inherits:
-
Object
- Object
- Google::Cloud::Bigquery::Migration::V2::Point
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/bigquery/migration/v2/migration_metrics.rb
Overview
A single data point in a time series.
Instance Attribute Summary collapse
-
#interval ⇒ ::Google::Cloud::Bigquery::Migration::V2::TimeInterval
The time interval to which the data point applies.
-
#value ⇒ ::Google::Cloud::Bigquery::Migration::V2::TypedValue
The value of the data point.
Instance Attribute Details
#interval ⇒ ::Google::Cloud::Bigquery::Migration::V2::TimeInterval
Returns The time interval to which the data point applies. For GAUGE
metrics,
the start time does not need to be supplied, but if it is supplied, it must
equal the end time. For DELTA
metrics, the start and end time should
specify a non-zero interval, with subsequent points specifying contiguous
and non-overlapping intervals. For CUMULATIVE
metrics, the start and end
time should specify a non-zero interval, with subsequent points specifying
the same start time and increasing end times, until an event resets the
cumulative value to zero and sets a new start time for the following
points.
72 73 74 75 |
# File 'proto_docs/google/cloud/bigquery/migration/v2/migration_metrics.rb', line 72 class Point include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#value ⇒ ::Google::Cloud::Bigquery::Migration::V2::TypedValue
Returns The value of the data point.
72 73 74 75 |
# File 'proto_docs/google/cloud/bigquery/migration/v2/migration_metrics.rb', line 72 class Point include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |