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