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

Instance Methods

close()

Close httplib2 connections.

list(parent, messageTypes=None, pageSize=None, pageToken=None, x__xgafv=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

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

Args:
  parent: string, Required. Transfer run name in the form: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}` (required)
  messageTypes: string, Message types to return. If not populated - INFO, WARNING and ERROR messages are returned. (repeated)
    Allowed values
      MESSAGE_SEVERITY_UNSPECIFIED - No severity specified.
      INFO - Informational message.
      WARNING - Warning message.
      ERROR - Error message.
  pageSize: integer, Page size. The default page size is the maximum value of 1000 results.
  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.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

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.
      "messageText": "A String", # Message text.
      "messageTime": "A String", # Time when message was logged.
      "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.