@maxim_mazurok/gapi.client.vmmigration-v1alpha1 0.0.20220803

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts ADDED
@@ -0,0 +1,3315 @@
1
+ /* Type definitions for non-npm package VM Migration API v1alpha1 0.0 */
2
+ // Project: https://cloud.google.com/migrate/virtual-machines
3
+ // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
+ // Nick Amoscato <https://github.com/namoscato>
5
+ // Declan Vong <https://github.com/declanvong>
6
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
+ // TypeScript Version: 2.8
8
+
9
+ // IMPORTANT
10
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
+ // Generated from: https://vmmigration.googleapis.com/$discovery/rest?version=v1alpha1
13
+ // Revision: 20220803
14
+
15
+ /// <reference types="gapi.client" />
16
+
17
+ declare namespace gapi.client {
18
+ /** Load VM Migration API v1alpha1 */
19
+ function load(urlOrObject: "https://vmmigration.googleapis.com/$discovery/rest?version=v1alpha1"): Promise<void>;
20
+ /** @deprecated Please load APIs with discovery documents. */
21
+ function load(name: "vmmigration", version: "v1alpha1"): Promise<void>;
22
+ /** @deprecated Please load APIs with discovery documents. */
23
+ function load(name: "vmmigration", version: "v1alpha1", callback: () => any): void;
24
+
25
+ namespace vmmigration {
26
+ // tslint:disable-next-line:no-empty-interface
27
+ interface AdaptingOSStep {
28
+ }
29
+ interface AddGroupMigrationRequest {
30
+ /** The full path name of the MigratingVm to add. */
31
+ migratingVm?: string;
32
+ }
33
+ interface ApplianceVersion {
34
+ /** Determine whether it's critical to upgrade the appliance to this version. */
35
+ critical?: boolean;
36
+ /** Link to a page that contains the version release notes. */
37
+ releaseNotesUri?: string;
38
+ /** A link for downloading the version. */
39
+ uri?: string;
40
+ /** The appliance version. */
41
+ version?: string;
42
+ }
43
+ interface AppliedLicense {
44
+ /** The OS license returned from the adaptation module's report. */
45
+ osLicense?: string;
46
+ /** The license type that was used in OS adaptation. */
47
+ type?: string;
48
+ }
49
+ interface AvailableUpdates {
50
+ /** The latest version for in place update. The current appliance can be updated to this version using the API or m4c CLI. */
51
+ inPlaceUpdate?: ApplianceVersion;
52
+ /** The newest deployable version of the appliance. The current appliance can't be updated into this version, and the owner must manually deploy this OVA to a new appliance. */
53
+ newDeployableAppliance?: ApplianceVersion;
54
+ }
55
+ // tslint:disable-next-line:no-empty-interface
56
+ interface CancelCloneJobRequest {
57
+ }
58
+ // tslint:disable-next-line:no-empty-interface
59
+ interface CancelCutoverJobRequest {
60
+ }
61
+ // tslint:disable-next-line:no-empty-interface
62
+ interface CancelOperationRequest {
63
+ }
64
+ interface CloneJob {
65
+ /** Output only. Details of the target VM in Compute Engine. */
66
+ computeEngineTargetDetails?: ComputeEngineTargetDetails;
67
+ /** Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead. */
68
+ computeEngineVmDetails?: TargetVMDetails;
69
+ /** Output only. The time the clone job was created (as an API call, not when it was actually created in the target). */
70
+ createTime?: string;
71
+ /** Output only. The time the clone job was ended. */
72
+ endTime?: string;
73
+ /** Output only. Provides details for the errors that led to the Clone Job's state. */
74
+ error?: Status;
75
+ /** Output only. The name of the clone. */
76
+ name?: string;
77
+ /** Output only. State of the clone job. */
78
+ state?: string;
79
+ /** Output only. The time the state was last updated. */
80
+ stateTime?: string;
81
+ /** Output only. The clone steps list representing its progress. */
82
+ steps?: CloneStep[];
83
+ /** Output only. Details of the VM to create as the target of this clone job. Deprecated: Use compute_engine_target_details instead. */
84
+ targetDetails?: TargetVMDetails;
85
+ }
86
+ interface CloneStep {
87
+ /** Adapting OS step. */
88
+ adaptingOs?: any;
89
+ /** The time the step has ended. */
90
+ endTime?: string;
91
+ /** Instantiating migrated VM step. */
92
+ instantiatingMigratedVm?: any;
93
+ /** Preparing VM disks step. */
94
+ preparingVmDisks?: any;
95
+ /** The time the step has started. */
96
+ startTime?: string;
97
+ }
98
+ interface ComputeEngineTargetDefaults {
99
+ /** Additional licenses to assign to the VM. */
100
+ additionalLicenses?: string[];
101
+ /** Output only. The OS license returned from the adaptation module report. */
102
+ appliedLicense?: AppliedLicense;
103
+ /** Output only. The VM Boot Option, as set in the source vm. */
104
+ bootOption?: string;
105
+ /** Compute instance scheduling information (if empty default is used). */
106
+ computeScheduling?: ComputeScheduling;
107
+ /** The disk type to use in the VM. */
108
+ diskType?: string;
109
+ /** The hostname to assign to the VM. */
110
+ hostname?: string;
111
+ /** A map of labels to associate with the VM. */
112
+ labels?: { [P in string]: string };
113
+ /** The license type to use in OS adaptation. */
114
+ licenseType?: string;
115
+ /** The machine type to create the VM with. */
116
+ machineType?: string;
117
+ /** The machine type series to create the VM with. */
118
+ machineTypeSeries?: string;
119
+ /** The metadata key/value pairs to assign to the VM. */
120
+ metadata?: { [P in string]: string };
121
+ /** List of NICs connected to this VM. */
122
+ networkInterfaces?: NetworkInterface[];
123
+ /** A map of network tags to associate with the VM. */
124
+ networkTags?: string[];
125
+ /** Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. */
126
+ secureBoot?: boolean;
127
+ /** The service account to associate the VM with. */
128
+ serviceAccount?: string;
129
+ /** The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. */
130
+ targetProject?: string;
131
+ /** The name of the VM to create. */
132
+ vmName?: string;
133
+ /** The zone in which to create the VM. */
134
+ zone?: string;
135
+ }
136
+ interface ComputeEngineTargetDetails {
137
+ /** Additional licenses to assign to the VM. */
138
+ additionalLicenses?: string[];
139
+ /** The OS license returned from the adaptation module report. */
140
+ appliedLicense?: AppliedLicense;
141
+ /** The VM Boot Option, as set in the source vm. */
142
+ bootOption?: string;
143
+ /** Compute instance scheduling information (if empty default is used). */
144
+ computeScheduling?: ComputeScheduling;
145
+ /** The disk type to use in the VM. */
146
+ diskType?: string;
147
+ /** The hostname to assign to the VM. */
148
+ hostname?: string;
149
+ /** A map of labels to associate with the VM. */
150
+ labels?: { [P in string]: string };
151
+ /** The license type to use in OS adaptation. */
152
+ licenseType?: string;
153
+ /** The machine type to create the VM with. */
154
+ machineType?: string;
155
+ /** The machine type series to create the VM with. */
156
+ machineTypeSeries?: string;
157
+ /** The metadata key/value pairs to assign to the VM. */
158
+ metadata?: { [P in string]: string };
159
+ /** List of NICs connected to this VM. */
160
+ networkInterfaces?: NetworkInterface[];
161
+ /** A map of network tags to associate with the VM. */
162
+ networkTags?: string[];
163
+ /** The GCP target project ID or project name. */
164
+ project?: string;
165
+ /** Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. */
166
+ secureBoot?: boolean;
167
+ /** The service account to associate the VM with. */
168
+ serviceAccount?: string;
169
+ /** The name of the VM to create. */
170
+ vmName?: string;
171
+ /** The zone in which to create the VM. */
172
+ zone?: string;
173
+ }
174
+ interface ComputeScheduling {
175
+ automaticRestart?: boolean;
176
+ /** The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured. */
177
+ minNodeCpus?: number;
178
+ /** A set of node affinity and anti-affinity configurations for sole tenant nodes. */
179
+ nodeAffinities?: SchedulingNodeAffinity[];
180
+ /** How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance. */
181
+ onHostMaintenance?: string;
182
+ /**
183
+ * Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user). This configuration is identical to `automaticRestart`
184
+ * field in Compute Engine create instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in Compute Engine which is automatic restart.
185
+ */
186
+ restartType?: string;
187
+ }
188
+ interface CutoverJob {
189
+ /** Output only. Details of the target VM in Compute Engine. */
190
+ computeEngineTargetDetails?: ComputeEngineTargetDetails;
191
+ /** Output only. Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_details instead. */
192
+ computeEngineVmDetails?: TargetVMDetails;
193
+ /** Output only. The time the cutover job was created (as an API call, not when it was actually created in the target). */
194
+ createTime?: string;
195
+ /** Output only. The time the cutover job had finished. */
196
+ endTime?: string;
197
+ /** Output only. Provides details for the errors that led to the Cutover Job's state. */
198
+ error?: Status;
199
+ /** Output only. The name of the cutover job. */
200
+ name?: string;
201
+ /** Output only. The current progress in percentage of the cutover job. */
202
+ progress?: number;
203
+ /** Output only. The current progress in percentage of the cutover job. */
204
+ progressPercent?: number;
205
+ /** Output only. State of the cutover job. */
206
+ state?: string;
207
+ /** Output only. A message providing possible extra details about the current state. */
208
+ stateMessage?: string;
209
+ /** Output only. The time the state was last updated. */
210
+ stateTime?: string;
211
+ /** Output only. The cutover steps list representing its progress. */
212
+ steps?: CutoverStep[];
213
+ /** Output only. Details of the VM to create as the target of this cutover job. Deprecated: Use compute_engine_target_details instead. */
214
+ targetDetails?: TargetVMDetails;
215
+ }
216
+ interface CutoverStep {
217
+ /** The time the step has ended. */
218
+ endTime?: string;
219
+ /** Final sync step. */
220
+ finalSync?: ReplicationCycle;
221
+ /** Instantiating migrated VM step. */
222
+ instantiatingMigratedVm?: any;
223
+ /** Preparing VM disks step. */
224
+ preparingVmDisks?: any;
225
+ /** A replication cycle prior cutover step. */
226
+ previousReplicationCycle?: ReplicationCycle;
227
+ /** Shutting down VM step. */
228
+ shuttingDownSourceVm?: any;
229
+ /** The time the step has started. */
230
+ startTime?: string;
231
+ }
232
+ interface CycleStep {
233
+ /** The time the cycle step has ended. */
234
+ endTime?: string;
235
+ /** Initializing replication step. */
236
+ initializingReplication?: any;
237
+ /** Post processing step. */
238
+ postProcessing?: any;
239
+ /** Replicating step. */
240
+ replicating?: ReplicatingStep;
241
+ /** The time the cycle step has started. */
242
+ startTime?: string;
243
+ }
244
+ interface DatacenterConnector {
245
+ /**
246
+ * Output only. Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the
247
+ * appliance.
248
+ */
249
+ applianceInfrastructureVersion?: string;
250
+ /** Output only. Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance. */
251
+ applianceSoftwareVersion?: string;
252
+ /** Output only. The available versions for updating this appliance. */
253
+ availableVersions?: AvailableUpdates;
254
+ /** Output only. The communication channel between the datacenter connector and GCP. */
255
+ bucket?: string;
256
+ /** Output only. The time the connector was created (as an API call, not when it was actually installed). */
257
+ createTime?: string;
258
+ /** Output only. Provides details on the state of the Datacenter Connector in case of an error. */
259
+ error?: Status;
260
+ /** Output only. The connector's name. */
261
+ name?: string;
262
+ /** Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified. */
263
+ registrationId?: string;
264
+ /** The service account to use in the connector when communicating with the cloud. */
265
+ serviceAccount?: string;
266
+ /** Output only. State of the DatacenterConnector, as determined by the health checks. */
267
+ state?: string;
268
+ /** Output only. The time the state was last set. */
269
+ stateTime?: string;
270
+ /** Output only. The last time the connector was updated with an API call. */
271
+ updateTime?: string;
272
+ /** Output only. The status of the current / last upgradeAppliance operation. */
273
+ upgradeStatus?: UpgradeStatus;
274
+ /** The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified. */
275
+ version?: string;
276
+ }
277
+ // tslint:disable-next-line:no-empty-interface
278
+ interface Empty {
279
+ }
280
+ interface FetchInventoryResponse {
281
+ /** 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. */
282
+ nextPageToken?: string;
283
+ /** Output only. The timestamp when the source was last queried (if the result is from the cache). */
284
+ updateTime?: string;
285
+ /** The description of the VMs in a Source of type Vmware. */
286
+ vmwareVms?: VmwareVmsDetails;
287
+ }
288
+ // tslint:disable-next-line:no-empty-interface
289
+ interface FinalizeMigrationRequest {
290
+ }
291
+ interface Group {
292
+ /** Output only. The create time timestamp. */
293
+ createTime?: string;
294
+ /** User-provided description of the group. */
295
+ description?: string;
296
+ /** Display name is a user defined name for this group which can be updated. */
297
+ displayName?: string;
298
+ /** Output only. The Group name. */
299
+ name?: string;
300
+ /** Output only. The update time timestamp. */
301
+ updateTime?: string;
302
+ }
303
+ // tslint:disable-next-line:no-empty-interface
304
+ interface InitializingReplicationStep {
305
+ }
306
+ // tslint:disable-next-line:no-empty-interface
307
+ interface InstantiatingMigratedVMStep {
308
+ }
309
+ interface Link {
310
+ /** Describes what the link offers. */
311
+ description?: string;
312
+ /** The URL of the link. */
313
+ url?: string;
314
+ }
315
+ interface ListCloneJobsResponse {
316
+ /** Output only. The list of clone jobs response. */
317
+ cloneJobs?: CloneJob[];
318
+ /** 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. */
319
+ nextPageToken?: string;
320
+ /** Output only. Locations that could not be reached. */
321
+ unreachable?: string[];
322
+ }
323
+ interface ListCutoverJobsResponse {
324
+ /** Output only. The list of cutover jobs response. */
325
+ cutoverJobs?: CutoverJob[];
326
+ /** 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. */
327
+ nextPageToken?: string;
328
+ /** Output only. Locations that could not be reached. */
329
+ unreachable?: string[];
330
+ }
331
+ interface ListDatacenterConnectorsResponse {
332
+ /** Output only. The list of sources response. */
333
+ datacenterConnectors?: DatacenterConnector[];
334
+ /** 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. */
335
+ nextPageToken?: string;
336
+ /** Output only. Locations that could not be reached. */
337
+ unreachable?: string[];
338
+ }
339
+ interface ListGroupsResponse {
340
+ /** Output only. The list of groups response. */
341
+ groups?: Group[];
342
+ /** 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. */
343
+ nextPageToken?: string;
344
+ /** Output only. Locations that could not be reached. */
345
+ unreachable?: string[];
346
+ }
347
+ interface ListLocationsResponse {
348
+ /** A list of locations that matches the specified filter in the request. */
349
+ locations?: Location[];
350
+ /** The standard List next-page token. */
351
+ nextPageToken?: string;
352
+ }
353
+ interface ListMigratingVmsResponse {
354
+ /** Output only. The list of Migrating VMs response. */
355
+ migratingVms?: MigratingVm[];
356
+ /** 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. */
357
+ nextPageToken?: string;
358
+ /** Output only. Locations that could not be reached. */
359
+ unreachable?: string[];
360
+ }
361
+ interface ListOperationsResponse {
362
+ /** The standard List next-page token. */
363
+ nextPageToken?: string;
364
+ /** A list of operations that matches the specified filter in the request. */
365
+ operations?: Operation[];
366
+ }
367
+ interface ListSourcesResponse {
368
+ /** 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. */
369
+ nextPageToken?: string;
370
+ /** Output only. The list of sources response. */
371
+ sources?: Source[];
372
+ /** Output only. Locations that could not be reached. */
373
+ unreachable?: string[];
374
+ }
375
+ interface ListTargetProjectsResponse {
376
+ /** 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. */
377
+ nextPageToken?: string;
378
+ /** Output only. The list of target response. */
379
+ targetProjects?: TargetProject[];
380
+ /** Output only. Locations that could not be reached. */
381
+ unreachable?: string[];
382
+ }
383
+ interface ListUtilizationReportsResponse {
384
+ /** 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. */
385
+ nextPageToken?: string;
386
+ /** Output only. Locations that could not be reached. */
387
+ unreachable?: string[];
388
+ /** Output only. The list of reports. */
389
+ utilizationReports?: UtilizationReport[];
390
+ }
391
+ interface LocalizedMessage {
392
+ /** The locale used following the specification defined at http://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" */
393
+ locale?: string;
394
+ /** The localized error message in the above locale. */
395
+ message?: string;
396
+ }
397
+ interface Location {
398
+ /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
399
+ displayName?: string;
400
+ /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
401
+ labels?: { [P in string]: string };
402
+ /** The canonical id for this location. For example: `"us-east1"`. */
403
+ locationId?: string;
404
+ /** Service-specific metadata. For example the available capacity at the given location. */
405
+ metadata?: { [P in string]: any };
406
+ /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
407
+ name?: string;
408
+ }
409
+ interface MigratingVm {
410
+ /** Details of the target VM in Compute Engine. */
411
+ computeEngineTargetDefaults?: ComputeEngineTargetDefaults;
412
+ /** Details of the VM in Compute Engine. Deprecated: Use compute_engine_target_defaults instead. */
413
+ computeEngineVmDefaults?: TargetVMDetails;
414
+ /** Output only. The time the migrating VM was created (this refers to this resource and not to the time it was installed in the source). */
415
+ createTime?: string;
416
+ /** Output only. The percentage progress of the current running replication cycle. */
417
+ currentSyncInfo?: ReplicationCycle;
418
+ /** The description attached to the migrating VM by the user. */
419
+ description?: string;
420
+ /** The display name attached to the MigratingVm by the user. */
421
+ displayName?: string;
422
+ /** Output only. Provides details on the state of the Migrating VM in case of an error in replication. */
423
+ error?: Status;
424
+ /** Output only. The group this migrating vm is included in, if any. The group is represented by the full path of the appropriate Group resource. */
425
+ group?: string;
426
+ /** The labels of the migrating VM. */
427
+ labels?: { [P in string]: string };
428
+ /** Output only. The most updated snapshot created time in the source that finished replication. */
429
+ lastSync?: ReplicationSync;
430
+ /** Output only. The identifier of the MigratingVm. */
431
+ name?: string;
432
+ /** The replication schedule policy. */
433
+ policy?: SchedulePolicy;
434
+ /**
435
+ * Output only. The recent clone jobs performed on the migrating VM. This field holds the vm's last completed clone job and the vm's running clone job, if one exists. Note: To have
436
+ * this field populated you need to explicitly request it via the "view" parameter of the Get/List request.
437
+ */
438
+ recentCloneJobs?: CloneJob[];
439
+ /**
440
+ * Output only. The recent cutover jobs performed on the migrating VM. This field holds the vm's last completed cutover job and the vm's running cutover job, if one exists. Note: To
441
+ * have this field populated you need to explicitly request it via the "view" parameter of the Get/List request.
442
+ */
443
+ recentCutoverJobs?: CutoverJob[];
444
+ /** The unique ID of the VM in the source. The VM's name in vSphere can be changed, so this is not the VM's name but rather its moRef id. This id is of the form vm-. */
445
+ sourceVmId?: string;
446
+ /** Output only. State of the MigratingVm. */
447
+ state?: string;
448
+ /** Output only. The last time the migrating VM state was updated. */
449
+ stateTime?: string;
450
+ /** The default configuration of the target VM that will be created in GCP as a result of the migration. Deprecated: Use compute_engine_target_defaults instead. */
451
+ targetDefaults?: TargetVMDetails;
452
+ /** Output only. The last time the migrating VM resource was updated. */
453
+ updateTime?: string;
454
+ }
455
+ interface MigrationError {
456
+ /** Output only. Suggested action for solving the error. */
457
+ actionItem?: LocalizedMessage;
458
+ /** Output only. The error code. */
459
+ code?: string;
460
+ /** Output only. The localized error message. */
461
+ errorMessage?: LocalizedMessage;
462
+ /** Output only. The time the error occurred. */
463
+ errorTime?: string;
464
+ /** Output only. URL(s) pointing to additional information on handling the current error. */
465
+ helpLinks?: Link[];
466
+ }
467
+ interface NetworkInterface {
468
+ /** The external IP to define in the NIC. */
469
+ externalIp?: string;
470
+ /** The internal IP to define in the NIC. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. */
471
+ internalIp?: string;
472
+ /** The network to connect the NIC to. */
473
+ network?: string;
474
+ /** The subnetwork to connect the NIC to. */
475
+ subnetwork?: string;
476
+ }
477
+ interface Operation {
478
+ /** 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. */
479
+ done?: boolean;
480
+ /** The error result of the operation in case of failure or cancellation. */
481
+ error?: Status;
482
+ /**
483
+ * 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
484
+ * metadata. Any method that returns a long-running operation should document the metadata type, if any.
485
+ */
486
+ metadata?: { [P in string]: any };
487
+ /**
488
+ * 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
489
+ * with `operations/{unique_id}`.
490
+ */
491
+ name?: string;
492
+ /**
493
+ * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
494
+ * 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
495
+ * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
496
+ */
497
+ response?: { [P in string]: any };
498
+ }
499
+ interface OperationMetadata {
500
+ /** Output only. API version used to start the operation. */
501
+ apiVersion?: string;
502
+ /** Output only. The time the operation was created. */
503
+ createTime?: string;
504
+ /** Output only. The time the operation finished running. */
505
+ endTime?: string;
506
+ /**
507
+ * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a
508
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
509
+ */
510
+ requestedCancellation?: boolean;
511
+ /** Output only. Human-readable status of the operation, if any. */
512
+ statusMessage?: string;
513
+ /** Output only. Server-defined resource path for the target of the operation. */
514
+ target?: string;
515
+ /** Output only. Name of the verb executed by the operation. */
516
+ verb?: string;
517
+ }
518
+ // tslint:disable-next-line:no-empty-interface
519
+ interface PauseMigrationRequest {
520
+ }
521
+ // tslint:disable-next-line:no-empty-interface
522
+ interface PostProcessingStep {
523
+ }
524
+ // tslint:disable-next-line:no-empty-interface
525
+ interface PreparingVMDisksStep {
526
+ }
527
+ interface RemoveGroupMigrationRequest {
528
+ /** The MigratingVm to remove. */
529
+ migratingVm?: string;
530
+ }
531
+ interface ReplicatingStep {
532
+ /** The source disks replication rate for the last 30 minutes in bytes per second. */
533
+ lastThirtyMinutesAverageBytesPerSecond?: string;
534
+ /** The source disks replication rate for the last 2 minutes in bytes per second. */
535
+ lastTwoMinutesAverageBytesPerSecond?: string;
536
+ /** Replicated bytes in the step. */
537
+ replicatedBytes?: string;
538
+ /** Total bytes to be handled in the step. */
539
+ totalBytes?: string;
540
+ }
541
+ interface ReplicationCycle {
542
+ /** The time the replication cycle has ended. */
543
+ endTime?: string;
544
+ /** The identifier of the ReplicationCycle. */
545
+ name?: string;
546
+ /** The current progress in percentage of this cycle. */
547
+ progress?: number;
548
+ /** The current progress in percentage of this cycle. */
549
+ progressPercent?: number;
550
+ /** The time the replication cycle has started. */
551
+ startTime?: string;
552
+ /** The cycle's steps list representing its progress. */
553
+ steps?: CycleStep[];
554
+ /** The accumulated duration the replication cycle was paused. */
555
+ totalPauseDuration?: string;
556
+ }
557
+ interface ReplicationSync {
558
+ /** The most updated snapshot created time in the source that finished replication. */
559
+ lastSyncTime?: string;
560
+ }
561
+ // tslint:disable-next-line:no-empty-interface
562
+ interface ResumeMigrationRequest {
563
+ }
564
+ interface SchedulePolicy {
565
+ /** The idle duration between replication stages. */
566
+ idleDuration?: string;
567
+ /**
568
+ * A flag to indicate whether to skip OS adaptation during the replication sync. OS adaptation is a process where the VM's operating system undergoes changes and adaptations to fully
569
+ * function on Compute Engine.
570
+ */
571
+ skipOsAdaptation?: boolean;
572
+ }
573
+ interface SchedulingNodeAffinity {
574
+ /** The label key of Node resource to reference. */
575
+ key?: string;
576
+ /** The operator to use for the node resources specified in the `values` parameter. */
577
+ operator?: string;
578
+ /** Corresponds to the label values of Node resource. */
579
+ values?: string[];
580
+ }
581
+ // tslint:disable-next-line:no-empty-interface
582
+ interface ShuttingDownSourceVMStep {
583
+ }
584
+ interface Source {
585
+ /** Output only. The create time timestamp. */
586
+ createTime?: string;
587
+ /** User-provided description of the source. */
588
+ description?: string;
589
+ /** Output only. Provides details on the state of the Source in case of an error. */
590
+ error?: Status;
591
+ /** The labels of the source. */
592
+ labels?: { [P in string]: string };
593
+ /** Output only. The Source name. */
594
+ name?: string;
595
+ /** Output only. The update time timestamp. */
596
+ updateTime?: string;
597
+ /** Vmware type source details. */
598
+ vmware?: VmwareSourceDetails;
599
+ }
600
+ // tslint:disable-next-line:no-empty-interface
601
+ interface StartMigrationRequest {
602
+ }
603
+ interface Status {
604
+ /** The status code, which should be an enum value of google.rpc.Code. */
605
+ code?: number;
606
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
607
+ details?: Array<{ [P in string]: any }>;
608
+ /**
609
+ * 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
610
+ * client.
611
+ */
612
+ message?: string;
613
+ }
614
+ interface TargetProject {
615
+ /** Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created). */
616
+ createTime?: string;
617
+ /** The target project's description. */
618
+ description?: string;
619
+ /** Output only. The name of the target project. */
620
+ name?: string;
621
+ /** The target project ID (number) or project name. */
622
+ project?: string;
623
+ /** Output only. The last time the target project resource was updated. */
624
+ updateTime?: string;
625
+ }
626
+ interface TargetVMDetails {
627
+ /** Output only. The OS license returned from the adaptation module report. */
628
+ appliedLicense?: AppliedLicense;
629
+ /** Output only. The VM Boot Option, as set in the source vm. */
630
+ bootOption?: string;
631
+ /** Compute instance scheduling information (if empty default is used). */
632
+ computeScheduling?: ComputeScheduling;
633
+ /** The disk type to use in the VM. */
634
+ diskType?: string;
635
+ /** The external IP to define in the VM. */
636
+ externalIp?: string;
637
+ /** The internal IP to define in the VM. The formats accepted are: `ephemeral` \ ipv4 address \ a named address resource full path. */
638
+ internalIp?: string;
639
+ /** A map of labels to associate with the VM. */
640
+ labels?: { [P in string]: string };
641
+ /** The license type to use in OS adaptation. */
642
+ licenseType?: string;
643
+ /** The machine type to create the VM with. */
644
+ machineType?: string;
645
+ /** The machine type series to create the VM with. */
646
+ machineTypeSeries?: string;
647
+ /** The metadata key/value pairs to assign to the VM. */
648
+ metadata?: { [P in string]: string };
649
+ /** The name of the VM to create. */
650
+ name?: string;
651
+ /** The network to connect the VM to. */
652
+ network?: string;
653
+ /** List of NICs connected to this VM. */
654
+ networkInterfaces?: NetworkInterface[];
655
+ /** A map of network tags to associate with the VM. */
656
+ networkTags?: string[];
657
+ /** Output only. The project in which to create the VM. */
658
+ project?: string;
659
+ /** Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI. */
660
+ secureBoot?: boolean;
661
+ /** The service account to associate the VM with. */
662
+ serviceAccount?: string;
663
+ /** The subnetwork to connect the VM to. */
664
+ subnetwork?: string;
665
+ /** The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM. */
666
+ targetProject?: string;
667
+ /** The zone in which to create the VM. */
668
+ zone?: string;
669
+ }
670
+ interface UpgradeApplianceRequest {
671
+ /**
672
+ * 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.
673
+ * The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request times out. If
674
+ * 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.
675
+ * 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
676
+ * (00000000-0000-0000-0000-000000000000).
677
+ */
678
+ requestId?: string;
679
+ }
680
+ interface UpgradeStatus {
681
+ /** Provides details on the state of the upgrade operation in case of an error. */
682
+ error?: Status;
683
+ /** The version from which we upgraded. */
684
+ previousVersion?: string;
685
+ /** The time the operation was started. */
686
+ startTime?: string;
687
+ /** The state of the upgradeAppliance operation. */
688
+ state?: string;
689
+ /** The version to upgrade to. */
690
+ version?: string;
691
+ }
692
+ interface UtilizationReport {
693
+ /** Output only. The time the report was created (this refers to the time of the request, not the time the report creation completed). */
694
+ createTime?: string;
695
+ /** The report display name, as assigned by the user. */
696
+ displayName?: string;
697
+ /** Output only. Provides details on the state of the report in case of an error. */
698
+ error?: Status;
699
+ /**
700
+ * Output only. The point in time when the time frame ends. Notice that the time frame is counted backwards. For instance if the "frame_end_time" value is 2021/01/20 and the time frame
701
+ * is WEEK then the report covers the week between 2021/01/20 and 2021/01/14.
702
+ */
703
+ frameEndTime?: string;
704
+ /** Output only. The report unique name. */
705
+ name?: string;
706
+ /** Output only. Current state of the report. */
707
+ state?: string;
708
+ /** Output only. The time the state was last set. */
709
+ stateTime?: string;
710
+ /** Time frame of the report. */
711
+ timeFrame?: string;
712
+ /** Output only. Total number of VMs included in the report. */
713
+ vmCount?: number;
714
+ /**
715
+ * List of utilization information per VM. When sent as part of the request, the "vm_id" field is used in order to specify which VMs to include in the report. In that case all other
716
+ * fields are ignored.
717
+ */
718
+ vms?: VmUtilizationInfo[];
719
+ /** Output only. Total number of VMs included in the report. */
720
+ vmsCount?: number;
721
+ }
722
+ interface VmUtilizationInfo {
723
+ /** Utilization metrics for this VM. */
724
+ utilization?: VmUtilizationMetrics;
725
+ /** The VM's ID in the source. */
726
+ vmId?: string;
727
+ /** The description of the VM in a Source of type Vmware. */
728
+ vmwareVmDetails?: VmwareVmDetails;
729
+ }
730
+ interface VmUtilizationMetrics {
731
+ /** Average CPU usage, percent. */
732
+ cpuAverage?: number;
733
+ /** Average CPU usage, percent. */
734
+ cpuAveragePercent?: number;
735
+ /** Max CPU usage, percent. */
736
+ cpuMax?: number;
737
+ /** Max CPU usage, percent. */
738
+ cpuMaxPercent?: number;
739
+ /** Average disk IO rate, in kilobytes per second. */
740
+ diskIoRateAverage?: string;
741
+ /** Average disk IO rate, in kilobytes per second. */
742
+ diskIoRateAverageKbps?: string;
743
+ /** Max disk IO rate, in kilobytes per second. */
744
+ diskIoRateMax?: string;
745
+ /** Max disk IO rate, in kilobytes per second. */
746
+ diskIoRateMaxKbps?: string;
747
+ /** Average memory usage, percent. */
748
+ memoryAverage?: number;
749
+ /** Average memory usage, percent. */
750
+ memoryAveragePercent?: number;
751
+ /** Max memory usage, percent. */
752
+ memoryMax?: number;
753
+ /** Max memory usage, percent. */
754
+ memoryMaxPercent?: number;
755
+ /** Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second. */
756
+ networkThroughputAverage?: string;
757
+ /** Average network throughput (combined transmit-rates and receive-rates), in kilobytes per second. */
758
+ networkThroughputAverageKbps?: string;
759
+ /** Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second. */
760
+ networkThroughputMax?: string;
761
+ /** Max network throughput (combined transmit-rates and receive-rates), in kilobytes per second. */
762
+ networkThroughputMaxKbps?: string;
763
+ }
764
+ interface VmwareSourceDetails {
765
+ /** Input only. The credentials password. This is write only and can not be read in a GET operation. */
766
+ password?: string;
767
+ /** The thumbprint representing the certificate for the vcenter. */
768
+ thumbprint?: string;
769
+ /** The credentials username. */
770
+ username?: string;
771
+ /** The ip address of the vcenter this Source represents. */
772
+ vcenterIp?: string;
773
+ }
774
+ interface VmwareVmDetails {
775
+ /** Output only. The VM Boot Option. */
776
+ bootOption?: string;
777
+ /** The total size of the storage allocated to the VM in MB. */
778
+ committedStorage?: string;
779
+ /** The total size of the storage allocated to the VM in MB. */
780
+ committedStorageMb?: string;
781
+ /** The number of cpus in the VM. */
782
+ cpuCount?: number;
783
+ /** The descriptive name of the vCenter's datacenter this VM is contained in. */
784
+ datacenterDescription?: string;
785
+ /** The id of the vCenter's datacenter this VM is contained in. */
786
+ datacenterId?: string;
787
+ /** The number of disks the VM has. */
788
+ diskCount?: number;
789
+ /** The display name of the VM. Note that this is not necessarily unique. */
790
+ displayName?: string;
791
+ /**
792
+ * The VM's OS. See for example
793
+ * 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
794
+ * for types of strings this might hold.
795
+ */
796
+ guestDescription?: string;
797
+ /** The size of the memory of the VM in MB. */
798
+ memoryMb?: number;
799
+ /** The power state of the VM at the moment list was taken. */
800
+ powerState?: string;
801
+ /** The unique identifier of the VM in vCenter. */
802
+ uuid?: string;
803
+ /** The VM's id in the source (note that this is not the MigratingVm's id). This is the moref id of the VM. */
804
+ vmId?: string;
805
+ }
806
+ interface VmwareVmsDetails {
807
+ /** The details of the vmware VMs. */
808
+ details?: VmwareVmDetails[];
809
+ }
810
+ interface GroupsResource {
811
+ /** Adds a MigratingVm to a Group. */
812
+ addGroupMigration(request: {
813
+ /** V1 error format. */
814
+ "$.xgafv"?: string;
815
+ /** OAuth access token. */
816
+ access_token?: string;
817
+ /** Data format for response. */
818
+ alt?: string;
819
+ /** JSONP */
820
+ callback?: string;
821
+ /** Selector specifying which fields to include in a partial response. */
822
+ fields?: string;
823
+ /** Required. The full path name of the Group to add to. */
824
+ group: string;
825
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
826
+ key?: string;
827
+ /** OAuth 2.0 token for the current user. */
828
+ oauth_token?: string;
829
+ /** Returns response with indentations and line breaks. */
830
+ prettyPrint?: boolean;
831
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
832
+ quotaUser?: string;
833
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
834
+ upload_protocol?: string;
835
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
836
+ uploadType?: string;
837
+ /** Request body */
838
+ resource: AddGroupMigrationRequest;
839
+ }): Request<Operation>;
840
+ addGroupMigration(request: {
841
+ /** V1 error format. */
842
+ "$.xgafv"?: string;
843
+ /** OAuth access token. */
844
+ access_token?: string;
845
+ /** Data format for response. */
846
+ alt?: string;
847
+ /** JSONP */
848
+ callback?: string;
849
+ /** Selector specifying which fields to include in a partial response. */
850
+ fields?: string;
851
+ /** Required. The full path name of the Group to add to. */
852
+ group: string;
853
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
854
+ key?: string;
855
+ /** OAuth 2.0 token for the current user. */
856
+ oauth_token?: string;
857
+ /** Returns response with indentations and line breaks. */
858
+ prettyPrint?: boolean;
859
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
860
+ quotaUser?: string;
861
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
862
+ upload_protocol?: string;
863
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
864
+ uploadType?: string;
865
+ },
866
+ body: AddGroupMigrationRequest): Request<Operation>;
867
+ /** Creates a new Group in a given project and location. */
868
+ create(request: {
869
+ /** V1 error format. */
870
+ "$.xgafv"?: string;
871
+ /** OAuth access token. */
872
+ access_token?: string;
873
+ /** Data format for response. */
874
+ alt?: string;
875
+ /** JSONP */
876
+ callback?: string;
877
+ /** Selector specifying which fields to include in a partial response. */
878
+ fields?: string;
879
+ /** Required. The group identifier. */
880
+ groupId?: string;
881
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
882
+ key?: string;
883
+ /** OAuth 2.0 token for the current user. */
884
+ oauth_token?: string;
885
+ /** Required. The Group's parent. */
886
+ parent: string;
887
+ /** Returns response with indentations and line breaks. */
888
+ prettyPrint?: boolean;
889
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
890
+ quotaUser?: string;
891
+ /**
892
+ * 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
893
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
894
+ * 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
895
+ * 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
896
+ * (00000000-0000-0000-0000-000000000000).
897
+ */
898
+ requestId?: string;
899
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
900
+ upload_protocol?: string;
901
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
902
+ uploadType?: string;
903
+ /** Request body */
904
+ resource: Group;
905
+ }): Request<Operation>;
906
+ create(request: {
907
+ /** V1 error format. */
908
+ "$.xgafv"?: string;
909
+ /** OAuth access token. */
910
+ access_token?: string;
911
+ /** Data format for response. */
912
+ alt?: string;
913
+ /** JSONP */
914
+ callback?: string;
915
+ /** Selector specifying which fields to include in a partial response. */
916
+ fields?: string;
917
+ /** Required. The group identifier. */
918
+ groupId?: string;
919
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
920
+ key?: string;
921
+ /** OAuth 2.0 token for the current user. */
922
+ oauth_token?: string;
923
+ /** Required. The Group's parent. */
924
+ parent: string;
925
+ /** Returns response with indentations and line breaks. */
926
+ prettyPrint?: boolean;
927
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
928
+ quotaUser?: string;
929
+ /**
930
+ * 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
931
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
932
+ * 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
933
+ * 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
934
+ * (00000000-0000-0000-0000-000000000000).
935
+ */
936
+ requestId?: string;
937
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
938
+ upload_protocol?: string;
939
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
940
+ uploadType?: string;
941
+ },
942
+ body: Group): Request<Operation>;
943
+ /** Deletes a single Group. */
944
+ delete(request?: {
945
+ /** V1 error format. */
946
+ "$.xgafv"?: string;
947
+ /** OAuth access token. */
948
+ access_token?: string;
949
+ /** Data format for response. */
950
+ alt?: string;
951
+ /** JSONP */
952
+ callback?: string;
953
+ /** Selector specifying which fields to include in a partial response. */
954
+ fields?: string;
955
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
956
+ key?: string;
957
+ /** Required. The Group name. */
958
+ name: string;
959
+ /** OAuth 2.0 token for the current user. */
960
+ oauth_token?: string;
961
+ /** Returns response with indentations and line breaks. */
962
+ prettyPrint?: boolean;
963
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
964
+ quotaUser?: string;
965
+ /**
966
+ * 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
967
+ * been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he
968
+ * 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
969
+ * 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
970
+ * supported (00000000-0000-0000-0000-000000000000).
971
+ */
972
+ requestId?: string;
973
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
974
+ upload_protocol?: string;
975
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
976
+ uploadType?: string;
977
+ }): Request<Operation>;
978
+ /** Gets details of a single Group. */
979
+ get(request?: {
980
+ /** V1 error format. */
981
+ "$.xgafv"?: string;
982
+ /** OAuth access token. */
983
+ access_token?: string;
984
+ /** Data format for response. */
985
+ alt?: string;
986
+ /** JSONP */
987
+ callback?: string;
988
+ /** Selector specifying which fields to include in a partial response. */
989
+ fields?: string;
990
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
991
+ key?: string;
992
+ /** Required. The group name. */
993
+ name: string;
994
+ /** OAuth 2.0 token for the current user. */
995
+ oauth_token?: string;
996
+ /** Returns response with indentations and line breaks. */
997
+ prettyPrint?: boolean;
998
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
999
+ quotaUser?: string;
1000
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1001
+ upload_protocol?: string;
1002
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1003
+ uploadType?: string;
1004
+ }): Request<Group>;
1005
+ /** Lists Groups in a given project and location. */
1006
+ list(request?: {
1007
+ /** V1 error format. */
1008
+ "$.xgafv"?: string;
1009
+ /** OAuth access token. */
1010
+ access_token?: string;
1011
+ /** Data format for response. */
1012
+ alt?: string;
1013
+ /** JSONP */
1014
+ callback?: string;
1015
+ /** Selector specifying which fields to include in a partial response. */
1016
+ fields?: string;
1017
+ /** Optional. The filter request. */
1018
+ filter?: string;
1019
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1020
+ key?: string;
1021
+ /** OAuth 2.0 token for the current user. */
1022
+ oauth_token?: string;
1023
+ /** Optional. the order by fields for the result. */
1024
+ orderBy?: string;
1025
+ /**
1026
+ * Optional. The maximum number of groups to return. The service may return fewer than this value. If unspecified, at most 500 groups will be returned. The maximum value is 1000;
1027
+ * values above 1000 will be coerced to 1000.
1028
+ */
1029
+ pageSize?: number;
1030
+ /**
1031
+ * Required. A page token, received from a previous `ListGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGroups`
1032
+ * must match the call that provided the page token.
1033
+ */
1034
+ pageToken?: string;
1035
+ /** Required. The parent, which owns this collection of groups. */
1036
+ parent: string;
1037
+ /** Returns response with indentations and line breaks. */
1038
+ prettyPrint?: boolean;
1039
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1040
+ quotaUser?: string;
1041
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1042
+ upload_protocol?: string;
1043
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1044
+ uploadType?: string;
1045
+ }): Request<ListGroupsResponse>;
1046
+ /** Updates the parameters of a single Group. */
1047
+ patch(request: {
1048
+ /** V1 error format. */
1049
+ "$.xgafv"?: string;
1050
+ /** OAuth access token. */
1051
+ access_token?: string;
1052
+ /** Data format for response. */
1053
+ alt?: string;
1054
+ /** JSONP */
1055
+ callback?: string;
1056
+ /** Selector specifying which fields to include in a partial response. */
1057
+ fields?: string;
1058
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1059
+ key?: string;
1060
+ /** Output only. The Group name. */
1061
+ name: string;
1062
+ /** OAuth 2.0 token for the current user. */
1063
+ oauth_token?: string;
1064
+ /** Returns response with indentations and line breaks. */
1065
+ prettyPrint?: boolean;
1066
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1067
+ quotaUser?: string;
1068
+ /**
1069
+ * 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
1070
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1071
+ * 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
1072
+ * 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
1073
+ * (00000000-0000-0000-0000-000000000000).
1074
+ */
1075
+ requestId?: string;
1076
+ /**
1077
+ * Field mask is used to specify the fields to be overwritten in the Group resource by the update. The fields specified in the update_mask are relative to the resource, not the
1078
+ * 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.
1079
+ */
1080
+ updateMask?: string;
1081
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1082
+ upload_protocol?: string;
1083
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1084
+ uploadType?: string;
1085
+ /** Request body */
1086
+ resource: Group;
1087
+ }): Request<Operation>;
1088
+ patch(request: {
1089
+ /** V1 error format. */
1090
+ "$.xgafv"?: string;
1091
+ /** OAuth access token. */
1092
+ access_token?: string;
1093
+ /** Data format for response. */
1094
+ alt?: string;
1095
+ /** JSONP */
1096
+ callback?: string;
1097
+ /** Selector specifying which fields to include in a partial response. */
1098
+ fields?: string;
1099
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1100
+ key?: string;
1101
+ /** Output only. The Group name. */
1102
+ name: string;
1103
+ /** OAuth 2.0 token for the current user. */
1104
+ oauth_token?: string;
1105
+ /** Returns response with indentations and line breaks. */
1106
+ prettyPrint?: boolean;
1107
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1108
+ quotaUser?: string;
1109
+ /**
1110
+ * 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
1111
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1112
+ * 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
1113
+ * 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
1114
+ * (00000000-0000-0000-0000-000000000000).
1115
+ */
1116
+ requestId?: string;
1117
+ /**
1118
+ * Field mask is used to specify the fields to be overwritten in the Group resource by the update. The fields specified in the update_mask are relative to the resource, not the
1119
+ * 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.
1120
+ */
1121
+ updateMask?: string;
1122
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1123
+ upload_protocol?: string;
1124
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1125
+ uploadType?: string;
1126
+ },
1127
+ body: Group): Request<Operation>;
1128
+ /** Removes a MigratingVm from a Group. */
1129
+ removeGroupMigration(request: {
1130
+ /** V1 error format. */
1131
+ "$.xgafv"?: string;
1132
+ /** OAuth access token. */
1133
+ access_token?: string;
1134
+ /** Data format for response. */
1135
+ alt?: string;
1136
+ /** JSONP */
1137
+ callback?: string;
1138
+ /** Selector specifying which fields to include in a partial response. */
1139
+ fields?: string;
1140
+ /** Required. The name of the Group. */
1141
+ group: string;
1142
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1143
+ key?: string;
1144
+ /** OAuth 2.0 token for the current user. */
1145
+ oauth_token?: string;
1146
+ /** Returns response with indentations and line breaks. */
1147
+ prettyPrint?: boolean;
1148
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1149
+ quotaUser?: string;
1150
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1151
+ upload_protocol?: string;
1152
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1153
+ uploadType?: string;
1154
+ /** Request body */
1155
+ resource: RemoveGroupMigrationRequest;
1156
+ }): Request<Operation>;
1157
+ removeGroupMigration(request: {
1158
+ /** V1 error format. */
1159
+ "$.xgafv"?: string;
1160
+ /** OAuth access token. */
1161
+ access_token?: string;
1162
+ /** Data format for response. */
1163
+ alt?: string;
1164
+ /** JSONP */
1165
+ callback?: string;
1166
+ /** Selector specifying which fields to include in a partial response. */
1167
+ fields?: string;
1168
+ /** Required. The name of the Group. */
1169
+ group: string;
1170
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1171
+ key?: string;
1172
+ /** OAuth 2.0 token for the current user. */
1173
+ oauth_token?: string;
1174
+ /** Returns response with indentations and line breaks. */
1175
+ prettyPrint?: boolean;
1176
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1177
+ quotaUser?: string;
1178
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1179
+ upload_protocol?: string;
1180
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1181
+ uploadType?: string;
1182
+ },
1183
+ body: RemoveGroupMigrationRequest): Request<Operation>;
1184
+ }
1185
+ interface OperationsResource {
1186
+ /**
1187
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
1188
+ * this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the
1189
+ * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
1190
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
1191
+ */
1192
+ cancel(request: {
1193
+ /** V1 error format. */
1194
+ "$.xgafv"?: string;
1195
+ /** OAuth access token. */
1196
+ access_token?: string;
1197
+ /** Data format for response. */
1198
+ alt?: string;
1199
+ /** JSONP */
1200
+ callback?: string;
1201
+ /** Selector specifying which fields to include in a partial response. */
1202
+ fields?: string;
1203
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1204
+ key?: string;
1205
+ /** The name of the operation resource to be cancelled. */
1206
+ name: string;
1207
+ /** OAuth 2.0 token for the current user. */
1208
+ oauth_token?: string;
1209
+ /** Returns response with indentations and line breaks. */
1210
+ prettyPrint?: boolean;
1211
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1212
+ quotaUser?: string;
1213
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1214
+ upload_protocol?: string;
1215
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1216
+ uploadType?: string;
1217
+ /** Request body */
1218
+ resource: CancelOperationRequest;
1219
+ }): Request<{}>;
1220
+ cancel(request: {
1221
+ /** V1 error format. */
1222
+ "$.xgafv"?: string;
1223
+ /** OAuth access token. */
1224
+ access_token?: string;
1225
+ /** Data format for response. */
1226
+ alt?: string;
1227
+ /** JSONP */
1228
+ callback?: string;
1229
+ /** Selector specifying which fields to include in a partial response. */
1230
+ fields?: string;
1231
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1232
+ key?: string;
1233
+ /** The name of the operation resource to be cancelled. */
1234
+ name: string;
1235
+ /** OAuth 2.0 token for the current user. */
1236
+ oauth_token?: string;
1237
+ /** Returns response with indentations and line breaks. */
1238
+ prettyPrint?: boolean;
1239
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1240
+ quotaUser?: string;
1241
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1242
+ upload_protocol?: string;
1243
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1244
+ uploadType?: string;
1245
+ },
1246
+ body: CancelOperationRequest): Request<{}>;
1247
+ /**
1248
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't
1249
+ * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1250
+ */
1251
+ delete(request?: {
1252
+ /** V1 error format. */
1253
+ "$.xgafv"?: string;
1254
+ /** OAuth access token. */
1255
+ access_token?: string;
1256
+ /** Data format for response. */
1257
+ alt?: string;
1258
+ /** JSONP */
1259
+ callback?: string;
1260
+ /** Selector specifying which fields to include in a partial response. */
1261
+ fields?: string;
1262
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1263
+ key?: string;
1264
+ /** The name of the operation resource to be deleted. */
1265
+ name: string;
1266
+ /** OAuth 2.0 token for the current user. */
1267
+ oauth_token?: string;
1268
+ /** Returns response with indentations and line breaks. */
1269
+ prettyPrint?: boolean;
1270
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1271
+ quotaUser?: string;
1272
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1273
+ upload_protocol?: string;
1274
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1275
+ uploadType?: string;
1276
+ }): Request<{}>;
1277
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1278
+ get(request?: {
1279
+ /** V1 error format. */
1280
+ "$.xgafv"?: string;
1281
+ /** OAuth access token. */
1282
+ access_token?: string;
1283
+ /** Data format for response. */
1284
+ alt?: string;
1285
+ /** JSONP */
1286
+ callback?: string;
1287
+ /** Selector specifying which fields to include in a partial response. */
1288
+ fields?: string;
1289
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1290
+ key?: string;
1291
+ /** The name of the operation resource. */
1292
+ name: string;
1293
+ /** OAuth 2.0 token for the current user. */
1294
+ oauth_token?: string;
1295
+ /** Returns response with indentations and line breaks. */
1296
+ prettyPrint?: boolean;
1297
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1298
+ quotaUser?: string;
1299
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1300
+ upload_protocol?: string;
1301
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1302
+ uploadType?: string;
1303
+ }): Request<Operation>;
1304
+ /**
1305
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
1306
+ * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
1307
+ * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
1308
+ * ensure the name binding is the parent resource, without the operations collection id.
1309
+ */
1310
+ list(request?: {
1311
+ /** V1 error format. */
1312
+ "$.xgafv"?: string;
1313
+ /** OAuth access token. */
1314
+ access_token?: string;
1315
+ /** Data format for response. */
1316
+ alt?: string;
1317
+ /** JSONP */
1318
+ callback?: string;
1319
+ /** Selector specifying which fields to include in a partial response. */
1320
+ fields?: string;
1321
+ /** The standard list filter. */
1322
+ filter?: string;
1323
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1324
+ key?: string;
1325
+ /** The name of the operation's parent resource. */
1326
+ name: string;
1327
+ /** OAuth 2.0 token for the current user. */
1328
+ oauth_token?: string;
1329
+ /** The standard list page size. */
1330
+ pageSize?: number;
1331
+ /** The standard list page token. */
1332
+ pageToken?: string;
1333
+ /** Returns response with indentations and line breaks. */
1334
+ prettyPrint?: boolean;
1335
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1336
+ quotaUser?: string;
1337
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1338
+ upload_protocol?: string;
1339
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1340
+ uploadType?: string;
1341
+ }): Request<ListOperationsResponse>;
1342
+ }
1343
+ interface DatacenterConnectorsResource {
1344
+ /** Creates a new DatacenterConnector in a given Source. */
1345
+ create(request: {
1346
+ /** V1 error format. */
1347
+ "$.xgafv"?: string;
1348
+ /** OAuth access token. */
1349
+ access_token?: string;
1350
+ /** Data format for response. */
1351
+ alt?: string;
1352
+ /** JSONP */
1353
+ callback?: string;
1354
+ /** Required. The datacenterConnector identifier. */
1355
+ datacenterConnectorId?: string;
1356
+ /** Selector specifying which fields to include in a partial response. */
1357
+ fields?: string;
1358
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1359
+ key?: string;
1360
+ /** OAuth 2.0 token for the current user. */
1361
+ oauth_token?: string;
1362
+ /**
1363
+ * Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example:
1364
+ * `projects/my-project/locations/us-central1/sources/my-source`
1365
+ */
1366
+ parent: string;
1367
+ /** Returns response with indentations and line breaks. */
1368
+ prettyPrint?: boolean;
1369
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1370
+ quotaUser?: string;
1371
+ /**
1372
+ * 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
1373
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1374
+ * 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
1375
+ * 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
1376
+ * (00000000-0000-0000-0000-000000000000).
1377
+ */
1378
+ requestId?: string;
1379
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1380
+ upload_protocol?: string;
1381
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1382
+ uploadType?: string;
1383
+ /** Request body */
1384
+ resource: DatacenterConnector;
1385
+ }): Request<Operation>;
1386
+ create(request: {
1387
+ /** V1 error format. */
1388
+ "$.xgafv"?: string;
1389
+ /** OAuth access token. */
1390
+ access_token?: string;
1391
+ /** Data format for response. */
1392
+ alt?: string;
1393
+ /** JSONP */
1394
+ callback?: string;
1395
+ /** Required. The datacenterConnector identifier. */
1396
+ datacenterConnectorId?: string;
1397
+ /** Selector specifying which fields to include in a partial response. */
1398
+ fields?: string;
1399
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1400
+ key?: string;
1401
+ /** OAuth 2.0 token for the current user. */
1402
+ oauth_token?: string;
1403
+ /**
1404
+ * Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example:
1405
+ * `projects/my-project/locations/us-central1/sources/my-source`
1406
+ */
1407
+ parent: string;
1408
+ /** Returns response with indentations and line breaks. */
1409
+ prettyPrint?: boolean;
1410
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1411
+ quotaUser?: string;
1412
+ /**
1413
+ * 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
1414
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1415
+ * 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
1416
+ * 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
1417
+ * (00000000-0000-0000-0000-000000000000).
1418
+ */
1419
+ requestId?: string;
1420
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1421
+ upload_protocol?: string;
1422
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1423
+ uploadType?: string;
1424
+ },
1425
+ body: DatacenterConnector): Request<Operation>;
1426
+ /** Deletes a single DatacenterConnector. */
1427
+ delete(request?: {
1428
+ /** V1 error format. */
1429
+ "$.xgafv"?: string;
1430
+ /** OAuth access token. */
1431
+ access_token?: string;
1432
+ /** Data format for response. */
1433
+ alt?: string;
1434
+ /** JSONP */
1435
+ callback?: string;
1436
+ /** Selector specifying which fields to include in a partial response. */
1437
+ fields?: string;
1438
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1439
+ key?: string;
1440
+ /** Required. The DatacenterConnector name. */
1441
+ name: string;
1442
+ /** OAuth 2.0 token for the current user. */
1443
+ oauth_token?: string;
1444
+ /** Returns response with indentations and line breaks. */
1445
+ prettyPrint?: boolean;
1446
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1447
+ quotaUser?: string;
1448
+ /**
1449
+ * 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
1450
+ * completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he request
1451
+ * 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
1452
+ * 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
1453
+ * (00000000-0000-0000-0000-000000000000).
1454
+ */
1455
+ requestId?: string;
1456
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1457
+ upload_protocol?: string;
1458
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1459
+ uploadType?: string;
1460
+ }): Request<Operation>;
1461
+ /** Gets details of a single DatacenterConnector. */
1462
+ get(request?: {
1463
+ /** V1 error format. */
1464
+ "$.xgafv"?: string;
1465
+ /** OAuth access token. */
1466
+ access_token?: string;
1467
+ /** Data format for response. */
1468
+ alt?: string;
1469
+ /** JSONP */
1470
+ callback?: string;
1471
+ /** Selector specifying which fields to include in a partial response. */
1472
+ fields?: string;
1473
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1474
+ key?: string;
1475
+ /** Required. The name of the DatacenterConnector. */
1476
+ name: string;
1477
+ /** OAuth 2.0 token for the current user. */
1478
+ oauth_token?: string;
1479
+ /** Returns response with indentations and line breaks. */
1480
+ prettyPrint?: boolean;
1481
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1482
+ quotaUser?: string;
1483
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1484
+ upload_protocol?: string;
1485
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1486
+ uploadType?: string;
1487
+ }): Request<DatacenterConnector>;
1488
+ /** Lists DatacenterConnectors in a given Source. */
1489
+ list(request?: {
1490
+ /** V1 error format. */
1491
+ "$.xgafv"?: string;
1492
+ /** OAuth access token. */
1493
+ access_token?: string;
1494
+ /** Data format for response. */
1495
+ alt?: string;
1496
+ /** JSONP */
1497
+ callback?: string;
1498
+ /** Selector specifying which fields to include in a partial response. */
1499
+ fields?: string;
1500
+ /** Optional. The filter request. */
1501
+ filter?: string;
1502
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1503
+ key?: string;
1504
+ /** OAuth 2.0 token for the current user. */
1505
+ oauth_token?: string;
1506
+ /** Optional. the order by fields for the result. */
1507
+ orderBy?: string;
1508
+ /**
1509
+ * Optional. The maximum number of connectors to return. The service may return fewer than this value. If unspecified, at most 500 sources will be returned. The maximum value is
1510
+ * 1000; values above 1000 will be coerced to 1000.
1511
+ */
1512
+ pageSize?: number;
1513
+ /**
1514
+ * Required. A page token, received from a previous `ListDatacenterConnectors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1515
+ * `ListDatacenterConnectors` must match the call that provided the page token.
1516
+ */
1517
+ pageToken?: string;
1518
+ /** Required. The parent, which owns this collection of connectors. */
1519
+ parent: string;
1520
+ /** Returns response with indentations and line breaks. */
1521
+ prettyPrint?: boolean;
1522
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1523
+ quotaUser?: string;
1524
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1525
+ upload_protocol?: string;
1526
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1527
+ uploadType?: string;
1528
+ }): Request<ListDatacenterConnectorsResponse>;
1529
+ /** Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version. */
1530
+ upgradeAppliance(request: {
1531
+ /** V1 error format. */
1532
+ "$.xgafv"?: string;
1533
+ /** OAuth access token. */
1534
+ access_token?: string;
1535
+ /** Data format for response. */
1536
+ alt?: string;
1537
+ /** JSONP */
1538
+ callback?: string;
1539
+ /** Required. The DatacenterConnector name. */
1540
+ datacenterConnector: string;
1541
+ /** Selector specifying which fields to include in a partial response. */
1542
+ fields?: string;
1543
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1544
+ key?: string;
1545
+ /** OAuth 2.0 token for the current user. */
1546
+ oauth_token?: string;
1547
+ /** Returns response with indentations and line breaks. */
1548
+ prettyPrint?: boolean;
1549
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1550
+ quotaUser?: string;
1551
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1552
+ upload_protocol?: string;
1553
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1554
+ uploadType?: string;
1555
+ /** Request body */
1556
+ resource: UpgradeApplianceRequest;
1557
+ }): Request<Operation>;
1558
+ upgradeAppliance(request: {
1559
+ /** V1 error format. */
1560
+ "$.xgafv"?: string;
1561
+ /** OAuth access token. */
1562
+ access_token?: string;
1563
+ /** Data format for response. */
1564
+ alt?: string;
1565
+ /** JSONP */
1566
+ callback?: string;
1567
+ /** Required. The DatacenterConnector name. */
1568
+ datacenterConnector: string;
1569
+ /** Selector specifying which fields to include in a partial response. */
1570
+ fields?: string;
1571
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1572
+ key?: string;
1573
+ /** OAuth 2.0 token for the current user. */
1574
+ oauth_token?: string;
1575
+ /** Returns response with indentations and line breaks. */
1576
+ prettyPrint?: boolean;
1577
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1578
+ quotaUser?: string;
1579
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1580
+ upload_protocol?: string;
1581
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1582
+ uploadType?: string;
1583
+ },
1584
+ body: UpgradeApplianceRequest): Request<Operation>;
1585
+ }
1586
+ interface CloneJobsResource {
1587
+ /** Initiates the cancellation of a running clone job. */
1588
+ cancel(request: {
1589
+ /** V1 error format. */
1590
+ "$.xgafv"?: string;
1591
+ /** OAuth access token. */
1592
+ access_token?: string;
1593
+ /** Data format for response. */
1594
+ alt?: string;
1595
+ /** JSONP */
1596
+ callback?: string;
1597
+ /** Selector specifying which fields to include in a partial response. */
1598
+ fields?: string;
1599
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1600
+ key?: string;
1601
+ /** Required. The clone job id */
1602
+ name: string;
1603
+ /** OAuth 2.0 token for the current user. */
1604
+ oauth_token?: string;
1605
+ /** Returns response with indentations and line breaks. */
1606
+ prettyPrint?: boolean;
1607
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1608
+ quotaUser?: string;
1609
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1610
+ upload_protocol?: string;
1611
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1612
+ uploadType?: string;
1613
+ /** Request body */
1614
+ resource: CancelCloneJobRequest;
1615
+ }): Request<Operation>;
1616
+ cancel(request: {
1617
+ /** V1 error format. */
1618
+ "$.xgafv"?: string;
1619
+ /** OAuth access token. */
1620
+ access_token?: string;
1621
+ /** Data format for response. */
1622
+ alt?: string;
1623
+ /** JSONP */
1624
+ callback?: string;
1625
+ /** Selector specifying which fields to include in a partial response. */
1626
+ fields?: string;
1627
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1628
+ key?: string;
1629
+ /** Required. The clone job id */
1630
+ name: string;
1631
+ /** OAuth 2.0 token for the current user. */
1632
+ oauth_token?: string;
1633
+ /** Returns response with indentations and line breaks. */
1634
+ prettyPrint?: boolean;
1635
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1636
+ quotaUser?: string;
1637
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1638
+ upload_protocol?: string;
1639
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1640
+ uploadType?: string;
1641
+ },
1642
+ body: CancelCloneJobRequest): Request<Operation>;
1643
+ /** Initiates a Clone of a specific migrating VM. */
1644
+ create(request: {
1645
+ /** V1 error format. */
1646
+ "$.xgafv"?: string;
1647
+ /** OAuth access token. */
1648
+ access_token?: string;
1649
+ /** Data format for response. */
1650
+ alt?: string;
1651
+ /** JSONP */
1652
+ callback?: string;
1653
+ /** Required. The clone job identifier. */
1654
+ cloneJobId?: string;
1655
+ /** Selector specifying which fields to include in a partial response. */
1656
+ fields?: string;
1657
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1658
+ key?: string;
1659
+ /** OAuth 2.0 token for the current user. */
1660
+ oauth_token?: string;
1661
+ /** Required. The Clone's parent. */
1662
+ parent: string;
1663
+ /** Returns response with indentations and line breaks. */
1664
+ prettyPrint?: boolean;
1665
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1666
+ quotaUser?: string;
1667
+ /**
1668
+ * 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
1669
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1670
+ * 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
1671
+ * 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
1672
+ * (00000000-0000-0000-0000-000000000000).
1673
+ */
1674
+ requestId?: string;
1675
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1676
+ upload_protocol?: string;
1677
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1678
+ uploadType?: string;
1679
+ /** Request body */
1680
+ resource: CloneJob;
1681
+ }): Request<Operation>;
1682
+ create(request: {
1683
+ /** V1 error format. */
1684
+ "$.xgafv"?: string;
1685
+ /** OAuth access token. */
1686
+ access_token?: string;
1687
+ /** Data format for response. */
1688
+ alt?: string;
1689
+ /** JSONP */
1690
+ callback?: string;
1691
+ /** Required. The clone job identifier. */
1692
+ cloneJobId?: string;
1693
+ /** Selector specifying which fields to include in a partial response. */
1694
+ fields?: string;
1695
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1696
+ key?: string;
1697
+ /** OAuth 2.0 token for the current user. */
1698
+ oauth_token?: string;
1699
+ /** Required. The Clone's parent. */
1700
+ parent: string;
1701
+ /** Returns response with indentations and line breaks. */
1702
+ prettyPrint?: boolean;
1703
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1704
+ quotaUser?: string;
1705
+ /**
1706
+ * 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
1707
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1708
+ * 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
1709
+ * 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
1710
+ * (00000000-0000-0000-0000-000000000000).
1711
+ */
1712
+ requestId?: string;
1713
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1714
+ upload_protocol?: string;
1715
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1716
+ uploadType?: string;
1717
+ },
1718
+ body: CloneJob): Request<Operation>;
1719
+ /** Gets details of a single CloneJob. */
1720
+ get(request?: {
1721
+ /** V1 error format. */
1722
+ "$.xgafv"?: string;
1723
+ /** OAuth access token. */
1724
+ access_token?: string;
1725
+ /** Data format for response. */
1726
+ alt?: string;
1727
+ /** JSONP */
1728
+ callback?: string;
1729
+ /** Selector specifying which fields to include in a partial response. */
1730
+ fields?: string;
1731
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1732
+ key?: string;
1733
+ /** Required. The name of the CloneJob. */
1734
+ name: string;
1735
+ /** OAuth 2.0 token for the current user. */
1736
+ oauth_token?: string;
1737
+ /** Returns response with indentations and line breaks. */
1738
+ prettyPrint?: boolean;
1739
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1740
+ quotaUser?: string;
1741
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1742
+ upload_protocol?: string;
1743
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1744
+ uploadType?: string;
1745
+ }): Request<CloneJob>;
1746
+ /** Lists CloneJobs of a given migrating VM. */
1747
+ list(request?: {
1748
+ /** V1 error format. */
1749
+ "$.xgafv"?: string;
1750
+ /** OAuth access token. */
1751
+ access_token?: string;
1752
+ /** Data format for response. */
1753
+ alt?: string;
1754
+ /** JSONP */
1755
+ callback?: string;
1756
+ /** Selector specifying which fields to include in a partial response. */
1757
+ fields?: string;
1758
+ /** Optional. The filter request. */
1759
+ filter?: string;
1760
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1761
+ key?: string;
1762
+ /** OAuth 2.0 token for the current user. */
1763
+ oauth_token?: string;
1764
+ /** Optional. the order by fields for the result. */
1765
+ orderBy?: string;
1766
+ /**
1767
+ * Optional. The maximum number of clone jobs to return. The service may return fewer than this value. If unspecified, at most 500 clone jobs will be returned. The maximum value is
1768
+ * 1000; values above 1000 will be coerced to 1000.
1769
+ */
1770
+ pageSize?: number;
1771
+ /**
1772
+ * Required. A page token, received from a previous `ListCloneJobs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1773
+ * `ListCloneJobs` must match the call that provided the page token.
1774
+ */
1775
+ pageToken?: string;
1776
+ /** Required. The parent, which owns this collection of source VMs. */
1777
+ parent: string;
1778
+ /** Returns response with indentations and line breaks. */
1779
+ prettyPrint?: boolean;
1780
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1781
+ quotaUser?: string;
1782
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1783
+ upload_protocol?: string;
1784
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1785
+ uploadType?: string;
1786
+ }): Request<ListCloneJobsResponse>;
1787
+ }
1788
+ interface CutoverJobsResource {
1789
+ /** Initiates the cancellation of a running cutover job. */
1790
+ cancel(request: {
1791
+ /** V1 error format. */
1792
+ "$.xgafv"?: string;
1793
+ /** OAuth access token. */
1794
+ access_token?: string;
1795
+ /** Data format for response. */
1796
+ alt?: string;
1797
+ /** JSONP */
1798
+ callback?: string;
1799
+ /** Selector specifying which fields to include in a partial response. */
1800
+ fields?: string;
1801
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1802
+ key?: string;
1803
+ /** Required. The cutover job id */
1804
+ name: string;
1805
+ /** OAuth 2.0 token for the current user. */
1806
+ oauth_token?: string;
1807
+ /** Returns response with indentations and line breaks. */
1808
+ prettyPrint?: boolean;
1809
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1810
+ quotaUser?: string;
1811
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1812
+ upload_protocol?: string;
1813
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1814
+ uploadType?: string;
1815
+ /** Request body */
1816
+ resource: CancelCutoverJobRequest;
1817
+ }): Request<Operation>;
1818
+ cancel(request: {
1819
+ /** V1 error format. */
1820
+ "$.xgafv"?: string;
1821
+ /** OAuth access token. */
1822
+ access_token?: string;
1823
+ /** Data format for response. */
1824
+ alt?: string;
1825
+ /** JSONP */
1826
+ callback?: string;
1827
+ /** Selector specifying which fields to include in a partial response. */
1828
+ fields?: string;
1829
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1830
+ key?: string;
1831
+ /** Required. The cutover job id */
1832
+ name: string;
1833
+ /** OAuth 2.0 token for the current user. */
1834
+ oauth_token?: string;
1835
+ /** Returns response with indentations and line breaks. */
1836
+ prettyPrint?: boolean;
1837
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1838
+ quotaUser?: string;
1839
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1840
+ upload_protocol?: string;
1841
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1842
+ uploadType?: string;
1843
+ },
1844
+ body: CancelCutoverJobRequest): Request<Operation>;
1845
+ /** Initiates a Cutover of a specific migrating VM. The returned LRO is completed when the cutover job resource is created and the job is initiated. */
1846
+ create(request: {
1847
+ /** V1 error format. */
1848
+ "$.xgafv"?: string;
1849
+ /** OAuth access token. */
1850
+ access_token?: string;
1851
+ /** Data format for response. */
1852
+ alt?: string;
1853
+ /** JSONP */
1854
+ callback?: string;
1855
+ /** Required. The cutover job identifier. */
1856
+ cutoverJobId?: string;
1857
+ /** Selector specifying which fields to include in a partial response. */
1858
+ fields?: string;
1859
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1860
+ key?: string;
1861
+ /** OAuth 2.0 token for the current user. */
1862
+ oauth_token?: string;
1863
+ /** Required. The Cutover's parent. */
1864
+ parent: string;
1865
+ /** Returns response with indentations and line breaks. */
1866
+ prettyPrint?: boolean;
1867
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1868
+ quotaUser?: string;
1869
+ /**
1870
+ * 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
1871
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1872
+ * 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
1873
+ * 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
1874
+ * (00000000-0000-0000-0000-000000000000).
1875
+ */
1876
+ requestId?: string;
1877
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1878
+ upload_protocol?: string;
1879
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1880
+ uploadType?: string;
1881
+ /** Request body */
1882
+ resource: CutoverJob;
1883
+ }): Request<Operation>;
1884
+ create(request: {
1885
+ /** V1 error format. */
1886
+ "$.xgafv"?: string;
1887
+ /** OAuth access token. */
1888
+ access_token?: string;
1889
+ /** Data format for response. */
1890
+ alt?: string;
1891
+ /** JSONP */
1892
+ callback?: string;
1893
+ /** Required. The cutover job identifier. */
1894
+ cutoverJobId?: string;
1895
+ /** Selector specifying which fields to include in a partial response. */
1896
+ fields?: string;
1897
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1898
+ key?: string;
1899
+ /** OAuth 2.0 token for the current user. */
1900
+ oauth_token?: string;
1901
+ /** Required. The Cutover's parent. */
1902
+ parent: string;
1903
+ /** Returns response with indentations and line breaks. */
1904
+ prettyPrint?: boolean;
1905
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1906
+ quotaUser?: string;
1907
+ /**
1908
+ * 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
1909
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1910
+ * 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
1911
+ * 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
1912
+ * (00000000-0000-0000-0000-000000000000).
1913
+ */
1914
+ requestId?: string;
1915
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1916
+ upload_protocol?: string;
1917
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1918
+ uploadType?: string;
1919
+ },
1920
+ body: CutoverJob): Request<Operation>;
1921
+ /** Gets details of a single CutoverJob. */
1922
+ get(request?: {
1923
+ /** V1 error format. */
1924
+ "$.xgafv"?: string;
1925
+ /** OAuth access token. */
1926
+ access_token?: string;
1927
+ /** Data format for response. */
1928
+ alt?: string;
1929
+ /** JSONP */
1930
+ callback?: string;
1931
+ /** Selector specifying which fields to include in a partial response. */
1932
+ fields?: string;
1933
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1934
+ key?: string;
1935
+ /** Required. The name of the CutoverJob. */
1936
+ name: string;
1937
+ /** OAuth 2.0 token for the current user. */
1938
+ oauth_token?: string;
1939
+ /** Returns response with indentations and line breaks. */
1940
+ prettyPrint?: boolean;
1941
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1942
+ quotaUser?: string;
1943
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1944
+ upload_protocol?: string;
1945
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1946
+ uploadType?: string;
1947
+ }): Request<CutoverJob>;
1948
+ /** Lists CutoverJobs of a given migrating VM. */
1949
+ list(request?: {
1950
+ /** V1 error format. */
1951
+ "$.xgafv"?: string;
1952
+ /** OAuth access token. */
1953
+ access_token?: string;
1954
+ /** Data format for response. */
1955
+ alt?: string;
1956
+ /** JSONP */
1957
+ callback?: string;
1958
+ /** Selector specifying which fields to include in a partial response. */
1959
+ fields?: string;
1960
+ /** Optional. The filter request. */
1961
+ filter?: string;
1962
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1963
+ key?: string;
1964
+ /** OAuth 2.0 token for the current user. */
1965
+ oauth_token?: string;
1966
+ /** Optional. the order by fields for the result. */
1967
+ orderBy?: string;
1968
+ /**
1969
+ * Optional. The maximum number of cutover jobs to return. The service may return fewer than this value. If unspecified, at most 500 cutover jobs will be returned. The maximum
1970
+ * value is 1000; values above 1000 will be coerced to 1000.
1971
+ */
1972
+ pageSize?: number;
1973
+ /**
1974
+ * Required. A page token, received from a previous `ListCutoverJobs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
1975
+ * `ListCutoverJobs` must match the call that provided the page token.
1976
+ */
1977
+ pageToken?: string;
1978
+ /** Required. The parent, which owns this collection of migrating VMs. */
1979
+ parent: string;
1980
+ /** Returns response with indentations and line breaks. */
1981
+ prettyPrint?: boolean;
1982
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1983
+ quotaUser?: string;
1984
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1985
+ upload_protocol?: string;
1986
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1987
+ uploadType?: string;
1988
+ }): Request<ListCutoverJobsResponse>;
1989
+ }
1990
+ interface MigratingVmsResource {
1991
+ /** Creates a new MigratingVm in a given Source. */
1992
+ create(request: {
1993
+ /** V1 error format. */
1994
+ "$.xgafv"?: string;
1995
+ /** OAuth access token. */
1996
+ access_token?: string;
1997
+ /** Data format for response. */
1998
+ alt?: string;
1999
+ /** JSONP */
2000
+ callback?: string;
2001
+ /** Selector specifying which fields to include in a partial response. */
2002
+ fields?: string;
2003
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2004
+ key?: string;
2005
+ /** Required. The migratingVm identifier. */
2006
+ migratingVmId?: string;
2007
+ /** OAuth 2.0 token for the current user. */
2008
+ oauth_token?: string;
2009
+ /** Required. The MigratingVm's parent. */
2010
+ parent: string;
2011
+ /** Returns response with indentations and line breaks. */
2012
+ prettyPrint?: boolean;
2013
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2014
+ quotaUser?: string;
2015
+ /**
2016
+ * 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
2017
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2018
+ * 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
2019
+ * 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
2020
+ * (00000000-0000-0000-0000-000000000000).
2021
+ */
2022
+ requestId?: string;
2023
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2024
+ upload_protocol?: string;
2025
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2026
+ uploadType?: string;
2027
+ /** Request body */
2028
+ resource: MigratingVm;
2029
+ }): Request<Operation>;
2030
+ create(request: {
2031
+ /** V1 error format. */
2032
+ "$.xgafv"?: string;
2033
+ /** OAuth access token. */
2034
+ access_token?: string;
2035
+ /** Data format for response. */
2036
+ alt?: string;
2037
+ /** JSONP */
2038
+ callback?: string;
2039
+ /** Selector specifying which fields to include in a partial response. */
2040
+ fields?: string;
2041
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2042
+ key?: string;
2043
+ /** Required. The migratingVm identifier. */
2044
+ migratingVmId?: string;
2045
+ /** OAuth 2.0 token for the current user. */
2046
+ oauth_token?: string;
2047
+ /** Required. The MigratingVm's parent. */
2048
+ parent: string;
2049
+ /** Returns response with indentations and line breaks. */
2050
+ prettyPrint?: boolean;
2051
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2052
+ quotaUser?: string;
2053
+ /**
2054
+ * 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
2055
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2056
+ * 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
2057
+ * 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
2058
+ * (00000000-0000-0000-0000-000000000000).
2059
+ */
2060
+ requestId?: string;
2061
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2062
+ upload_protocol?: string;
2063
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2064
+ uploadType?: string;
2065
+ },
2066
+ body: MigratingVm): Request<Operation>;
2067
+ /** Deletes a single MigratingVm. */
2068
+ delete(request?: {
2069
+ /** V1 error format. */
2070
+ "$.xgafv"?: string;
2071
+ /** OAuth access token. */
2072
+ access_token?: string;
2073
+ /** Data format for response. */
2074
+ alt?: string;
2075
+ /** JSONP */
2076
+ callback?: string;
2077
+ /** Selector specifying which fields to include in a partial response. */
2078
+ fields?: string;
2079
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2080
+ key?: string;
2081
+ /** Required. The name of the MigratingVm. */
2082
+ name: string;
2083
+ /** OAuth 2.0 token for the current user. */
2084
+ oauth_token?: string;
2085
+ /** Returns response with indentations and line breaks. */
2086
+ prettyPrint?: boolean;
2087
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2088
+ quotaUser?: string;
2089
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2090
+ upload_protocol?: string;
2091
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2092
+ uploadType?: string;
2093
+ }): Request<Operation>;
2094
+ /** Marks a migration as completed, deleting migration resources that are no longer being used. Only applicable after cutover is done. */
2095
+ finalizeMigration(request: {
2096
+ /** V1 error format. */
2097
+ "$.xgafv"?: string;
2098
+ /** OAuth access token. */
2099
+ access_token?: string;
2100
+ /** Data format for response. */
2101
+ alt?: string;
2102
+ /** JSONP */
2103
+ callback?: string;
2104
+ /** Selector specifying which fields to include in a partial response. */
2105
+ fields?: string;
2106
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2107
+ key?: string;
2108
+ /** Required. The name of the MigratingVm. */
2109
+ migratingVm: string;
2110
+ /** OAuth 2.0 token for the current user. */
2111
+ oauth_token?: string;
2112
+ /** Returns response with indentations and line breaks. */
2113
+ prettyPrint?: boolean;
2114
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2115
+ quotaUser?: string;
2116
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2117
+ upload_protocol?: string;
2118
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2119
+ uploadType?: string;
2120
+ /** Request body */
2121
+ resource: FinalizeMigrationRequest;
2122
+ }): Request<Operation>;
2123
+ finalizeMigration(request: {
2124
+ /** V1 error format. */
2125
+ "$.xgafv"?: string;
2126
+ /** OAuth access token. */
2127
+ access_token?: string;
2128
+ /** Data format for response. */
2129
+ alt?: string;
2130
+ /** JSONP */
2131
+ callback?: string;
2132
+ /** Selector specifying which fields to include in a partial response. */
2133
+ fields?: string;
2134
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2135
+ key?: string;
2136
+ /** Required. The name of the MigratingVm. */
2137
+ migratingVm: string;
2138
+ /** OAuth 2.0 token for the current user. */
2139
+ oauth_token?: string;
2140
+ /** Returns response with indentations and line breaks. */
2141
+ prettyPrint?: boolean;
2142
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2143
+ quotaUser?: string;
2144
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2145
+ upload_protocol?: string;
2146
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2147
+ uploadType?: string;
2148
+ },
2149
+ body: FinalizeMigrationRequest): Request<Operation>;
2150
+ /** Gets details of a single MigratingVm. */
2151
+ get(request?: {
2152
+ /** V1 error format. */
2153
+ "$.xgafv"?: string;
2154
+ /** OAuth access token. */
2155
+ access_token?: string;
2156
+ /** Data format for response. */
2157
+ alt?: string;
2158
+ /** JSONP */
2159
+ callback?: string;
2160
+ /** Selector specifying which fields to include in a partial response. */
2161
+ fields?: string;
2162
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2163
+ key?: string;
2164
+ /** Required. The name of the MigratingVm. */
2165
+ name: string;
2166
+ /** OAuth 2.0 token for the current user. */
2167
+ oauth_token?: string;
2168
+ /** Returns response with indentations and line breaks. */
2169
+ prettyPrint?: boolean;
2170
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2171
+ quotaUser?: string;
2172
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2173
+ upload_protocol?: string;
2174
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2175
+ uploadType?: string;
2176
+ /** Optional. The level of details of the migrating VM. */
2177
+ view?: string;
2178
+ }): Request<MigratingVm>;
2179
+ /** Lists MigratingVms in a given Source. */
2180
+ list(request?: {
2181
+ /** V1 error format. */
2182
+ "$.xgafv"?: string;
2183
+ /** OAuth access token. */
2184
+ access_token?: string;
2185
+ /** Data format for response. */
2186
+ alt?: string;
2187
+ /** JSONP */
2188
+ callback?: string;
2189
+ /** Selector specifying which fields to include in a partial response. */
2190
+ fields?: string;
2191
+ /** Optional. The filter request. */
2192
+ filter?: string;
2193
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2194
+ key?: string;
2195
+ /** OAuth 2.0 token for the current user. */
2196
+ oauth_token?: string;
2197
+ /** Optional. the order by fields for the result. */
2198
+ orderBy?: string;
2199
+ /**
2200
+ * Optional. The maximum number of migrating VMs to return. The service may return fewer than this value. If unspecified, at most 500 migrating VMs will be returned. The maximum
2201
+ * value is 1000; values above 1000 will be coerced to 1000.
2202
+ */
2203
+ pageSize?: number;
2204
+ /**
2205
+ * Required. A page token, received from a previous `ListMigratingVms` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
2206
+ * `ListMigratingVms` must match the call that provided the page token.
2207
+ */
2208
+ pageToken?: string;
2209
+ /** Required. The parent, which owns this collection of MigratingVms. */
2210
+ parent: string;
2211
+ /** Returns response with indentations and line breaks. */
2212
+ prettyPrint?: boolean;
2213
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2214
+ quotaUser?: string;
2215
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2216
+ upload_protocol?: string;
2217
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2218
+ uploadType?: string;
2219
+ /** Optional. The level of details of each migrating VM. */
2220
+ view?: string;
2221
+ }): Request<ListMigratingVmsResponse>;
2222
+ /** Updates the parameters of a single MigratingVm. */
2223
+ patch(request: {
2224
+ /** V1 error format. */
2225
+ "$.xgafv"?: string;
2226
+ /** OAuth access token. */
2227
+ access_token?: string;
2228
+ /** Data format for response. */
2229
+ alt?: string;
2230
+ /** JSONP */
2231
+ callback?: string;
2232
+ /** Selector specifying which fields to include in a partial response. */
2233
+ fields?: string;
2234
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2235
+ key?: string;
2236
+ /** Output only. The identifier of the MigratingVm. */
2237
+ name: string;
2238
+ /** OAuth 2.0 token for the current user. */
2239
+ oauth_token?: string;
2240
+ /** Returns response with indentations and line breaks. */
2241
+ prettyPrint?: boolean;
2242
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2243
+ quotaUser?: string;
2244
+ /**
2245
+ * 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
2246
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2247
+ * 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
2248
+ * 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
2249
+ * (00000000-0000-0000-0000-000000000000).
2250
+ */
2251
+ requestId?: string;
2252
+ /**
2253
+ * Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not
2254
+ * 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.
2255
+ */
2256
+ updateMask?: string;
2257
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2258
+ upload_protocol?: string;
2259
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2260
+ uploadType?: string;
2261
+ /** Request body */
2262
+ resource: MigratingVm;
2263
+ }): Request<Operation>;
2264
+ patch(request: {
2265
+ /** V1 error format. */
2266
+ "$.xgafv"?: string;
2267
+ /** OAuth access token. */
2268
+ access_token?: string;
2269
+ /** Data format for response. */
2270
+ alt?: string;
2271
+ /** JSONP */
2272
+ callback?: string;
2273
+ /** Selector specifying which fields to include in a partial response. */
2274
+ fields?: string;
2275
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2276
+ key?: string;
2277
+ /** Output only. The identifier of the MigratingVm. */
2278
+ name: string;
2279
+ /** OAuth 2.0 token for the current user. */
2280
+ oauth_token?: string;
2281
+ /** Returns response with indentations and line breaks. */
2282
+ prettyPrint?: boolean;
2283
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2284
+ quotaUser?: string;
2285
+ /**
2286
+ * 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
2287
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2288
+ * 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
2289
+ * 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
2290
+ * (00000000-0000-0000-0000-000000000000).
2291
+ */
2292
+ requestId?: string;
2293
+ /**
2294
+ * Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not
2295
+ * 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.
2296
+ */
2297
+ updateMask?: string;
2298
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2299
+ upload_protocol?: string;
2300
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2301
+ uploadType?: string;
2302
+ },
2303
+ body: MigratingVm): Request<Operation>;
2304
+ /** Pauses a migration for a VM. If cycle tasks are running they will be cancelled, preserving source task data. Further replication cycles will not be triggered while the VM is paused. */
2305
+ pauseMigration(request: {
2306
+ /** V1 error format. */
2307
+ "$.xgafv"?: string;
2308
+ /** OAuth access token. */
2309
+ access_token?: string;
2310
+ /** Data format for response. */
2311
+ alt?: string;
2312
+ /** JSONP */
2313
+ callback?: string;
2314
+ /** Selector specifying which fields to include in a partial response. */
2315
+ fields?: string;
2316
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2317
+ key?: string;
2318
+ /** Required. The name of the MigratingVm. */
2319
+ migratingVm: string;
2320
+ /** OAuth 2.0 token for the current user. */
2321
+ oauth_token?: string;
2322
+ /** Returns response with indentations and line breaks. */
2323
+ prettyPrint?: boolean;
2324
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2325
+ quotaUser?: string;
2326
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2327
+ upload_protocol?: string;
2328
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2329
+ uploadType?: string;
2330
+ /** Request body */
2331
+ resource: PauseMigrationRequest;
2332
+ }): Request<Operation>;
2333
+ pauseMigration(request: {
2334
+ /** V1 error format. */
2335
+ "$.xgafv"?: string;
2336
+ /** OAuth access token. */
2337
+ access_token?: string;
2338
+ /** Data format for response. */
2339
+ alt?: string;
2340
+ /** JSONP */
2341
+ callback?: string;
2342
+ /** Selector specifying which fields to include in a partial response. */
2343
+ fields?: string;
2344
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2345
+ key?: string;
2346
+ /** Required. The name of the MigratingVm. */
2347
+ migratingVm: string;
2348
+ /** OAuth 2.0 token for the current user. */
2349
+ oauth_token?: string;
2350
+ /** Returns response with indentations and line breaks. */
2351
+ prettyPrint?: boolean;
2352
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2353
+ quotaUser?: string;
2354
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2355
+ upload_protocol?: string;
2356
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2357
+ uploadType?: string;
2358
+ },
2359
+ body: PauseMigrationRequest): Request<Operation>;
2360
+ /**
2361
+ * Resumes a migration for a VM. When called on a paused migration, will start the process of uploading data and creating snapshots; when called on a completed cut-over migration, will
2362
+ * update the migration to active state and start the process of uploading data and creating snapshots.
2363
+ */
2364
+ resumeMigration(request: {
2365
+ /** V1 error format. */
2366
+ "$.xgafv"?: string;
2367
+ /** OAuth access token. */
2368
+ access_token?: string;
2369
+ /** Data format for response. */
2370
+ alt?: string;
2371
+ /** JSONP */
2372
+ callback?: string;
2373
+ /** Selector specifying which fields to include in a partial response. */
2374
+ fields?: string;
2375
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2376
+ key?: string;
2377
+ /** Required. The name of the MigratingVm. */
2378
+ migratingVm: string;
2379
+ /** OAuth 2.0 token for the current user. */
2380
+ oauth_token?: string;
2381
+ /** Returns response with indentations and line breaks. */
2382
+ prettyPrint?: boolean;
2383
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2384
+ quotaUser?: string;
2385
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2386
+ upload_protocol?: string;
2387
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2388
+ uploadType?: string;
2389
+ /** Request body */
2390
+ resource: ResumeMigrationRequest;
2391
+ }): Request<Operation>;
2392
+ resumeMigration(request: {
2393
+ /** V1 error format. */
2394
+ "$.xgafv"?: string;
2395
+ /** OAuth access token. */
2396
+ access_token?: string;
2397
+ /** Data format for response. */
2398
+ alt?: string;
2399
+ /** JSONP */
2400
+ callback?: string;
2401
+ /** Selector specifying which fields to include in a partial response. */
2402
+ fields?: string;
2403
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2404
+ key?: string;
2405
+ /** Required. The name of the MigratingVm. */
2406
+ migratingVm: string;
2407
+ /** OAuth 2.0 token for the current user. */
2408
+ oauth_token?: string;
2409
+ /** Returns response with indentations and line breaks. */
2410
+ prettyPrint?: boolean;
2411
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2412
+ quotaUser?: string;
2413
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2414
+ upload_protocol?: string;
2415
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2416
+ uploadType?: string;
2417
+ },
2418
+ body: ResumeMigrationRequest): Request<Operation>;
2419
+ /** Starts migration for a VM. Starts the process of uploading data and creating snapshots, in replication cycles scheduled by the policy. */
2420
+ startMigration(request: {
2421
+ /** V1 error format. */
2422
+ "$.xgafv"?: string;
2423
+ /** OAuth access token. */
2424
+ access_token?: string;
2425
+ /** Data format for response. */
2426
+ alt?: string;
2427
+ /** JSONP */
2428
+ callback?: string;
2429
+ /** Selector specifying which fields to include in a partial response. */
2430
+ fields?: string;
2431
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2432
+ key?: string;
2433
+ /** Required. The name of the MigratingVm. */
2434
+ migratingVm: string;
2435
+ /** OAuth 2.0 token for the current user. */
2436
+ oauth_token?: string;
2437
+ /** Returns response with indentations and line breaks. */
2438
+ prettyPrint?: boolean;
2439
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2440
+ quotaUser?: string;
2441
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2442
+ upload_protocol?: string;
2443
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2444
+ uploadType?: string;
2445
+ /** Request body */
2446
+ resource: StartMigrationRequest;
2447
+ }): Request<Operation>;
2448
+ startMigration(request: {
2449
+ /** V1 error format. */
2450
+ "$.xgafv"?: string;
2451
+ /** OAuth access token. */
2452
+ access_token?: string;
2453
+ /** Data format for response. */
2454
+ alt?: string;
2455
+ /** JSONP */
2456
+ callback?: string;
2457
+ /** Selector specifying which fields to include in a partial response. */
2458
+ fields?: string;
2459
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2460
+ key?: string;
2461
+ /** Required. The name of the MigratingVm. */
2462
+ migratingVm: string;
2463
+ /** OAuth 2.0 token for the current user. */
2464
+ oauth_token?: string;
2465
+ /** Returns response with indentations and line breaks. */
2466
+ prettyPrint?: boolean;
2467
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2468
+ quotaUser?: string;
2469
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2470
+ upload_protocol?: string;
2471
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2472
+ uploadType?: string;
2473
+ },
2474
+ body: StartMigrationRequest): Request<Operation>;
2475
+ cloneJobs: CloneJobsResource;
2476
+ cutoverJobs: CutoverJobsResource;
2477
+ }
2478
+ interface UtilizationReportsResource {
2479
+ /** Creates a new UtilizationReport. */
2480
+ create(request: {
2481
+ /** V1 error format. */
2482
+ "$.xgafv"?: string;
2483
+ /** OAuth access token. */
2484
+ access_token?: string;
2485
+ /** Data format for response. */
2486
+ alt?: string;
2487
+ /** JSONP */
2488
+ callback?: string;
2489
+ /** Selector specifying which fields to include in a partial response. */
2490
+ fields?: string;
2491
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2492
+ key?: string;
2493
+ /** OAuth 2.0 token for the current user. */
2494
+ oauth_token?: string;
2495
+ /** Required. The Utilization Report's parent. */
2496
+ parent: string;
2497
+ /** Returns response with indentations and line breaks. */
2498
+ prettyPrint?: boolean;
2499
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2500
+ quotaUser?: string;
2501
+ /**
2502
+ * 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
2503
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2504
+ * 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
2505
+ * 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
2506
+ * (00000000-0000-0000-0000-000000000000).
2507
+ */
2508
+ requestId?: string;
2509
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2510
+ upload_protocol?: string;
2511
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2512
+ uploadType?: string;
2513
+ /**
2514
+ * Required. The ID to use for the report, which will become the final component of the reports's resource name. This value maximum length is 63 characters, and valid characters
2515
+ * are /a-z-/. It must start with an english letter and must not end with a hyphen.
2516
+ */
2517
+ utilizationReportId?: string;
2518
+ /** Request body */
2519
+ resource: UtilizationReport;
2520
+ }): Request<Operation>;
2521
+ create(request: {
2522
+ /** V1 error format. */
2523
+ "$.xgafv"?: string;
2524
+ /** OAuth access token. */
2525
+ access_token?: string;
2526
+ /** Data format for response. */
2527
+ alt?: string;
2528
+ /** JSONP */
2529
+ callback?: string;
2530
+ /** Selector specifying which fields to include in a partial response. */
2531
+ fields?: string;
2532
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2533
+ key?: string;
2534
+ /** OAuth 2.0 token for the current user. */
2535
+ oauth_token?: string;
2536
+ /** Required. The Utilization Report's parent. */
2537
+ parent: string;
2538
+ /** Returns response with indentations and line breaks. */
2539
+ prettyPrint?: boolean;
2540
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2541
+ quotaUser?: string;
2542
+ /**
2543
+ * 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
2544
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2545
+ * 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
2546
+ * 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
2547
+ * (00000000-0000-0000-0000-000000000000).
2548
+ */
2549
+ requestId?: string;
2550
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2551
+ upload_protocol?: string;
2552
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2553
+ uploadType?: string;
2554
+ /**
2555
+ * Required. The ID to use for the report, which will become the final component of the reports's resource name. This value maximum length is 63 characters, and valid characters
2556
+ * are /a-z-/. It must start with an english letter and must not end with a hyphen.
2557
+ */
2558
+ utilizationReportId?: string;
2559
+ },
2560
+ body: UtilizationReport): Request<Operation>;
2561
+ /** Deletes a single Utilization Report. */
2562
+ delete(request?: {
2563
+ /** V1 error format. */
2564
+ "$.xgafv"?: string;
2565
+ /** OAuth access token. */
2566
+ access_token?: string;
2567
+ /** Data format for response. */
2568
+ alt?: string;
2569
+ /** JSONP */
2570
+ callback?: string;
2571
+ /** Selector specifying which fields to include in a partial response. */
2572
+ fields?: string;
2573
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2574
+ key?: string;
2575
+ /** Required. The Utilization Report name. */
2576
+ name: string;
2577
+ /** OAuth 2.0 token for the current user. */
2578
+ oauth_token?: string;
2579
+ /** Returns response with indentations and line breaks. */
2580
+ prettyPrint?: boolean;
2581
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2582
+ quotaUser?: string;
2583
+ /**
2584
+ * 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
2585
+ * been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he
2586
+ * 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
2587
+ * 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
2588
+ * supported (00000000-0000-0000-0000-000000000000).
2589
+ */
2590
+ requestId?: string;
2591
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2592
+ upload_protocol?: string;
2593
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2594
+ uploadType?: string;
2595
+ }): Request<Operation>;
2596
+ /** Gets a single Utilization Report. */
2597
+ get(request?: {
2598
+ /** V1 error format. */
2599
+ "$.xgafv"?: string;
2600
+ /** OAuth access token. */
2601
+ access_token?: string;
2602
+ /** Data format for response. */
2603
+ alt?: string;
2604
+ /** JSONP */
2605
+ callback?: string;
2606
+ /** Selector specifying which fields to include in a partial response. */
2607
+ fields?: string;
2608
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2609
+ key?: string;
2610
+ /** Required. The Utilization Report name. */
2611
+ name: string;
2612
+ /** OAuth 2.0 token for the current user. */
2613
+ oauth_token?: string;
2614
+ /** Returns response with indentations and line breaks. */
2615
+ prettyPrint?: boolean;
2616
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2617
+ quotaUser?: string;
2618
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2619
+ upload_protocol?: string;
2620
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2621
+ uploadType?: string;
2622
+ /** Optional. The level of details of the report. Defaults to FULL */
2623
+ view?: string;
2624
+ }): Request<UtilizationReport>;
2625
+ /** Lists Utilization Reports of the given Source. */
2626
+ list(request?: {
2627
+ /** V1 error format. */
2628
+ "$.xgafv"?: string;
2629
+ /** OAuth access token. */
2630
+ access_token?: string;
2631
+ /** Data format for response. */
2632
+ alt?: string;
2633
+ /** JSONP */
2634
+ callback?: string;
2635
+ /** Selector specifying which fields to include in a partial response. */
2636
+ fields?: string;
2637
+ /** Optional. The filter request. */
2638
+ filter?: string;
2639
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2640
+ key?: string;
2641
+ /** OAuth 2.0 token for the current user. */
2642
+ oauth_token?: string;
2643
+ /** Optional. the order by fields for the result. */
2644
+ orderBy?: string;
2645
+ /**
2646
+ * Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, at most 500 reports will be returned. The maximum value is 1000;
2647
+ * values above 1000 will be coerced to 1000.
2648
+ */
2649
+ pageSize?: number;
2650
+ /**
2651
+ * Required. A page token, received from a previous `ListUtilizationReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
2652
+ * `ListUtilizationReports` must match the call that provided the page token.
2653
+ */
2654
+ pageToken?: string;
2655
+ /** Required. The Utilization Reports parent. */
2656
+ parent: string;
2657
+ /** Returns response with indentations and line breaks. */
2658
+ prettyPrint?: boolean;
2659
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2660
+ quotaUser?: string;
2661
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2662
+ upload_protocol?: string;
2663
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2664
+ uploadType?: string;
2665
+ /** Optional. The level of details of each report. Defaults to BASIC. */
2666
+ view?: string;
2667
+ }): Request<ListUtilizationReportsResponse>;
2668
+ }
2669
+ interface SourcesResource {
2670
+ /** Creates a new Source in a given project and location. */
2671
+ create(request: {
2672
+ /** V1 error format. */
2673
+ "$.xgafv"?: string;
2674
+ /** OAuth access token. */
2675
+ access_token?: string;
2676
+ /** Data format for response. */
2677
+ alt?: string;
2678
+ /** JSONP */
2679
+ callback?: string;
2680
+ /** Selector specifying which fields to include in a partial response. */
2681
+ fields?: string;
2682
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2683
+ key?: string;
2684
+ /** OAuth 2.0 token for the current user. */
2685
+ oauth_token?: string;
2686
+ /** Required. The Source's parent. */
2687
+ parent: string;
2688
+ /** Returns response with indentations and line breaks. */
2689
+ prettyPrint?: boolean;
2690
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2691
+ quotaUser?: string;
2692
+ /**
2693
+ * 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
2694
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2695
+ * 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
2696
+ * 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
2697
+ * (00000000-0000-0000-0000-000000000000).
2698
+ */
2699
+ requestId?: string;
2700
+ /** Required. The source identifier. */
2701
+ sourceId?: string;
2702
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2703
+ upload_protocol?: string;
2704
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2705
+ uploadType?: string;
2706
+ /** Request body */
2707
+ resource: Source;
2708
+ }): Request<Operation>;
2709
+ create(request: {
2710
+ /** V1 error format. */
2711
+ "$.xgafv"?: string;
2712
+ /** OAuth access token. */
2713
+ access_token?: string;
2714
+ /** Data format for response. */
2715
+ alt?: string;
2716
+ /** JSONP */
2717
+ callback?: string;
2718
+ /** Selector specifying which fields to include in a partial response. */
2719
+ fields?: string;
2720
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2721
+ key?: string;
2722
+ /** OAuth 2.0 token for the current user. */
2723
+ oauth_token?: string;
2724
+ /** Required. The Source's parent. */
2725
+ parent: string;
2726
+ /** Returns response with indentations and line breaks. */
2727
+ prettyPrint?: boolean;
2728
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2729
+ quotaUser?: string;
2730
+ /**
2731
+ * 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
2732
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2733
+ * 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
2734
+ * 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
2735
+ * (00000000-0000-0000-0000-000000000000).
2736
+ */
2737
+ requestId?: string;
2738
+ /** Required. The source identifier. */
2739
+ sourceId?: string;
2740
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2741
+ upload_protocol?: string;
2742
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2743
+ uploadType?: string;
2744
+ },
2745
+ body: Source): Request<Operation>;
2746
+ /** Deletes a single Source. */
2747
+ delete(request?: {
2748
+ /** V1 error format. */
2749
+ "$.xgafv"?: string;
2750
+ /** OAuth access token. */
2751
+ access_token?: string;
2752
+ /** Data format for response. */
2753
+ alt?: string;
2754
+ /** JSONP */
2755
+ callback?: string;
2756
+ /** Selector specifying which fields to include in a partial response. */
2757
+ fields?: string;
2758
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2759
+ key?: string;
2760
+ /** Required. The Source name. */
2761
+ name: string;
2762
+ /** OAuth 2.0 token for the current user. */
2763
+ oauth_token?: string;
2764
+ /** Returns response with indentations and line breaks. */
2765
+ prettyPrint?: boolean;
2766
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2767
+ quotaUser?: string;
2768
+ /**
2769
+ * 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
2770
+ * been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he
2771
+ * 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
2772
+ * 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
2773
+ * supported (00000000-0000-0000-0000-000000000000).
2774
+ */
2775
+ requestId?: string;
2776
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2777
+ upload_protocol?: string;
2778
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2779
+ uploadType?: string;
2780
+ }): Request<Operation>;
2781
+ /**
2782
+ * 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
2783
+ * that source. Note that this operation lists the VMs on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.
2784
+ */
2785
+ fetchInventory(request?: {
2786
+ /** V1 error format. */
2787
+ "$.xgafv"?: string;
2788
+ /** OAuth access token. */
2789
+ access_token?: string;
2790
+ /** Data format for response. */
2791
+ alt?: string;
2792
+ /** JSONP */
2793
+ callback?: string;
2794
+ /** Selector specifying which fields to include in a partial response. */
2795
+ fields?: string;
2796
+ /** 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. */
2797
+ forceRefresh?: boolean;
2798
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2799
+ key?: string;
2800
+ /** OAuth 2.0 token for the current user. */
2801
+ oauth_token?: string;
2802
+ /**
2803
+ * 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;
2804
+ * 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.
2805
+ */
2806
+ pageSize?: number;
2807
+ /**
2808
+ * A page token, received from a previous `FetchInventory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchInventory`
2809
+ * must match the call that provided the page token.
2810
+ */
2811
+ pageToken?: string;
2812
+ /** Returns response with indentations and line breaks. */
2813
+ prettyPrint?: boolean;
2814
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2815
+ quotaUser?: string;
2816
+ /** Required. The name of the Source. */
2817
+ source: string;
2818
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2819
+ upload_protocol?: string;
2820
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2821
+ uploadType?: string;
2822
+ }): Request<FetchInventoryResponse>;
2823
+ /** Gets details of a single Source. */
2824
+ get(request?: {
2825
+ /** V1 error format. */
2826
+ "$.xgafv"?: string;
2827
+ /** OAuth access token. */
2828
+ access_token?: string;
2829
+ /** Data format for response. */
2830
+ alt?: string;
2831
+ /** JSONP */
2832
+ callback?: string;
2833
+ /** Selector specifying which fields to include in a partial response. */
2834
+ fields?: string;
2835
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2836
+ key?: string;
2837
+ /** Required. The Source name. */
2838
+ name: string;
2839
+ /** OAuth 2.0 token for the current user. */
2840
+ oauth_token?: string;
2841
+ /** Returns response with indentations and line breaks. */
2842
+ prettyPrint?: boolean;
2843
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2844
+ quotaUser?: string;
2845
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2846
+ upload_protocol?: string;
2847
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2848
+ uploadType?: string;
2849
+ }): Request<Source>;
2850
+ /** Lists Sources in a given project and location. */
2851
+ list(request?: {
2852
+ /** V1 error format. */
2853
+ "$.xgafv"?: string;
2854
+ /** OAuth access token. */
2855
+ access_token?: string;
2856
+ /** Data format for response. */
2857
+ alt?: string;
2858
+ /** JSONP */
2859
+ callback?: string;
2860
+ /** Selector specifying which fields to include in a partial response. */
2861
+ fields?: string;
2862
+ /** Optional. The filter request. */
2863
+ filter?: string;
2864
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2865
+ key?: string;
2866
+ /** OAuth 2.0 token for the current user. */
2867
+ oauth_token?: string;
2868
+ /** Optional. the order by fields for the result. */
2869
+ orderBy?: string;
2870
+ /**
2871
+ * 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;
2872
+ * values above 1000 will be coerced to 1000.
2873
+ */
2874
+ pageSize?: number;
2875
+ /**
2876
+ * Required. A page token, received from a previous `ListSources` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
2877
+ * `ListSources` must match the call that provided the page token.
2878
+ */
2879
+ pageToken?: string;
2880
+ /** Required. The parent, which owns this collection of sources. */
2881
+ parent: string;
2882
+ /** Returns response with indentations and line breaks. */
2883
+ prettyPrint?: boolean;
2884
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2885
+ quotaUser?: string;
2886
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2887
+ upload_protocol?: string;
2888
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2889
+ uploadType?: string;
2890
+ }): Request<ListSourcesResponse>;
2891
+ /** Updates the parameters of a single Source. */
2892
+ patch(request: {
2893
+ /** V1 error format. */
2894
+ "$.xgafv"?: string;
2895
+ /** OAuth access token. */
2896
+ access_token?: string;
2897
+ /** Data format for response. */
2898
+ alt?: string;
2899
+ /** JSONP */
2900
+ callback?: string;
2901
+ /** Selector specifying which fields to include in a partial response. */
2902
+ fields?: string;
2903
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2904
+ key?: string;
2905
+ /** Output only. The Source name. */
2906
+ name: string;
2907
+ /** OAuth 2.0 token for the current user. */
2908
+ oauth_token?: string;
2909
+ /** Returns response with indentations and line breaks. */
2910
+ prettyPrint?: boolean;
2911
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2912
+ quotaUser?: string;
2913
+ /**
2914
+ * 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
2915
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2916
+ * 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
2917
+ * 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
2918
+ * (00000000-0000-0000-0000-000000000000).
2919
+ */
2920
+ requestId?: string;
2921
+ /**
2922
+ * 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
2923
+ * 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.
2924
+ */
2925
+ updateMask?: string;
2926
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2927
+ upload_protocol?: string;
2928
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2929
+ uploadType?: string;
2930
+ /** Request body */
2931
+ resource: Source;
2932
+ }): Request<Operation>;
2933
+ patch(request: {
2934
+ /** V1 error format. */
2935
+ "$.xgafv"?: string;
2936
+ /** OAuth access token. */
2937
+ access_token?: string;
2938
+ /** Data format for response. */
2939
+ alt?: string;
2940
+ /** JSONP */
2941
+ callback?: string;
2942
+ /** Selector specifying which fields to include in a partial response. */
2943
+ fields?: string;
2944
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2945
+ key?: string;
2946
+ /** Output only. The Source name. */
2947
+ name: string;
2948
+ /** OAuth 2.0 token for the current user. */
2949
+ oauth_token?: string;
2950
+ /** Returns response with indentations and line breaks. */
2951
+ prettyPrint?: boolean;
2952
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2953
+ quotaUser?: string;
2954
+ /**
2955
+ * 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
2956
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2957
+ * 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
2958
+ * 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
2959
+ * (00000000-0000-0000-0000-000000000000).
2960
+ */
2961
+ requestId?: string;
2962
+ /**
2963
+ * 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
2964
+ * 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.
2965
+ */
2966
+ updateMask?: string;
2967
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2968
+ upload_protocol?: string;
2969
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2970
+ uploadType?: string;
2971
+ },
2972
+ body: Source): Request<Operation>;
2973
+ datacenterConnectors: DatacenterConnectorsResource;
2974
+ migratingVms: MigratingVmsResource;
2975
+ utilizationReports: UtilizationReportsResource;
2976
+ }
2977
+ interface TargetProjectsResource {
2978
+ /** Creates a new TargetProject in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`. */
2979
+ create(request: {
2980
+ /** V1 error format. */
2981
+ "$.xgafv"?: string;
2982
+ /** OAuth access token. */
2983
+ access_token?: string;
2984
+ /** Data format for response. */
2985
+ alt?: string;
2986
+ /** JSONP */
2987
+ callback?: string;
2988
+ /** Selector specifying which fields to include in a partial response. */
2989
+ fields?: string;
2990
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2991
+ key?: string;
2992
+ /** OAuth 2.0 token for the current user. */
2993
+ oauth_token?: string;
2994
+ /** Required. The TargetProject's parent. */
2995
+ parent: string;
2996
+ /** Returns response with indentations and line breaks. */
2997
+ prettyPrint?: boolean;
2998
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2999
+ quotaUser?: string;
3000
+ /**
3001
+ * 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
3002
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
3003
+ * 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
3004
+ * 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
3005
+ * (00000000-0000-0000-0000-000000000000).
3006
+ */
3007
+ requestId?: string;
3008
+ /** Required. The target_project identifier. */
3009
+ targetProjectId?: string;
3010
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3011
+ upload_protocol?: string;
3012
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3013
+ uploadType?: string;
3014
+ /** Request body */
3015
+ resource: TargetProject;
3016
+ }): Request<Operation>;
3017
+ create(request: {
3018
+ /** V1 error format. */
3019
+ "$.xgafv"?: string;
3020
+ /** OAuth access token. */
3021
+ access_token?: string;
3022
+ /** Data format for response. */
3023
+ alt?: string;
3024
+ /** JSONP */
3025
+ callback?: string;
3026
+ /** Selector specifying which fields to include in a partial response. */
3027
+ fields?: string;
3028
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3029
+ key?: string;
3030
+ /** OAuth 2.0 token for the current user. */
3031
+ oauth_token?: string;
3032
+ /** Required. The TargetProject's parent. */
3033
+ parent: string;
3034
+ /** Returns response with indentations and line breaks. */
3035
+ prettyPrint?: boolean;
3036
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3037
+ quotaUser?: string;
3038
+ /**
3039
+ * 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
3040
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
3041
+ * 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
3042
+ * 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
3043
+ * (00000000-0000-0000-0000-000000000000).
3044
+ */
3045
+ requestId?: string;
3046
+ /** Required. The target_project identifier. */
3047
+ targetProjectId?: string;
3048
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3049
+ upload_protocol?: string;
3050
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3051
+ uploadType?: string;
3052
+ },
3053
+ body: TargetProject): Request<Operation>;
3054
+ /** Deletes a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`. */
3055
+ delete(request?: {
3056
+ /** V1 error format. */
3057
+ "$.xgafv"?: string;
3058
+ /** OAuth access token. */
3059
+ access_token?: string;
3060
+ /** Data format for response. */
3061
+ alt?: string;
3062
+ /** JSONP */
3063
+ callback?: string;
3064
+ /** Selector specifying which fields to include in a partial response. */
3065
+ fields?: string;
3066
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3067
+ key?: string;
3068
+ /** Required. The TargetProject name. */
3069
+ name: string;
3070
+ /** OAuth 2.0 token for the current user. */
3071
+ oauth_token?: string;
3072
+ /** Returns response with indentations and line breaks. */
3073
+ prettyPrint?: boolean;
3074
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3075
+ quotaUser?: string;
3076
+ /**
3077
+ * 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
3078
+ * been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and t he
3079
+ * 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
3080
+ * 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
3081
+ * supported (00000000-0000-0000-0000-000000000000).
3082
+ */
3083
+ requestId?: string;
3084
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3085
+ upload_protocol?: string;
3086
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3087
+ uploadType?: string;
3088
+ }): Request<Operation>;
3089
+ /** Gets details of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`. */
3090
+ get(request?: {
3091
+ /** V1 error format. */
3092
+ "$.xgafv"?: string;
3093
+ /** OAuth access token. */
3094
+ access_token?: string;
3095
+ /** Data format for response. */
3096
+ alt?: string;
3097
+ /** JSONP */
3098
+ callback?: string;
3099
+ /** Selector specifying which fields to include in a partial response. */
3100
+ fields?: string;
3101
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3102
+ key?: string;
3103
+ /** Required. The TargetProject name. */
3104
+ name: string;
3105
+ /** OAuth 2.0 token for the current user. */
3106
+ oauth_token?: string;
3107
+ /** Returns response with indentations and line breaks. */
3108
+ prettyPrint?: boolean;
3109
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3110
+ quotaUser?: string;
3111
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3112
+ upload_protocol?: string;
3113
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3114
+ uploadType?: string;
3115
+ }): Request<TargetProject>;
3116
+ /** Lists TargetProjects in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`. */
3117
+ list(request?: {
3118
+ /** V1 error format. */
3119
+ "$.xgafv"?: string;
3120
+ /** OAuth access token. */
3121
+ access_token?: string;
3122
+ /** Data format for response. */
3123
+ alt?: string;
3124
+ /** JSONP */
3125
+ callback?: string;
3126
+ /** Selector specifying which fields to include in a partial response. */
3127
+ fields?: string;
3128
+ /** Optional. The filter request. */
3129
+ filter?: string;
3130
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3131
+ key?: string;
3132
+ /** OAuth 2.0 token for the current user. */
3133
+ oauth_token?: string;
3134
+ /** Optional. the order by fields for the result. */
3135
+ orderBy?: string;
3136
+ /**
3137
+ * Optional. The maximum number of targets to return. The service may return fewer than this value. If unspecified, at most 500 targets will be returned. The maximum value is 1000;
3138
+ * values above 1000 will be coerced to 1000.
3139
+ */
3140
+ pageSize?: number;
3141
+ /**
3142
+ * Required. A page token, received from a previous `ListTargets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
3143
+ * `ListTargets` must match the call that provided the page token.
3144
+ */
3145
+ pageToken?: string;
3146
+ /** Required. The parent, which owns this collection of targets. */
3147
+ parent: string;
3148
+ /** Returns response with indentations and line breaks. */
3149
+ prettyPrint?: boolean;
3150
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3151
+ quotaUser?: string;
3152
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3153
+ upload_protocol?: string;
3154
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3155
+ uploadType?: string;
3156
+ }): Request<ListTargetProjectsResponse>;
3157
+ /** Updates the parameters of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`. */
3158
+ patch(request: {
3159
+ /** V1 error format. */
3160
+ "$.xgafv"?: string;
3161
+ /** OAuth access token. */
3162
+ access_token?: string;
3163
+ /** Data format for response. */
3164
+ alt?: string;
3165
+ /** JSONP */
3166
+ callback?: string;
3167
+ /** Selector specifying which fields to include in a partial response. */
3168
+ fields?: string;
3169
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3170
+ key?: string;
3171
+ /** Output only. The name of the target project. */
3172
+ name: string;
3173
+ /** OAuth 2.0 token for the current user. */
3174
+ oauth_token?: string;
3175
+ /** Returns response with indentations and line breaks. */
3176
+ prettyPrint?: boolean;
3177
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3178
+ quotaUser?: string;
3179
+ /**
3180
+ * 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
3181
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
3182
+ * 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
3183
+ * 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
3184
+ * (00000000-0000-0000-0000-000000000000).
3185
+ */
3186
+ requestId?: string;
3187
+ /**
3188
+ * Field mask is used to specify the fields to be overwritten in the TargetProject resource by the update. The fields specified in the update_mask are relative to the resource, not
3189
+ * 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.
3190
+ */
3191
+ updateMask?: string;
3192
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3193
+ upload_protocol?: string;
3194
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3195
+ uploadType?: string;
3196
+ /** Request body */
3197
+ resource: TargetProject;
3198
+ }): Request<Operation>;
3199
+ patch(request: {
3200
+ /** V1 error format. */
3201
+ "$.xgafv"?: string;
3202
+ /** OAuth access token. */
3203
+ access_token?: string;
3204
+ /** Data format for response. */
3205
+ alt?: string;
3206
+ /** JSONP */
3207
+ callback?: string;
3208
+ /** Selector specifying which fields to include in a partial response. */
3209
+ fields?: string;
3210
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3211
+ key?: string;
3212
+ /** Output only. The name of the target project. */
3213
+ name: string;
3214
+ /** OAuth 2.0 token for the current user. */
3215
+ oauth_token?: string;
3216
+ /** Returns response with indentations and line breaks. */
3217
+ prettyPrint?: boolean;
3218
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3219
+ quotaUser?: string;
3220
+ /**
3221
+ * 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
3222
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
3223
+ * 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
3224
+ * 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
3225
+ * (00000000-0000-0000-0000-000000000000).
3226
+ */
3227
+ requestId?: string;
3228
+ /**
3229
+ * Field mask is used to specify the fields to be overwritten in the TargetProject resource by the update. The fields specified in the update_mask are relative to the resource, not
3230
+ * 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.
3231
+ */
3232
+ updateMask?: string;
3233
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3234
+ upload_protocol?: string;
3235
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3236
+ uploadType?: string;
3237
+ },
3238
+ body: TargetProject): Request<Operation>;
3239
+ }
3240
+ interface LocationsResource {
3241
+ /** Gets information about a location. */
3242
+ get(request?: {
3243
+ /** V1 error format. */
3244
+ "$.xgafv"?: string;
3245
+ /** OAuth access token. */
3246
+ access_token?: string;
3247
+ /** Data format for response. */
3248
+ alt?: string;
3249
+ /** JSONP */
3250
+ callback?: string;
3251
+ /** Selector specifying which fields to include in a partial response. */
3252
+ fields?: string;
3253
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3254
+ key?: string;
3255
+ /** Resource name for the location. */
3256
+ name: string;
3257
+ /** OAuth 2.0 token for the current user. */
3258
+ oauth_token?: string;
3259
+ /** Returns response with indentations and line breaks. */
3260
+ prettyPrint?: boolean;
3261
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3262
+ quotaUser?: string;
3263
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3264
+ upload_protocol?: string;
3265
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3266
+ uploadType?: string;
3267
+ }): Request<Location>;
3268
+ /** Lists information about the supported locations for this service. */
3269
+ list(request?: {
3270
+ /** V1 error format. */
3271
+ "$.xgafv"?: string;
3272
+ /** OAuth access token. */
3273
+ access_token?: string;
3274
+ /** Data format for response. */
3275
+ alt?: string;
3276
+ /** JSONP */
3277
+ callback?: string;
3278
+ /** Selector specifying which fields to include in a partial response. */
3279
+ fields?: string;
3280
+ /**
3281
+ * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in
3282
+ * [AIP-160](https://google.aip.dev/160).
3283
+ */
3284
+ filter?: string;
3285
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3286
+ key?: string;
3287
+ /** The resource that owns the locations collection, if applicable. */
3288
+ name: string;
3289
+ /** OAuth 2.0 token for the current user. */
3290
+ oauth_token?: string;
3291
+ /** The maximum number of results to return. If not set, the service selects a default. */
3292
+ pageSize?: number;
3293
+ /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
3294
+ pageToken?: string;
3295
+ /** Returns response with indentations and line breaks. */
3296
+ prettyPrint?: boolean;
3297
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3298
+ quotaUser?: string;
3299
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3300
+ upload_protocol?: string;
3301
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3302
+ uploadType?: string;
3303
+ }): Request<ListLocationsResponse>;
3304
+ groups: GroupsResource;
3305
+ operations: OperationsResource;
3306
+ sources: SourcesResource;
3307
+ targetProjects: TargetProjectsResource;
3308
+ }
3309
+ interface ProjectsResource {
3310
+ locations: LocationsResource;
3311
+ }
3312
+
3313
+ const projects: ProjectsResource;
3314
+ }
3315
+ }