@@ -219,11 +219,9 @@ def _ensure_loaded(self, timeout=_DEFAULT_TIMEOUT):
219
219
"""Load if not already loaded.
220
220
221
221
:type timeout: float or tuple
222
- :param timeout: (Optional) The amount of time, in seconds, to wait
223
- for the server response.
224
-
225
- Can also be passed as a tuple (connect_timeout, read_timeout).
226
- See :meth:`requests.Session.request` documentation for details.
222
+ :param timeout:
223
+ (Optional) The amount of time, in seconds, to wait
224
+ for the server response. See: :ref:`configuring_timeouts`
227
225
"""
228
226
if not self .loaded :
229
227
self .reload (timeout = timeout )
@@ -442,20 +440,13 @@ def reload(self, client=None, timeout=_DEFAULT_TIMEOUT, retry=DEFAULT_RETRY):
442
440
:param client: (Optional) The client to use. If not passed, falls back
443
441
to the ``client`` stored on the ACL's parent.
444
442
:type timeout: float or tuple
445
- :param timeout: (Optional) The amount of time, in seconds, to wait
446
- for the server response.
447
-
448
- Can also be passed as a tuple (connect_timeout, read_timeout).
449
- See :meth:`requests.Session.request` documentation for details.
443
+ :param timeout:
444
+ (Optional) The amount of time, in seconds, to wait
445
+ for the server response. See: :ref:`configuring_timeouts`
450
446
451
447
:type retry: :class:`~google.api_core.retry.Retry`
452
- :param retry: (Optional) How to retry the RPC.
453
-
454
- A None value will disable retries.
455
-
456
- A google.api_core.retry.Retry value will enable retries,
457
- and the object will define retriable response codes and errors
458
- and configure backoff and timeout options.
448
+ :param retry:
449
+ (Optional) How to retry the RPC. See: :ref:`configuring_retries`
459
450
"""
460
451
path = self .reload_path
461
452
client = self ._require_client (client )
@@ -489,21 +480,15 @@ def _save(self, acl, predefined, client, timeout=_DEFAULT_TIMEOUT):
489
480
``NoneType``
490
481
:param client: (Optional) The client to use. If not passed, falls back
491
482
to the ``client`` stored on the ACL's parent.
492
- :type timeout: float or tuple
493
- :param timeout: (Optional) The amount of time, in seconds, to wait
494
- for the server response.
495
483
496
- Can also be passed as a tuple (connect_timeout, read_timeout).
497
- See :meth:`requests.Session.request` documentation for details.
484
+ :type timeout: float or tuple
485
+ :param timeout:
486
+ (Optional) The amount of time, in seconds, to wait
487
+ for the server response. See: :ref:`configuring_timeouts`
498
488
499
489
:type retry: :class:`~google.api_core.retry.Retry`
500
- :param retry: (Optional) How to retry the RPC.
501
-
502
- A None value will disable retries.
503
-
504
- A google.api_core.retry.Retry value will enable retries,
505
- and the object will define retriable response codes and errors
506
- and configure backoff and timeout options.
490
+ :param retry:
491
+ (Optional) How to retry the RPC. See: :ref:`configuring_retries`
507
492
"""
508
493
client = self ._require_client (client )
509
494
query_params = {"projection" : "full" }
@@ -545,12 +530,11 @@ def save(self, acl=None, client=None, timeout=_DEFAULT_TIMEOUT):
545
530
``NoneType``
546
531
:param client: (Optional) The client to use. If not passed, falls back
547
532
to the ``client`` stored on the ACL's parent.
548
- :type timeout: float or tuple
549
- :param timeout: (Optional) The amount of time, in seconds, to wait
550
- for the server response.
551
533
552
- Can also be passed as a tuple (connect_timeout, read_timeout).
553
- See :meth:`requests.Session.request` documentation for details.
534
+ :type timeout: float or tuple
535
+ :param timeout:
536
+ (Optional) The amount of time, in seconds, to wait
537
+ for the server response. See: :ref:`configuring_timeouts`
554
538
"""
555
539
if acl is None :
556
540
acl = self
@@ -577,12 +561,11 @@ def save_predefined(self, predefined, client=None, timeout=_DEFAULT_TIMEOUT):
577
561
``NoneType``
578
562
:param client: (Optional) The client to use. If not passed, falls back
579
563
to the ``client`` stored on the ACL's parent.
580
- :type timeout: float or tuple
581
- :param timeout: (Optional) The amount of time, in seconds, to wait
582
- for the server response.
583
564
584
- Can also be passed as a tuple (connect_timeout, read_timeout).
585
- See :meth:`requests.Session.request` documentation for details.
565
+ :type timeout: float or tuple
566
+ :param timeout:
567
+ (Optional) The amount of time, in seconds, to wait
568
+ for the server response. See: :ref:`configuring_timeouts`
586
569
"""
587
570
predefined = self .validate_predefined (predefined )
588
571
self ._save (None , predefined , client , timeout = timeout )
@@ -601,12 +584,11 @@ def clear(self, client=None, timeout=_DEFAULT_TIMEOUT):
601
584
``NoneType``
602
585
:param client: (Optional) The client to use. If not passed, falls back
603
586
to the ``client`` stored on the ACL's parent.
604
- :type timeout: float or tuple
605
- :param timeout: (Optional) The amount of time, in seconds, to wait
606
- for the server response.
607
587
608
- Can also be passed as a tuple (connect_timeout, read_timeout).
609
- See :meth:`requests.Session.request` documentation for details.
588
+ :type timeout: float or tuple
589
+ :param timeout:
590
+ (Optional) The amount of time, in seconds, to wait
591
+ for the server response. See: :ref:`configuring_timeouts`
610
592
"""
611
593
self .save ([], client = client , timeout = timeout )
612
594
0 commit comments