google-cloud-migration_center-v1 1.1.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: fa3b564ee54042bb20b5e154f405b7ec4913f8482006e23be325f9c2c4a75d0b
4
- data.tar.gz: e207dfd113c9d1ef4952b2390dafb09b7c0e3907bf311a7b3770bda246e92be4
3
+ metadata.gz: 8ebc5b92bdd79bdb5ed879d9280da2e71cdcd2d8bca420f66f3190308ac07666
4
+ data.tar.gz: beda8fced76e9e4093b65c03d8c3f331f1a88eb768074de33183747efd276c4e
5
5
  SHA512:
6
- metadata.gz: ff950240dc7c2ee65f683c462f0ecd1bb27ef2375e681eab596d180bb3b970d605a7c7ab2e30a4a7c4bb75c2b9a0a881d09ed3447d33dec90b6e483627b39191
7
- data.tar.gz: 8d2f21ba09dd56b237c202fe1b428a82731aa866e6b86921f066da4db7e3a5472afbafa4899cff1f04efa02dd0d57944e351dadafa7dac7b5e45db7a3b826251
6
+ metadata.gz: c88066167c0a408d5a6468ca132009d39cb829e1a168da3e434dd03518db93c90666f75670d9fd7100a8cf40449eeea53e26a69ee37227b905037415bb4188fa
7
+ data.tar.gz: 539631ced24309458f4a838c055d3773741cca4866f4fb6c95e8f7795decab001197836e3cb0814b87edcef220cc2d94cb629ef1192ae605efb2e6dd3a91c825
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
@@ -5195,6 +5195,13 @@ module Google
5195
5195
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
5196
5196
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
5197
5197
  # * (`nil`) indicating no credentials
5198
+ #
5199
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
5200
+ # external source for authentication to Google Cloud, you must validate it before
5201
+ # providing it to a Google API client library. Providing an unvalidated credential
5202
+ # configuration to Google APIs can compromise the security of your systems and data.
5203
+ # For more information, refer to [Validate credential configurations from external
5204
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
5198
5205
  # @return [::Object]
5199
5206
  # @!attribute [rw] scope
5200
5207
  # 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
@@ -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)
@@ -4833,6 +4851,13 @@ module Google
4833
4851
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
4834
4852
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
4835
4853
  # * (`nil`) indicating no credentials
4854
+ #
4855
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4856
+ # external source for authentication to Google Cloud, you must validate it before
4857
+ # providing it to a Google API client library. Providing an unvalidated credential
4858
+ # configuration to Google APIs can compromise the security of your systems and data.
4859
+ # For more information, refer to [Validate credential configurations from external
4860
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4836
4861
  # @return [::Object]
4837
4862
  # @!attribute [rw] scope
4838
4863
  # 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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module MigrationCenter
23
23
  module V1
24
- VERSION = "1.1.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
@@ -129,9 +129,13 @@ module Google
129
129
  # @!attribute [r] validation_report
130
130
  # @return [::Google::Cloud::MigrationCenter::V1::ValidationReport]
131
131
  # Output only. The report with the validation results of the import job.
132
+ #
133
+ # Note: The following fields are mutually exclusive: `validation_report`, `execution_report`. If a field in that set is populated, all other fields in the set will automatically be cleared.
132
134
  # @!attribute [r] execution_report
133
135
  # @return [::Google::Cloud::MigrationCenter::V1::ExecutionReport]
134
136
  # Output only. The report with the results of running the import job.
137
+ #
138
+ # Note: The following fields are mutually exclusive: `execution_report`, `validation_report`. If a field in that set is populated, all other fields in the set will automatically be cleared.
135
139
  class ImportJob
136
140
  include ::Google::Protobuf::MessageExts
137
141
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2622,18 +2626,28 @@ module Google
2622
2626
  # @!attribute [rw] vmware_details
2623
2627
  # @return [::Google::Cloud::MigrationCenter::V1::VmwarePlatformDetails]
2624
2628
  # VMware specific details.
2629
+ #
2630
+ # Note: The following fields are mutually exclusive: `vmware_details`, `aws_ec2_details`, `azure_vm_details`, `generic_details`, `physical_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2625
2631
  # @!attribute [rw] aws_ec2_details
2626
2632
  # @return [::Google::Cloud::MigrationCenter::V1::AwsEc2PlatformDetails]
2627
2633
  # AWS EC2 specific details.
2634
+ #
2635
+ # Note: The following fields are mutually exclusive: `aws_ec2_details`, `vmware_details`, `azure_vm_details`, `generic_details`, `physical_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2628
2636
  # @!attribute [rw] azure_vm_details
2629
2637
  # @return [::Google::Cloud::MigrationCenter::V1::AzureVmPlatformDetails]
2630
2638
  # Azure VM specific details.
2639
+ #
2640
+ # Note: The following fields are mutually exclusive: `azure_vm_details`, `vmware_details`, `aws_ec2_details`, `generic_details`, `physical_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2631
2641
  # @!attribute [rw] generic_details
2632
2642
  # @return [::Google::Cloud::MigrationCenter::V1::GenericPlatformDetails]
2633
2643
  # Generic platform details.
2644
+ #
2645
+ # Note: The following fields are mutually exclusive: `generic_details`, `vmware_details`, `aws_ec2_details`, `azure_vm_details`, `physical_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2634
2646
  # @!attribute [rw] physical_details
2635
2647
  # @return [::Google::Cloud::MigrationCenter::V1::PhysicalPlatformDetails]
2636
2648
  # Physical machines platform details.
2649
+ #
2650
+ # Note: The following fields are mutually exclusive: `physical_details`, `vmware_details`, `aws_ec2_details`, `azure_vm_details`, `generic_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2637
2651
  class PlatformDetails
2638
2652
  include ::Google::Protobuf::MessageExts
2639
2653
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2882,9 +2896,13 @@ module Google
2882
2896
  # @!attribute [r] migration_insight
2883
2897
  # @return [::Google::Cloud::MigrationCenter::V1::MigrationInsight]
2884
2898
  # Output only. An insight about potential migrations for an asset.
2899
+ #
2900
+ # Note: The following fields are mutually exclusive: `migration_insight`, `generic_insight`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2885
2901
  # @!attribute [r] generic_insight
2886
2902
  # @return [::Google::Cloud::MigrationCenter::V1::GenericInsight]
2887
2903
  # Output only. A generic insight about an asset
2904
+ #
2905
+ # Note: The following fields are mutually exclusive: `generic_insight`, `migration_insight`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2888
2906
  class Insight
2889
2907
  include ::Google::Protobuf::MessageExts
2890
2908
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3000,15 +3018,23 @@ module Google
3000
3018
  # @!attribute [rw] count
3001
3019
  # @return [::Google::Cloud::MigrationCenter::V1::Aggregation::Count]
3002
3020
  # Count the number of matching objects.
3021
+ #
3022
+ # Note: The following fields are mutually exclusive: `count`, `sum`, `histogram`, `frequency`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3003
3023
  # @!attribute [rw] sum
3004
3024
  # @return [::Google::Cloud::MigrationCenter::V1::Aggregation::Sum]
3005
3025
  # Sum over a numeric field.
3026
+ #
3027
+ # Note: The following fields are mutually exclusive: `sum`, `count`, `histogram`, `frequency`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3006
3028
  # @!attribute [rw] histogram
3007
3029
  # @return [::Google::Cloud::MigrationCenter::V1::Aggregation::Histogram]
3008
3030
  # Creates a bucketed histogram of field values.
3031
+ #
3032
+ # Note: The following fields are mutually exclusive: `histogram`, `count`, `sum`, `frequency`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3009
3033
  # @!attribute [rw] frequency
3010
3034
  # @return [::Google::Cloud::MigrationCenter::V1::Aggregation::Frequency]
3011
3035
  # Creates a frequency distribution of all field values.
3036
+ #
3037
+ # Note: The following fields are mutually exclusive: `frequency`, `count`, `sum`, `histogram`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3012
3038
  class Aggregation
3013
3039
  include ::Google::Protobuf::MessageExts
3014
3040
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3054,12 +3080,16 @@ module Google
3054
3080
  # @return [::String]
3055
3081
  # @!attribute [rw] count
3056
3082
  # @return [::Google::Cloud::MigrationCenter::V1::AggregationResult::Count]
3083
+ # Note: The following fields are mutually exclusive: `count`, `sum`, `histogram`, `frequency`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3057
3084
  # @!attribute [rw] sum
3058
3085
  # @return [::Google::Cloud::MigrationCenter::V1::AggregationResult::Sum]
3086
+ # Note: The following fields are mutually exclusive: `sum`, `count`, `histogram`, `frequency`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3059
3087
  # @!attribute [rw] histogram
3060
3088
  # @return [::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram]
3089
+ # Note: The following fields are mutually exclusive: `histogram`, `count`, `sum`, `frequency`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3061
3090
  # @!attribute [rw] frequency
3062
3091
  # @return [::Google::Cloud::MigrationCenter::V1::AggregationResult::Frequency]
3092
+ # Note: The following fields are mutually exclusive: `frequency`, `count`, `sum`, `histogram`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3063
3093
  class AggregationResult
3064
3094
  include ::Google::Protobuf::MessageExts
3065
3095
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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-migration_center-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.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: 2024-12-10 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
@@ -113,7 +112,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
113
112
  licenses:
114
113
  - Apache-2.0
115
114
  metadata: {}
116
- post_install_message:
117
115
  rdoc_options: []
118
116
  require_paths:
119
117
  - lib
@@ -121,15 +119,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
119
  requirements:
122
120
  - - ">="
123
121
  - !ruby/object:Gem::Version
124
- version: '2.7'
122
+ version: '3.0'
125
123
  required_rubygems_version: !ruby/object:Gem::Requirement
126
124
  requirements:
127
125
  - - ">="
128
126
  - !ruby/object:Gem::Version
129
127
  version: '0'
130
128
  requirements: []
131
- rubygems_version: 3.5.23
132
- signing_key:
129
+ rubygems_version: 3.6.3
133
130
  specification_version: 4
134
131
  summary: A unified platform that helps you accelerate your end-to-end cloud journey
135
132
  from your current on-premises or cloud environments to Google Cloud.