google-cloud-vm_migration-v1 1.3.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: d0a0c9cfc8621565e96fe120e33782e49298ab3b9889f811481a604751311bc1
4
- data.tar.gz: 971e89c3aec76b652f89a6b6d9369485788037c545b5135a4a77d3fee746319b
3
+ metadata.gz: c0d34e1c7e708efce670a74dad889f008b3b89cdba263a63db6234fe2dc836c2
4
+ data.tar.gz: b548c14129bed2d7c21330e6e4b6599d9e8aa1cbb63e1638c781053d7a91ffef
5
5
  SHA512:
6
- metadata.gz: 8feac0baf7822a44b71708118db82a7ec9fd5ef819cf36c801709ec2d64466b0efdc0da06ee00eab8a4174720f4eb244ba6431ddf8b40df664ca98168f9d47c5
7
- data.tar.gz: adf0658d032bf8a173708604eb6910273ac79f0da40b478655e1116d19aca6f582132a0c78397dab328a8d1d3bcaecd384c0acc2553fc78136a34589674e1233
6
+ metadata.gz: 23567b3d2d8a5464a71d0037d0a8b513998459b68d0234fe5846450217f21d632b31fa9758e6798f74e18b2a87fb4e026a9370c65f924902d56b63d66f46902d
7
+ data.tar.gz: c533d64949982cb5d0c479d560209284770f3d14ce73a795233c8273eb06ed67cc4b09731f37c1ff7fd7302bf3681cf896045d0bc5941c0043a4082eb2035817
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VMMigration
23
23
  module V1
24
- VERSION = "1.3.0"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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)
@@ -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
metadata CHANGED
@@ -1,13 +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.3.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  - !ruby/object:Gem::Version
147
147
  version: '0'
148
148
  requirements: []
149
- rubygems_version: 3.6.2
149
+ rubygems_version: 3.6.3
150
150
  specification_version: 4
151
151
  summary: Use the Migrate to Virtual Machines API to programmatically migrate workloads.
152
152
  test_files: []