dataflow
v1b3
|
#include <job_metrics.h>
Public Member Functions | |
JobMetrics (const Json::Value &storage) | |
JobMetrics (Json::Value *storage) | |
virtual | ~JobMetrics () |
const StringPiece | GetTypeName () const |
bool | has_metric_time () const |
void | clear_metric_time () |
const StringPiece | get_metric_time () const |
void | set_metric_time (const StringPiece &value) |
bool | has_metrics () const |
void | clear_metrics () |
const client::JsonCppArray< MetricUpdate > | get_metrics () const |
client::JsonCppArray< MetricUpdate > | mutable_metrics () |
Static Public Member Functions | |
static JobMetrics * | New () |
JobMetrics contains a collection of metrics describing the detailed progress of a Dataflow job. Metrics correspond to user-defined and system-defined metrics in the job.
This resource captures only the most recent values of each metric; time-series data can be queried for them (under the same metric names) from Cloud Monitoring.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'metricTime
' attribute.
|
inline |
Clears the 'metrics
' attribute.
|
inline |
Get the value of the 'metricTime
' attribute.
const client::JsonCppArray<MetricUpdate > google_dataflow_api::JobMetrics::get_metrics | ( | ) | const |
Get a reference to the value of the 'metrics
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'metricTime
' attribute was set.
metricTime
' attribute was set.
|
inline |
Determine if the 'metrics
' attribute was set.
metrics
' attribute was set. client::JsonCppArray<MetricUpdate > google_dataflow_api::JobMetrics::mutable_metrics | ( | ) |
Gets a reference to a mutable value of the 'metrics
' property.
All metrics for this job.
|
static |
Creates a new default instance.
|
inline |
Change the 'metricTime
' attribute.
Timestamp as of which metric values are current.
[in] | value | The new value. |