Skip to content

Commit bc1a3e1

Browse files
committed
Merge pull request #1752 from rimey/no-money
The API does not support ValueType.MONEY.
2 parents 8491da2 + 18abfcf commit bc1a3e1

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

gcloud/monitoring/metric.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class ValueType(object):
5353
DOUBLE = 'DOUBLE'
5454
STRING = 'STRING'
5555
DISTRIBUTION = 'DISTRIBUTION'
56-
MONEY = 'MONEY'
5756

5857

5958
class MetricDescriptor(object):
@@ -84,8 +83,7 @@ class MetricDescriptor(object):
8483
:param value_type:
8584
The value type of the metric. It must be one of :data:`ValueType.BOOL`,
8685
:data:`ValueType.INT64`, :data:`ValueType.DOUBLE`,
87-
:data:`ValueType.STRING`, :data:`ValueType.DISTRIBUTION`,
88-
or :data:`ValueType.MONEY`.
86+
:data:`ValueType.STRING`, or :data:`ValueType.DISTRIBUTION`.
8987
See :class:`ValueType`.
9088
9189
:type unit: string

gcloud/monitoring/timeseries.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ class TimeSeries(collections.namedtuple(
4848
:param value_type:
4949
The value type of the metric: :data:`ValueType.BOOL`,
5050
:data:`ValueType.INT64`, :data:`ValueType.DOUBLE`,
51-
:data:`ValueType.STRING`, :data:`ValueType.DISTRIBUTION`,
52-
or :data:`ValueType.MONEY`.
51+
:data:`ValueType.STRING`, or :data:`ValueType.DISTRIBUTION`.
5352
See :class:`~gcloud.monitoring.metric.ValueType`.
5453
5554
:type points: list of :class:`Point`

0 commit comments

Comments
 (0)