Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="bigquerydatatransfer_v1.html">BigQuery Data Transfer API</a> . <a href="bigquerydatatransfer_v1.projects.html">projects</a> . <a href="bigquerydatatransfer_v1.projects.locations.html">locations</a> . <a href="bigquerydatatransfer_v1.projects.locations.transferConfigs.html">transferConfigs</a> . <a href="bigquerydatatransfer_v1.projects.locations.transferConfigs.runs.html">runs</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="bigquerydatatransfer_v1.projects.locations.transferConfigs.runs.transferLogs.html">transferLogs()</a></code> |
| 79 | </p> |
| 80 | <p class="firstline">Returns the transferLogs Resource.</p> |
| 81 | |
| 82 | <p class="toc_element"> |
| 83 | <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> |
| 84 | <p class="firstline">Deletes the specified transfer run.</p> |
| 85 | <p class="toc_element"> |
| 86 | <code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 87 | <p class="firstline">Returns information about the particular transfer run.</p> |
| 88 | <p class="toc_element"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 89 | <code><a href="#list">list(parent, pageToken=None, states=None, pageSize=None, runAttempt=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 90 | <p class="firstline">Returns information about running and completed jobs.</p> |
| 91 | <p class="toc_element"> |
| 92 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 93 | <p class="firstline">Retrieves the next page of results.</p> |
| 94 | <h3>Method Details</h3> |
| 95 | <div class="method"> |
| 96 | <code class="details" id="delete">delete(name, x__xgafv=None)</code> |
| 97 | <pre>Deletes the specified transfer run. |
| 98 | |
| 99 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 100 | name: string, Required. The field will contain name of the resource requested, for example: |
| 101 | `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or |
| 102 | `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}` (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 103 | x__xgafv: string, V1 error format. |
| 104 | Allowed values |
| 105 | 1 - v1 error format |
| 106 | 2 - v2 error format |
| 107 | |
| 108 | Returns: |
| 109 | An object of the form: |
| 110 | |
| 111 | { # A generic empty message that you can re-use to avoid defining duplicated |
| 112 | # empty messages in your APIs. A typical example is to use it as the request |
| 113 | # or the response type of an API method. For instance: |
| 114 | # |
| 115 | # service Foo { |
| 116 | # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
| 117 | # } |
| 118 | # |
| 119 | # The JSON representation for `Empty` is empty JSON object `{}`. |
| 120 | }</pre> |
| 121 | </div> |
| 122 | |
| 123 | <div class="method"> |
| 124 | <code class="details" id="get">get(name, x__xgafv=None)</code> |
| 125 | <pre>Returns information about the particular transfer run. |
| 126 | |
| 127 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 128 | name: string, Required. The field will contain name of the resource requested, for example: |
| 129 | `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or |
| 130 | `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}` (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 131 | x__xgafv: string, V1 error format. |
| 132 | Allowed values |
| 133 | 1 - v1 error format |
| 134 | 2 - v2 error format |
| 135 | |
| 136 | Returns: |
| 137 | An object of the form: |
| 138 | |
| 139 | { # Represents a data transfer run. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 140 | "dataSourceId": "A String", # Output only. Data source id. |
| 141 | "state": "A String", # Data transfer run state. Ignored for input requests. |
| 142 | "destinationDatasetId": "A String", # Output only. The BigQuery target dataset id. |
| 143 | "name": "A String", # The resource name of the transfer run. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 144 | # Transfer run names have the form |
| 145 | # `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`. |
| 146 | # The name is ignored when creating a transfer run. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 147 | "userId": "A String", # Deprecated. Unique ID of the user on whose behalf transfer is done. |
| 148 | "notificationPubsubTopic": "A String", # Output only. Pub/Sub topic where a notification will be sent after this |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 149 | # transfer run finishes |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 150 | "params": { # Output only. Data transfer specific parameters. |
| 151 | "a_key": "", # Properties of the object. |
| 152 | }, |
| 153 | "emailPreferences": { # Represents preferences for sending email notifications for transfer run # Output only. Email notifications will be sent according to these |
| 154 | # preferences to the email address of the user who owns the transfer config |
| 155 | # this run was derived from. |
| 156 | # events. |
| 157 | "enableFailureEmail": True or False, # If true, email notifications will be sent on transfer run failures. |
| 158 | }, |
| 159 | "endTime": "A String", # Output only. Time when transfer run ended. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 160 | # Parameter ignored by server for input requests. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 161 | "startTime": "A String", # Output only. Time when transfer run was started. |
| 162 | # Parameter ignored by server for input requests. |
| 163 | "scheduleTime": "A String", # Minimum time after which a transfer run can be started. |
| 164 | "errorStatus": { # The `Status` type defines a logical error model that is suitable for # Status of the transfer run. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 165 | # different programming environments, including REST APIs and RPC APIs. It is |
| 166 | # used by [gRPC](https://github.com/grpc). Each `Status` message contains |
| 167 | # three pieces of data: error code, error message, and error details. |
| 168 | # |
| 169 | # You can find out more about this error model and how to work with it in the |
| 170 | # [API Design Guide](https://cloud.google.com/apis/design/errors). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 171 | "details": [ # A list of messages that carry the error details. There is a common set of |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 172 | # message types for APIs to use. |
| 173 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 174 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 175 | }, |
| 176 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 177 | "code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 178 | "message": "A String", # A developer-facing error message, which should be in English. Any |
| 179 | # user-facing error message should be localized and sent in the |
| 180 | # google.rpc.Status.details field, or localized by the client. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 181 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 182 | "updateTime": "A String", # Output only. Last time the data transfer run state was updated. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 183 | "schedule": "A String", # Output only. Describes the schedule of this transfer run if it was |
| 184 | # created as part of a regular schedule. For batch transfer runs that are |
| 185 | # scheduled manually, this is empty. |
| 186 | # NOTE: the system might choose to delay the schedule depending on the |
| 187 | # current load, so `schedule_time` doesn't always match this. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 188 | "runTime": "A String", # For batch transfer runs, specifies the date and time of the data should be |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 189 | # ingested. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 190 | }</pre> |
| 191 | </div> |
| 192 | |
| 193 | <div class="method"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 194 | <code class="details" id="list">list(parent, pageToken=None, states=None, pageSize=None, runAttempt=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 195 | <pre>Returns information about running and completed jobs. |
| 196 | |
| 197 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 198 | parent: string, Required. Name of transfer configuration for which transfer runs should be retrieved. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 199 | Format of transfer configuration resource name is: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 200 | `projects/{project_id}/transferConfigs/{config_id}` or |
| 201 | `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 202 | pageToken: string, Pagination token, which can be used to request a specific page |
| 203 | of `ListTransferRunsRequest` list results. For multiple-page |
| 204 | results, `ListTransferRunsResponse` outputs |
| 205 | a `next_page` token, which can be used as the |
| 206 | `page_token` value to request the next page of list results. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 207 | states: string, When specified, only transfer runs with requested states are returned. (repeated) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 208 | pageSize: integer, Page size. The default page size is the maximum value of 1000 results. |
| 209 | runAttempt: string, Indicates how run attempts are to be pulled. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 210 | x__xgafv: string, V1 error format. |
| 211 | Allowed values |
| 212 | 1 - v1 error format |
| 213 | 2 - v2 error format |
| 214 | |
| 215 | Returns: |
| 216 | An object of the form: |
| 217 | |
| 218 | { # The returned list of pipelines in the project. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 219 | "transferRuns": [ # Output only. The stored pipeline transfer runs. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 220 | { # Represents a data transfer run. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 221 | "dataSourceId": "A String", # Output only. Data source id. |
| 222 | "state": "A String", # Data transfer run state. Ignored for input requests. |
| 223 | "destinationDatasetId": "A String", # Output only. The BigQuery target dataset id. |
| 224 | "name": "A String", # The resource name of the transfer run. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 225 | # Transfer run names have the form |
| 226 | # `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`. |
| 227 | # The name is ignored when creating a transfer run. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 228 | "userId": "A String", # Deprecated. Unique ID of the user on whose behalf transfer is done. |
| 229 | "notificationPubsubTopic": "A String", # Output only. Pub/Sub topic where a notification will be sent after this |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 230 | # transfer run finishes |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 231 | "params": { # Output only. Data transfer specific parameters. |
| 232 | "a_key": "", # Properties of the object. |
| 233 | }, |
| 234 | "emailPreferences": { # Represents preferences for sending email notifications for transfer run # Output only. Email notifications will be sent according to these |
| 235 | # preferences to the email address of the user who owns the transfer config |
| 236 | # this run was derived from. |
| 237 | # events. |
| 238 | "enableFailureEmail": True or False, # If true, email notifications will be sent on transfer run failures. |
| 239 | }, |
| 240 | "endTime": "A String", # Output only. Time when transfer run ended. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 241 | # Parameter ignored by server for input requests. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 242 | "startTime": "A String", # Output only. Time when transfer run was started. |
| 243 | # Parameter ignored by server for input requests. |
| 244 | "scheduleTime": "A String", # Minimum time after which a transfer run can be started. |
| 245 | "errorStatus": { # The `Status` type defines a logical error model that is suitable for # Status of the transfer run. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 246 | # different programming environments, including REST APIs and RPC APIs. It is |
| 247 | # used by [gRPC](https://github.com/grpc). Each `Status` message contains |
| 248 | # three pieces of data: error code, error message, and error details. |
| 249 | # |
| 250 | # You can find out more about this error model and how to work with it in the |
| 251 | # [API Design Guide](https://cloud.google.com/apis/design/errors). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 252 | "details": [ # A list of messages that carry the error details. There is a common set of |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 253 | # message types for APIs to use. |
| 254 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 255 | "a_key": "", # Properties of the object. Contains field @type with type URL. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 256 | }, |
| 257 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 258 | "code": 42, # The status code, which should be an enum value of google.rpc.Code. |
| 259 | "message": "A String", # A developer-facing error message, which should be in English. Any |
| 260 | # user-facing error message should be localized and sent in the |
| 261 | # google.rpc.Status.details field, or localized by the client. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 262 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 263 | "updateTime": "A String", # Output only. Last time the data transfer run state was updated. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 264 | "schedule": "A String", # Output only. Describes the schedule of this transfer run if it was |
| 265 | # created as part of a regular schedule. For batch transfer runs that are |
| 266 | # scheduled manually, this is empty. |
| 267 | # NOTE: the system might choose to delay the schedule depending on the |
| 268 | # current load, so `schedule_time` doesn't always match this. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 269 | "runTime": "A String", # For batch transfer runs, specifies the date and time of the data should be |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 270 | # ingested. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 271 | }, |
| 272 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 273 | "nextPageToken": "A String", # Output only. The next-pagination token. For multiple-page list results, |
| 274 | # this token can be used as the |
| 275 | # `ListTransferRunsRequest.page_token` |
| 276 | # to request the next page of list results. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 277 | }</pre> |
| 278 | </div> |
| 279 | |
| 280 | <div class="method"> |
| 281 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 282 | <pre>Retrieves the next page of results. |
| 283 | |
| 284 | Args: |
| 285 | previous_request: The request for the previous page. (required) |
| 286 | previous_response: The response from the request for the previous page. (required) |
| 287 | |
| 288 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 289 | A request object that you can call 'execute()' on to request the next |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 290 | page. Returns None if there are no more items in the collection. |
| 291 | </pre> |
| 292 | </div> |
| 293 | |
| 294 | </body></html> |