Class: Google::Cloud::Bigquery::Migration::V2::TimeSeries

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/bigquery/migration/v2/migration_metrics.rb

Overview

The metrics object for a SubTask.

Instance Attribute Summary collapse

Instance Attribute Details

#metric::String

Returns Required. The name of the metric.

If the metric is not known by the service yet, it will be auto-created.

Returns:

  • (::String)

    Required. The name of the metric.

    If the metric is not known by the service yet, it will be auto-created.



52
53
54
55
# File 'proto_docs/google/cloud/bigquery/migration/v2/migration_metrics.rb', line 52

class TimeSeries
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#metric_kind::Google::Api::MetricDescriptor::MetricKind

Returns Optional. The metric kind of the time series.

If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.

Returns:

  • (::Google::Api::MetricDescriptor::MetricKind)

    Optional. The metric kind of the time series.

    If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.



52
53
54
55
# File 'proto_docs/google/cloud/bigquery/migration/v2/migration_metrics.rb', line 52

class TimeSeries
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#points::Array<::Google::Cloud::Bigquery::Migration::V2::Point>

Returns Required. The data points of this time series. When listing time series, points are returned in reverse time order.

When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.

Returns:

  • (::Array<::Google::Cloud::Bigquery::Migration::V2::Point>)

    Required. The data points of this time series. When listing time series, points are returned in reverse time order.

    When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.



52
53
54
55
# File 'proto_docs/google/cloud/bigquery/migration/v2/migration_metrics.rb', line 52

class TimeSeries
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value_type::Google::Api::MetricDescriptor::ValueType

Returns Required. The value type of the time series.

Returns:



52
53
54
55
# File 'proto_docs/google/cloud/bigquery/migration/v2/migration_metrics.rb', line 52

class TimeSeries
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end