1<html><body>
2<style>
3
4body, 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
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, 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="vmmigration_v1.html">VM Migration API</a> . <a href="vmmigration_v1.projects.html">projects</a> . <a href="vmmigration_v1.projects.locations.html">locations</a> . <a href="vmmigration_v1.projects.locations.sources.html">sources</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="vmmigration_v1.projects.locations.sources.datacenterConnectors.html">datacenterConnectors()</a></code>
79</p>
80<p class="firstline">Returns the datacenterConnectors Resource.</p>
81
82<p class="toc_element">
83  <code><a href="vmmigration_v1.projects.locations.sources.migratingVms.html">migratingVms()</a></code>
84</p>
85<p class="firstline">Returns the migratingVms Resource.</p>
86
87<p class="toc_element">
88  <code><a href="vmmigration_v1.projects.locations.sources.utilizationReports.html">utilizationReports()</a></code>
89</p>
90<p class="firstline">Returns the utilizationReports Resource.</p>
91
92<p class="toc_element">
93  <code><a href="#close">close()</a></code></p>
94<p class="firstline">Close httplib2 connections.</p>
95<p class="toc_element">
96  <code><a href="#create">create(parent, body=None, requestId=None, sourceId=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Creates a new Source in a given project and location.</p>
98<p class="toc_element">
99  <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
100<p class="firstline">Deletes a single Source.</p>
101<p class="toc_element">
102  <code><a href="#fetchInventory">fetchInventory(source, forceRefresh=None, x__xgafv=None)</a></code></p>
103<p class="firstline">List remote source's inventory of VMs. The remote source is the onprem vCenter (remote in the sense it's not in Compute Engine). The inventory describes the list of existing VMs in that source. Note that this operation lists the VMs on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.</p>
104<p class="toc_element">
105  <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
106<p class="firstline">Gets details of a single Source.</p>
107<p class="toc_element">
108  <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
109<p class="firstline">Lists Sources in a given project and location.</p>
110<p class="toc_element">
111  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
112<p class="firstline">Retrieves the next page of results.</p>
113<p class="toc_element">
114  <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
115<p class="firstline">Updates the parameters of a single Source.</p>
116<h3>Method Details</h3>
117<div class="method">
118    <code class="details" id="close">close()</code>
119  <pre>Close httplib2 connections.</pre>
120</div>
121
122<div class="method">
123    <code class="details" id="create">create(parent, body=None, requestId=None, sourceId=None, x__xgafv=None)</code>
124  <pre>Creates a new Source in a given project and location.
125
126Args:
127  parent: string, Required. The Source&#x27;s parent. (required)
128  body: object, The request body.
129    The object takes the form of:
130
131{ # Source message describes a specific vm migration Source resource. It contains the source environment information.
132  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
133  &quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
134  &quot;labels&quot;: { # The labels of the source.
135    &quot;a_key&quot;: &quot;A String&quot;,
136  },
137  &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
138  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
139  &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
140    &quot;password&quot;: &quot;A String&quot;, # Input only. The credentials password. This is write only and can not be read in a GET operation.
141    &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
142    &quot;username&quot;: &quot;A String&quot;, # The credentials username.
143    &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
144  },
145}
146
147  requestId: string, A 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 t he 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).
148  sourceId: string, Required. The source identifier.
149  x__xgafv: string, V1 error format.
150    Allowed values
151      1 - v1 error format
152      2 - v2 error format
153
154Returns:
155  An object of the form:
156
157    { # This resource represents a long-running operation that is the result of a network API call.
158  &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.
159  &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.
160    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
161    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
162      {
163        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
164      },
165    ],
166    &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.
167  },
168  &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.
169    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
170  },
171  &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}`.
172  &quot;response&quot;: { # The normal response of the operation in case of success. 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`.
173    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
174  },
175}</pre>
176</div>
177
178<div class="method">
179    <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
180  <pre>Deletes a single Source.
181
182Args:
183  name: string, Required. The Source name. (required)
184  requestId: string, Optional. A 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 t he 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).
185  x__xgafv: string, V1 error format.
186    Allowed values
187      1 - v1 error format
188      2 - v2 error format
189
190Returns:
191  An object of the form:
192
193    { # This resource represents a long-running operation that is the result of a network API call.
194  &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.
195  &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.
196    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
197    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
198      {
199        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
200      },
201    ],
202    &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.
203  },
204  &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.
205    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
206  },
207  &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}`.
208  &quot;response&quot;: { # The normal response of the operation in case of success. 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`.
209    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
210  },
211}</pre>
212</div>
213
214<div class="method">
215    <code class="details" id="fetchInventory">fetchInventory(source, forceRefresh=None, x__xgafv=None)</code>
216  <pre>List remote source&#x27;s inventory of VMs. The remote source is the onprem vCenter (remote in the sense it&#x27;s not in Compute Engine). The inventory describes the list of existing VMs in that source. Note that this operation lists the VMs on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.
217
218Args:
219  source: string, Required. The name of the Source. (required)
220  forceRefresh: boolean, If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.
221  x__xgafv: string, V1 error format.
222    Allowed values
223      1 - v1 error format
224      2 - v2 error format
225
226Returns:
227  An object of the form:
228
229    { # Response message for fetchInventory.
230  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last queried (if the result is from the cache).
231  &quot;vmwareVms&quot;: { # VmwareVmsDetails describes VMs in vCenter. # Output only. The description of the VMs in a Source of type Vmware.
232    &quot;details&quot;: [ # The details of the vmware VMs.
233      { # VmwareVmDetails describes a VM in vCenter.
234        &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option.
235        &quot;committedStorageMb&quot;: &quot;A String&quot;, # The total size of the storage allocated to the VM in MB.
236        &quot;cpuCount&quot;: 42, # The number of cpus in the VM.
237        &quot;datacenterDescription&quot;: &quot;A String&quot;, # The descriptive name of the vCenter&#x27;s datacenter this VM is contained in.
238        &quot;datacenterId&quot;: &quot;A String&quot;, # The id of the vCenter&#x27;s datacenter this VM is contained in.
239        &quot;diskCount&quot;: 42, # The number of disks the VM has.
240        &quot;displayName&quot;: &quot;A String&quot;, # The display name of the VM. Note that this is not necessarily unique.
241        &quot;guestDescription&quot;: &quot;A String&quot;, # The VM&#x27;s OS. See for example https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.
242        &quot;memoryMb&quot;: 42, # The size of the memory of the VM in MB.
243        &quot;powerState&quot;: &quot;A String&quot;, # The power state of the VM at the moment list was taken.
244        &quot;uuid&quot;: &quot;A String&quot;, # The unique identifier of the VM in vCenter.
245        &quot;vmId&quot;: &quot;A String&quot;, # The VM&#x27;s id in the source (note that this is not the MigratingVm&#x27;s id). This is the moref id of the VM.
246      },
247    ],
248  },
249}</pre>
250</div>
251
252<div class="method">
253    <code class="details" id="get">get(name, x__xgafv=None)</code>
254  <pre>Gets details of a single Source.
255
256Args:
257  name: string, Required. The Source name. (required)
258  x__xgafv: string, V1 error format.
259    Allowed values
260      1 - v1 error format
261      2 - v2 error format
262
263Returns:
264  An object of the form:
265
266    { # Source message describes a specific vm migration Source resource. It contains the source environment information.
267  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
268  &quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
269  &quot;labels&quot;: { # The labels of the source.
270    &quot;a_key&quot;: &quot;A String&quot;,
271  },
272  &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
273  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
274  &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
275    &quot;password&quot;: &quot;A String&quot;, # Input only. The credentials password. This is write only and can not be read in a GET operation.
276    &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
277    &quot;username&quot;: &quot;A String&quot;, # The credentials username.
278    &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
279  },
280}</pre>
281</div>
282
283<div class="method">
284    <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
285  <pre>Lists Sources in a given project and location.
286
287Args:
288  parent: string, Required. The parent, which owns this collection of sources. (required)
289  filter: string, Optional. The filter request.
290  orderBy: string, Optional. the order by fields for the result.
291  pageSize: integer, Optional. The maximum number of sources to return. The service may return fewer than this value. If unspecified, at most 500 sources will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
292  pageToken: string, Required. A page token, received from a previous `ListSources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSources` must match the call that provided the page token.
293  x__xgafv: string, V1 error format.
294    Allowed values
295      1 - v1 error format
296      2 - v2 error format
297
298Returns:
299  An object of the form:
300
301    { # Response message for &#x27;ListSources&#x27; request.
302  &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.
303  &quot;sources&quot;: [ # Output only. The list of sources response.
304    { # Source message describes a specific vm migration Source resource. It contains the source environment information.
305      &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
306      &quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
307      &quot;labels&quot;: { # The labels of the source.
308        &quot;a_key&quot;: &quot;A String&quot;,
309      },
310      &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
311      &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
312      &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
313        &quot;password&quot;: &quot;A String&quot;, # Input only. The credentials password. This is write only and can not be read in a GET operation.
314        &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
315        &quot;username&quot;: &quot;A String&quot;, # The credentials username.
316        &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
317      },
318    },
319  ],
320  &quot;unreachable&quot;: [ # Output only. Locations that could not be reached.
321    &quot;A String&quot;,
322  ],
323}</pre>
324</div>
325
326<div class="method">
327    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
328  <pre>Retrieves the next page of results.
329
330Args:
331  previous_request: The request for the previous page. (required)
332  previous_response: The response from the request for the previous page. (required)
333
334Returns:
335  A request object that you can call &#x27;execute()&#x27; on to request the next
336  page. Returns None if there are no more items in the collection.
337    </pre>
338</div>
339
340<div class="method">
341    <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
342  <pre>Updates the parameters of a single Source.
343
344Args:
345  name: string, Output only. The Source name. (required)
346  body: object, The request body.
347    The object takes the form of:
348
349{ # Source message describes a specific vm migration Source resource. It contains the source environment information.
350  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
351  &quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
352  &quot;labels&quot;: { # The labels of the source.
353    &quot;a_key&quot;: &quot;A String&quot;,
354  },
355  &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
356  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
357  &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
358    &quot;password&quot;: &quot;A String&quot;, # Input only. The credentials password. This is write only and can not be read in a GET operation.
359    &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
360    &quot;username&quot;: &quot;A String&quot;, # The credentials username.
361    &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
362  },
363}
364
365  requestId: string, A 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 t he 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).
366  updateMask: string, Field mask is used to specify the fields to be overwritten in the Source resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
367  x__xgafv: string, V1 error format.
368    Allowed values
369      1 - v1 error format
370      2 - v2 error format
371
372Returns:
373  An object of the form:
374
375    { # This resource represents a long-running operation that is the result of a network API call.
376  &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.
377  &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.
378    &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
379    &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
380      {
381        &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
382      },
383    ],
384    &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.
385  },
386  &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.
387    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
388  },
389  &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}`.
390  &quot;response&quot;: { # The normal response of the operation in case of success. 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`.
391    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
392  },
393}</pre>
394</div>
395
396</body></html>