google-cloud-migration_center-v1 1.2.0 → 2.0.1
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 +4 -4
- data/lib/google/cloud/migration_center/v1/migration_center/client.rb +2 -2
- data/lib/google/cloud/migration_center/v1/migration_center/operations.rb +2 -2
- data/lib/google/cloud/migration_center/v1/migration_center/rest/client.rb +37 -19
- data/lib/google/cloud/migration_center/v1/migration_center/rest/operations.rb +1 -1
- data/lib/google/cloud/migration_center/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb84413a14bde0bd2722df503cfa39a997f729955d141856f3500c43e1ea29d0
|
4
|
+
data.tar.gz: 936f2c6dc5cb78f4aa606349391d6898177634a72d13ff1bf0e0b721e8a81808
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32ef9c7f80b6897f0f211b3aed1e830414277af7cfac45622bb557df5b469752da795b816ad3d349675ce839914fa26dcd46cc9be016d82e2b550664c4961b95
|
7
|
+
data.tar.gz: a97c10faccd88cdfb75589e86872c163beeaec8e64170e2b1e69e5e08d3e0a5baaab746f97866704d1b832f22995851061d92e4d9953eea2c44f93d1807450e6
|
@@ -5256,8 +5256,8 @@ module Google
|
|
5256
5256
|
|
5257
5257
|
config_attr :endpoint, nil, ::String, nil
|
5258
5258
|
config_attr :credentials, nil do |value|
|
5259
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
5260
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
5259
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
5260
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
5261
5261
|
allowed.any? { |klass| klass === value }
|
5262
5262
|
end
|
5263
5263
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -701,8 +701,8 @@ module Google
|
|
701
701
|
|
702
702
|
config_attr :endpoint, nil, ::String, nil
|
703
703
|
config_attr :credentials, nil do |value|
|
704
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
705
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
704
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
705
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
706
706
|
allowed.any? { |klass| klass === value }
|
707
707
|
end
|
708
708
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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)
|
@@ -4887,7 +4905,7 @@ module Google
|
|
4887
4905
|
|
4888
4906
|
config_attr :endpoint, nil, ::String, nil
|
4889
4907
|
config_attr :credentials, nil do |value|
|
4890
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
4908
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
4891
4909
|
allowed.any? { |klass| klass === value }
|
4892
4910
|
end
|
4893
4911
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -556,7 +556,7 @@ module Google
|
|
556
556
|
|
557
557
|
config_attr :endpoint, nil, ::String, nil
|
558
558
|
config_attr :credentials, nil do |value|
|
559
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
559
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
560
560
|
allowed.any? { |klass| klass === value }
|
561
561
|
end
|
562
562
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
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:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 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.
|
129
|
+
rubygems_version: 3.6.8
|
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.
|