Debian Codegraph @

docs/dyn/migrationcenter_v1.projects.locations.importJobs.importDataFiles.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="migrationcenter_v1.html">Migration Center API</a> . <a href="migrationcenter_v1.projects.html">projects</a> . <a href="migrationcenter_v1.projects.locations.html">locations</a> . <a href="migrationcenter_v1.projects.locations.importJobs.html">importJobs</a> . <a href="migrationcenter_v1.projects.locations.importJobs.importDataFiles.html">importDataFiles</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="#create">create(parent, body=None, importDataFileId=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates an import data file.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete an import data file.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets an import data file.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">List import data files.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(parent, body=None, importDataFileId=None, requestId=None, x__xgafv=None)</code>
103 <pre>Creates an import data file.
104
105 Args:
106 parent: string, Required. Name of the parent of the ImportDataFile. (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # A resource that represents a payload file in an import job.
111 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the file was created.
112 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-friendly display name. Maximum length is 63 characters.
113 &quot;format&quot;: &quot;A String&quot;, # Required. The payload format.
114 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the file.
115 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the import data file.
116 &quot;uploadFileInfo&quot;: { # A resource that contains a URI to which a data file can be uploaded. # Information about a file that is uploaded to a storage service.
117 &quot;headers&quot;: { # Output only. The headers that were used to sign the URI.
118 &quot;a_key&quot;: &quot;A String&quot;,
119 },
120 &quot;signedUri&quot;: &quot;A String&quot;, # Output only. Upload URI for the file.
121 &quot;uriExpirationTime&quot;: &quot;A String&quot;, # Output only. Expiration time of the upload URI.
122 },
123 }
124
125 importDataFileId: string, Required. The ID of the new data file.
126 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
127 x__xgafv: string, V1 error format.
128 Allowed values
129 1 - v1 error format
130 2 - v2 error format
131
132 Returns:
133 An object of the form:
134
135 { # This resource represents a long-running operation that is the result of a network API call.
136 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
137 &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). # The error result of the operation in case of failure or cancellation.
138 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
139 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
140 {
141 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
142 },
143 ],
144 &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.
145 },
146 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
147 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
148 },
149 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
150 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
151 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
152 },
153 }</pre>
154 </div>
155
156 <div class="method">
157 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
158 <pre>Delete an import data file.
159
160 Args:
161 name: string, Required. Name of the ImportDataFile to delete. (required)
162 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
163 x__xgafv: string, V1 error format.
164 Allowed values
165 1 - v1 error format
166 2 - v2 error format
167
168 Returns:
169 An object of the form:
170
171 { # This resource represents a long-running operation that is the result of a network API call.
172 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
173 &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). # The error result of the operation in case of failure or cancellation.
174 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
175 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
176 {
177 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
178 },
179 ],
180 &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.
181 },
182 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
183 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
184 },
185 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
186 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
187 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
188 },
189 }</pre>
190 </div>
191
192 <div class="method">
193 <code class="details" id="get">get(name, x__xgafv=None)</code>
194 <pre>Gets an import data file.
195
196 Args:
197 name: string, Required. Name of the ImportDataFile. (required)
198 x__xgafv: string, V1 error format.
199 Allowed values
200 1 - v1 error format
201 2 - v2 error format
202
203 Returns:
204 An object of the form:
205
206 { # A resource that represents a payload file in an import job.
207 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the file was created.
208 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-friendly display name. Maximum length is 63 characters.
209 &quot;format&quot;: &quot;A String&quot;, # Required. The payload format.
210 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the file.
211 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the import data file.
212 &quot;uploadFileInfo&quot;: { # A resource that contains a URI to which a data file can be uploaded. # Information about a file that is uploaded to a storage service.
213 &quot;headers&quot;: { # Output only. The headers that were used to sign the URI.
214 &quot;a_key&quot;: &quot;A String&quot;,
215 },
216 &quot;signedUri&quot;: &quot;A String&quot;, # Output only. Upload URI for the file.
217 &quot;uriExpirationTime&quot;: &quot;A String&quot;, # Output only. Expiration time of the upload URI.
218 },
219 }</pre>
220 </div>
221
222 <div class="method">
223 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
224 <pre>List import data files.
225
226 Args:
227 parent: string, Required. Name of the parent of the `ImportDataFiles` resource. (required)
228 filter: string, Filtering results.
229 orderBy: string, Field to sort by. See https://google.aip.dev/132#ordering for more details.
230 pageSize: integer, The maximum number of data files to return. The service may return fewer than this value. If unspecified, at most 500 data files will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
231 pageToken: string, A page token, received from a previous `ListImportDataFiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListImportDataFiles` must match the call that provided the page token.
232 x__xgafv: string, V1 error format.
233 Allowed values
234 1 - v1 error format
235 2 - v2 error format
236
237 Returns:
238 An object of the form:
239
240 { # Response for listing payload files of an import job.
241 &quot;importDataFiles&quot;: [ # The list of import data files.
242 { # A resource that represents a payload file in an import job.
243 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the file was created.
244 &quot;displayName&quot;: &quot;A String&quot;, # Optional. User-friendly display name. Maximum length is 63 characters.
245 &quot;format&quot;: &quot;A String&quot;, # Required. The payload format.
246 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the file.
247 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the import data file.
248 &quot;uploadFileInfo&quot;: { # A resource that contains a URI to which a data file can be uploaded. # Information about a file that is uploaded to a storage service.
249 &quot;headers&quot;: { # Output only. The headers that were used to sign the URI.
250 &quot;a_key&quot;: &quot;A String&quot;,
251 },
252 &quot;signedUri&quot;: &quot;A String&quot;, # Output only. Upload URI for the file.
253 &quot;uriExpirationTime&quot;: &quot;A String&quot;, # Output only. Expiration time of the upload URI.
254 },
255 },
256 ],
257 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
258 &quot;unreachable&quot;: [ # Locations that could not be reached.
259 &quot;A String&quot;,
260 ],
261 }</pre>
262 </div>
263
264 <div class="method">
265 <code class="details" id="list_next">list_next()</code>
266 <pre>Retrieves the next page of results.
267
268 Args:
269 previous_request: The request for the previous page. (required)
270 previous_response: The response from the request for the previous page. (required)
271
272 Returns:
273 A request object that you can call &#x27;execute()&#x27; on to request the next
274 page. Returns None if there are no more items in the collection.
275 </pre>
276 </div>
277
278 </body></html>