original_docstring: Lists all datasets in the specified project to which you have been
      granted the READER dataset role.
  
      Args:
        projectId: Project ID of the datasets to be listed
  
      Flags:
        all: Whether to list all datasets, including hidden ones
        filter: An expression for filtering the results of the request by label.
          The syntax is "labels.[:]". Multiple filters can be ANDed together by
          connecting with a space. Example: "labels.department:receiving
          labels.active". See https://cloud.google.com/bigquery/docs/labeling-
          datasets#filtering_datasets_using_labels for details.
        maxResults: The maximum number of results to return
        pageToken: Page token, returned by a previous call, to request the next
          page of results
      
docstring: Lists all datasets in the specified project to which you have been
  granted the READER dataset role.
docstring_tokens: Lists all datasets in the specified project to which you have been granted the READER dataset role .
code: def RunWithArgs(self, projectId):
      """Lists all datasets in the specified project to which you have been
      granted the READER dataset role.
  
      Args:
        projectId: Project ID of the datasets to be listed
  
      Flags:
        all: Whether to list all datasets, including hidden ones
        filter: An expression for filtering the results of the request by label.
          The syntax is "labels.[:]". Multiple filters can be ANDed together by
          connecting with a space. Example: "labels.department:receiving
          labels.active". See https://cloud.google.com/bigquery/docs/labeling-
          datasets#filtering_datasets_using_labels for details.
        maxResults: The maximum number of results to return
        pageToken: Page token, returned by a previous call, to request the next
          page of results
      """
      client = GetClientFromFlags()
      global_params = GetGlobalParamsFromFlags()
      request = messages.BigqueryDatasetsListRequest(
          projectId=projectId.decode('utf8'),
          )
      if FLAGS['all'].present:
        request.all = FLAGS.all
      if FLAGS['filter'].present:
        request.filter = FLAGS.filter.decode('utf8')
      if FLAGS['maxResults'].present:
        request.maxResults = FLAGS.maxResults
      if FLAGS['pageToken'].present:
        request.pageToken = FLAGS.pageToken.decode('utf8')
      result = client.datasets.List(
          request, global_params=global_params)
      print apitools_base_cli.FormatOutput(result)
code_tokens: def RunWithArgs ( self , projectId ) : client = GetClientFromFlags ( ) global_params = GetGlobalParamsFromFlags ( ) request = messages . BigqueryDatasetsListRequest ( projectId = projectId . decode ( 'utf8' ) , ) if FLAGS [ 'all' ] . present : request . all = FLAGS . all if FLAGS [ 'filter' ] . present : request . filter = FLAGS . filter . decode ( 'utf8' ) if FLAGS [ 'maxResults' ] . present : request . maxResults = FLAGS . maxResults if FLAGS [ 'pageToken' ] . present : request . pageToken = FLAGS . pageToken . decode ( 'utf8' ) result = client . datasets . List ( request , global_params = global_params ) print apitools_base_cli . FormatOutput ( result )
short_docstring: Lists all datasets in the specified project to which you have been
  granted the READER dataset role.
short_docstring_tokens: Lists all datasets in the specified project to which you have been granted the READER dataset role .
comment: """Lists all datasets in the specified project to which you have been
      granted the READER dataset role.
  
      Args:
        projectId: Project ID of the datasets to be listed
  
      Flags:
        all: Whether to list all datasets, including hidden ones
        filter: An expression for filtering the results of the request by label.
          The syntax is "labels.[:]". Multiple filters can be ANDed together by
          connecting with a space. Example: "labels.department:receiving
          labels.active". See https://cloud.google.com/bigquery/docs/labeling-
          datasets#filtering_datasets_using_labels for details.
        maxResults: The maximum number of results to return
        pageToken: Page token, returned by a previous call, to request the next
          page of results
      """