google-cloud-vm_migration-v1 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/vm_migration/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/vm_migration/v1/rest.rb +38 -0
- data/lib/google/cloud/vm_migration/v1/version.rb +1 -1
- data/lib/google/cloud/vm_migration/v1/vm_migration/client.rb +372 -156
- data/lib/google/cloud/vm_migration/v1/vm_migration/operations.rb +12 -14
- data/lib/google/cloud/vm_migration/v1/vm_migration/paths.rb +23 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/client.rb +4031 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/operations.rb +793 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/service_stub.rb +2783 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest.rb +54 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration.rb +7 -1
- data/lib/google/cloud/vm_migration/v1.rb +7 -2
- data/lib/google/cloud/vmmigration/v1/vmmigration_pb.rb +196 -0
- data/lib/google/cloud/vmmigration/v1/vmmigration_services_pb.rb +4 -0
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/vmmigration/v1/vmmigration.rb +505 -6
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/error_details.rb +102 -66
- data/proto_docs/google/rpc/status.rb +4 -2
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +57 -8
@@ -23,15 +23,110 @@ module Google
|
|
23
23
|
module V1
|
24
24
|
# ReplicationCycle contains information about the current replication cycle
|
25
25
|
# status.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# The identifier of the ReplicationCycle.
|
29
|
+
# @!attribute [rw] cycle_number
|
30
|
+
# @return [::Integer]
|
31
|
+
# The cycle's ordinal number.
|
26
32
|
# @!attribute [rw] start_time
|
27
33
|
# @return [::Google::Protobuf::Timestamp]
|
28
34
|
# The time the replication cycle has started.
|
35
|
+
# @!attribute [rw] end_time
|
36
|
+
# @return [::Google::Protobuf::Timestamp]
|
37
|
+
# The time the replication cycle has ended.
|
38
|
+
# @!attribute [rw] total_pause_duration
|
39
|
+
# @return [::Google::Protobuf::Duration]
|
40
|
+
# The accumulated duration the replication cycle was paused.
|
29
41
|
# @!attribute [rw] progress_percent
|
30
42
|
# @return [::Integer]
|
31
43
|
# The current progress in percentage of this cycle.
|
44
|
+
# Was replaced by 'steps' field, which breaks down the cycle progression more
|
45
|
+
# accurately.
|
46
|
+
# @!attribute [rw] steps
|
47
|
+
# @return [::Array<::Google::Cloud::VMMigration::V1::CycleStep>]
|
48
|
+
# The cycle's steps list representing its progress.
|
49
|
+
# @!attribute [rw] state
|
50
|
+
# @return [::Google::Cloud::VMMigration::V1::ReplicationCycle::State]
|
51
|
+
# State of the ReplicationCycle.
|
52
|
+
# @!attribute [rw] error
|
53
|
+
# @return [::Google::Rpc::Status]
|
54
|
+
# Provides details on the state of the cycle in case of an error.
|
32
55
|
class ReplicationCycle
|
33
56
|
include ::Google::Protobuf::MessageExts
|
34
57
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
58
|
+
|
59
|
+
# Possible states of a replication cycle.
|
60
|
+
module State
|
61
|
+
# The state is unknown. This is used for API compatibility only and is not
|
62
|
+
# used by the system.
|
63
|
+
STATE_UNSPECIFIED = 0
|
64
|
+
|
65
|
+
# The replication cycle is running.
|
66
|
+
RUNNING = 1
|
67
|
+
|
68
|
+
# The replication cycle is paused.
|
69
|
+
PAUSED = 2
|
70
|
+
|
71
|
+
# The replication cycle finished with errors.
|
72
|
+
FAILED = 3
|
73
|
+
|
74
|
+
# The replication cycle finished successfully.
|
75
|
+
SUCCEEDED = 4
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
# CycleStep holds information about a step progress.
|
80
|
+
# @!attribute [rw] initializing_replication
|
81
|
+
# @return [::Google::Cloud::VMMigration::V1::InitializingReplicationStep]
|
82
|
+
# Initializing replication step.
|
83
|
+
# @!attribute [rw] replicating
|
84
|
+
# @return [::Google::Cloud::VMMigration::V1::ReplicatingStep]
|
85
|
+
# Replicating step.
|
86
|
+
# @!attribute [rw] post_processing
|
87
|
+
# @return [::Google::Cloud::VMMigration::V1::PostProcessingStep]
|
88
|
+
# Post processing step.
|
89
|
+
# @!attribute [rw] start_time
|
90
|
+
# @return [::Google::Protobuf::Timestamp]
|
91
|
+
# The time the cycle step has started.
|
92
|
+
# @!attribute [rw] end_time
|
93
|
+
# @return [::Google::Protobuf::Timestamp]
|
94
|
+
# The time the cycle step has ended.
|
95
|
+
class CycleStep
|
96
|
+
include ::Google::Protobuf::MessageExts
|
97
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
98
|
+
end
|
99
|
+
|
100
|
+
# InitializingReplicationStep contains specific step details.
|
101
|
+
class InitializingReplicationStep
|
102
|
+
include ::Google::Protobuf::MessageExts
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
|
+
end
|
105
|
+
|
106
|
+
# ReplicatingStep contains specific step details.
|
107
|
+
# @!attribute [rw] total_bytes
|
108
|
+
# @return [::Integer]
|
109
|
+
# Total bytes to be handled in the step.
|
110
|
+
# @!attribute [rw] replicated_bytes
|
111
|
+
# @return [::Integer]
|
112
|
+
# Replicated bytes in the step.
|
113
|
+
# @!attribute [rw] last_two_minutes_average_bytes_per_second
|
114
|
+
# @return [::Integer]
|
115
|
+
# The source disks replication rate for the last 2 minutes in bytes per
|
116
|
+
# second.
|
117
|
+
# @!attribute [rw] last_thirty_minutes_average_bytes_per_second
|
118
|
+
# @return [::Integer]
|
119
|
+
# The source disks replication rate for the last 30 minutes in bytes per
|
120
|
+
# second.
|
121
|
+
class ReplicatingStep
|
122
|
+
include ::Google::Protobuf::MessageExts
|
123
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
124
|
+
end
|
125
|
+
|
126
|
+
# PostProcessingStep contains specific step details.
|
127
|
+
class PostProcessingStep
|
128
|
+
include ::Google::Protobuf::MessageExts
|
129
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
130
|
end
|
36
131
|
|
37
132
|
# ReplicationSync contain information about the last replica sync to the cloud.
|
@@ -49,6 +144,9 @@ module Google
|
|
49
144
|
# @!attribute [rw] compute_engine_target_defaults
|
50
145
|
# @return [::Google::Cloud::VMMigration::V1::ComputeEngineTargetDefaults]
|
51
146
|
# Details of the target VM in Compute Engine.
|
147
|
+
# @!attribute [r] aws_source_vm_details
|
148
|
+
# @return [::Google::Cloud::VMMigration::V1::AwsSourceVmDetails]
|
149
|
+
# Output only. Details of the VM from an AWS source.
|
52
150
|
# @!attribute [r] name
|
53
151
|
# @return [::String]
|
54
152
|
# Output only. The identifier of the MigratingVm.
|
@@ -205,6 +303,9 @@ module Google
|
|
205
303
|
# @return [::Google::Rpc::Status]
|
206
304
|
# Output only. Provides details for the errors that led to the Clone Job's
|
207
305
|
# state.
|
306
|
+
# @!attribute [r] steps
|
307
|
+
# @return [::Array<::Google::Cloud::VMMigration::V1::CloneStep>]
|
308
|
+
# Output only. The clone steps list representing its progress.
|
208
309
|
class CloneJob
|
209
310
|
include ::Google::Protobuf::MessageExts
|
210
311
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -238,6 +339,45 @@ module Google
|
|
238
339
|
end
|
239
340
|
end
|
240
341
|
|
342
|
+
# CloneStep holds information about the clone step progress.
|
343
|
+
# @!attribute [rw] adapting_os
|
344
|
+
# @return [::Google::Cloud::VMMigration::V1::AdaptingOSStep]
|
345
|
+
# Adapting OS step.
|
346
|
+
# @!attribute [rw] preparing_vm_disks
|
347
|
+
# @return [::Google::Cloud::VMMigration::V1::PreparingVMDisksStep]
|
348
|
+
# Preparing VM disks step.
|
349
|
+
# @!attribute [rw] instantiating_migrated_vm
|
350
|
+
# @return [::Google::Cloud::VMMigration::V1::InstantiatingMigratedVMStep]
|
351
|
+
# Instantiating migrated VM step.
|
352
|
+
# @!attribute [rw] start_time
|
353
|
+
# @return [::Google::Protobuf::Timestamp]
|
354
|
+
# The time the step has started.
|
355
|
+
# @!attribute [rw] end_time
|
356
|
+
# @return [::Google::Protobuf::Timestamp]
|
357
|
+
# The time the step has ended.
|
358
|
+
class CloneStep
|
359
|
+
include ::Google::Protobuf::MessageExts
|
360
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
361
|
+
end
|
362
|
+
|
363
|
+
# AdaptingOSStep contains specific step details.
|
364
|
+
class AdaptingOSStep
|
365
|
+
include ::Google::Protobuf::MessageExts
|
366
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
367
|
+
end
|
368
|
+
|
369
|
+
# PreparingVMDisksStep contains specific step details.
|
370
|
+
class PreparingVMDisksStep
|
371
|
+
include ::Google::Protobuf::MessageExts
|
372
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
373
|
+
end
|
374
|
+
|
375
|
+
# InstantiatingMigratedVMStep contains specific step details.
|
376
|
+
class InstantiatingMigratedVMStep
|
377
|
+
include ::Google::Protobuf::MessageExts
|
378
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
379
|
+
end
|
380
|
+
|
241
381
|
# CutoverJob message describes a cutover of a migrating VM. The CutoverJob is
|
242
382
|
# the operation of shutting down the VM, creating a snapshot and
|
243
383
|
# clonning the VM using the replicated snapshot.
|
@@ -271,6 +411,9 @@ module Google
|
|
271
411
|
# @return [::String]
|
272
412
|
# Output only. A message providing possible extra details about the current
|
273
413
|
# state.
|
414
|
+
# @!attribute [r] steps
|
415
|
+
# @return [::Array<::Google::Cloud::VMMigration::V1::CutoverStep>]
|
416
|
+
# Output only. The cutover steps list representing its progress.
|
274
417
|
class CutoverJob
|
275
418
|
include ::Google::Protobuf::MessageExts
|
276
419
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -304,6 +447,39 @@ module Google
|
|
304
447
|
end
|
305
448
|
end
|
306
449
|
|
450
|
+
# CutoverStep holds information about the cutover step progress.
|
451
|
+
# @!attribute [rw] previous_replication_cycle
|
452
|
+
# @return [::Google::Cloud::VMMigration::V1::ReplicationCycle]
|
453
|
+
# A replication cycle prior cutover step.
|
454
|
+
# @!attribute [rw] shutting_down_source_vm
|
455
|
+
# @return [::Google::Cloud::VMMigration::V1::ShuttingDownSourceVMStep]
|
456
|
+
# Shutting down VM step.
|
457
|
+
# @!attribute [rw] final_sync
|
458
|
+
# @return [::Google::Cloud::VMMigration::V1::ReplicationCycle]
|
459
|
+
# Final sync step.
|
460
|
+
# @!attribute [rw] preparing_vm_disks
|
461
|
+
# @return [::Google::Cloud::VMMigration::V1::PreparingVMDisksStep]
|
462
|
+
# Preparing VM disks step.
|
463
|
+
# @!attribute [rw] instantiating_migrated_vm
|
464
|
+
# @return [::Google::Cloud::VMMigration::V1::InstantiatingMigratedVMStep]
|
465
|
+
# Instantiating migrated VM step.
|
466
|
+
# @!attribute [rw] start_time
|
467
|
+
# @return [::Google::Protobuf::Timestamp]
|
468
|
+
# The time the step has started.
|
469
|
+
# @!attribute [rw] end_time
|
470
|
+
# @return [::Google::Protobuf::Timestamp]
|
471
|
+
# The time the step has ended.
|
472
|
+
class CutoverStep
|
473
|
+
include ::Google::Protobuf::MessageExts
|
474
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
475
|
+
end
|
476
|
+
|
477
|
+
# ShuttingDownSourceVMStep contains specific step details.
|
478
|
+
class ShuttingDownSourceVMStep
|
479
|
+
include ::Google::Protobuf::MessageExts
|
480
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
481
|
+
end
|
482
|
+
|
307
483
|
# Request message for 'CreateCloneJob' request.
|
308
484
|
# @!attribute [rw] parent
|
309
485
|
# @return [::String]
|
@@ -407,6 +583,9 @@ module Google
|
|
407
583
|
# @!attribute [rw] vmware
|
408
584
|
# @return [::Google::Cloud::VMMigration::V1::VmwareSourceDetails]
|
409
585
|
# Vmware type source details.
|
586
|
+
# @!attribute [rw] aws
|
587
|
+
# @return [::Google::Cloud::VMMigration::V1::AwsSourceDetails]
|
588
|
+
# AWS type source details.
|
410
589
|
# @!attribute [r] name
|
411
590
|
# @return [::String]
|
412
591
|
# Output only. The Source name.
|
@@ -456,9 +635,98 @@ module Google
|
|
456
635
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
457
636
|
end
|
458
637
|
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
638
|
+
# AwsSourceDetails message describes a specific source details for the
|
639
|
+
# AWS source type.
|
640
|
+
# @!attribute [rw] access_key_creds
|
641
|
+
# @return [::Google::Cloud::VMMigration::V1::AwsSourceDetails::AccessKeyCredentials]
|
642
|
+
# AWS Credentials using access key id and secret.
|
643
|
+
# @!attribute [rw] aws_region
|
644
|
+
# @return [::String]
|
645
|
+
# Immutable. The AWS region that the source VMs will be migrated from.
|
646
|
+
# @!attribute [r] state
|
647
|
+
# @return [::Google::Cloud::VMMigration::V1::AwsSourceDetails::State]
|
648
|
+
# Output only. State of the source as determined by the health check.
|
649
|
+
# @!attribute [r] error
|
650
|
+
# @return [::Google::Rpc::Status]
|
651
|
+
# Output only. Provides details on the state of the Source in case of an
|
652
|
+
# error.
|
653
|
+
# @!attribute [rw] inventory_tag_list
|
654
|
+
# @return [::Array<::Google::Cloud::VMMigration::V1::AwsSourceDetails::Tag>]
|
655
|
+
# AWS resource tags to limit the scope of the source inventory.
|
656
|
+
# @!attribute [rw] inventory_security_group_names
|
657
|
+
# @return [::Array<::String>]
|
658
|
+
# AWS security group names to limit the scope of the source
|
659
|
+
# inventory.
|
660
|
+
# @!attribute [rw] migration_resources_user_tags
|
661
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
662
|
+
# User specified tags to add to every M2VM generated resource in AWS.
|
663
|
+
# These tags will be set in addition to the default tags that are set as part
|
664
|
+
# of the migration process. The tags must not begin with the reserved prefix
|
665
|
+
# `m2vm`.
|
666
|
+
# @!attribute [r] public_ip
|
667
|
+
# @return [::String]
|
668
|
+
# Output only. The source's public IP. All communication initiated by this
|
669
|
+
# source will originate from this IP.
|
670
|
+
class AwsSourceDetails
|
671
|
+
include ::Google::Protobuf::MessageExts
|
672
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
673
|
+
|
674
|
+
# Message describing AWS Credentials using access key id and secret.
|
675
|
+
# @!attribute [rw] access_key_id
|
676
|
+
# @return [::String]
|
677
|
+
# AWS access key ID.
|
678
|
+
# @!attribute [rw] secret_access_key
|
679
|
+
# @return [::String]
|
680
|
+
# Input only. AWS secret access key.
|
681
|
+
class AccessKeyCredentials
|
682
|
+
include ::Google::Protobuf::MessageExts
|
683
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
684
|
+
end
|
685
|
+
|
686
|
+
# Tag is an AWS tag representation.
|
687
|
+
# @!attribute [rw] key
|
688
|
+
# @return [::String]
|
689
|
+
# Key of tag.
|
690
|
+
# @!attribute [rw] value
|
691
|
+
# @return [::String]
|
692
|
+
# Value of tag.
|
693
|
+
class Tag
|
694
|
+
include ::Google::Protobuf::MessageExts
|
695
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
696
|
+
end
|
697
|
+
|
698
|
+
# @!attribute [rw] key
|
699
|
+
# @return [::String]
|
700
|
+
# @!attribute [rw] value
|
701
|
+
# @return [::String]
|
702
|
+
class MigrationResourcesUserTagsEntry
|
703
|
+
include ::Google::Protobuf::MessageExts
|
704
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
705
|
+
end
|
706
|
+
|
707
|
+
# The possible values of the state.
|
708
|
+
module State
|
709
|
+
# The state is unknown. This is used for API compatibility only and is not
|
710
|
+
# used by the system.
|
711
|
+
STATE_UNSPECIFIED = 0
|
712
|
+
|
713
|
+
# The state was not sampled by the health checks yet.
|
714
|
+
PENDING = 1
|
715
|
+
|
716
|
+
# The source is available but might not be usable yet due to invalid
|
717
|
+
# credentials or another reason.
|
718
|
+
# The error message will contain further details.
|
719
|
+
FAILED = 2
|
720
|
+
|
721
|
+
# The source exists and its credentials were verified.
|
722
|
+
ACTIVE = 3
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
726
|
+
# DatacenterConnector message describes a connector between the Source and
|
727
|
+
# Google Cloud, which is installed on a vmware datacenter (an OVA vm installed
|
728
|
+
# by the user) to connect the Datacenter to Google Cloud and support vm
|
729
|
+
# migration data transfer.
|
462
730
|
# @!attribute [r] create_time
|
463
731
|
# @return [::Google::Protobuf::Timestamp]
|
464
732
|
# Output only. The time the connector was created (as an API call, not when
|
@@ -485,7 +753,7 @@ module Google
|
|
485
753
|
# @!attribute [r] bucket
|
486
754
|
# @return [::String]
|
487
755
|
# Output only. The communication channel between the datacenter connector and
|
488
|
-
#
|
756
|
+
# Google Cloud.
|
489
757
|
# @!attribute [r] state
|
490
758
|
# @return [::Google::Cloud::VMMigration::V1::DatacenterConnector::State]
|
491
759
|
# Output only. State of the DatacenterConnector, as determined by the health
|
@@ -833,6 +1101,148 @@ module Google
|
|
833
1101
|
end
|
834
1102
|
end
|
835
1103
|
|
1104
|
+
# AwsVmDetails describes a VM in AWS.
|
1105
|
+
# @!attribute [rw] vm_id
|
1106
|
+
# @return [::String]
|
1107
|
+
# The VM ID in AWS.
|
1108
|
+
# @!attribute [rw] display_name
|
1109
|
+
# @return [::String]
|
1110
|
+
# The display name of the VM. Note that this value is not necessarily unique.
|
1111
|
+
# @!attribute [rw] source_id
|
1112
|
+
# @return [::String]
|
1113
|
+
# The id of the AWS's source this VM is connected to.
|
1114
|
+
# @!attribute [rw] source_description
|
1115
|
+
# @return [::String]
|
1116
|
+
# The descriptive name of the AWS's source this VM is connected to.
|
1117
|
+
# @!attribute [r] power_state
|
1118
|
+
# @return [::Google::Cloud::VMMigration::V1::AwsVmDetails::PowerState]
|
1119
|
+
# Output only. The power state of the VM at the moment list was taken.
|
1120
|
+
# @!attribute [rw] cpu_count
|
1121
|
+
# @return [::Integer]
|
1122
|
+
# The number of cpus the VM has.
|
1123
|
+
# @!attribute [rw] memory_mb
|
1124
|
+
# @return [::Integer]
|
1125
|
+
# The memory size of the VM in MB.
|
1126
|
+
# @!attribute [rw] disk_count
|
1127
|
+
# @return [::Integer]
|
1128
|
+
# The number of disks the VM has.
|
1129
|
+
# @!attribute [rw] committed_storage_mb
|
1130
|
+
# @return [::Integer]
|
1131
|
+
# The total size of the storage allocated to the VM in MB.
|
1132
|
+
# @!attribute [rw] os_description
|
1133
|
+
# @return [::String]
|
1134
|
+
# The VM's OS.
|
1135
|
+
# @!attribute [rw] boot_option
|
1136
|
+
# @return [::Google::Cloud::VMMigration::V1::AwsVmDetails::BootOption]
|
1137
|
+
# The VM Boot Option.
|
1138
|
+
# @!attribute [rw] instance_type
|
1139
|
+
# @return [::String]
|
1140
|
+
# The instance type of the VM.
|
1141
|
+
# @!attribute [rw] vpc_id
|
1142
|
+
# @return [::String]
|
1143
|
+
# The VPC ID the VM belongs to.
|
1144
|
+
# @!attribute [rw] security_groups
|
1145
|
+
# @return [::Array<::Google::Cloud::VMMigration::V1::AwsSecurityGroup>]
|
1146
|
+
# The security groups the VM belongs to.
|
1147
|
+
# @!attribute [rw] tags
|
1148
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1149
|
+
# The tags of the VM.
|
1150
|
+
# @!attribute [rw] zone
|
1151
|
+
# @return [::String]
|
1152
|
+
# The AWS zone of the VM.
|
1153
|
+
# @!attribute [rw] virtualization_type
|
1154
|
+
# @return [::Google::Cloud::VMMigration::V1::AwsVmDetails::VmVirtualizationType]
|
1155
|
+
# The virtualization type.
|
1156
|
+
# @!attribute [rw] architecture
|
1157
|
+
# @return [::Google::Cloud::VMMigration::V1::AwsVmDetails::VmArchitecture]
|
1158
|
+
# The CPU architecture.
|
1159
|
+
class AwsVmDetails
|
1160
|
+
include ::Google::Protobuf::MessageExts
|
1161
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1162
|
+
|
1163
|
+
# @!attribute [rw] key
|
1164
|
+
# @return [::String]
|
1165
|
+
# @!attribute [rw] value
|
1166
|
+
# @return [::String]
|
1167
|
+
class TagsEntry
|
1168
|
+
include ::Google::Protobuf::MessageExts
|
1169
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
# Possible values for the power state of the VM.
|
1173
|
+
module PowerState
|
1174
|
+
# Power state is not specified.
|
1175
|
+
POWER_STATE_UNSPECIFIED = 0
|
1176
|
+
|
1177
|
+
# The VM is turned on.
|
1178
|
+
ON = 1
|
1179
|
+
|
1180
|
+
# The VM is turned off.
|
1181
|
+
OFF = 2
|
1182
|
+
|
1183
|
+
# The VM is suspended. This is similar to hibernation or sleep
|
1184
|
+
# mode.
|
1185
|
+
SUSPENDED = 3
|
1186
|
+
|
1187
|
+
# The VM is starting.
|
1188
|
+
PENDING = 4
|
1189
|
+
end
|
1190
|
+
|
1191
|
+
# The possible values for the vm boot option.
|
1192
|
+
module BootOption
|
1193
|
+
# The boot option is unknown.
|
1194
|
+
BOOT_OPTION_UNSPECIFIED = 0
|
1195
|
+
|
1196
|
+
# The boot option is UEFI.
|
1197
|
+
EFI = 1
|
1198
|
+
|
1199
|
+
# The boot option is LEGACY-BIOS.
|
1200
|
+
BIOS = 2
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
# Possible values for the virtualization types of the VM.
|
1204
|
+
module VmVirtualizationType
|
1205
|
+
# The virtualization type is unknown.
|
1206
|
+
VM_VIRTUALIZATION_TYPE_UNSPECIFIED = 0
|
1207
|
+
|
1208
|
+
# The virtualziation type is HVM.
|
1209
|
+
HVM = 1
|
1210
|
+
|
1211
|
+
# The virtualziation type is PARAVIRTUAL.
|
1212
|
+
PARAVIRTUAL = 2
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
# Possible values for the architectures of the VM.
|
1216
|
+
module VmArchitecture
|
1217
|
+
# The architecture is unknown.
|
1218
|
+
VM_ARCHITECTURE_UNSPECIFIED = 0
|
1219
|
+
|
1220
|
+
# The architecture is I386.
|
1221
|
+
I386 = 1
|
1222
|
+
|
1223
|
+
# The architecture is X86_64.
|
1224
|
+
X86_64 = 2
|
1225
|
+
|
1226
|
+
# The architecture is ARM64.
|
1227
|
+
ARM64 = 3
|
1228
|
+
|
1229
|
+
# The architecture is X86_64_MAC.
|
1230
|
+
X86_64_MAC = 4
|
1231
|
+
end
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
# AwsSecurityGroup describes a security group of an AWS VM.
|
1235
|
+
# @!attribute [rw] id
|
1236
|
+
# @return [::String]
|
1237
|
+
# The AWS security group id.
|
1238
|
+
# @!attribute [rw] name
|
1239
|
+
# @return [::String]
|
1240
|
+
# The AWS security group name.
|
1241
|
+
class AwsSecurityGroup
|
1242
|
+
include ::Google::Protobuf::MessageExts
|
1243
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1244
|
+
end
|
1245
|
+
|
836
1246
|
# VmwareVmsDetails describes VMs in vCenter.
|
837
1247
|
# @!attribute [rw] details
|
838
1248
|
# @return [::Array<::Google::Cloud::VMMigration::V1::VmwareVmDetails>]
|
@@ -842,11 +1252,23 @@ module Google
|
|
842
1252
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
843
1253
|
end
|
844
1254
|
|
1255
|
+
# AWSVmsDetails describes VMs in AWS.
|
1256
|
+
# @!attribute [rw] details
|
1257
|
+
# @return [::Array<::Google::Cloud::VMMigration::V1::AwsVmDetails>]
|
1258
|
+
# The details of the AWS VMs.
|
1259
|
+
class AwsVmsDetails
|
1260
|
+
include ::Google::Protobuf::MessageExts
|
1261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1262
|
+
end
|
1263
|
+
|
845
1264
|
# Response message for
|
846
1265
|
# {::Google::Cloud::VMMigration::V1::VMMigration::Client#fetch_inventory fetchInventory}.
|
847
1266
|
# @!attribute [rw] vmware_vms
|
848
1267
|
# @return [::Google::Cloud::VMMigration::V1::VmwareVmsDetails]
|
849
1268
|
# The description of the VMs in a Source of type Vmware.
|
1269
|
+
# @!attribute [rw] aws_vms
|
1270
|
+
# @return [::Google::Cloud::VMMigration::V1::AwsVmsDetails]
|
1271
|
+
# The description of the VMs in a Source of type AWS.
|
850
1272
|
# @!attribute [r] update_time
|
851
1273
|
# @return [::Google::Protobuf::Timestamp]
|
852
1274
|
# Output only. The timestamp when the source was last queried (if the result
|
@@ -1327,7 +1749,7 @@ module Google
|
|
1327
1749
|
# The name of the VM to create.
|
1328
1750
|
# @!attribute [rw] project
|
1329
1751
|
# @return [::String]
|
1330
|
-
# The
|
1752
|
+
# The Google Cloud target project ID or project name.
|
1331
1753
|
# @!attribute [rw] zone
|
1332
1754
|
# @return [::String]
|
1333
1755
|
# The zone in which to create the VM.
|
@@ -1442,7 +1864,7 @@ module Google
|
|
1442
1864
|
# The license type is Pay As You Go license type.
|
1443
1865
|
PAYG = 2
|
1444
1866
|
|
1445
|
-
# The license type is
|
1867
|
+
# The license type is Bring Your Own License type.
|
1446
1868
|
BYOL = 3
|
1447
1869
|
end
|
1448
1870
|
end
|
@@ -2280,6 +2702,83 @@ module Google
|
|
2280
2702
|
end
|
2281
2703
|
end
|
2282
2704
|
|
2705
|
+
# Represent the source AWS VM details.
|
2706
|
+
# @!attribute [rw] firmware
|
2707
|
+
# @return [::Google::Cloud::VMMigration::V1::AwsSourceVmDetails::Firmware]
|
2708
|
+
# The firmware type of the source VM.
|
2709
|
+
# @!attribute [rw] committed_storage_bytes
|
2710
|
+
# @return [::Integer]
|
2711
|
+
# The total size of the disks being migrated in bytes.
|
2712
|
+
class AwsSourceVmDetails
|
2713
|
+
include ::Google::Protobuf::MessageExts
|
2714
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2715
|
+
|
2716
|
+
# Possible values for AWS VM firmware.
|
2717
|
+
module Firmware
|
2718
|
+
# The firmware is unknown.
|
2719
|
+
FIRMWARE_UNSPECIFIED = 0
|
2720
|
+
|
2721
|
+
# The firmware is EFI.
|
2722
|
+
EFI = 1
|
2723
|
+
|
2724
|
+
# The firmware is BIOS.
|
2725
|
+
BIOS = 2
|
2726
|
+
end
|
2727
|
+
end
|
2728
|
+
|
2729
|
+
# Request message for 'LisReplicationCyclesRequest' request.
|
2730
|
+
# @!attribute [rw] parent
|
2731
|
+
# @return [::String]
|
2732
|
+
# Required. The parent, which owns this collection of ReplicationCycles.
|
2733
|
+
# @!attribute [rw] page_size
|
2734
|
+
# @return [::Integer]
|
2735
|
+
# Optional. The maximum number of replication cycles to return. The service
|
2736
|
+
# may return fewer than this value. If unspecified, at most 100 migrating VMs
|
2737
|
+
# will be returned. The maximum value is 100; values above 100 will be
|
2738
|
+
# coerced to 100.
|
2739
|
+
# @!attribute [rw] page_token
|
2740
|
+
# @return [::String]
|
2741
|
+
# Required. A page token, received from a previous `ListReplicationCycles`
|
2742
|
+
# call. Provide this to retrieve the subsequent page.
|
2743
|
+
#
|
2744
|
+
# When paginating, all other parameters provided to `ListReplicationCycles`
|
2745
|
+
# must match the call that provided the page token.
|
2746
|
+
# @!attribute [rw] filter
|
2747
|
+
# @return [::String]
|
2748
|
+
# Optional. The filter request.
|
2749
|
+
# @!attribute [rw] order_by
|
2750
|
+
# @return [::String]
|
2751
|
+
# Optional. the order by fields for the result.
|
2752
|
+
class ListReplicationCyclesRequest
|
2753
|
+
include ::Google::Protobuf::MessageExts
|
2754
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2755
|
+
end
|
2756
|
+
|
2757
|
+
# Response message for 'ListReplicationCycles' request.
|
2758
|
+
# @!attribute [r] replication_cycles
|
2759
|
+
# @return [::Array<::Google::Cloud::VMMigration::V1::ReplicationCycle>]
|
2760
|
+
# Output only. The list of replication cycles response.
|
2761
|
+
# @!attribute [r] next_page_token
|
2762
|
+
# @return [::String]
|
2763
|
+
# Output only. A token, which can be sent as `page_token` to retrieve the
|
2764
|
+
# next page. If this field is omitted, there are no subsequent pages.
|
2765
|
+
# @!attribute [r] unreachable
|
2766
|
+
# @return [::Array<::String>]
|
2767
|
+
# Output only. Locations that could not be reached.
|
2768
|
+
class ListReplicationCyclesResponse
|
2769
|
+
include ::Google::Protobuf::MessageExts
|
2770
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2771
|
+
end
|
2772
|
+
|
2773
|
+
# Request message for 'GetReplicationCycle' request.
|
2774
|
+
# @!attribute [rw] name
|
2775
|
+
# @return [::String]
|
2776
|
+
# Required. The name of the ReplicationCycle.
|
2777
|
+
class GetReplicationCycleRequest
|
2778
|
+
include ::Google::Protobuf::MessageExts
|
2779
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2780
|
+
end
|
2781
|
+
|
2283
2782
|
# Controls the level of details of a Utilization Report.
|
2284
2783
|
module UtilizationReportView
|
2285
2784
|
# The default / unset value.
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|