Additional annotations that can be used to guide the usage of a metric.
Generated from protobuf message google.api.MetricDescriptor.MetricDescriptorMetadata
Methods |
public __construct( $data = NULL) Constructor.
|
public clearIngestDelay() |
public clearSamplePeriod() |
public getIngestDelay() 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. Generated from protobuf field .google.protobuf.Duration ingest_delay = 3;
|
public getLaunchStage() Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead. Generated from protobuf field .google.api.LaunchStage launch_stage = 1 [deprecated = true];
|
public getSamplePeriod() 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. Generated from protobuf field .google.protobuf.Duration sample_period = 2;
|
public getTimeSeriesResourceHierarchyLevel() The scope of the timeseries data of the metric. Generated from protobuf field repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;
|
public hasIngestDelay() |
public hasSamplePeriod() |
public setIngestDelay( $var) 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. Generated from protobuf field .google.protobuf.Duration ingest_delay = 3;
|
public setLaunchStage( $var) Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead. Generated from protobuf field .google.api.LaunchStage launch_stage = 1 [deprecated = true];
|
public setSamplePeriod( $var) 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. Generated from protobuf field .google.protobuf.Duration sample_period = 2;
|
public setTimeSeriesResourceHierarchyLevel( $var) The scope of the timeseries data of the metric. Generated from protobuf field repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;
|
Properties |
protected $ingest_delay = NULL 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. Generated from protobuf field .google.protobuf.Duration ingest_delay = 3; |
protected $launch_stage = 0 Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead. Generated from protobuf field .google.api.LaunchStage launch_stage = 1 [deprecated = true];
|
protected $sample_period = NULL 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. Generated from protobuf field .google.protobuf.Duration sample_period = 2; |
Methods |
Properties |
private $time_series_resource_hierarchy_level = NULL The scope of the timeseries data of the metric. Generated from protobuf field repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4; |