Skip to content

Commit 993adbf

Browse files
authored
Merge pull request #2580 from tswast/int-not-integer
Replaces integer with int in types and rtypes.
2 parents b2d6a2c + 0b4bd9c commit 993adbf

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

packages/google-cloud-monitoring/google/cloud/monitoring/client.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ def query(self,
102102
:meth:`~google.cloud.monitoring.query.Query.select_interval`
103103
must be called before the query is executed.
104104
105-
:type days: integer
105+
:type days: int
106106
:param days: The number of days in the time interval.
107107
108-
:type hours: integer
108+
:type hours: int
109109
:param hours: The number of hours in the time interval.
110110
111-
:type minutes: integer
111+
:type minutes: int
112112
:param minutes: The number of minutes in the time interval.
113113
114114
:rtype: :class:`~google.cloud.monitoring.query.Query`

packages/google-cloud-monitoring/google/cloud/monitoring/query.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ class Query(object):
100100
:meth:`~google.cloud.monitoring.query.Query.select_interval`
101101
must be called before the query is executed.
102102
103-
:type days: integer
103+
:type days: int
104104
:param days: The number of days in the time interval.
105105
106-
:type hours: integer
106+
:type hours: int
107107
:param hours: The number of hours in the time interval.
108108
109-
:type minutes: integer
109+
:type minutes: int
110110
:param minutes: The number of minutes in the time interval.
111111
112112
:raises: :exc:`ValueError` if ``end_time`` is specified but
@@ -368,13 +368,13 @@ def align(self, per_series_aligner, seconds=0, minutes=0, hours=0):
368368
See :class:`Aligner` and the descriptions of the `supported
369369
aligners`_.
370370
371-
:type seconds: integer
371+
:type seconds: int
372372
:param seconds: The number of seconds in the alignment period.
373373
374-
:type minutes: integer
374+
:type minutes: int
375375
:param minutes: The number of minutes in the alignment period.
376376
377-
:type hours: integer
377+
:type hours: int
378378
:param hours: The number of hours in the alignment period.
379379
380380
:rtype: :class:`Query`
@@ -446,7 +446,7 @@ def iter(self, headers_only=False, page_size=None):
446446
:param headers_only:
447447
Whether to omit the point data from the time series objects.
448448
449-
:type page_size: integer or None
449+
:type page_size: int or None
450450
:param page_size:
451451
An optional positive number specifying the maximum number of
452452
points to return per page. This can be used to control how far
@@ -510,7 +510,7 @@ def _build_query_params(self, headers_only=False,
510510
Whether to omit the point data from the
511511
:class:`~google.cloud.monitoring.timeseries.TimeSeries` objects.
512512
513-
:type page_size: integer or None
513+
:type page_size: int or None
514514
:param page_size: A limit on the number of points to return per page.
515515
516516
:type page_token: str or None

0 commit comments

Comments
 (0)