Module Import alias Assign NameStore Str Assign NameStore Dict Str Str Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Num Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore ListLoad Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Dict Str Str Str Str Str Dict Str Str NameLoad NameLoad Dict Str Str NameLoad NameLoad NameLoad NameLoad ListLoad Dict Str Str Dict Str Str NameLoad NameLoad Dict Str NameLoad Dict Str Str Dict Str Str NameLoad NameLoad Dict Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Dict Str Str NameLoad NameLoad Dict Str Str NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Dict Str Str NameLoad NameLoad Dict Str Str NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Dict Str Str Dict Str Str NameLoad NameLoad Dict Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Dict Str Str Dict Str NameLoad Dict Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpSub BinOpPow Num Num Num Assign NameStore Dict Str Str Dict Str NameLoad Dict Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A unittest2 N/A METRIC_TYPE compute.googleapis.com/instance/uptime N/A METRIC_LABELS N/A instance_name instance-1 N/A RESOURCE_TYPE gce_instance N/A RESOURCE_LABELS N/A project_id zone instance_id my-project us-east1-a 1234567890123456789 N/A METRIC_KIND DELTA N/A VALUE_TYPE DOUBLE N/A TS0 2016-04-06T22:05:00.042Z N/A TS1 2016-04-06T22:05:01.042Z N/A TS2 2016-04-06T22:05:02.042Z TestTimeSeries N/A N/A unittest2 TestCase N/A _getTargetClass N/A N/A self N/A N/A gcloud.monitoring.timeseries TimeSeries N/A TimeSeries N/A _makeOne N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self _getTargetClass args kwargs N/A test_constructor N/A N/A self N/A N/A gcloud.monitoring.metric Metric gcloud.monitoring.resource Resource gcloud.monitoring.timeseries Point N/A VALUE 60 N/A METRIC N/A Metric type METRIC_TYPE labels METRIC_LABELS N/A RESOURCE N/A Resource type RESOURCE_TYPE labels RESOURCE_LABELS N/A POINTS N/A N/A Point start_time TS0 end_time TS1 value VALUE N/A Point start_time TS1 end_time TS2 value VALUE N/A series N/A N/A self _makeOne metric METRIC resource RESOURCE metric_kind METRIC_KIND value_type VALUE_TYPE points POINTS N/A N/A N/A self assertEqual N/A series metric METRIC N/A N/A N/A self assertEqual N/A series resource RESOURCE N/A N/A N/A self assertEqual N/A series metric_kind METRIC_KIND N/A N/A N/A self assertEqual N/A series value_type VALUE_TYPE N/A N/A N/A self assertEqual N/A series points POINTS N/A test_from_dict N/A N/A self N/A N/A N/A VALUE 60 N/A info N/A metric resource metricKind valueType points N/A type labels METRIC_TYPE METRIC_LABELS N/A type labels RESOURCE_TYPE RESOURCE_LABELS METRIC_KIND VALUE_TYPE N/A N/A interval value N/A startTime endTime TS0 TS1 N/A doubleValue VALUE N/A interval value N/A startTime endTime TS1 TS2 N/A doubleValue VALUE N/A series N/A N/A N/A N/A self _getTargetClass _from_dict info N/A N/A N/A self assertEqual N/A N/A series metric type METRIC_TYPE N/A N/A N/A self assertEqual N/A N/A series metric labels METRIC_LABELS N/A N/A N/A self assertEqual N/A N/A series resource type RESOURCE_TYPE N/A N/A N/A self assertEqual N/A N/A series resource labels RESOURCE_LABELS N/A N/A N/A self assertEqual N/A series metric_kind METRIC_KIND N/A N/A N/A self assertEqual N/A series value_type VALUE_TYPE N/A N/A N/A self assertEqual N/A len N/A series points 2 N/A N/A point1 point2 N/A series points N/A N/A N/A self assertEqual N/A point1 start_time TS0 N/A N/A N/A self assertEqual N/A point1 end_time TS1 N/A N/A N/A self assertEqual N/A point1 value VALUE N/A N/A N/A self assertEqual N/A point2 start_time TS1 N/A N/A N/A self assertEqual N/A point2 end_time TS2 N/A N/A N/A self assertEqual N/A point2 value VALUE N/A test_from_dict_no_points N/A N/A self N/A N/A N/A info N/A metric resource metricKind valueType N/A type labels METRIC_TYPE METRIC_LABELS N/A type labels RESOURCE_TYPE RESOURCE_LABELS METRIC_KIND VALUE_TYPE N/A series N/A N/A N/A N/A self _getTargetClass _from_dict info N/A N/A N/A self assertEqual N/A N/A series metric type METRIC_TYPE N/A N/A N/A self assertEqual N/A N/A series metric labels METRIC_LABELS N/A N/A N/A self assertEqual N/A N/A series resource type RESOURCE_TYPE N/A N/A N/A self assertEqual N/A N/A series resource labels RESOURCE_LABELS N/A N/A N/A self assertEqual N/A series metric_kind METRIC_KIND N/A N/A N/A self assertEqual N/A series value_type VALUE_TYPE N/A N/A N/A self assertEqual N/A series points N/A N/A test_labels N/A N/A self N/A N/A N/A info N/A metric resource metricKind valueType N/A type labels METRIC_TYPE METRIC_LABELS N/A type labels RESOURCE_TYPE RESOURCE_LABELS METRIC_KIND VALUE_TYPE N/A series N/A N/A N/A N/A self _getTargetClass _from_dict info N/A labels N/A resource_type RESOURCE_TYPE N/A N/A N/A labels update RESOURCE_LABELS N/A N/A N/A labels update METRIC_LABELS N/A N/A N/A self assertIsNone N/A series _labels N/A N/A N/A self assertEqual N/A series labels labels N/A N/A N/A self assertIsNotNone N/A series _labels N/A N/A N/A self assertEqual N/A series labels labels N/A N/A TestPoint N/A N/A unittest2 TestCase N/A _getTargetClass N/A N/A self N/A N/A gcloud.monitoring.timeseries Point N/A Point N/A _makeOne N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self _getTargetClass args kwargs N/A test_constructor N/A N/A self N/A N/A N/A VALUE 3.14 N/A point N/A N/A self _makeOne start_time TS0 end_time TS1 value VALUE N/A N/A N/A self assertEqual N/A point start_time TS0 N/A N/A N/A self assertEqual N/A point end_time TS1 N/A N/A N/A self assertEqual N/A point value VALUE N/A test_from_dict N/A N/A self N/A N/A N/A VALUE 3.14 N/A info N/A interval value N/A startTime endTime TS0 TS1 N/A doubleValue VALUE N/A point N/A N/A N/A N/A self _getTargetClass _from_dict info N/A N/A N/A self assertEqual N/A point start_time TS0 N/A N/A N/A self assertEqual N/A point end_time TS1 N/A N/A N/A self assertEqual N/A point value VALUE N/A test_from_dict_defaults N/A N/A self N/A N/A N/A VALUE 3.14 N/A info N/A interval value N/A endTime TS1 N/A doubleValue VALUE N/A point N/A N/A N/A N/A self _getTargetClass _from_dict info N/A N/A N/A self assertIsNone N/A point start_time N/A N/A N/A self assertEqual N/A point end_time TS1 N/A N/A N/A self assertEqual N/A point value VALUE N/A test_from_dict_int64 N/A N/A self N/A N/A N/A VALUE N/A N/A 2 63 1 N/A info N/A interval value N/A endTime TS1 N/A int64Value N/A str VALUE N/A point N/A N/A N/A N/A self _getTargetClass _from_dict info N/A N/A N/A self assertIsNone N/A point start_time N/A N/A N/A self assertEqual N/A point end_time TS1 N/A N/A N/A self assertEqual N/A point value VALUE N/A N/A