Debian Codegraph @

docs/dyn/bigquerydatatransfer_v1.projects.transferConfigs.transferResources.html

raw
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.transferConfigs.html">transferConfigs</a> . <a href="bigquerydatatransfer_v1.projects.transferConfigs.transferResources.html">transferResources</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Returns a transfer resource.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Returns information about transfer resources.</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="get">get(name, x__xgafv=None)</code>
97 <pre>Returns a transfer resource.
98
99 Args:
100 name: string, Required. The name of the transfer resource in the form of: * `projects/{project}/transferConfigs/{transfer_config}/transferResources/{transfer_resource}` * `projects/{project}/locations/{location}/transferConfigs/{transfer_config}/transferResources/{transfer_resource}` (required)
101 x__xgafv: string, V1 error format.
102 Allowed values
103 1 - v1 error format
104 2 - v2 error format
105
106 Returns:
107 An object of the form:
108
109 { # Resource (table/partition) that is being transferred.
110 &quot;destination&quot;: &quot;A String&quot;, # Optional. Resource destination.
111 &quot;hierarchyDetail&quot;: { # Details about the hierarchy. # Optional. Details about the hierarchy.
112 &quot;partitionDetail&quot;: { # Partition details related to hierarchy. # Optional. Partition details related to hierarchy.
113 &quot;table&quot;: &quot;A String&quot;, # Optional. Name of the table which has the partitions.
114 },
115 &quot;tableDetail&quot;: { # Table details related to hierarchy. # Optional. Table details related to hierarchy.
116 &quot;partitionCount&quot;: &quot;A String&quot;, # Optional. Total number of partitions being tracked within the table.
117 },
118 },
119 &quot;lastSuccessfulRun&quot;: { # Basic information about a transfer run. # Output only. Run details for the last successful run.
120 &quot;run&quot;: &quot;A String&quot;, # Optional. Run URI. The format must be: `projects/{project}/locations/{location}/transferConfigs/{transfer_config}/run/{run}`
121 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Start time of the transfer run.
122 },
123 &quot;latestRun&quot;: { # Basic information about a transfer run. # Optional. Run details for the latest run.
124 &quot;run&quot;: &quot;A String&quot;, # Optional. Run URI. The format must be: `projects/{project}/locations/{location}/transferConfigs/{transfer_config}/run/{run}`
125 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Start time of the transfer run.
126 },
127 &quot;latestStatusDetail&quot;: { # Status details of the resource being transferred. # Optional. Status details for the latest run.
128 &quot;completedPercentage&quot;: 3.14, # Output only. Percentage of the transfer completed. Valid values: 0-100.
129 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Optional. Transfer error details for the resource.
130 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
131 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
132 {
133 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
134 },
135 ],
136 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
137 },
138 &quot;state&quot;: &quot;A String&quot;, # Optional. Transfer state of the resource.
139 &quot;summary&quot;: { # Status summary of the resource being transferred. # Optional. Transfer status summary of the resource.
140 &quot;metrics&quot;: [ # Optional. List of transfer status metrics.
141 { # Metrics for tracking the transfer status.
142 &quot;completed&quot;: &quot;A String&quot;, # Optional. Number of units transferred successfully.
143 &quot;failed&quot;: &quot;A String&quot;, # Optional. Number of units that failed to transfer.
144 &quot;pending&quot;: &quot;A String&quot;, # Optional. Number of units pending transfer.
145 &quot;total&quot;: &quot;A String&quot;, # Optional. Total number of units for the transfer.
146 &quot;unit&quot;: &quot;A String&quot;, # Optional. Unit for measuring progress (e.g., BYTES).
147 },
148 ],
149 &quot;progressUnit&quot;: &quot;A String&quot;, # Input only. Unit based on which transfer status progress should be calculated.
150 },
151 },
152 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name.
153 &quot;type&quot;: &quot;A String&quot;, # Optional. Resource type.
154 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when the resource was last updated.
155 }</pre>
156 </div>
157
158 <div class="method">
159 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
160 <pre>Returns information about transfer resources.
161
162 Args:
163 parent: string, Required. Name of transfer configuration for which transfer resources should be retrieved. The name should be in one of the following forms: * `projects/{project}/transferConfigs/{transfer_config}` * `projects/{project}/locations/{location_id}/transferConfigs/{transfer_config}` (required)
164 filter: string, Optional. Filter for the transfer resources. Currently supported filters include: * Resource name: `name` - Wildcard supported * Resource type: `type` * Resource destination: `destination` * Latest resource state: `latest_status_detail.state` * Last update time: `update_time` - RFC-3339 format * Parent table name: `hierarchy_detail.partition_detail.table` Multiple filters can be applied using the `AND/OR` operator. Examples: * `name=&quot;*123&quot; AND (type=&quot;TABLE&quot; OR latest_status_detail.state=&quot;SUCCEEDED&quot;)` * `update_time &gt;= &quot;2012-04-21T11:30:00-04:00&quot;` * `hierarchy_detail.partition_detail.table = &quot;table1&quot;`
165 pageSize: integer, Optional. The maximum number of transfer resources to return. The maximum value is 1000; values above 1000 will be coerced to 1000. The default page size is the maximum value of 1000 results.
166 pageToken: string, Optional. A page token, received from a previous `ListTransferResources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTransferResources` must match the call that provided the page token.
167 x__xgafv: string, V1 error format.
168 Allowed values
169 1 - v1 error format
170 2 - v2 error format
171
172 Returns:
173 An object of the form:
174
175 { # Response for the `ListTransferResources` RPC.
176 &quot;nextPageToken&quot;: &quot;A String&quot;, # Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
177 &quot;transferResources&quot;: [ # Output only. The transfer resources.
178 { # Resource (table/partition) that is being transferred.
179 &quot;destination&quot;: &quot;A String&quot;, # Optional. Resource destination.
180 &quot;hierarchyDetail&quot;: { # Details about the hierarchy. # Optional. Details about the hierarchy.
181 &quot;partitionDetail&quot;: { # Partition details related to hierarchy. # Optional. Partition details related to hierarchy.
182 &quot;table&quot;: &quot;A String&quot;, # Optional. Name of the table which has the partitions.
183 },
184 &quot;tableDetail&quot;: { # Table details related to hierarchy. # Optional. Table details related to hierarchy.
185 &quot;partitionCount&quot;: &quot;A String&quot;, # Optional. Total number of partitions being tracked within the table.
186 },
187 },
188 &quot;lastSuccessfulRun&quot;: { # Basic information about a transfer run. # Output only. Run details for the last successful run.
189 &quot;run&quot;: &quot;A String&quot;, # Optional. Run URI. The format must be: `projects/{project}/locations/{location}/transferConfigs/{transfer_config}/run/{run}`
190 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Start time of the transfer run.
191 },
192 &quot;latestRun&quot;: { # Basic information about a transfer run. # Optional. Run details for the latest run.
193 &quot;run&quot;: &quot;A String&quot;, # Optional. Run URI. The format must be: `projects/{project}/locations/{location}/transferConfigs/{transfer_config}/run/{run}`
194 &quot;startTime&quot;: &quot;A String&quot;, # Optional. Start time of the transfer run.
195 },
196 &quot;latestStatusDetail&quot;: { # Status details of the resource being transferred. # Optional. Status details for the latest run.
197 &quot;completedPercentage&quot;: 3.14, # Output only. Percentage of the transfer completed. Valid values: 0-100.
198 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Optional. Transfer error details for the resource.
199 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
200 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
201 {
202 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
203 },
204 ],
205 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
206 },
207 &quot;state&quot;: &quot;A String&quot;, # Optional. Transfer state of the resource.
208 &quot;summary&quot;: { # Status summary of the resource being transferred. # Optional. Transfer status summary of the resource.
209 &quot;metrics&quot;: [ # Optional. List of transfer status metrics.
210 { # Metrics for tracking the transfer status.
211 &quot;completed&quot;: &quot;A String&quot;, # Optional. Number of units transferred successfully.
212 &quot;failed&quot;: &quot;A String&quot;, # Optional. Number of units that failed to transfer.
213 &quot;pending&quot;: &quot;A String&quot;, # Optional. Number of units pending transfer.
214 &quot;total&quot;: &quot;A String&quot;, # Optional. Total number of units for the transfer.
215 &quot;unit&quot;: &quot;A String&quot;, # Optional. Unit for measuring progress (e.g., BYTES).
216 },
217 ],
218 &quot;progressUnit&quot;: &quot;A String&quot;, # Input only. Unit based on which transfer status progress should be calculated.
219 },
220 },
221 &quot;name&quot;: &quot;A String&quot;, # Identifier. Resource name.
222 &quot;type&quot;: &quot;A String&quot;, # Optional. Resource type.
223 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Time when the resource was last updated.
224 },
225 ],
226 }</pre>
227 </div>
228
229 <div class="method">
230 <code class="details" id="list_next">list_next()</code>
231 <pre>Retrieves the next page of results.
232
233 Args:
234 previous_request: The request for the previous page. (required)
235 previous_response: The response from the request for the previous page. (required)
236
237 Returns:
238 A request object that you can call &#x27;execute()&#x27; on to request the next
239 page. Returns None if there are no more items in the collection.
240 </pre>
241 </div>
242
243 </body></html>