google-cloud-vm_migration-v1 1.2.0 → 2.0.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '03229bb7a7bf25ce95a6f8cf79de6def826866614a960667abcea7bb3e2b3d4e'
4
- data.tar.gz: 3558f4f0013f26d45993284b7352f1bc84fcf73d84d00ff8166624ff339bb57f
3
+ metadata.gz: c0d34e1c7e708efce670a74dad889f008b3b89cdba263a63db6234fe2dc836c2
4
+ data.tar.gz: b548c14129bed2d7c21330e6e4b6599d9e8aa1cbb63e1638c781053d7a91ffef
5
5
  SHA512:
6
- metadata.gz: 832401c0f065b8ba3fc882f4bef8f9d3bebd05cfd931d8a9f6e28c86e7f62d7800a8fdb487e99efb358c070dc894003c0d2aaeb4dc4ddf9a3e476a1e984decdc
7
- data.tar.gz: 3083b07f58eba8d83ceef6f72ad15e2b71d658076302134646d7903bb6aa4d1febdc0ee62219710c865108b313a116c55566e3d4472083453d6db41d874af288
6
+ metadata.gz: 23567b3d2d8a5464a71d0037d0a8b513998459b68d0234fe5846450217f21d632b31fa9758e6798f74e18b2a87fb4e026a9370c65f924902d56b63d66f46902d
7
+ data.tar.gz: c533d64949982cb5d0c479d560209284770f3d14ce73a795233c8273eb06ed67cc4b09731f37c1ff7fd7302bf3681cf896045d0bc5941c0043a4082eb2035817
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VMMigration
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -4986,6 +4986,13 @@ module Google
4986
4986
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
4987
4987
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4988
4988
  # * (`nil`) indicating no credentials
4989
+ #
4990
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4991
+ # external source for authentication to Google Cloud, you must validate it before
4992
+ # providing it to a Google API client library. Providing an unvalidated credential
4993
+ # configuration to Google APIs can compromise the security of your systems and data.
4994
+ # For more information, refer to [Validate credential configurations from external
4995
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4989
4996
  # @return [::Object]
4990
4997
  # @!attribute [rw] scope
4991
4998
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -267,10 +267,10 @@ module Google
267
267
  # @param order_by [::String]
268
268
  # Optional. the order by fields for the result.
269
269
  # @yield [result, operation] Access the result along with the TransportOperation object
270
- # @yieldparam result [::Google::Cloud::VMMigration::V1::ListSourcesResponse]
270
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::Source>]
271
271
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
272
272
  #
273
- # @return [::Google::Cloud::VMMigration::V1::ListSourcesResponse]
273
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::Source>]
274
274
  #
275
275
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
276
276
  #
@@ -322,7 +322,9 @@ module Google
322
322
  retry_policy: @config.retry_policy
323
323
 
324
324
  @vm_migration_stub.list_sources request, options do |result, operation|
325
+ result = ::Gapic::Rest::PagedEnumerable.new @vm_migration_stub, :list_sources, "sources", request, result, options
325
326
  yield result, operation if block_given?
327
+ throw :response, result
326
328
  end
327
329
  rescue ::Gapic::Rest::Error => e
328
330
  raise ::Google::Cloud::Error.from_error(e)
@@ -843,10 +845,10 @@ module Google
843
845
  # @param order_by [::String]
844
846
  # Optional. the order by fields for the result.
845
847
  # @yield [result, operation] Access the result along with the TransportOperation object
846
- # @yieldparam result [::Google::Cloud::VMMigration::V1::ListUtilizationReportsResponse]
848
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::UtilizationReport>]
847
849
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
848
850
  #
849
- # @return [::Google::Cloud::VMMigration::V1::ListUtilizationReportsResponse]
851
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::UtilizationReport>]
850
852
  #
851
853
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
852
854
  #
@@ -898,7 +900,9 @@ module Google
898
900
  retry_policy: @config.retry_policy
899
901
 
900
902
  @vm_migration_stub.list_utilization_reports request, options do |result, operation|
903
+ result = ::Gapic::Rest::PagedEnumerable.new @vm_migration_stub, :list_utilization_reports, "utilization_reports", request, result, options
901
904
  yield result, operation if block_given?
905
+ throw :response, result
902
906
  end
903
907
  rescue ::Gapic::Rest::Error => e
904
908
  raise ::Google::Cloud::Error.from_error(e)
@@ -1233,10 +1237,10 @@ module Google
1233
1237
  # @param order_by [::String]
1234
1238
  # Optional. the order by fields for the result.
1235
1239
  # @yield [result, operation] Access the result along with the TransportOperation object
1236
- # @yieldparam result [::Google::Cloud::VMMigration::V1::ListDatacenterConnectorsResponse]
1240
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::DatacenterConnector>]
1237
1241
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1238
1242
  #
1239
- # @return [::Google::Cloud::VMMigration::V1::ListDatacenterConnectorsResponse]
1243
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::DatacenterConnector>]
1240
1244
  #
1241
1245
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1242
1246
  #
@@ -1288,7 +1292,9 @@ module Google
1288
1292
  retry_policy: @config.retry_policy
1289
1293
 
1290
1294
  @vm_migration_stub.list_datacenter_connectors request, options do |result, operation|
1295
+ result = ::Gapic::Rest::PagedEnumerable.new @vm_migration_stub, :list_datacenter_connectors, "datacenter_connectors", request, result, options
1291
1296
  yield result, operation if block_given?
1297
+ throw :response, result
1292
1298
  end
1293
1299
  rescue ::Gapic::Rest::Error => e
1294
1300
  raise ::Google::Cloud::Error.from_error(e)
@@ -1826,10 +1832,10 @@ module Google
1826
1832
  # @param view [::Google::Cloud::VMMigration::V1::MigratingVmView]
1827
1833
  # Optional. The level of details of each migrating VM.
1828
1834
  # @yield [result, operation] Access the result along with the TransportOperation object
1829
- # @yieldparam result [::Google::Cloud::VMMigration::V1::ListMigratingVmsResponse]
1835
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::MigratingVm>]
1830
1836
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1831
1837
  #
1832
- # @return [::Google::Cloud::VMMigration::V1::ListMigratingVmsResponse]
1838
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::MigratingVm>]
1833
1839
  #
1834
1840
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1835
1841
  #
@@ -1881,7 +1887,9 @@ module Google
1881
1887
  retry_policy: @config.retry_policy
1882
1888
 
1883
1889
  @vm_migration_stub.list_migrating_vms request, options do |result, operation|
1890
+ result = ::Gapic::Rest::PagedEnumerable.new @vm_migration_stub, :list_migrating_vms, "migrating_vms", request, result, options
1884
1891
  yield result, operation if block_given?
1892
+ throw :response, result
1885
1893
  end
1886
1894
  rescue ::Gapic::Rest::Error => e
1887
1895
  raise ::Google::Cloud::Error.from_error(e)
@@ -2744,10 +2752,10 @@ module Google
2744
2752
  # @param order_by [::String]
2745
2753
  # Optional. the order by fields for the result.
2746
2754
  # @yield [result, operation] Access the result along with the TransportOperation object
2747
- # @yieldparam result [::Google::Cloud::VMMigration::V1::ListCloneJobsResponse]
2755
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::CloneJob>]
2748
2756
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2749
2757
  #
2750
- # @return [::Google::Cloud::VMMigration::V1::ListCloneJobsResponse]
2758
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::CloneJob>]
2751
2759
  #
2752
2760
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2753
2761
  #
@@ -2799,7 +2807,9 @@ module Google
2799
2807
  retry_policy: @config.retry_policy
2800
2808
 
2801
2809
  @vm_migration_stub.list_clone_jobs request, options do |result, operation|
2810
+ result = ::Gapic::Rest::PagedEnumerable.new @vm_migration_stub, :list_clone_jobs, "clone_jobs", request, result, options
2802
2811
  yield result, operation if block_given?
2812
+ throw :response, result
2803
2813
  end
2804
2814
  rescue ::Gapic::Rest::Error => e
2805
2815
  raise ::Google::Cloud::Error.from_error(e)
@@ -3113,10 +3123,10 @@ module Google
3113
3123
  # @param order_by [::String]
3114
3124
  # Optional. the order by fields for the result.
3115
3125
  # @yield [result, operation] Access the result along with the TransportOperation object
3116
- # @yieldparam result [::Google::Cloud::VMMigration::V1::ListCutoverJobsResponse]
3126
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::CutoverJob>]
3117
3127
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3118
3128
  #
3119
- # @return [::Google::Cloud::VMMigration::V1::ListCutoverJobsResponse]
3129
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::CutoverJob>]
3120
3130
  #
3121
3131
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3122
3132
  #
@@ -3168,7 +3178,9 @@ module Google
3168
3178
  retry_policy: @config.retry_policy
3169
3179
 
3170
3180
  @vm_migration_stub.list_cutover_jobs request, options do |result, operation|
3181
+ result = ::Gapic::Rest::PagedEnumerable.new @vm_migration_stub, :list_cutover_jobs, "cutover_jobs", request, result, options
3171
3182
  yield result, operation if block_given?
3183
+ throw :response, result
3172
3184
  end
3173
3185
  rescue ::Gapic::Rest::Error => e
3174
3186
  raise ::Google::Cloud::Error.from_error(e)
@@ -3288,10 +3300,10 @@ module Google
3288
3300
  # @param order_by [::String]
3289
3301
  # Optional. the order by fields for the result.
3290
3302
  # @yield [result, operation] Access the result along with the TransportOperation object
3291
- # @yieldparam result [::Google::Cloud::VMMigration::V1::ListGroupsResponse]
3303
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::Group>]
3292
3304
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3293
3305
  #
3294
- # @return [::Google::Cloud::VMMigration::V1::ListGroupsResponse]
3306
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::Group>]
3295
3307
  #
3296
3308
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3297
3309
  #
@@ -3343,7 +3355,9 @@ module Google
3343
3355
  retry_policy: @config.retry_policy
3344
3356
 
3345
3357
  @vm_migration_stub.list_groups request, options do |result, operation|
3358
+ result = ::Gapic::Rest::PagedEnumerable.new @vm_migration_stub, :list_groups, "groups", request, result, options
3346
3359
  yield result, operation if block_given?
3360
+ throw :response, result
3347
3361
  end
3348
3362
  rescue ::Gapic::Rest::Error => e
3349
3363
  raise ::Google::Cloud::Error.from_error(e)
@@ -3957,10 +3971,10 @@ module Google
3957
3971
  # @param order_by [::String]
3958
3972
  # Optional. the order by fields for the result.
3959
3973
  # @yield [result, operation] Access the result along with the TransportOperation object
3960
- # @yieldparam result [::Google::Cloud::VMMigration::V1::ListTargetProjectsResponse]
3974
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::TargetProject>]
3961
3975
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3962
3976
  #
3963
- # @return [::Google::Cloud::VMMigration::V1::ListTargetProjectsResponse]
3977
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::TargetProject>]
3964
3978
  #
3965
3979
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3966
3980
  #
@@ -4012,7 +4026,9 @@ module Google
4012
4026
  retry_policy: @config.retry_policy
4013
4027
 
4014
4028
  @vm_migration_stub.list_target_projects request, options do |result, operation|
4029
+ result = ::Gapic::Rest::PagedEnumerable.new @vm_migration_stub, :list_target_projects, "target_projects", request, result, options
4015
4030
  yield result, operation if block_given?
4031
+ throw :response, result
4016
4032
  end
4017
4033
  rescue ::Gapic::Rest::Error => e
4018
4034
  raise ::Google::Cloud::Error.from_error(e)
@@ -4457,10 +4473,10 @@ module Google
4457
4473
  # @param order_by [::String]
4458
4474
  # Optional. the order by fields for the result.
4459
4475
  # @yield [result, operation] Access the result along with the TransportOperation object
4460
- # @yieldparam result [::Google::Cloud::VMMigration::V1::ListReplicationCyclesResponse]
4476
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::ReplicationCycle>]
4461
4477
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
4462
4478
  #
4463
- # @return [::Google::Cloud::VMMigration::V1::ListReplicationCyclesResponse]
4479
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::VMMigration::V1::ReplicationCycle>]
4464
4480
  #
4465
4481
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4466
4482
  #
@@ -4512,7 +4528,9 @@ module Google
4512
4528
  retry_policy: @config.retry_policy
4513
4529
 
4514
4530
  @vm_migration_stub.list_replication_cycles request, options do |result, operation|
4531
+ result = ::Gapic::Rest::PagedEnumerable.new @vm_migration_stub, :list_replication_cycles, "replication_cycles", request, result, options
4515
4532
  yield result, operation if block_given?
4533
+ throw :response, result
4516
4534
  end
4517
4535
  rescue ::Gapic::Rest::Error => e
4518
4536
  raise ::Google::Cloud::Error.from_error(e)
@@ -4638,6 +4656,13 @@ module Google
4638
4656
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
4639
4657
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
4640
4658
  # * (`nil`) indicating no credentials
4659
+ #
4660
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4661
+ # external source for authentication to Google Cloud, you must validate it before
4662
+ # providing it to a Google API client library. Providing an unvalidated credential
4663
+ # configuration to Google APIs can compromise the security of your systems and data.
4664
+ # For more information, refer to [Validate credential configurations from external
4665
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4641
4666
  # @return [::Object]
4642
4667
  # @!attribute [rw] scope
4643
4668
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -81,12 +81,18 @@ module Google
81
81
  # @!attribute [rw] initializing_replication
82
82
  # @return [::Google::Cloud::VMMigration::V1::InitializingReplicationStep]
83
83
  # Initializing replication step.
84
+ #
85
+ # Note: The following fields are mutually exclusive: `initializing_replication`, `replicating`, `post_processing`. If a field in that set is populated, all other fields in the set will automatically be cleared.
84
86
  # @!attribute [rw] replicating
85
87
  # @return [::Google::Cloud::VMMigration::V1::ReplicatingStep]
86
88
  # Replicating step.
89
+ #
90
+ # Note: The following fields are mutually exclusive: `replicating`, `initializing_replication`, `post_processing`. If a field in that set is populated, all other fields in the set will automatically be cleared.
87
91
  # @!attribute [rw] post_processing
88
92
  # @return [::Google::Cloud::VMMigration::V1::PostProcessingStep]
89
93
  # Post processing step.
94
+ #
95
+ # Note: The following fields are mutually exclusive: `post_processing`, `initializing_replication`, `replicating`. If a field in that set is populated, all other fields in the set will automatically be cleared.
90
96
  # @!attribute [rw] start_time
91
97
  # @return [::Google::Protobuf::Timestamp]
92
98
  # The time the cycle step has started.
@@ -344,12 +350,18 @@ module Google
344
350
  # @!attribute [rw] adapting_os
345
351
  # @return [::Google::Cloud::VMMigration::V1::AdaptingOSStep]
346
352
  # Adapting OS step.
353
+ #
354
+ # Note: The following fields are mutually exclusive: `adapting_os`, `preparing_vm_disks`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
347
355
  # @!attribute [rw] preparing_vm_disks
348
356
  # @return [::Google::Cloud::VMMigration::V1::PreparingVMDisksStep]
349
357
  # Preparing VM disks step.
358
+ #
359
+ # Note: The following fields are mutually exclusive: `preparing_vm_disks`, `adapting_os`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
350
360
  # @!attribute [rw] instantiating_migrated_vm
351
361
  # @return [::Google::Cloud::VMMigration::V1::InstantiatingMigratedVMStep]
352
362
  # Instantiating migrated VM step.
363
+ #
364
+ # Note: The following fields are mutually exclusive: `instantiating_migrated_vm`, `adapting_os`, `preparing_vm_disks`. If a field in that set is populated, all other fields in the set will automatically be cleared.
353
365
  # @!attribute [rw] start_time
354
366
  # @return [::Google::Protobuf::Timestamp]
355
367
  # The time the step has started.
@@ -452,18 +464,28 @@ module Google
452
464
  # @!attribute [rw] previous_replication_cycle
453
465
  # @return [::Google::Cloud::VMMigration::V1::ReplicationCycle]
454
466
  # A replication cycle prior cutover step.
467
+ #
468
+ # Note: The following fields are mutually exclusive: `previous_replication_cycle`, `shutting_down_source_vm`, `final_sync`, `preparing_vm_disks`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
455
469
  # @!attribute [rw] shutting_down_source_vm
456
470
  # @return [::Google::Cloud::VMMigration::V1::ShuttingDownSourceVMStep]
457
471
  # Shutting down VM step.
472
+ #
473
+ # Note: The following fields are mutually exclusive: `shutting_down_source_vm`, `previous_replication_cycle`, `final_sync`, `preparing_vm_disks`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
458
474
  # @!attribute [rw] final_sync
459
475
  # @return [::Google::Cloud::VMMigration::V1::ReplicationCycle]
460
476
  # Final sync step.
477
+ #
478
+ # Note: The following fields are mutually exclusive: `final_sync`, `previous_replication_cycle`, `shutting_down_source_vm`, `preparing_vm_disks`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
461
479
  # @!attribute [rw] preparing_vm_disks
462
480
  # @return [::Google::Cloud::VMMigration::V1::PreparingVMDisksStep]
463
481
  # Preparing VM disks step.
482
+ #
483
+ # Note: The following fields are mutually exclusive: `preparing_vm_disks`, `previous_replication_cycle`, `shutting_down_source_vm`, `final_sync`, `instantiating_migrated_vm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
464
484
  # @!attribute [rw] instantiating_migrated_vm
465
485
  # @return [::Google::Cloud::VMMigration::V1::InstantiatingMigratedVMStep]
466
486
  # Instantiating migrated VM step.
487
+ #
488
+ # Note: The following fields are mutually exclusive: `instantiating_migrated_vm`, `previous_replication_cycle`, `shutting_down_source_vm`, `final_sync`, `preparing_vm_disks`. If a field in that set is populated, all other fields in the set will automatically be cleared.
467
489
  # @!attribute [rw] start_time
468
490
  # @return [::Google::Protobuf::Timestamp]
469
491
  # The time the step has started.
@@ -584,9 +606,13 @@ module Google
584
606
  # @!attribute [rw] vmware
585
607
  # @return [::Google::Cloud::VMMigration::V1::VmwareSourceDetails]
586
608
  # Vmware type source details.
609
+ #
610
+ # Note: The following fields are mutually exclusive: `vmware`, `aws`. If a field in that set is populated, all other fields in the set will automatically be cleared.
587
611
  # @!attribute [rw] aws
588
612
  # @return [::Google::Cloud::VMMigration::V1::AwsSourceDetails]
589
613
  # AWS type source details.
614
+ #
615
+ # Note: The following fields are mutually exclusive: `aws`, `vmware`. If a field in that set is populated, all other fields in the set will automatically be cleared.
590
616
  # @!attribute [r] name
591
617
  # @return [::String]
592
618
  # Output only. The Source name.
@@ -1267,9 +1293,13 @@ module Google
1267
1293
  # @!attribute [rw] vmware_vms
1268
1294
  # @return [::Google::Cloud::VMMigration::V1::VmwareVmsDetails]
1269
1295
  # The description of the VMs in a Source of type Vmware.
1296
+ #
1297
+ # Note: The following fields are mutually exclusive: `vmware_vms`, `aws_vms`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1270
1298
  # @!attribute [rw] aws_vms
1271
1299
  # @return [::Google::Cloud::VMMigration::V1::AwsVmsDetails]
1272
1300
  # The description of the VMs in a Source of type AWS.
1301
+ #
1302
+ # Note: The following fields are mutually exclusive: `aws_vms`, `vmware_vms`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1273
1303
  # @!attribute [r] update_time
1274
1304
  # @return [::Google::Protobuf::Timestamp]
1275
1305
  # Output only. The timestamp when the source was last queried (if the result
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vm_migration-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-08 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -133,7 +132,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
133
132
  licenses:
134
133
  - Apache-2.0
135
134
  metadata: {}
136
- post_install_message:
137
135
  rdoc_options: []
138
136
  require_paths:
139
137
  - lib
@@ -141,15 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
139
  requirements:
142
140
  - - ">="
143
141
  - !ruby/object:Gem::Version
144
- version: '2.7'
142
+ version: '3.0'
145
143
  required_rubygems_version: !ruby/object:Gem::Requirement
146
144
  requirements:
147
145
  - - ">="
148
146
  - !ruby/object:Gem::Version
149
147
  version: '0'
150
148
  requirements: []
151
- rubygems_version: 3.5.23
152
- signing_key:
149
+ rubygems_version: 3.6.3
153
150
  specification_version: 4
154
151
  summary: Use the Migrate to Virtual Machines API to programmatically migrate workloads.
155
152
  test_files: []