Debian Codegraph @

docs/dyn/vmmigration_v1.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="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.diskMigrationJobs.html">diskMigrationJobs()</a></code>
84 </p>
85 <p class="firstline">Returns the diskMigrationJobs Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="vmmigration_v1.projects.locations.sources.migratingVms.html">migratingVms()</a></code>
89 </p>
90 <p class="firstline">Returns the migratingVms Resource.</p>
91
92 <p class="toc_element">
93 <code><a href="vmmigration_v1.projects.locations.sources.utilizationReports.html">utilizationReports()</a></code>
94 </p>
95 <p class="firstline">Returns the utilizationReports Resource.</p>
96
97 <p class="toc_element">
98 <code><a href="#close">close()</a></code></p>
99 <p class="firstline">Close httplib2 connections.</p>
100 <p class="toc_element">
101 <code><a href="#create">create(parent, body=None, requestId=None, sourceId=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Creates a new Source in a given project and location.</p>
103 <p class="toc_element">
104 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
105 <p class="firstline">Deletes a single Source.</p>
106 <p class="toc_element">
107 <code><a href="#fetchInventory">fetchInventory(source, forceRefresh=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
108 <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>
109 <p class="toc_element">
110 <code><a href="#fetchInventory_next">fetchInventory_next()</a></code></p>
111 <p class="firstline">Retrieves the next page of results.</p>
112 <p class="toc_element">
113 <code><a href="#fetchStorageInventory">fetchStorageInventory(source, forceRefresh=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</a></code></p>
114 <p class="firstline">List remote source's inventory of storage resources. The remote source is another cloud vendor (e.g. AWS, Azure). The inventory describes the list of existing storage resources in that source. Note that this operation lists the resources on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.</p>
115 <p class="toc_element">
116 <code><a href="#fetchStorageInventory_next">fetchStorageInventory_next()</a></code></p>
117 <p class="firstline">Retrieves the next page of results.</p>
118 <p class="toc_element">
119 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
120 <p class="firstline">Gets details of a single Source.</p>
121 <p class="toc_element">
122 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
123 <p class="firstline">Lists Sources in a given project and location.</p>
124 <p class="toc_element">
125 <code><a href="#list_next">list_next()</a></code></p>
126 <p class="firstline">Retrieves the next page of results.</p>
127 <p class="toc_element">
128 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
129 <p class="firstline">Updates the parameters of a single Source.</p>
130 <h3>Method Details</h3>
131 <div class="method">
132 <code class="details" id="close">close()</code>
133 <pre>Close httplib2 connections.</pre>
134 </div>
135
136 <div class="method">
137 <code class="details" id="create">create(parent, body=None, requestId=None, sourceId=None, x__xgafv=None)</code>
138 <pre>Creates a new Source in a given project and location.
139
140 Args:
141 parent: string, Required. The Source&#x27;s parent. (required)
142 body: object, The request body.
143 The object takes the form of:
144
145 { # Source message describes a specific vm migration Source resource. It contains the source environment information.
146 &quot;aws&quot;: { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details.
147 &quot;accessKeyCreds&quot;: { # Message describing AWS Credentials using access key id and secret. # AWS Credentials using access key id and secret.
148 &quot;accessKeyId&quot;: &quot;A String&quot;, # AWS access key ID.
149 &quot;secretAccessKey&quot;: &quot;A String&quot;, # Input only. AWS secret access key.
150 &quot;sessionToken&quot;: &quot;A String&quot;, # Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
151 },
152 &quot;awsRegion&quot;: &quot;A String&quot;, # Immutable. The AWS region that the source VMs will be migrated from.
153 &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). # Output only. Provides details on the state of the Source in case of an error.
154 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
155 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
156 {
157 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
158 },
159 ],
160 &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.
161 },
162 &quot;inventorySecurityGroupNames&quot;: [ # AWS security group names to limit the scope of the source inventory.
163 &quot;A String&quot;,
164 ],
165 &quot;inventoryTagList&quot;: [ # AWS resource tags to limit the scope of the source inventory.
166 { # Tag is an AWS tag representation.
167 &quot;key&quot;: &quot;A String&quot;, # Required. Key of tag.
168 &quot;value&quot;: &quot;A String&quot;, # Required. Value of tag.
169 },
170 ],
171 &quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m2vm`.
172 &quot;a_key&quot;: &quot;A String&quot;,
173 },
174 &quot;publicIp&quot;: &quot;A String&quot;, # Output only. The source&#x27;s public IP. All communication initiated by this source will originate from this IP.
175 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
176 },
177 &quot;azure&quot;: { # AzureSourceDetails message describes a specific source details for the Azure source type. # Azure type source details.
178 &quot;azureLocation&quot;: &quot;A String&quot;, # Immutable. The Azure location (region) that the source VMs will be migrated from.
179 &quot;clientSecretCreds&quot;: { # Message describing Azure Credentials using tenant ID, client ID and secret. # Azure Credentials using tenant ID, client ID and secret.
180 &quot;clientId&quot;: &quot;A String&quot;, # Azure client ID.
181 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Azure client secret.
182 &quot;tenantId&quot;: &quot;A String&quot;, # Azure tenant ID.
183 },
184 &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). # Output only. Provides details on the state of the Source in case of an error.
185 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
186 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
187 {
188 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
189 },
190 ],
191 &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.
192 },
193 &quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.
194 &quot;a_key&quot;: &quot;A String&quot;,
195 },
196 &quot;resourceGroupId&quot;: &quot;A String&quot;, # Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source.
197 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
198 &quot;subscriptionId&quot;: &quot;A String&quot;, # Immutable. Azure subscription ID.
199 },
200 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
201 &quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
202 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Optional. Immutable. The encryption details of the source data stored by the service.
203 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
204 },
205 &quot;labels&quot;: { # The labels of the source.
206 &quot;a_key&quot;: &quot;A String&quot;,
207 },
208 &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
209 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
210 &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
211 &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.
212 &quot;resolvedVcenterHost&quot;: &quot;A String&quot;, # The hostname of the vcenter.
213 &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
214 &quot;username&quot;: &quot;A String&quot;, # The credentials username.
215 &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
216 },
217 }
218
219 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 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).
220 sourceId: string, Required. The source identifier.
221 x__xgafv: string, V1 error format.
222 Allowed values
223 1 - v1 error format
224 2 - v2 error format
225
226 Returns:
227 An object of the form:
228
229 { # This resource represents a long-running operation that is the result of a network API call.
230 &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.
231 &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.
232 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
233 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
234 {
235 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
236 },
237 ],
238 &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.
239 },
240 &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.
241 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
242 },
243 &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}`.
244 &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`.
245 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
246 },
247 }</pre>
248 </div>
249
250 <div class="method">
251 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
252 <pre>Deletes a single Source.
253
254 Args:
255 name: string, Required. The Source name. (required)
256 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 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).
257 x__xgafv: string, V1 error format.
258 Allowed values
259 1 - v1 error format
260 2 - v2 error format
261
262 Returns:
263 An object of the form:
264
265 { # This resource represents a long-running operation that is the result of a network API call.
266 &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.
267 &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.
268 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
269 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
270 {
271 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
272 },
273 ],
274 &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.
275 },
276 &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.
277 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
278 },
279 &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}`.
280 &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`.
281 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
282 },
283 }</pre>
284 </div>
285
286 <div class="method">
287 <code class="details" id="fetchInventory">fetchInventory(source, forceRefresh=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
288 <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.
289
290 Args:
291 source: string, Required. The name of the Source. (required)
292 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.
293 pageSize: integer, The maximum number of VMs to return. The service may return fewer than this value. For AWS source: If unspecified, at most 500 VMs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. For VMWare source: If unspecified, all VMs will be returned. There is no limit for maximum value.
294 pageToken: string, A page token, received from a previous `FetchInventory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchInventory` must match the call that provided the page token.
295 x__xgafv: string, V1 error format.
296 Allowed values
297 1 - v1 error format
298 2 - v2 error format
299
300 Returns:
301 An object of the form:
302
303 { # Response message for fetchInventory.
304 &quot;awsVms&quot;: { # AWSVmsDetails describes VMs in AWS. # The description of the VMs in a Source of type AWS.
305 &quot;details&quot;: [ # The details of the AWS VMs.
306 { # AwsVmDetails describes a VM in AWS.
307 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture.
308 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option.
309 &quot;committedStorageMb&quot;: &quot;A String&quot;, # The total size of the storage allocated to the VM in MB.
310 &quot;cpuCount&quot;: 42, # The number of CPU cores the VM has.
311 &quot;diskCount&quot;: 42, # The number of disks the VM has.
312 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the VM. Note that this value is not necessarily unique.
313 &quot;instanceType&quot;: &quot;A String&quot;, # The instance type of the VM.
314 &quot;memoryMb&quot;: 42, # The memory size of the VM in MB.
315 &quot;osDescription&quot;: &quot;A String&quot;, # The VM&#x27;s OS.
316 &quot;powerState&quot;: &quot;A String&quot;, # Output only. The power state of the VM at the moment list was taken.
317 &quot;securityGroups&quot;: [ # The security groups the VM belongs to.
318 { # AwsSecurityGroup describes a security group of an AWS VM.
319 &quot;id&quot;: &quot;A String&quot;, # The AWS security group id.
320 &quot;name&quot;: &quot;A String&quot;, # The AWS security group name.
321 },
322 ],
323 &quot;sourceDescription&quot;: &quot;A String&quot;, # The descriptive name of the AWS&#x27;s source this VM is connected to.
324 &quot;sourceId&quot;: &quot;A String&quot;, # The id of the AWS&#x27;s source this VM is connected to.
325 &quot;tags&quot;: { # The tags of the VM.
326 &quot;a_key&quot;: &quot;A String&quot;,
327 },
328 &quot;vcpuCount&quot;: 42, # The number of vCPUs the VM has. It is calculated as the number of CPU cores * threads per CPU the VM has.
329 &quot;virtualizationType&quot;: &quot;A String&quot;, # The virtualization type.
330 &quot;vmId&quot;: &quot;A String&quot;, # The VM ID in AWS.
331 &quot;vpcId&quot;: &quot;A String&quot;, # The VPC ID the VM belongs to.
332 &quot;zone&quot;: &quot;A String&quot;, # The AWS zone of the VM.
333 },
334 ],
335 },
336 &quot;azureVms&quot;: { # AzureVmsDetails describes VMs in Azure. # The description of the VMs in a Source of type Azure.
337 &quot;details&quot;: [ # The details of the Azure VMs.
338 { # AzureVmDetails describes a VM in Azure.
339 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture.
340 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option.
341 &quot;committedStorageMb&quot;: &quot;A String&quot;, # The total size of the storage allocated to the VM in MB.
342 &quot;computerName&quot;: &quot;A String&quot;, # The VM&#x27;s ComputerName.
343 &quot;cpuCount&quot;: 42, # The number of cpus the VM has.
344 &quot;diskCount&quot;: 42, # The number of disks the VM has, including OS disk.
345 &quot;disks&quot;: [ # Description of the data disks.
346 { # A message describing a data disk.
347 &quot;lun&quot;: 42, # The disk&#x27;s Logical Unit Number (LUN).
348 &quot;name&quot;: &quot;A String&quot;, # The disk name.
349 &quot;sizeGb&quot;: 42, # The disk size in GB.
350 },
351 ],
352 &quot;memoryMb&quot;: 42, # The memory size of the VM in MB.
353 &quot;osDescription&quot;: { # A message describing the VM&#x27;s OS. Including OS, Publisher, Offer and Plan if applicable. # Description of the OS.
354 &quot;offer&quot;: &quot;A String&quot;, # OS offer.
355 &quot;plan&quot;: &quot;A String&quot;, # OS plan.
356 &quot;publisher&quot;: &quot;A String&quot;, # OS publisher.
357 &quot;type&quot;: &quot;A String&quot;, # OS type.
358 },
359 &quot;osDisk&quot;: { # A message describing the OS disk. # Description of the OS disk.
360 &quot;name&quot;: &quot;A String&quot;, # The disk&#x27;s full name.
361 &quot;sizeGb&quot;: 42, # The disk&#x27;s size in GB.
362 &quot;type&quot;: &quot;A String&quot;, # The disk&#x27;s type.
363 },
364 &quot;powerState&quot;: &quot;A String&quot;, # The power state of the VM at the moment list was taken.
365 &quot;tags&quot;: { # The tags of the VM.
366 &quot;a_key&quot;: &quot;A String&quot;,
367 },
368 &quot;vmId&quot;: &quot;A String&quot;, # The VM full path in Azure.
369 &quot;vmSize&quot;: &quot;A String&quot;, # VM size as configured in Azure. Determines the VM&#x27;s hardware spec.
370 },
371 ],
372 },
373 &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.
374 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last queried (if the result is from the cache).
375 &quot;vmwareVms&quot;: { # VmwareVmsDetails describes VMs in vCenter. # The description of the VMs in a Source of type Vmware.
376 &quot;details&quot;: [ # The details of the vmware VMs.
377 { # VmwareVmDetails describes a VM in vCenter.
378 &quot;architecture&quot;: &quot;A String&quot;, # Output only. The CPU architecture.
379 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option.
380 &quot;committedStorageMb&quot;: &quot;A String&quot;, # The total size of the storage allocated to the VM in MB.
381 &quot;cpuCount&quot;: 42, # The number of cpus in the VM.
382 &quot;datacenterDescription&quot;: &quot;A String&quot;, # The descriptive name of the vCenter&#x27;s datacenter this VM is contained in.
383 &quot;datacenterId&quot;: &quot;A String&quot;, # The id of the vCenter&#x27;s datacenter this VM is contained in.
384 &quot;diskCount&quot;: 42, # The number of disks the VM has.
385 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the VM. Note that this is not necessarily unique.
386 &quot;guestDescription&quot;: &quot;A String&quot;, # The VM&#x27;s OS. See for example https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html for types of strings this might hold.
387 &quot;memoryMb&quot;: 42, # The size of the memory of the VM in MB.
388 &quot;powerState&quot;: &quot;A String&quot;, # The power state of the VM at the moment list was taken.
389 &quot;uuid&quot;: &quot;A String&quot;, # The unique identifier of the VM in vCenter.
390 &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.
391 },
392 ],
393 },
394 }</pre>
395 </div>
396
397 <div class="method">
398 <code class="details" id="fetchInventory_next">fetchInventory_next()</code>
399 <pre>Retrieves the next page of results.
400
401 Args:
402 previous_request: The request for the previous page. (required)
403 previous_response: The response from the request for the previous page. (required)
404
405 Returns:
406 A request object that you can call &#x27;execute()&#x27; on to request the next
407 page. Returns None if there are no more items in the collection.
408 </pre>
409 </div>
410
411 <div class="method">
412 <code class="details" id="fetchStorageInventory">fetchStorageInventory(source, forceRefresh=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</code>
413 <pre>List remote source&#x27;s inventory of storage resources. The remote source is another cloud vendor (e.g. AWS, Azure). The inventory describes the list of existing storage resources in that source. Note that this operation lists the resources on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.
414
415 Args:
416 source: string, Required. The name of the Source. (required)
417 forceRefresh: boolean, Optional. 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.
418 pageSize: integer, Optional. The maximum number of VMs to return. The service may return fewer than this value.
419 pageToken: string, Optional. A page token, received from a previous `FetchStorageInventory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchStorageInventory` must match the call that provided the page token.
420 type: string, Required. The type of the storage inventory to fetch.
421 Allowed values
422 STORAGE_TYPE_UNSPECIFIED - The type is unspecified.
423 DISKS - The type is disks.
424 SNAPSHOTS - The type is snapshots.
425 x__xgafv: string, V1 error format.
426 Allowed values
427 1 - v1 error format
428 2 - v2 error format
429
430 Returns:
431 An object of the form:
432
433 { # Response message for fetchStorageInventory.
434 &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.
435 &quot;resources&quot;: [ # The list of storage resources in the source.
436 { # SourceStorageResource describes a storage resource in the source.
437 &quot;awsDiskDetails&quot;: { # Represents the source AWS Disk details. # Source AWS volume details.
438 &quot;diskType&quot;: &quot;A String&quot;, # Optional. Output only. Disk type.
439 &quot;sizeGib&quot;: &quot;A String&quot;, # Output only. Size in GiB.
440 &quot;tags&quot;: { # Optional. Output only. A map of AWS volume tags.
441 &quot;a_key&quot;: &quot;A String&quot;,
442 },
443 &quot;volumeId&quot;: &quot;A String&quot;, # Required. AWS volume ID.
444 },
445 },
446 ],
447 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last queried (if the result is from the cache).
448 }</pre>
449 </div>
450
451 <div class="method">
452 <code class="details" id="fetchStorageInventory_next">fetchStorageInventory_next()</code>
453 <pre>Retrieves the next page of results.
454
455 Args:
456 previous_request: The request for the previous page. (required)
457 previous_response: The response from the request for the previous page. (required)
458
459 Returns:
460 A request object that you can call &#x27;execute()&#x27; on to request the next
461 page. Returns None if there are no more items in the collection.
462 </pre>
463 </div>
464
465 <div class="method">
466 <code class="details" id="get">get(name, x__xgafv=None)</code>
467 <pre>Gets details of a single Source.
468
469 Args:
470 name: string, Required. The Source name. (required)
471 x__xgafv: string, V1 error format.
472 Allowed values
473 1 - v1 error format
474 2 - v2 error format
475
476 Returns:
477 An object of the form:
478
479 { # Source message describes a specific vm migration Source resource. It contains the source environment information.
480 &quot;aws&quot;: { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details.
481 &quot;accessKeyCreds&quot;: { # Message describing AWS Credentials using access key id and secret. # AWS Credentials using access key id and secret.
482 &quot;accessKeyId&quot;: &quot;A String&quot;, # AWS access key ID.
483 &quot;secretAccessKey&quot;: &quot;A String&quot;, # Input only. AWS secret access key.
484 &quot;sessionToken&quot;: &quot;A String&quot;, # Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
485 },
486 &quot;awsRegion&quot;: &quot;A String&quot;, # Immutable. The AWS region that the source VMs will be migrated from.
487 &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). # Output only. Provides details on the state of the Source in case of an error.
488 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
489 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
490 {
491 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
492 },
493 ],
494 &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.
495 },
496 &quot;inventorySecurityGroupNames&quot;: [ # AWS security group names to limit the scope of the source inventory.
497 &quot;A String&quot;,
498 ],
499 &quot;inventoryTagList&quot;: [ # AWS resource tags to limit the scope of the source inventory.
500 { # Tag is an AWS tag representation.
501 &quot;key&quot;: &quot;A String&quot;, # Required. Key of tag.
502 &quot;value&quot;: &quot;A String&quot;, # Required. Value of tag.
503 },
504 ],
505 &quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m2vm`.
506 &quot;a_key&quot;: &quot;A String&quot;,
507 },
508 &quot;publicIp&quot;: &quot;A String&quot;, # Output only. The source&#x27;s public IP. All communication initiated by this source will originate from this IP.
509 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
510 },
511 &quot;azure&quot;: { # AzureSourceDetails message describes a specific source details for the Azure source type. # Azure type source details.
512 &quot;azureLocation&quot;: &quot;A String&quot;, # Immutable. The Azure location (region) that the source VMs will be migrated from.
513 &quot;clientSecretCreds&quot;: { # Message describing Azure Credentials using tenant ID, client ID and secret. # Azure Credentials using tenant ID, client ID and secret.
514 &quot;clientId&quot;: &quot;A String&quot;, # Azure client ID.
515 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Azure client secret.
516 &quot;tenantId&quot;: &quot;A String&quot;, # Azure tenant ID.
517 },
518 &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). # Output only. Provides details on the state of the Source in case of an error.
519 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
520 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
521 {
522 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
523 },
524 ],
525 &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.
526 },
527 &quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.
528 &quot;a_key&quot;: &quot;A String&quot;,
529 },
530 &quot;resourceGroupId&quot;: &quot;A String&quot;, # Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source.
531 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
532 &quot;subscriptionId&quot;: &quot;A String&quot;, # Immutable. Azure subscription ID.
533 },
534 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
535 &quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
536 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Optional. Immutable. The encryption details of the source data stored by the service.
537 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
538 },
539 &quot;labels&quot;: { # The labels of the source.
540 &quot;a_key&quot;: &quot;A String&quot;,
541 },
542 &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
543 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
544 &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
545 &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.
546 &quot;resolvedVcenterHost&quot;: &quot;A String&quot;, # The hostname of the vcenter.
547 &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
548 &quot;username&quot;: &quot;A String&quot;, # The credentials username.
549 &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
550 },
551 }</pre>
552 </div>
553
554 <div class="method">
555 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
556 <pre>Lists Sources in a given project and location.
557
558 Args:
559 parent: string, Required. The parent, which owns this collection of sources. (required)
560 filter: string, Optional. The filter request.
561 orderBy: string, Optional. the order by fields for the result.
562 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.
563 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.
564 x__xgafv: string, V1 error format.
565 Allowed values
566 1 - v1 error format
567 2 - v2 error format
568
569 Returns:
570 An object of the form:
571
572 { # Response message for &#x27;ListSources&#x27; request.
573 &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.
574 &quot;sources&quot;: [ # Output only. The list of sources response.
575 { # Source message describes a specific vm migration Source resource. It contains the source environment information.
576 &quot;aws&quot;: { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details.
577 &quot;accessKeyCreds&quot;: { # Message describing AWS Credentials using access key id and secret. # AWS Credentials using access key id and secret.
578 &quot;accessKeyId&quot;: &quot;A String&quot;, # AWS access key ID.
579 &quot;secretAccessKey&quot;: &quot;A String&quot;, # Input only. AWS secret access key.
580 &quot;sessionToken&quot;: &quot;A String&quot;, # Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
581 },
582 &quot;awsRegion&quot;: &quot;A String&quot;, # Immutable. The AWS region that the source VMs will be migrated from.
583 &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). # Output only. Provides details on the state of the Source in case of an error.
584 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
585 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
586 {
587 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
588 },
589 ],
590 &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.
591 },
592 &quot;inventorySecurityGroupNames&quot;: [ # AWS security group names to limit the scope of the source inventory.
593 &quot;A String&quot;,
594 ],
595 &quot;inventoryTagList&quot;: [ # AWS resource tags to limit the scope of the source inventory.
596 { # Tag is an AWS tag representation.
597 &quot;key&quot;: &quot;A String&quot;, # Required. Key of tag.
598 &quot;value&quot;: &quot;A String&quot;, # Required. Value of tag.
599 },
600 ],
601 &quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m2vm`.
602 &quot;a_key&quot;: &quot;A String&quot;,
603 },
604 &quot;publicIp&quot;: &quot;A String&quot;, # Output only. The source&#x27;s public IP. All communication initiated by this source will originate from this IP.
605 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
606 },
607 &quot;azure&quot;: { # AzureSourceDetails message describes a specific source details for the Azure source type. # Azure type source details.
608 &quot;azureLocation&quot;: &quot;A String&quot;, # Immutable. The Azure location (region) that the source VMs will be migrated from.
609 &quot;clientSecretCreds&quot;: { # Message describing Azure Credentials using tenant ID, client ID and secret. # Azure Credentials using tenant ID, client ID and secret.
610 &quot;clientId&quot;: &quot;A String&quot;, # Azure client ID.
611 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Azure client secret.
612 &quot;tenantId&quot;: &quot;A String&quot;, # Azure tenant ID.
613 },
614 &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). # Output only. Provides details on the state of the Source in case of an error.
615 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
616 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
617 {
618 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
619 },
620 ],
621 &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.
622 },
623 &quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.
624 &quot;a_key&quot;: &quot;A String&quot;,
625 },
626 &quot;resourceGroupId&quot;: &quot;A String&quot;, # Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source.
627 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
628 &quot;subscriptionId&quot;: &quot;A String&quot;, # Immutable. Azure subscription ID.
629 },
630 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
631 &quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
632 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Optional. Immutable. The encryption details of the source data stored by the service.
633 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
634 },
635 &quot;labels&quot;: { # The labels of the source.
636 &quot;a_key&quot;: &quot;A String&quot;,
637 },
638 &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
639 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
640 &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
641 &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.
642 &quot;resolvedVcenterHost&quot;: &quot;A String&quot;, # The hostname of the vcenter.
643 &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
644 &quot;username&quot;: &quot;A String&quot;, # The credentials username.
645 &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
646 },
647 },
648 ],
649 &quot;unreachable&quot;: [ # Output only. Locations that could not be reached.
650 &quot;A String&quot;,
651 ],
652 }</pre>
653 </div>
654
655 <div class="method">
656 <code class="details" id="list_next">list_next()</code>
657 <pre>Retrieves the next page of results.
658
659 Args:
660 previous_request: The request for the previous page. (required)
661 previous_response: The response from the request for the previous page. (required)
662
663 Returns:
664 A request object that you can call &#x27;execute()&#x27; on to request the next
665 page. Returns None if there are no more items in the collection.
666 </pre>
667 </div>
668
669 <div class="method">
670 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
671 <pre>Updates the parameters of a single Source.
672
673 Args:
674 name: string, Output only. The Source name. (required)
675 body: object, The request body.
676 The object takes the form of:
677
678 { # Source message describes a specific vm migration Source resource. It contains the source environment information.
679 &quot;aws&quot;: { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details.
680 &quot;accessKeyCreds&quot;: { # Message describing AWS Credentials using access key id and secret. # AWS Credentials using access key id and secret.
681 &quot;accessKeyId&quot;: &quot;A String&quot;, # AWS access key ID.
682 &quot;secretAccessKey&quot;: &quot;A String&quot;, # Input only. AWS secret access key.
683 &quot;sessionToken&quot;: &quot;A String&quot;, # Input only. AWS session token. Used only when AWS security token service (STS) is responsible for creating the temporary credentials.
684 },
685 &quot;awsRegion&quot;: &quot;A String&quot;, # Immutable. The AWS region that the source VMs will be migrated from.
686 &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). # Output only. Provides details on the state of the Source in case of an error.
687 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
688 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
689 {
690 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
691 },
692 ],
693 &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.
694 },
695 &quot;inventorySecurityGroupNames&quot;: [ # AWS security group names to limit the scope of the source inventory.
696 &quot;A String&quot;,
697 ],
698 &quot;inventoryTagList&quot;: [ # AWS resource tags to limit the scope of the source inventory.
699 { # Tag is an AWS tag representation.
700 &quot;key&quot;: &quot;A String&quot;, # Required. Key of tag.
701 &quot;value&quot;: &quot;A String&quot;, # Required. Value of tag.
702 },
703 ],
704 &quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in AWS. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m2vm`.
705 &quot;a_key&quot;: &quot;A String&quot;,
706 },
707 &quot;publicIp&quot;: &quot;A String&quot;, # Output only. The source&#x27;s public IP. All communication initiated by this source will originate from this IP.
708 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
709 },
710 &quot;azure&quot;: { # AzureSourceDetails message describes a specific source details for the Azure source type. # Azure type source details.
711 &quot;azureLocation&quot;: &quot;A String&quot;, # Immutable. The Azure location (region) that the source VMs will be migrated from.
712 &quot;clientSecretCreds&quot;: { # Message describing Azure Credentials using tenant ID, client ID and secret. # Azure Credentials using tenant ID, client ID and secret.
713 &quot;clientId&quot;: &quot;A String&quot;, # Azure client ID.
714 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Azure client secret.
715 &quot;tenantId&quot;: &quot;A String&quot;, # Azure tenant ID.
716 },
717 &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). # Output only. Provides details on the state of the Source in case of an error.
718 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
719 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
720 {
721 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
722 },
723 ],
724 &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.
725 },
726 &quot;migrationResourcesUserTags&quot;: { # User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.
727 &quot;a_key&quot;: &quot;A String&quot;,
728 },
729 &quot;resourceGroupId&quot;: &quot;A String&quot;, # Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source.
730 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
731 &quot;subscriptionId&quot;: &quot;A String&quot;, # Immutable. Azure subscription ID.
732 },
733 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
734 &quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
735 &quot;encryption&quot;: { # Encryption message describes the details of the applied encryption. # Optional. Immutable. The encryption details of the source data stored by the service.
736 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
737 },
738 &quot;labels&quot;: { # The labels of the source.
739 &quot;a_key&quot;: &quot;A String&quot;,
740 },
741 &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
742 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
743 &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
744 &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.
745 &quot;resolvedVcenterHost&quot;: &quot;A String&quot;, # The hostname of the vcenter.
746 &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
747 &quot;username&quot;: &quot;A String&quot;, # The credentials username.
748 &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
749 },
750 }
751
752 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 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).
753 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.
754 x__xgafv: string, V1 error format.
755 Allowed values
756 1 - v1 error format
757 2 - v2 error format
758
759 Returns:
760 An object of the form:
761
762 { # This resource represents a long-running operation that is the result of a network API call.
763 &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.
764 &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.
765 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
766 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
767 {
768 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
769 },
770 ],
771 &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.
772 },
773 &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.
774 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
775 },
776 &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}`.
777 &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`.
778 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
779 },
780 }</pre>
781 </div>
782
783 </body></html>