google/cloud/bigquery/client.py
def list_datasets(self, include_all=False, filter=None, max_results=None,
                      page_token=None, retry=DEFAULT_RETRY):
        """List datasets for the project associated with this client.

        See
        https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list

        :type include_all: bool
        :param include_all: True if results include hidden datasets.

        :type filter: str
        :param filter: an expression for filtering the results by label.
                       For syntax, see
                       https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list#filter.

        :type max_results: int
        :param max_results: maximum number of datasets to return, If not
                            passed, defaults to a value set by the API.

        :type page_token: str
        :param page_token: opaque marker for the next "page" of datasets. If
                           not passed, the API will return the first page of
                           datasets.

        :type retry: :class:`google.api_core.retry.Retry`
        :param retry: (Optional) How to retry the RPC.

        :rtype: :class:`~google.api_core.page_iterator.Iterator`
        :returns: Iterator of :class:`~google.cloud.bigquery.dataset.Dataset`.
                  accessible to the current client.
        """
        extra_params = {}
        if include_all:
            extra_params['all'] = True
        if filter:
            # TODO: consider supporting a dict of label -> value for filter,
            # and converting it into a string here.
            extra_params['filter'] = filter
        path = '/projects/%s/datasets' % (self.project,)
        return page_iterator.HTTPIterator(
            client=self,
            api_request=functools.partial(self._call_api, retry),
            path=path,
            item_to_value=_item_to_dataset,
            items_key='datasets',
            page_token=page_token,
            max_results=max_results,
            extra_params=extra_params)
List datasets for the project associated with this client.

        See
        https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list

        :type include_all: bool
        :param include_all: True if results include hidden datasets.

        :type filter: str
        :param filter: an expression for filtering the results by label.
                       For syntax, see
                       https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list#filter.

        :type max_results: int
        :param max_results: maximum number of datasets to return, If not
                            passed, defaults to a value set by the API.

        :type page_token: str
        :param page_token: opaque marker for the next "page" of datasets. If
                           not passed, the API will return the first page of
                           datasets.

        :type retry: :class:`google.api_core.retry.Retry`
        :param retry: (Optional) How to retry the RPC.

        :rtype: :class:`~google.api_core.page_iterator.Iterator`
        :returns: Iterator of :class:`~google.cloud.bigquery.dataset.Dataset`.
                  accessible to the current client.
        
List datasets for the project associated with this client.
List datasets for the project associated with this client .
def list_datasets(self, include_all=False, filter=None, max_results=None,
                      page_token=None, retry=DEFAULT_RETRY):
        extra_params = {}
        if include_all:
            extra_params['all'] = True
        if filter:
            extra_params['filter'] = filter
        path = '/projects/%s/datasets' % (self.project,)
        return page_iterator.HTTPIterator(
            client=self,
            api_request=functools.partial(self._call_api, retry),
            path=path,
            item_to_value=_item_to_dataset,
            items_key='datasets',
            page_token=page_token,
            max_results=max_results,
            extra_params=extra_params)
def list_datasets ( self , include_all = False , filter = None , max_results = None , page_token = None , retry = DEFAULT_RETRY ) : extra_params = { } if include_all : extra_params [ 'all' ] = True if filter : extra_params [ 'filter' ] = filter path = '/projects/%s/datasets' % ( self . project , ) return page_iterator . HTTPIterator ( client = self , api_request = functools . partial ( self . _call_api , retry ) , path = path , item_to_value = _item_to_dataset , items_key = 'datasets' , page_token = page_token , max_results = max_results , extra_params = extra_params )
List datasets for the project associated with this client.
List datasets for the project associated with this client .
"""List datasets for the project associated with this client.

        See
        https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list

        :type include_all: bool
        :param include_all: True if results include hidden datasets.

        :type filter: str
        :param filter: an expression for filtering the results by label.
                       For syntax, see
                       https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list#filter.

        :type max_results: int
        :param max_results: maximum number of datasets to return, If not
                            passed, defaults to a value set by the API.

        :type page_token: str
        :param page_token: opaque marker for the next "page" of datasets. If
                           not passed, the API will return the first page of
                           datasets.

        :type retry: :class:`google.api_core.retry.Retry`
        :param retry: (Optional) How to retry the RPC.

        :rtype: :class:`~google.api_core.page_iterator.Iterator`
        :returns: Iterator of :class:`~google.cloud.bigquery.dataset.Dataset`.
                  accessible to the current client.
        """ # TODO: consider supporting a dict of label -> value for filter, # and converting it into a string here.
Iterator of :class:`~google.cloud.bigquery.dataset.Dataset`.
accessible to the current client.
Iterator of : class : ` ~google . cloud . bigquery . dataset . Dataset ` . accessible to the current client .
:class:`~google.api_core.page_iterator.Iterator`
self
include_all
True if results include hidden datasets.
True if results include hidden datasets .
filter
an expression for filtering the results by label.
an expression for filtering the results by label .
max_results
maximum number of datasets to return, If not
passed, defaults to a value set by the API.
maximum number of datasets to return If not passed defaults to a value set by the API .
a value set by the API
page_token
opaque marker for the next "page" of datasets. If
not passed, the API will return the first page of
datasets.
opaque marker for the next " page " of datasets . If not passed the API will return the first page of datasets .
retry
(Optional) How to retry the RPC.
( Optional ) How to retry the RPC .