Debian Codegraph @

docs/dyn/migrationcenter_v1alpha1.projects.locations.sources.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_v1alpha1.html">Migration Center API</a> . <a href="migrationcenter_v1alpha1.projects.html">projects</a> . <a href="migrationcenter_v1alpha1.projects.locations.html">locations</a> . <a href="migrationcenter_v1alpha1.projects.locations.sources.html">sources</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="migrationcenter_v1alpha1.projects.locations.sources.errorFrames.html">errorFrames()</a></code>
79 </p>
80 <p class="firstline">Returns the errorFrames Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, requestId=None, sourceId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new source in a given project and location.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a source.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Gets the details of a source.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists all the sources in a given project and location.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates the parameters of a source.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, requestId=None, sourceId=None, x__xgafv=None)</code>
111 <pre>Creates a new source in a given project and location.
112
113 Args:
114 parent: string, Required. Value for parent. (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # Source represents an object from which asset information is streamed to Migration Center.
119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was created.
120 &quot;description&quot;: &quot;A String&quot;, # Free-text description.
121 &quot;displayName&quot;: &quot;A String&quot;, # User-friendly display name.
122 &quot;errorFrameCount&quot;: 42, # Output only. The number of frames that were reported by the source and contained errors.
123 &quot;isManaged&quot;: True or False, # If `true`, the source is managed by other service(s).
124 &quot;name&quot;: &quot;A String&quot;, # Output only. The full name of the source.
125 &quot;pendingFrameCount&quot;: 42, # Output only. Number of frames that are still being processed.
126 &quot;priority&quot;: 42, # The information confidence of the source. The higher the value, the higher the confidence.
127 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the source.
128 &quot;type&quot;: &quot;A String&quot;, # Data source type.
129 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last updated.
130 }
131
132 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).
133 sourceId: string, Required. User specified ID for the source. It will become the last component of the source name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
134 x__xgafv: string, V1 error format.
135 Allowed values
136 1 - v1 error format
137 2 - v2 error format
138
139 Returns:
140 An object of the form:
141
142 { # This resource represents a long-running operation that is the result of a network API call.
143 &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.
144 &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.
145 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
146 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
147 {
148 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
149 },
150 ],
151 &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.
152 },
153 &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.
154 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
155 },
156 &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}`.
157 &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`.
158 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
159 },
160 }</pre>
161 </div>
162
163 <div class="method">
164 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
165 <pre>Deletes a source.
166
167 Args:
168 name: string, Required. Name of the resource. (required)
169 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).
170 x__xgafv: string, V1 error format.
171 Allowed values
172 1 - v1 error format
173 2 - v2 error format
174
175 Returns:
176 An object of the form:
177
178 { # This resource represents a long-running operation that is the result of a network API call.
179 &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.
180 &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.
181 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
182 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
183 {
184 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
185 },
186 ],
187 &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.
188 },
189 &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.
190 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
191 },
192 &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}`.
193 &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`.
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
195 },
196 }</pre>
197 </div>
198
199 <div class="method">
200 <code class="details" id="get">get(name, x__xgafv=None)</code>
201 <pre>Gets the details of a source.
202
203 Args:
204 name: string, Required. Name of the resource. (required)
205 x__xgafv: string, V1 error format.
206 Allowed values
207 1 - v1 error format
208 2 - v2 error format
209
210 Returns:
211 An object of the form:
212
213 { # Source represents an object from which asset information is streamed to Migration Center.
214 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was created.
215 &quot;description&quot;: &quot;A String&quot;, # Free-text description.
216 &quot;displayName&quot;: &quot;A String&quot;, # User-friendly display name.
217 &quot;errorFrameCount&quot;: 42, # Output only. The number of frames that were reported by the source and contained errors.
218 &quot;isManaged&quot;: True or False, # If `true`, the source is managed by other service(s).
219 &quot;name&quot;: &quot;A String&quot;, # Output only. The full name of the source.
220 &quot;pendingFrameCount&quot;: 42, # Output only. Number of frames that are still being processed.
221 &quot;priority&quot;: 42, # The information confidence of the source. The higher the value, the higher the confidence.
222 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the source.
223 &quot;type&quot;: &quot;A String&quot;, # Data source type.
224 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last updated.
225 }</pre>
226 </div>
227
228 <div class="method">
229 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
230 <pre>Lists all the sources in a given project and location.
231
232 Args:
233 parent: string, Required. Parent value for `ListSourcesRequest`. (required)
234 filter: string, Filtering results.
235 orderBy: string, Field to sort by. See https://google.aip.dev/132#ordering for more details.
236 pageSize: integer, Requested page size. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default value.
237 pageToken: string, A token identifying a page of results that the server should return.
238 x__xgafv: string, V1 error format.
239 Allowed values
240 1 - v1 error format
241 2 - v2 error format
242
243 Returns:
244 An object of the form:
245
246 { # Response message for listing sources.
247 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
248 &quot;sources&quot;: [ # The list of sources.
249 { # Source represents an object from which asset information is streamed to Migration Center.
250 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was created.
251 &quot;description&quot;: &quot;A String&quot;, # Free-text description.
252 &quot;displayName&quot;: &quot;A String&quot;, # User-friendly display name.
253 &quot;errorFrameCount&quot;: 42, # Output only. The number of frames that were reported by the source and contained errors.
254 &quot;isManaged&quot;: True or False, # If `true`, the source is managed by other service(s).
255 &quot;name&quot;: &quot;A String&quot;, # Output only. The full name of the source.
256 &quot;pendingFrameCount&quot;: 42, # Output only. Number of frames that are still being processed.
257 &quot;priority&quot;: 42, # The information confidence of the source. The higher the value, the higher the confidence.
258 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the source.
259 &quot;type&quot;: &quot;A String&quot;, # Data source type.
260 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last updated.
261 },
262 ],
263 &quot;unreachable&quot;: [ # Locations that could not be reached.
264 &quot;A String&quot;,
265 ],
266 }</pre>
267 </div>
268
269 <div class="method">
270 <code class="details" id="list_next">list_next()</code>
271 <pre>Retrieves the next page of results.
272
273 Args:
274 previous_request: The request for the previous page. (required)
275 previous_response: The response from the request for the previous page. (required)
276
277 Returns:
278 A request object that you can call &#x27;execute()&#x27; on to request the next
279 page. Returns None if there are no more items in the collection.
280 </pre>
281 </div>
282
283 <div class="method">
284 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
285 <pre>Updates the parameters of a source.
286
287 Args:
288 name: string, Output only. The full name of the source. (required)
289 body: object, The request body.
290 The object takes the form of:
291
292 { # Source represents an object from which asset information is streamed to Migration Center.
293 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was created.
294 &quot;description&quot;: &quot;A String&quot;, # Free-text description.
295 &quot;displayName&quot;: &quot;A String&quot;, # User-friendly display name.
296 &quot;errorFrameCount&quot;: 42, # Output only. The number of frames that were reported by the source and contained errors.
297 &quot;isManaged&quot;: True or False, # If `true`, the source is managed by other service(s).
298 &quot;name&quot;: &quot;A String&quot;, # Output only. The full name of the source.
299 &quot;pendingFrameCount&quot;: 42, # Output only. Number of frames that are still being processed.
300 &quot;priority&quot;: 42, # The information confidence of the source. The higher the value, the higher the confidence.
301 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the source.
302 &quot;type&quot;: &quot;A String&quot;, # Data source type.
303 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last updated.
304 }
305
306 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).
307 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the `Source` resource by the update. The values specified in the `update_mask` field are relative to the resource, not the full request. A field will be overwritten if it is in the mask. A single * value in the mask lets you to overwrite all fields.
308 x__xgafv: string, V1 error format.
309 Allowed values
310 1 - v1 error format
311 2 - v2 error format
312
313 Returns:
314 An object of the form:
315
316 { # This resource represents a long-running operation that is the result of a network API call.
317 &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.
318 &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.
319 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
320 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
321 {
322 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
323 },
324 ],
325 &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.
326 },
327 &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.
328 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
329 },
330 &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}`.
331 &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`.
332 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
333 },
334 }</pre>
335 </div>
336
337 </body></html>