BigQuery Data Transfer API . projects . locations . transferConfigs . runs . transferLogs

Instance Methods

list(parent, pageToken=None, messageTypes=None, x__xgafv=None, pageSize=None)

Returns user facing log messages for the data transfer run.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

list(parent, pageToken=None, messageTypes=None, x__xgafv=None, pageSize=None)
Returns user facing log messages for the data transfer run.

Args:
  parent: string, Transfer run name in the form:
`projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`. (required)
  pageToken: string, Pagination token, which can be used to request a specific page
of `ListTransferLogsRequest` list results. For multiple-page
results, `ListTransferLogsResponse` outputs
a `next_page` token, which can be used as the
`page_token` value to request the next page of list results.
  messageTypes: string, Message types to return. If not populated - INFO, WARNING and ERROR
messages are returned. (repeated)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format
  pageSize: integer, Page size. The default page size is the maximum value of 1000 results.

Returns:
  An object of the form:

    { # The returned list transfer run messages.
    "nextPageToken": "A String", # Output only. The next-pagination token. For multiple-page list results,
        # this token can be used as the
        # `GetTransferRunLogRequest.page_token`
        # to request the next page of list results.
    "transferMessages": [ # Output only. The stored pipeline transfer messages.
      { # Represents a user facing message for a particular data transfer run.
        "messageTime": "A String", # Time when message was logged.
        "messageText": "A String", # Message text.
        "severity": "A String", # Message severity.
      },
    ],
  }
list_next(previous_request, previous_response)
Retrieves the next page of results.

Args:
  previous_request: The request for the previous page. (required)
  previous_response: The response from the request for the previous page. (required)

Returns:
  A request object that you can call 'execute()' on to request the next
  page. Returns None if there are no more items in the collection.