Debian Codegraph @

docs/dyn/vmmigration_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="vmmigration_v1alpha1.html">VM Migration API</a> . <a href="vmmigration_v1alpha1.projects.html">projects</a> . <a href="vmmigration_v1alpha1.projects.locations.html">locations</a> . <a href="vmmigration_v1alpha1.projects.locations.sources.html">sources</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="vmmigration_v1alpha1.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_v1alpha1.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_v1alpha1.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_v1alpha1.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;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.
206 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
207 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
208 {
209 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
210 },
211 ],
212 &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.
213 },
214 &quot;labels&quot;: { # The labels of the source.
215 &quot;a_key&quot;: &quot;A String&quot;,
216 },
217 &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
218 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
219 &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
220 &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.
221 &quot;resolvedVcenterHost&quot;: &quot;A String&quot;, # The hostname of the vcenter.
222 &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
223 &quot;username&quot;: &quot;A String&quot;, # The credentials username.
224 &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
225 },
226 }
227
228 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).
229 sourceId: string, Required. The source identifier.
230 x__xgafv: string, V1 error format.
231 Allowed values
232 1 - v1 error format
233 2 - v2 error format
234
235 Returns:
236 An object of the form:
237
238 { # This resource represents a long-running operation that is the result of a network API call.
239 &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.
240 &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.
241 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
242 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
243 {
244 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
245 },
246 ],
247 &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.
248 },
249 &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.
250 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
251 },
252 &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}`.
253 &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`.
254 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
255 },
256 }</pre>
257 </div>
258
259 <div class="method">
260 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
261 <pre>Deletes a single Source.
262
263 Args:
264 name: string, Required. The Source name. (required)
265 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).
266 x__xgafv: string, V1 error format.
267 Allowed values
268 1 - v1 error format
269 2 - v2 error format
270
271 Returns:
272 An object of the form:
273
274 { # This resource represents a long-running operation that is the result of a network API call.
275 &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.
276 &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.
277 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
278 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
279 {
280 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
281 },
282 ],
283 &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.
284 },
285 &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.
286 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
287 },
288 &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}`.
289 &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`.
290 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
291 },
292 }</pre>
293 </div>
294
295 <div class="method">
296 <code class="details" id="fetchInventory">fetchInventory(source, forceRefresh=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
297 <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.
298
299 Args:
300 source: string, Required. The name of the Source. (required)
301 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.
302 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.
303 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.
304 x__xgafv: string, V1 error format.
305 Allowed values
306 1 - v1 error format
307 2 - v2 error format
308
309 Returns:
310 An object of the form:
311
312 { # Response message for fetchInventory.
313 &quot;awsVms&quot;: { # AWSVmsDetails describes VMs in AWS. # The description of the VMs in a Source of type AWS.
314 &quot;details&quot;: [ # The details of the AWS VMs.
315 { # AwsVmDetails describes a VM in AWS.
316 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture.
317 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option.
318 &quot;committedStorageMb&quot;: &quot;A String&quot;, # The total size of the storage allocated to the VM in MB.
319 &quot;cpuCount&quot;: 42, # The number of CPU cores the VM has.
320 &quot;diskCount&quot;: 42, # The number of disks the VM has.
321 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the VM. Note that this value is not necessarily unique.
322 &quot;instanceType&quot;: &quot;A String&quot;, # The instance type of the VM.
323 &quot;memoryMb&quot;: 42, # The memory size of the VM in MB.
324 &quot;osDescription&quot;: &quot;A String&quot;, # The VM&#x27;s OS.
325 &quot;powerState&quot;: &quot;A String&quot;, # Output only. The power state of the VM at the moment list was taken.
326 &quot;securityGroups&quot;: [ # The security groups the VM belongs to.
327 { # AwsSecurityGroup describes a security group of an AWS VM.
328 &quot;id&quot;: &quot;A String&quot;, # The AWS security group id.
329 &quot;name&quot;: &quot;A String&quot;, # The AWS security group name.
330 },
331 ],
332 &quot;sourceDescription&quot;: &quot;A String&quot;, # The descriptive name of the AWS&#x27;s source this VM is connected to.
333 &quot;sourceId&quot;: &quot;A String&quot;, # The id of the AWS&#x27;s source this VM is connected to.
334 &quot;tags&quot;: { # The tags of the VM.
335 &quot;a_key&quot;: &quot;A String&quot;,
336 },
337 &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.
338 &quot;virtualizationType&quot;: &quot;A String&quot;, # The virtualization type.
339 &quot;vmId&quot;: &quot;A String&quot;, # The VM ID in AWS.
340 &quot;vpcId&quot;: &quot;A String&quot;, # The VPC ID the VM belongs to.
341 &quot;zone&quot;: &quot;A String&quot;, # The AWS zone of the VM.
342 },
343 ],
344 },
345 &quot;azureVms&quot;: { # AzureVmsDetails describes VMs in Azure. # The description of the VMs in a Source of type Azure.
346 &quot;details&quot;: [ # The details of the Azure VMs.
347 { # AzureVmDetails describes a VM in Azure.
348 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture.
349 &quot;bootOption&quot;: &quot;A String&quot;, # The VM Boot Option.
350 &quot;committedStorageMb&quot;: &quot;A String&quot;, # The total size of the storage allocated to the VM in MB.
351 &quot;computerName&quot;: &quot;A String&quot;, # The VM&#x27;s ComputerName.
352 &quot;cpuCount&quot;: 42, # The number of cpus the VM has.
353 &quot;diskCount&quot;: 42, # The number of disks the VM has, including OS disk.
354 &quot;disks&quot;: [ # Description of the data disks.
355 { # A message describing a data disk.
356 &quot;lun&quot;: 42, # The disk&#x27;s Logical Unit Number (LUN).
357 &quot;name&quot;: &quot;A String&quot;, # The disk name.
358 &quot;sizeGb&quot;: 42, # The disk size in GB.
359 },
360 ],
361 &quot;memoryMb&quot;: 42, # The memory size of the VM in MB.
362 &quot;osDescription&quot;: { # A message describing the VM&#x27;s OS. Including OS, Publisher, Offer and Plan if applicable. # Description of the OS.
363 &quot;offer&quot;: &quot;A String&quot;, # OS offer.
364 &quot;plan&quot;: &quot;A String&quot;, # OS plan.
365 &quot;publisher&quot;: &quot;A String&quot;, # OS publisher.
366 &quot;type&quot;: &quot;A String&quot;, # OS type.
367 },
368 &quot;osDisk&quot;: { # A message describing the OS disk. # Description of the OS disk.
369 &quot;name&quot;: &quot;A String&quot;, # The disk&#x27;s full name.
370 &quot;sizeGb&quot;: 42, # The disk&#x27;s size in GB.
371 &quot;type&quot;: &quot;A String&quot;, # The disk&#x27;s type.
372 },
373 &quot;powerState&quot;: &quot;A String&quot;, # The power state of the VM at the moment list was taken.
374 &quot;tags&quot;: { # The tags of the VM.
375 &quot;a_key&quot;: &quot;A String&quot;,
376 },
377 &quot;vmId&quot;: &quot;A String&quot;, # The VM full path in Azure.
378 &quot;vmSize&quot;: &quot;A String&quot;, # VM size as configured in Azure. Determines the VM&#x27;s hardware spec.
379 },
380 ],
381 },
382 &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.
383 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last queried (if the result is from the cache).
384 &quot;vmwareVms&quot;: { # VmwareVmsDetails describes VMs in vCenter. # The description of the VMs in a Source of type Vmware.
385 &quot;details&quot;: [ # The details of the vmware VMs.
386 { # VmwareVmDetails describes a VM in vCenter.
387 &quot;architecture&quot;: &quot;A String&quot;, # Output only. The CPU architecture.
388 &quot;bootOption&quot;: &quot;A String&quot;, # Output only. The VM Boot Option.
389 &quot;committedStorage&quot;: &quot;A String&quot;, # The total size of the storage allocated to the VM in MB.
390 &quot;committedStorageMb&quot;: &quot;A String&quot;, # The total size of the storage allocated to the VM in MB.
391 &quot;cpuCount&quot;: 42, # The number of cpus in the VM.
392 &quot;datacenterDescription&quot;: &quot;A String&quot;, # The descriptive name of the vCenter&#x27;s datacenter this VM is contained in.
393 &quot;datacenterId&quot;: &quot;A String&quot;, # The id of the vCenter&#x27;s datacenter this VM is contained in.
394 &quot;diskCount&quot;: 42, # The number of disks the VM has.
395 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the VM. Note that this is not necessarily unique.
396 &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.
397 &quot;memoryMb&quot;: 42, # The size of the memory of the VM in MB.
398 &quot;powerState&quot;: &quot;A String&quot;, # The power state of the VM at the moment list was taken.
399 &quot;uuid&quot;: &quot;A String&quot;, # The unique identifier of the VM in vCenter.
400 &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.
401 },
402 ],
403 },
404 }</pre>
405 </div>
406
407 <div class="method">
408 <code class="details" id="fetchInventory_next">fetchInventory_next()</code>
409 <pre>Retrieves the next page of results.
410
411 Args:
412 previous_request: The request for the previous page. (required)
413 previous_response: The response from the request for the previous page. (required)
414
415 Returns:
416 A request object that you can call &#x27;execute()&#x27; on to request the next
417 page. Returns None if there are no more items in the collection.
418 </pre>
419 </div>
420
421 <div class="method">
422 <code class="details" id="fetchStorageInventory">fetchStorageInventory(source, forceRefresh=None, pageSize=None, pageToken=None, type=None, x__xgafv=None)</code>
423 <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.
424
425 Args:
426 source: string, Required. The name of the Source. (required)
427 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.
428 pageSize: integer, Optional. The maximum number of VMs to return. The service may return fewer than this value.
429 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.
430 type: string, Required. The type of the storage inventory to fetch.
431 Allowed values
432 STORAGE_TYPE_UNSPECIFIED - The type is unspecified.
433 DISKS - The type is disks.
434 SNAPSHOTS - The type is snapshots.
435 x__xgafv: string, V1 error format.
436 Allowed values
437 1 - v1 error format
438 2 - v2 error format
439
440 Returns:
441 An object of the form:
442
443 { # Response message for fetchStorageInventory.
444 &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.
445 &quot;resources&quot;: [ # The list of storage resources in the source.
446 { # SourceStorageResource describes a storage resource in the source.
447 &quot;awsDiskDetails&quot;: { # Represents the source AWS Disk details. # Source AWS volume details.
448 &quot;diskType&quot;: &quot;A String&quot;, # Optional. Output only. Disk type.
449 &quot;sizeGib&quot;: &quot;A String&quot;, # Output only. Size in GiB.
450 &quot;tags&quot;: { # Optional. Output only. A map of AWS volume tags.
451 &quot;a_key&quot;: &quot;A String&quot;,
452 },
453 &quot;volumeId&quot;: &quot;A String&quot;, # Required. AWS volume ID.
454 },
455 },
456 ],
457 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last queried (if the result is from the cache).
458 }</pre>
459 </div>
460
461 <div class="method">
462 <code class="details" id="fetchStorageInventory_next">fetchStorageInventory_next()</code>
463 <pre>Retrieves the next page of results.
464
465 Args:
466 previous_request: The request for the previous page. (required)
467 previous_response: The response from the request for the previous page. (required)
468
469 Returns:
470 A request object that you can call &#x27;execute()&#x27; on to request the next
471 page. Returns None if there are no more items in the collection.
472 </pre>
473 </div>
474
475 <div class="method">
476 <code class="details" id="get">get(name, x__xgafv=None)</code>
477 <pre>Gets details of a single Source.
478
479 Args:
480 name: string, Required. The Source name. (required)
481 x__xgafv: string, V1 error format.
482 Allowed values
483 1 - v1 error format
484 2 - v2 error format
485
486 Returns:
487 An object of the form:
488
489 { # Source message describes a specific vm migration Source resource. It contains the source environment information.
490 &quot;aws&quot;: { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details.
491 &quot;accessKeyCreds&quot;: { # Message describing AWS Credentials using access key id and secret. # AWS Credentials using access key id and secret.
492 &quot;accessKeyId&quot;: &quot;A String&quot;, # AWS access key ID.
493 &quot;secretAccessKey&quot;: &quot;A String&quot;, # Input only. AWS secret access key.
494 &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.
495 },
496 &quot;awsRegion&quot;: &quot;A String&quot;, # Immutable. The AWS region that the source VMs will be migrated from.
497 &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.
498 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
499 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
500 {
501 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
502 },
503 ],
504 &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.
505 },
506 &quot;inventorySecurityGroupNames&quot;: [ # AWS security group names to limit the scope of the source inventory.
507 &quot;A String&quot;,
508 ],
509 &quot;inventoryTagList&quot;: [ # AWS resource tags to limit the scope of the source inventory.
510 { # Tag is an AWS tag representation.
511 &quot;key&quot;: &quot;A String&quot;, # Required. Key of tag.
512 &quot;value&quot;: &quot;A String&quot;, # Required. Value of tag.
513 },
514 ],
515 &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`.
516 &quot;a_key&quot;: &quot;A String&quot;,
517 },
518 &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.
519 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
520 },
521 &quot;azure&quot;: { # AzureSourceDetails message describes a specific source details for the Azure source type. # Azure type source details.
522 &quot;azureLocation&quot;: &quot;A String&quot;, # Immutable. The Azure location (region) that the source VMs will be migrated from.
523 &quot;clientSecretCreds&quot;: { # Message describing Azure Credentials using tenant ID, client ID and secret. # Azure Credentials using tenant ID, client ID and secret.
524 &quot;clientId&quot;: &quot;A String&quot;, # Azure client ID.
525 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Azure client secret.
526 &quot;tenantId&quot;: &quot;A String&quot;, # Azure tenant ID.
527 },
528 &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.
529 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
530 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
531 {
532 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
533 },
534 ],
535 &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.
536 },
537 &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`.
538 &quot;a_key&quot;: &quot;A String&quot;,
539 },
540 &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.
541 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
542 &quot;subscriptionId&quot;: &quot;A String&quot;, # Immutable. Azure subscription ID.
543 },
544 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
545 &quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
546 &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.
547 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
548 },
549 &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.
550 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
551 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
552 {
553 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
554 },
555 ],
556 &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.
557 },
558 &quot;labels&quot;: { # The labels of the source.
559 &quot;a_key&quot;: &quot;A String&quot;,
560 },
561 &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
562 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
563 &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
564 &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.
565 &quot;resolvedVcenterHost&quot;: &quot;A String&quot;, # The hostname of the vcenter.
566 &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
567 &quot;username&quot;: &quot;A String&quot;, # The credentials username.
568 &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
569 },
570 }</pre>
571 </div>
572
573 <div class="method">
574 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
575 <pre>Lists Sources in a given project and location.
576
577 Args:
578 parent: string, Required. The parent, which owns this collection of sources. (required)
579 filter: string, Optional. The filter request.
580 orderBy: string, Optional. the order by fields for the result.
581 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.
582 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.
583 x__xgafv: string, V1 error format.
584 Allowed values
585 1 - v1 error format
586 2 - v2 error format
587
588 Returns:
589 An object of the form:
590
591 { # Response message for &#x27;ListSources&#x27; request.
592 &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.
593 &quot;sources&quot;: [ # Output only. The list of sources response.
594 { # Source message describes a specific vm migration Source resource. It contains the source environment information.
595 &quot;aws&quot;: { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details.
596 &quot;accessKeyCreds&quot;: { # Message describing AWS Credentials using access key id and secret. # AWS Credentials using access key id and secret.
597 &quot;accessKeyId&quot;: &quot;A String&quot;, # AWS access key ID.
598 &quot;secretAccessKey&quot;: &quot;A String&quot;, # Input only. AWS secret access key.
599 &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.
600 },
601 &quot;awsRegion&quot;: &quot;A String&quot;, # Immutable. The AWS region that the source VMs will be migrated from.
602 &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.
603 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
604 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
605 {
606 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
607 },
608 ],
609 &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.
610 },
611 &quot;inventorySecurityGroupNames&quot;: [ # AWS security group names to limit the scope of the source inventory.
612 &quot;A String&quot;,
613 ],
614 &quot;inventoryTagList&quot;: [ # AWS resource tags to limit the scope of the source inventory.
615 { # Tag is an AWS tag representation.
616 &quot;key&quot;: &quot;A String&quot;, # Required. Key of tag.
617 &quot;value&quot;: &quot;A String&quot;, # Required. Value of tag.
618 },
619 ],
620 &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`.
621 &quot;a_key&quot;: &quot;A String&quot;,
622 },
623 &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.
624 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
625 },
626 &quot;azure&quot;: { # AzureSourceDetails message describes a specific source details for the Azure source type. # Azure type source details.
627 &quot;azureLocation&quot;: &quot;A String&quot;, # Immutable. The Azure location (region) that the source VMs will be migrated from.
628 &quot;clientSecretCreds&quot;: { # Message describing Azure Credentials using tenant ID, client ID and secret. # Azure Credentials using tenant ID, client ID and secret.
629 &quot;clientId&quot;: &quot;A String&quot;, # Azure client ID.
630 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Azure client secret.
631 &quot;tenantId&quot;: &quot;A String&quot;, # Azure tenant ID.
632 },
633 &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.
634 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
635 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
636 {
637 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
638 },
639 ],
640 &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.
641 },
642 &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`.
643 &quot;a_key&quot;: &quot;A String&quot;,
644 },
645 &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.
646 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
647 &quot;subscriptionId&quot;: &quot;A String&quot;, # Immutable. Azure subscription ID.
648 },
649 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
650 &quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
651 &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.
652 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
653 },
654 &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.
655 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
656 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
657 {
658 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
659 },
660 ],
661 &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.
662 },
663 &quot;labels&quot;: { # The labels of the source.
664 &quot;a_key&quot;: &quot;A String&quot;,
665 },
666 &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
667 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
668 &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
669 &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.
670 &quot;resolvedVcenterHost&quot;: &quot;A String&quot;, # The hostname of the vcenter.
671 &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
672 &quot;username&quot;: &quot;A String&quot;, # The credentials username.
673 &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
674 },
675 },
676 ],
677 &quot;unreachable&quot;: [ # Output only. Locations that could not be reached.
678 &quot;A String&quot;,
679 ],
680 }</pre>
681 </div>
682
683 <div class="method">
684 <code class="details" id="list_next">list_next()</code>
685 <pre>Retrieves the next page of results.
686
687 Args:
688 previous_request: The request for the previous page. (required)
689 previous_response: The response from the request for the previous page. (required)
690
691 Returns:
692 A request object that you can call &#x27;execute()&#x27; on to request the next
693 page. Returns None if there are no more items in the collection.
694 </pre>
695 </div>
696
697 <div class="method">
698 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
699 <pre>Updates the parameters of a single Source.
700
701 Args:
702 name: string, Output only. The Source name. (required)
703 body: object, The request body.
704 The object takes the form of:
705
706 { # Source message describes a specific vm migration Source resource. It contains the source environment information.
707 &quot;aws&quot;: { # AwsSourceDetails message describes a specific source details for the AWS source type. # AWS type source details.
708 &quot;accessKeyCreds&quot;: { # Message describing AWS Credentials using access key id and secret. # AWS Credentials using access key id and secret.
709 &quot;accessKeyId&quot;: &quot;A String&quot;, # AWS access key ID.
710 &quot;secretAccessKey&quot;: &quot;A String&quot;, # Input only. AWS secret access key.
711 &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.
712 },
713 &quot;awsRegion&quot;: &quot;A String&quot;, # Immutable. The AWS region that the source VMs will be migrated from.
714 &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.
715 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
716 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
717 {
718 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
719 },
720 ],
721 &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.
722 },
723 &quot;inventorySecurityGroupNames&quot;: [ # AWS security group names to limit the scope of the source inventory.
724 &quot;A String&quot;,
725 ],
726 &quot;inventoryTagList&quot;: [ # AWS resource tags to limit the scope of the source inventory.
727 { # Tag is an AWS tag representation.
728 &quot;key&quot;: &quot;A String&quot;, # Required. Key of tag.
729 &quot;value&quot;: &quot;A String&quot;, # Required. Value of tag.
730 },
731 ],
732 &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`.
733 &quot;a_key&quot;: &quot;A String&quot;,
734 },
735 &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.
736 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
737 },
738 &quot;azure&quot;: { # AzureSourceDetails message describes a specific source details for the Azure source type. # Azure type source details.
739 &quot;azureLocation&quot;: &quot;A String&quot;, # Immutable. The Azure location (region) that the source VMs will be migrated from.
740 &quot;clientSecretCreds&quot;: { # Message describing Azure Credentials using tenant ID, client ID and secret. # Azure Credentials using tenant ID, client ID and secret.
741 &quot;clientId&quot;: &quot;A String&quot;, # Azure client ID.
742 &quot;clientSecret&quot;: &quot;A String&quot;, # Input only. Azure client secret.
743 &quot;tenantId&quot;: &quot;A String&quot;, # Azure tenant ID.
744 },
745 &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.
746 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
747 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
748 {
749 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
750 },
751 ],
752 &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.
753 },
754 &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`.
755 &quot;a_key&quot;: &quot;A String&quot;,
756 },
757 &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.
758 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the source as determined by the health check.
759 &quot;subscriptionId&quot;: &quot;A String&quot;, # Immutable. Azure subscription ID.
760 },
761 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
762 &quot;description&quot;: &quot;A String&quot;, # User-provided description of the source.
763 &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.
764 &quot;kmsKey&quot;: &quot;A String&quot;, # Required. The name of the encryption key that is stored in Google Cloud KMS.
765 },
766 &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.
767 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
768 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
769 {
770 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
771 },
772 ],
773 &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.
774 },
775 &quot;labels&quot;: { # The labels of the source.
776 &quot;a_key&quot;: &quot;A String&quot;,
777 },
778 &quot;name&quot;: &quot;A String&quot;, # Output only. The Source name.
779 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
780 &quot;vmware&quot;: { # VmwareSourceDetails message describes a specific source details for the vmware source type. # Vmware type source details.
781 &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.
782 &quot;resolvedVcenterHost&quot;: &quot;A String&quot;, # The hostname of the vcenter.
783 &quot;thumbprint&quot;: &quot;A String&quot;, # The thumbprint representing the certificate for the vcenter.
784 &quot;username&quot;: &quot;A String&quot;, # The credentials username.
785 &quot;vcenterIp&quot;: &quot;A String&quot;, # The ip address of the vcenter this Source represents.
786 },
787 }
788
789 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).
790 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.
791 x__xgafv: string, V1 error format.
792 Allowed values
793 1 - v1 error format
794 2 - v2 error format
795
796 Returns:
797 An object of the form:
798
799 { # This resource represents a long-running operation that is the result of a network API call.
800 &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.
801 &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.
802 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
803 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
804 {
805 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
806 },
807 ],
808 &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.
809 },
810 &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.
811 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
812 },
813 &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}`.
814 &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`.
815 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
816 },
817 }</pre>
818 </div>
819
820 </body></html>