Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

docs: document enum values with undoc-members option #69

Merged
merged 4 commits into from Jan 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .coveragerc
Expand Up @@ -5,7 +5,7 @@ branch = True
fail_under = 100
show_missing = True
omit =
google/cloud/bigquery/reservation/__init__.py
google/cloud/bigquery_reservation/__init__.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
Expand Down
11 changes: 11 additions & 0 deletions docs/bigquery_reservation_v1/reservation_service.rst
@@ -0,0 +1,11 @@
ReservationService
------------------------------------

.. automodule:: google.cloud.bigquery_reservation_v1.services.reservation_service
:members:
:inherited-members:


.. automodule:: google.cloud.bigquery_reservation_v1.services.reservation_service.pagers
:members:
:inherited-members:
6 changes: 3 additions & 3 deletions docs/bigquery_reservation_v1/services.rst
@@ -1,6 +1,6 @@
Services for Google Cloud Bigquery Reservation v1 API
=====================================================
.. toctree::
:maxdepth: 2

.. automodule:: google.cloud.bigquery_reservation_v1.services.reservation_service
:members:
:inherited-members:
reservation_service
1 change: 1 addition & 0 deletions docs/bigquery_reservation_v1/types.rst
Expand Up @@ -3,4 +3,5 @@ Types for Google Cloud Bigquery Reservation v1 API

.. automodule:: google.cloud.bigquery_reservation_v1.types
:members:
:undoc-members:
:show-inheritance:

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Expand Up @@ -24,7 +24,7 @@ class ListReservationsPager:
"""A pager for iterating through ``list_reservations`` requests.

This class thinly wraps an initial
:class:`~.reservation.ListReservationsResponse` object, and
:class:`google.cloud.bigquery_reservation_v1.types.ListReservationsResponse` object, and
provides an ``__iter__`` method to iterate through its
``reservations`` field.

Expand All @@ -33,7 +33,7 @@ class ListReservationsPager:
through the ``reservations`` field on the
corresponding responses.

All the usual :class:`~.reservation.ListReservationsResponse`
All the usual :class:`google.cloud.bigquery_reservation_v1.types.ListReservationsResponse`
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
"""
Expand All @@ -51,9 +51,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.reservation.ListReservationsRequest`):
request (google.cloud.bigquery_reservation_v1.types.ListReservationsRequest):
The initial request object.
response (:class:`~.reservation.ListReservationsResponse`):
response (google.cloud.bigquery_reservation_v1.types.ListReservationsResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down Expand Up @@ -86,7 +86,7 @@ class ListReservationsAsyncPager:
"""A pager for iterating through ``list_reservations`` requests.

This class thinly wraps an initial
:class:`~.reservation.ListReservationsResponse` object, and
:class:`google.cloud.bigquery_reservation_v1.types.ListReservationsResponse` object, and
provides an ``__aiter__`` method to iterate through its
``reservations`` field.

Expand All @@ -95,7 +95,7 @@ class ListReservationsAsyncPager:
through the ``reservations`` field on the
corresponding responses.

All the usual :class:`~.reservation.ListReservationsResponse`
All the usual :class:`google.cloud.bigquery_reservation_v1.types.ListReservationsResponse`
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
"""
Expand All @@ -113,9 +113,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.reservation.ListReservationsRequest`):
request (google.cloud.bigquery_reservation_v1.types.ListReservationsRequest):
The initial request object.
response (:class:`~.reservation.ListReservationsResponse`):
response (google.cloud.bigquery_reservation_v1.types.ListReservationsResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down Expand Up @@ -152,7 +152,7 @@ class ListCapacityCommitmentsPager:
"""A pager for iterating through ``list_capacity_commitments`` requests.

This class thinly wraps an initial
:class:`~.reservation.ListCapacityCommitmentsResponse` object, and
:class:`google.cloud.bigquery_reservation_v1.types.ListCapacityCommitmentsResponse` object, and
provides an ``__iter__`` method to iterate through its
``capacity_commitments`` field.

Expand All @@ -161,7 +161,7 @@ class ListCapacityCommitmentsPager:
through the ``capacity_commitments`` field on the
corresponding responses.

All the usual :class:`~.reservation.ListCapacityCommitmentsResponse`
All the usual :class:`google.cloud.bigquery_reservation_v1.types.ListCapacityCommitmentsResponse`
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
"""
Expand All @@ -179,9 +179,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.reservation.ListCapacityCommitmentsRequest`):
request (google.cloud.bigquery_reservation_v1.types.ListCapacityCommitmentsRequest):
The initial request object.
response (:class:`~.reservation.ListCapacityCommitmentsResponse`):
response (google.cloud.bigquery_reservation_v1.types.ListCapacityCommitmentsResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down Expand Up @@ -214,7 +214,7 @@ class ListCapacityCommitmentsAsyncPager:
"""A pager for iterating through ``list_capacity_commitments`` requests.

This class thinly wraps an initial
:class:`~.reservation.ListCapacityCommitmentsResponse` object, and
:class:`google.cloud.bigquery_reservation_v1.types.ListCapacityCommitmentsResponse` object, and
provides an ``__aiter__`` method to iterate through its
``capacity_commitments`` field.

Expand All @@ -223,7 +223,7 @@ class ListCapacityCommitmentsAsyncPager:
through the ``capacity_commitments`` field on the
corresponding responses.

All the usual :class:`~.reservation.ListCapacityCommitmentsResponse`
All the usual :class:`google.cloud.bigquery_reservation_v1.types.ListCapacityCommitmentsResponse`
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
"""
Expand All @@ -241,9 +241,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.reservation.ListCapacityCommitmentsRequest`):
request (google.cloud.bigquery_reservation_v1.types.ListCapacityCommitmentsRequest):
The initial request object.
response (:class:`~.reservation.ListCapacityCommitmentsResponse`):
response (google.cloud.bigquery_reservation_v1.types.ListCapacityCommitmentsResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down Expand Up @@ -280,7 +280,7 @@ class ListAssignmentsPager:
"""A pager for iterating through ``list_assignments`` requests.

This class thinly wraps an initial
:class:`~.reservation.ListAssignmentsResponse` object, and
:class:`google.cloud.bigquery_reservation_v1.types.ListAssignmentsResponse` object, and
provides an ``__iter__`` method to iterate through its
``assignments`` field.

Expand All @@ -289,7 +289,7 @@ class ListAssignmentsPager:
through the ``assignments`` field on the
corresponding responses.

All the usual :class:`~.reservation.ListAssignmentsResponse`
All the usual :class:`google.cloud.bigquery_reservation_v1.types.ListAssignmentsResponse`
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
"""
Expand All @@ -307,9 +307,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.reservation.ListAssignmentsRequest`):
request (google.cloud.bigquery_reservation_v1.types.ListAssignmentsRequest):
The initial request object.
response (:class:`~.reservation.ListAssignmentsResponse`):
response (google.cloud.bigquery_reservation_v1.types.ListAssignmentsResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down Expand Up @@ -342,7 +342,7 @@ class ListAssignmentsAsyncPager:
"""A pager for iterating through ``list_assignments`` requests.

This class thinly wraps an initial
:class:`~.reservation.ListAssignmentsResponse` object, and
:class:`google.cloud.bigquery_reservation_v1.types.ListAssignmentsResponse` object, and
provides an ``__aiter__`` method to iterate through its
``assignments`` field.

Expand All @@ -351,7 +351,7 @@ class ListAssignmentsAsyncPager:
through the ``assignments`` field on the
corresponding responses.

All the usual :class:`~.reservation.ListAssignmentsResponse`
All the usual :class:`google.cloud.bigquery_reservation_v1.types.ListAssignmentsResponse`
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
"""
Expand All @@ -369,9 +369,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.reservation.ListAssignmentsRequest`):
request (google.cloud.bigquery_reservation_v1.types.ListAssignmentsRequest):
The initial request object.
response (:class:`~.reservation.ListAssignmentsResponse`):
response (google.cloud.bigquery_reservation_v1.types.ListAssignmentsResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down Expand Up @@ -408,7 +408,7 @@ class SearchAssignmentsPager:
"""A pager for iterating through ``search_assignments`` requests.

This class thinly wraps an initial
:class:`~.reservation.SearchAssignmentsResponse` object, and
:class:`google.cloud.bigquery_reservation_v1.types.SearchAssignmentsResponse` object, and
provides an ``__iter__`` method to iterate through its
``assignments`` field.

Expand All @@ -417,7 +417,7 @@ class SearchAssignmentsPager:
through the ``assignments`` field on the
corresponding responses.

All the usual :class:`~.reservation.SearchAssignmentsResponse`
All the usual :class:`google.cloud.bigquery_reservation_v1.types.SearchAssignmentsResponse`
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
"""
Expand All @@ -435,9 +435,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.reservation.SearchAssignmentsRequest`):
request (google.cloud.bigquery_reservation_v1.types.SearchAssignmentsRequest):
The initial request object.
response (:class:`~.reservation.SearchAssignmentsResponse`):
response (google.cloud.bigquery_reservation_v1.types.SearchAssignmentsResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down Expand Up @@ -470,7 +470,7 @@ class SearchAssignmentsAsyncPager:
"""A pager for iterating through ``search_assignments`` requests.

This class thinly wraps an initial
:class:`~.reservation.SearchAssignmentsResponse` object, and
:class:`google.cloud.bigquery_reservation_v1.types.SearchAssignmentsResponse` object, and
provides an ``__aiter__`` method to iterate through its
``assignments`` field.

Expand All @@ -479,7 +479,7 @@ class SearchAssignmentsAsyncPager:
through the ``assignments`` field on the
corresponding responses.

All the usual :class:`~.reservation.SearchAssignmentsResponse`
All the usual :class:`google.cloud.bigquery_reservation_v1.types.SearchAssignmentsResponse`
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
"""
Expand All @@ -497,9 +497,9 @@ def __init__(
Args:
method (Callable): The method that was originally called, and
which instantiated this pager.
request (:class:`~.reservation.SearchAssignmentsRequest`):
request (google.cloud.bigquery_reservation_v1.types.SearchAssignmentsRequest):
The initial request object.
response (:class:`~.reservation.SearchAssignmentsResponse`):
response (google.cloud.bigquery_reservation_v1.types.SearchAssignmentsResponse):
The initial response object.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Expand Down