@@ -191,13 +191,18 @@ def list_entries(
191
191
or :data:`~google.cloud.logging.DESCENDING`.
192
192
193
193
:type page_size: int
194
- :param page_size: maximum number of entries to return, If not passed,
195
- defaults to a value set by the API.
194
+ :param page_size:
195
+ Optional. The maximum number of entries in each page of results
196
+ from this request. Non-positive values are ignored. Defaults
197
+ to a sensible value set by the API.
196
198
197
199
:type page_token: str
198
- :param page_token: opaque marker for the next "page" of entries. If not
199
- passed, the API will return the first page of
200
- entries.
200
+ :param page_token:
201
+ Optional. If present, return the next batch of entries, using
202
+ the value, which must correspond to the ``nextPageToken`` value
203
+ returned in the previous response. Deprecated: use the ``pages``
204
+ property of the returned iterator instead of manually passing
205
+ the token.
201
206
202
207
:rtype: :class:`~google.api_core.page_iterator.Iterator`
203
208
:returns: Iterator of :class:`~google.cloud.logging.entries._BaseEntry`
@@ -244,13 +249,18 @@ def list_sinks(self, page_size=None, page_token=None):
244
249
https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.sinks/list
245
250
246
251
:type page_size: int
247
- :param page_size: maximum number of sinks to return, If not passed,
248
- defaults to a value set by the API.
252
+ :param page_size:
253
+ Optional. The maximum number of sinks in each page of results from
254
+ this request. Non-positive values are ignored. Defaults to a
255
+ sensible value set by the API.
249
256
250
257
:type page_token: str
251
- :param page_token: opaque marker for the next "page" of sinks. If not
252
- passed, the API will return the first page of
253
- sinks.
258
+ :param page_token:
259
+ Optional. If present, return the next batch of sinks, using the
260
+ value, which must correspond to the ``nextPageToken`` value
261
+ returned in the previous response. Deprecated: use the ``pages``
262
+ property of the returned iterator instead of manually passing the
263
+ token.
254
264
255
265
:rtype: :class:`~google.api_core.page_iterator.Iterator`
256
266
:returns: Iterator of
@@ -288,13 +298,18 @@ def list_metrics(self, page_size=None, page_token=None):
288
298
https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.metrics/list
289
299
290
300
:type page_size: int
291
- :param page_size: maximum number of metrics to return, If not passed,
292
- defaults to a value set by the API.
301
+ :param page_size:
302
+ Optional. The maximum number of metrics in each page of results
303
+ from this request. Non-positive values are ignored. Defaults to a
304
+ sensible value set by the API.
293
305
294
306
:type page_token: str
295
- :param page_token: opaque marker for the next "page" of metrics. If not
296
- passed, the API will return the first page of
297
- metrics.
307
+ :param page_token:
308
+ Optional. If present, return the next batch of metrics, using the
309
+ value, which must correspond to the ``nextPageToken`` value
310
+ returned in the previous response. Deprecated: use the ``pages``
311
+ property of the returned iterator instead of manually passing the
312
+ token.
298
313
299
314
:rtype: :class:`~google.api_core.page_iterator.Iterator`
300
315
:returns: Iterator of :class:`~google.cloud.logging.metric.Metric`
0 commit comments