google-cloud-migration_center-v1 1.2.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87689ae2e4a1bf50f18f0e8982886d424110808323f0d7f2075bc609525693a6
4
- data.tar.gz: d08a0153f20b4c90bdece818a422f7d51638c0ef223f60aa1230d4804d9d6a01
3
+ metadata.gz: 8ebc5b92bdd79bdb5ed879d9280da2e71cdcd2d8bca420f66f3190308ac07666
4
+ data.tar.gz: beda8fced76e9e4093b65c03d8c3f331f1a88eb768074de33183747efd276c4e
5
5
  SHA512:
6
- metadata.gz: 83e975a35543680a1a56c915dbdf4bfaba81c6f16fe7f6dbfd21e16738da1b05fd7177f5fa20ce84576cbbf369b946dbf0e96153e045e57003cdb5a657159405
7
- data.tar.gz: a83bf579d37068b2372b98822ae2b3f15306d084150c93a45330973049cfa7eb620677b1adbf3576c80a28b7bfae6fa5ab2dcd1f46788e40f91bac35fd4cda13
6
+ metadata.gz: c88066167c0a408d5a6468ca132009d39cb829e1a168da3e434dd03518db93c90666f75670d9fd7100a8cf40449eeea53e26a69ee37227b905037415bb4188fa
7
+ data.tar.gz: 539631ced24309458f4a838c055d3773741cca4866f4fb6c95e8f7795decab001197836e3cb0814b87edcef220cc2d94cb629ef1192ae605efb2e6dd3a91c825
@@ -243,10 +243,10 @@ module Google
243
243
  # @param view [::Google::Cloud::MigrationCenter::V1::AssetView]
244
244
  # View of the assets. Defaults to BASIC.
245
245
  # @yield [result, operation] Access the result along with the TransportOperation object
246
- # @yieldparam result [::Google::Cloud::MigrationCenter::V1::ListAssetsResponse]
246
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::Asset>]
247
247
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
248
248
  #
249
- # @return [::Google::Cloud::MigrationCenter::V1::ListAssetsResponse]
249
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::Asset>]
250
250
  #
251
251
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
252
252
  #
@@ -298,7 +298,9 @@ module Google
298
298
  retry_policy: @config.retry_policy
299
299
 
300
300
  @migration_center_stub.list_assets request, options do |result, operation|
301
+ result = ::Gapic::Rest::PagedEnumerable.new @migration_center_stub, :list_assets, "assets", request, result, options
301
302
  yield result, operation if block_given?
303
+ throw :response, result
302
304
  end
303
305
  rescue ::Gapic::Rest::Error => e
304
306
  raise ::Google::Cloud::Error.from_error(e)
@@ -1045,10 +1047,10 @@ module Google
1045
1047
  # Optional. The level of details of each import job.
1046
1048
  # Default value is BASIC.
1047
1049
  # @yield [result, operation] Access the result along with the TransportOperation object
1048
- # @yieldparam result [::Google::Cloud::MigrationCenter::V1::ListImportJobsResponse]
1050
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::ImportJob>]
1049
1051
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1050
1052
  #
1051
- # @return [::Google::Cloud::MigrationCenter::V1::ListImportJobsResponse]
1053
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::ImportJob>]
1052
1054
  #
1053
1055
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1054
1056
  #
@@ -1100,7 +1102,9 @@ module Google
1100
1102
  retry_policy: @config.retry_policy
1101
1103
 
1102
1104
  @migration_center_stub.list_import_jobs request, options do |result, operation|
1105
+ result = ::Gapic::Rest::PagedEnumerable.new @migration_center_stub, :list_import_jobs, "import_jobs", request, result, options
1103
1106
  yield result, operation if block_given?
1107
+ throw :response, result
1104
1108
  end
1105
1109
  rescue ::Gapic::Rest::Error => e
1106
1110
  raise ::Google::Cloud::Error.from_error(e)
@@ -1716,10 +1720,10 @@ module Google
1716
1720
  # @param order_by [::String]
1717
1721
  # Field to sort by. See https://google.aip.dev/132#ordering for more details.
1718
1722
  # @yield [result, operation] Access the result along with the TransportOperation object
1719
- # @yieldparam result [::Google::Cloud::MigrationCenter::V1::ListImportDataFilesResponse]
1723
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::ImportDataFile>]
1720
1724
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1721
1725
  #
1722
- # @return [::Google::Cloud::MigrationCenter::V1::ListImportDataFilesResponse]
1726
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::ImportDataFile>]
1723
1727
  #
1724
1728
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1725
1729
  #
@@ -1771,7 +1775,9 @@ module Google
1771
1775
  retry_policy: @config.retry_policy
1772
1776
 
1773
1777
  @migration_center_stub.list_import_data_files request, options do |result, operation|
1778
+ result = ::Gapic::Rest::PagedEnumerable.new @migration_center_stub, :list_import_data_files, "import_data_files", request, result, options
1774
1779
  yield result, operation if block_given?
1780
+ throw :response, result
1775
1781
  end
1776
1782
  rescue ::Gapic::Rest::Error => e
1777
1783
  raise ::Google::Cloud::Error.from_error(e)
@@ -2013,10 +2019,10 @@ module Google
2013
2019
  # @param order_by [::String]
2014
2020
  # Field to sort by. See https://google.aip.dev/132#ordering for more details.
2015
2021
  # @yield [result, operation] Access the result along with the TransportOperation object
2016
- # @yieldparam result [::Google::Cloud::MigrationCenter::V1::ListGroupsResponse]
2022
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::Group>]
2017
2023
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2018
2024
  #
2019
- # @return [::Google::Cloud::MigrationCenter::V1::ListGroupsResponse]
2025
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::Group>]
2020
2026
  #
2021
2027
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2022
2028
  #
@@ -2068,7 +2074,9 @@ module Google
2068
2074
  retry_policy: @config.retry_policy
2069
2075
 
2070
2076
  @migration_center_stub.list_groups request, options do |result, operation|
2077
+ result = ::Gapic::Rest::PagedEnumerable.new @migration_center_stub, :list_groups, "groups", request, result, options
2071
2078
  yield result, operation if block_given?
2079
+ throw :response, result
2072
2080
  end
2073
2081
  rescue ::Gapic::Rest::Error => e
2074
2082
  raise ::Google::Cloud::Error.from_error(e)
@@ -2721,10 +2729,10 @@ module Google
2721
2729
  # Optional. An optional view mode to control the level of details of each
2722
2730
  # error frame. The default is a BASIC frame view.
2723
2731
  # @yield [result, operation] Access the result along with the TransportOperation object
2724
- # @yieldparam result [::Google::Cloud::MigrationCenter::V1::ListErrorFramesResponse]
2732
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::ErrorFrame>]
2725
2733
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2726
2734
  #
2727
- # @return [::Google::Cloud::MigrationCenter::V1::ListErrorFramesResponse]
2735
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::ErrorFrame>]
2728
2736
  #
2729
2737
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2730
2738
  #
@@ -2776,7 +2784,9 @@ module Google
2776
2784
  retry_policy: @config.retry_policy
2777
2785
 
2778
2786
  @migration_center_stub.list_error_frames request, options do |result, operation|
2787
+ result = ::Gapic::Rest::PagedEnumerable.new @migration_center_stub, :list_error_frames, "error_frames", request, result, options
2779
2788
  yield result, operation if block_given?
2789
+ throw :response, result
2780
2790
  end
2781
2791
  rescue ::Gapic::Rest::Error => e
2782
2792
  raise ::Google::Cloud::Error.from_error(e)
@@ -2895,10 +2905,10 @@ module Google
2895
2905
  # @param order_by [::String]
2896
2906
  # Field to sort by. See https://google.aip.dev/132#ordering for more details.
2897
2907
  # @yield [result, operation] Access the result along with the TransportOperation object
2898
- # @yieldparam result [::Google::Cloud::MigrationCenter::V1::ListSourcesResponse]
2908
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::Source>]
2899
2909
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2900
2910
  #
2901
- # @return [::Google::Cloud::MigrationCenter::V1::ListSourcesResponse]
2911
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::Source>]
2902
2912
  #
2903
2913
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2904
2914
  #
@@ -2950,7 +2960,9 @@ module Google
2950
2960
  retry_policy: @config.retry_policy
2951
2961
 
2952
2962
  @migration_center_stub.list_sources request, options do |result, operation|
2963
+ result = ::Gapic::Rest::PagedEnumerable.new @migration_center_stub, :list_sources, "sources", request, result, options
2953
2964
  yield result, operation if block_given?
2965
+ throw :response, result
2954
2966
  end
2955
2967
  rescue ::Gapic::Rest::Error => e
2956
2968
  raise ::Google::Cloud::Error.from_error(e)
@@ -3381,10 +3393,10 @@ module Google
3381
3393
  # @param order_by [::String]
3382
3394
  # Field to sort by. See https://google.aip.dev/132#ordering for more details.
3383
3395
  # @yield [result, operation] Access the result along with the TransportOperation object
3384
- # @yieldparam result [::Google::Cloud::MigrationCenter::V1::ListPreferenceSetsResponse]
3396
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::PreferenceSet>]
3385
3397
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3386
3398
  #
3387
- # @return [::Google::Cloud::MigrationCenter::V1::ListPreferenceSetsResponse]
3399
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::PreferenceSet>]
3388
3400
  #
3389
3401
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3390
3402
  #
@@ -3436,7 +3448,9 @@ module Google
3436
3448
  retry_policy: @config.retry_policy
3437
3449
 
3438
3450
  @migration_center_stub.list_preference_sets request, options do |result, operation|
3451
+ result = ::Gapic::Rest::PagedEnumerable.new @migration_center_stub, :list_preference_sets, "preference_sets", request, result, options
3439
3452
  yield result, operation if block_given?
3453
+ throw :response, result
3440
3454
  end
3441
3455
  rescue ::Gapic::Rest::Error => e
3442
3456
  raise ::Google::Cloud::Error.from_error(e)
@@ -4242,10 +4256,10 @@ module Google
4242
4256
  # @param order_by [::String]
4243
4257
  # Field to sort by. See https://google.aip.dev/132#ordering for more details.
4244
4258
  # @yield [result, operation] Access the result along with the TransportOperation object
4245
- # @yieldparam result [::Google::Cloud::MigrationCenter::V1::ListReportConfigsResponse]
4259
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::ReportConfig>]
4246
4260
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
4247
4261
  #
4248
- # @return [::Google::Cloud::MigrationCenter::V1::ListReportConfigsResponse]
4262
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::ReportConfig>]
4249
4263
  #
4250
4264
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4251
4265
  #
@@ -4297,7 +4311,9 @@ module Google
4297
4311
  retry_policy: @config.retry_policy
4298
4312
 
4299
4313
  @migration_center_stub.list_report_configs request, options do |result, operation|
4314
+ result = ::Gapic::Rest::PagedEnumerable.new @migration_center_stub, :list_report_configs, "report_configs", request, result, options
4300
4315
  yield result, operation if block_given?
4316
+ throw :response, result
4301
4317
  end
4302
4318
  rescue ::Gapic::Rest::Error => e
4303
4319
  raise ::Google::Cloud::Error.from_error(e)
@@ -4629,10 +4645,10 @@ module Google
4629
4645
  # @param view [::Google::Cloud::MigrationCenter::V1::ReportView]
4630
4646
  # Determines what information to retrieve for each Report.
4631
4647
  # @yield [result, operation] Access the result along with the TransportOperation object
4632
- # @yieldparam result [::Google::Cloud::MigrationCenter::V1::ListReportsResponse]
4648
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::Report>]
4633
4649
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
4634
4650
  #
4635
- # @return [::Google::Cloud::MigrationCenter::V1::ListReportsResponse]
4651
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::MigrationCenter::V1::Report>]
4636
4652
  #
4637
4653
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
4638
4654
  #
@@ -4684,7 +4700,9 @@ module Google
4684
4700
  retry_policy: @config.retry_policy
4685
4701
 
4686
4702
  @migration_center_stub.list_reports request, options do |result, operation|
4703
+ result = ::Gapic::Rest::PagedEnumerable.new @migration_center_stub, :list_reports, "reports", request, result, options
4687
4704
  yield result, operation if block_given?
4705
+ throw :response, result
4688
4706
  end
4689
4707
  rescue ::Gapic::Rest::Error => e
4690
4708
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module MigrationCenter
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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-migration_center-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
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
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.6.2
129
+ rubygems_version: 3.6.3
130
130
  specification_version: 4
131
131
  summary: A unified platform that helps you accelerate your end-to-end cloud journey
132
132
  from your current on-premises or cloud environments to Google Cloud.