Reference documentation and code samples for the BigQuery Migration V2 API class Google::Api::MetricDescriptor::MetricDescriptorMetadata.
Additional annotations that can be used to guide the usage of a metric.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ingest_delay
def ingest_delay() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
#ingest_delay=
def ingest_delay=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
Returns
- (::Google::Protobuf::Duration) — The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
#launch_stage
def launch_stage() -> ::Google::Api::LaunchStage
Returns
- (::Google::Api::LaunchStage) — Deprecated. Must use the MetricDescriptor.launch_stage instead.
#launch_stage=
def launch_stage=(value) -> ::Google::Api::LaunchStage
Parameter
- value (::Google::Api::LaunchStage) — Deprecated. Must use the MetricDescriptor.launch_stage instead.
Returns
- (::Google::Api::LaunchStage) — Deprecated. Must use the MetricDescriptor.launch_stage instead.
#sample_period
def sample_period() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
#sample_period=
def sample_period=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
Returns
- (::Google::Protobuf::Duration) — The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
#time_series_resource_hierarchy_level
def time_series_resource_hierarchy_level() -> ::Array<::Google::Api::MetricDescriptor::MetricDescriptorMetadata::TimeSeriesResourceHierarchyLevel>
Returns
- (::Array<::Google::Api::MetricDescriptor::MetricDescriptorMetadata::TimeSeriesResourceHierarchyLevel>) — The scope of the timeseries data of the metric.
#time_series_resource_hierarchy_level=
def time_series_resource_hierarchy_level=(value) -> ::Array<::Google::Api::MetricDescriptor::MetricDescriptorMetadata::TimeSeriesResourceHierarchyLevel>
Parameter
- value (::Array<::Google::Api::MetricDescriptor::MetricDescriptorMetadata::TimeSeriesResourceHierarchyLevel>) — The scope of the timeseries data of the metric.
Returns
- (::Array<::Google::Api::MetricDescriptor::MetricDescriptorMetadata::TimeSeriesResourceHierarchyLevel>) — The scope of the timeseries data of the metric.