original_docstring: Retrieves the results of a query job.
  
      Args:
        projectId: [Required] Project ID of the query job
        jobId: [Required] Job ID of the query job
  
      Flags:
        maxResults: Maximum number of results to read
        pageToken: Page token, returned by a previous call, to request the next
          page of results
        startIndex: Zero-based index of the starting row
        timeoutMs: How long to wait for the query to complete, in milliseconds,
          before returning. Default is 10 seconds. If the timeout passes before
          the job completes, the 'jobComplete' field in the response will be
          false
      
docstring: Retrieves the results of a query job.
docstring_tokens: Retrieves the results of a query job .
code: def RunWithArgs(self, projectId, jobId):
      """Retrieves the results of a query job.
  
      Args:
        projectId: [Required] Project ID of the query job
        jobId: [Required] Job ID of the query job
  
      Flags:
        maxResults: Maximum number of results to read
        pageToken: Page token, returned by a previous call, to request the next
          page of results
        startIndex: Zero-based index of the starting row
        timeoutMs: How long to wait for the query to complete, in milliseconds,
          before returning. Default is 10 seconds. If the timeout passes before
          the job completes, the 'jobComplete' field in the response will be
          false
      """
      client = GetClientFromFlags()
      global_params = GetGlobalParamsFromFlags()
      request = messages.BigqueryJobsGetQueryResultsRequest(
          projectId=projectId.decode('utf8'),
          jobId=jobId.decode('utf8'),
          )
      if FLAGS['maxResults'].present:
        request.maxResults = FLAGS.maxResults
      if FLAGS['pageToken'].present:
        request.pageToken = FLAGS.pageToken.decode('utf8')
      if FLAGS['startIndex'].present:
        request.startIndex = int(FLAGS.startIndex)
      if FLAGS['timeoutMs'].present:
        request.timeoutMs = FLAGS.timeoutMs
      result = client.jobs.GetQueryResults(
          request, global_params=global_params)
      print apitools_base_cli.FormatOutput(result)
code_tokens: def RunWithArgs ( self , projectId , jobId ) : client = GetClientFromFlags ( ) global_params = GetGlobalParamsFromFlags ( ) request = messages . BigqueryJobsGetQueryResultsRequest ( projectId = projectId . decode ( 'utf8' ) , jobId = jobId . decode ( 'utf8' ) , ) if FLAGS [ 'maxResults' ] . present : request . maxResults = FLAGS . maxResults if FLAGS [ 'pageToken' ] . present : request . pageToken = FLAGS . pageToken . decode ( 'utf8' ) if FLAGS [ 'startIndex' ] . present : request . startIndex = int ( FLAGS . startIndex ) if FLAGS [ 'timeoutMs' ] . present : request . timeoutMs = FLAGS . timeoutMs result = client . jobs . GetQueryResults ( request , global_params = global_params ) print apitools_base_cli . FormatOutput ( result )
short_docstring: Retrieves the results of a query job.
short_docstring_tokens: Retrieves the results of a query job .
comment: """Retrieves the results of a query job.
  
      Args:
        projectId: [Required] Project ID of the query job
        jobId: [Required] Job ID of the query job
  
      Flags:
        maxResults: Maximum number of results to read
        pageToken: Page token, returned by a previous call, to request the next
          page of results
        startIndex: Zero-based index of the starting row
        timeoutMs: How long to wait for the query to complete, in milliseconds,
          before returning. Default is 10 seconds. If the timeout passes before
          the job completes, the 'jobComplete' field in the response will be
          false
      """