google-cloud-rapid_migration_assessment-v1 0.3.2 → 1.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: 86f043657b8e184c4f20b4f4ef73361132ab621cdca374bf8da801111363a093
4
- data.tar.gz: cc25e2f1c12daa9be7cbe9c84ad217a852e08d257412499dcdf7ecdb03de25d1
3
+ metadata.gz: 527d60f8d96addfe60df47d55ead37497adc35a81cd5594e90a3cf967edde6b9
4
+ data.tar.gz: dd96e6deb07573686f0033494f59db16aa4641b99fd23e6dbdaff5d775706796
5
5
  SHA512:
6
- metadata.gz: 31c94af664cc1ca76faf50863503c90bd6db6eaea345ac2bab904da0ded4e1bb4169c8b8508189f685b2d7d40f9717903487ee37e48222afe70155913ece8d5c
7
- data.tar.gz: fe8f904aa00d552e71281e99ab60a4522680d35cd02f93b98b1086a61f5e2ad48cac263cdd2ea3debdd9c17138bc96e9a5ba93c1bc99cfd403692547e992e634
6
+ metadata.gz: a2fe5854a1178dd3b36acbdbfe4696ea4e1cfff91745866e9e4d96d7c69f2069ef406f6b6b0c9d5cc45537a44181ae1be1ccca5dd95292d03b0f7fdc3a3433c0
7
+ data.tar.gz: 70d926e27c957860bc13b12ad24f680c2ef00f7a60eeab9c9825ec65b9f09589153e5fa16692ad1e044982c5a039ab2fe7672ee2ad101471b54bc99b125bd895
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -31,6 +31,9 @@ module Google
31
31
  # Service describing handlers for resources.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "rapidmigrationassessment.$UNIVERSE_DOMAIN$"
36
39
 
@@ -287,10 +290,11 @@ module Google
287
290
  # Customize the options with defaults
288
291
  metadata = @config.rpcs.create_collector.metadata.to_h
289
292
 
290
- # Set x-goog-api-client and x-goog-user-project headers
293
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
294
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
295
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
296
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
297
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
298
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
299
 
296
300
  header_params = {}
@@ -384,10 +388,11 @@ module Google
384
388
  # Customize the options with defaults
385
389
  metadata = @config.rpcs.create_annotation.metadata.to_h
386
390
 
387
- # Set x-goog-api-client and x-goog-user-project headers
391
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
388
392
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
389
393
  lib_name: @config.lib_name, lib_version: @config.lib_version,
390
394
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
395
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
391
396
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
392
397
 
393
398
  header_params = {}
@@ -470,10 +475,11 @@ module Google
470
475
  # Customize the options with defaults
471
476
  metadata = @config.rpcs.get_annotation.metadata.to_h
472
477
 
473
- # Set x-goog-api-client and x-goog-user-project headers
478
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
479
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
480
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
481
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
482
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
483
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
484
 
479
485
  header_params = {}
@@ -568,10 +574,11 @@ module Google
568
574
  # Customize the options with defaults
569
575
  metadata = @config.rpcs.list_collectors.metadata.to_h
570
576
 
571
- # Set x-goog-api-client and x-goog-user-project headers
577
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
572
578
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
573
579
  lib_name: @config.lib_name, lib_version: @config.lib_version,
574
580
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
581
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
575
582
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
576
583
 
577
584
  header_params = {}
@@ -654,10 +661,11 @@ module Google
654
661
  # Customize the options with defaults
655
662
  metadata = @config.rpcs.get_collector.metadata.to_h
656
663
 
657
- # Set x-goog-api-client and x-goog-user-project headers
664
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
658
665
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
659
666
  lib_name: @config.lib_name, lib_version: @config.lib_version,
660
667
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
668
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
661
669
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
662
670
 
663
671
  header_params = {}
@@ -766,10 +774,11 @@ module Google
766
774
  # Customize the options with defaults
767
775
  metadata = @config.rpcs.update_collector.metadata.to_h
768
776
 
769
- # Set x-goog-api-client and x-goog-user-project headers
777
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
770
778
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
771
779
  lib_name: @config.lib_name, lib_version: @config.lib_version,
772
780
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
781
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
773
782
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
774
783
 
775
784
  header_params = {}
@@ -874,10 +883,11 @@ module Google
874
883
  # Customize the options with defaults
875
884
  metadata = @config.rpcs.delete_collector.metadata.to_h
876
885
 
877
- # Set x-goog-api-client and x-goog-user-project headers
886
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
878
887
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
879
888
  lib_name: @config.lib_name, lib_version: @config.lib_version,
880
889
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
890
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
881
891
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
882
892
 
883
893
  header_params = {}
@@ -981,10 +991,11 @@ module Google
981
991
  # Customize the options with defaults
982
992
  metadata = @config.rpcs.resume_collector.metadata.to_h
983
993
 
984
- # Set x-goog-api-client and x-goog-user-project headers
994
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
985
995
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
986
996
  lib_name: @config.lib_name, lib_version: @config.lib_version,
987
997
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
998
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
988
999
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
989
1000
 
990
1001
  header_params = {}
@@ -1088,10 +1099,11 @@ module Google
1088
1099
  # Customize the options with defaults
1089
1100
  metadata = @config.rpcs.register_collector.metadata.to_h
1090
1101
 
1091
- # Set x-goog-api-client and x-goog-user-project headers
1102
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1092
1103
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1093
1104
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1094
1105
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
1106
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1095
1107
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1096
1108
 
1097
1109
  header_params = {}
@@ -1195,10 +1207,11 @@ module Google
1195
1207
  # Customize the options with defaults
1196
1208
  metadata = @config.rpcs.pause_collector.metadata.to_h
1197
1209
 
1198
- # Set x-goog-api-client and x-goog-user-project headers
1210
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1199
1211
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1200
1212
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1201
1213
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
1214
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1202
1215
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1203
1216
 
1204
1217
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module RapidMigrationAssessment
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "rapidmigrationassessment.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -33,6 +33,9 @@ module Google
33
33
  # Service describing handlers for resources.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "rapidmigrationassessment.$UNIVERSE_DOMAIN$"
38
41
 
@@ -280,12 +283,13 @@ module Google
280
283
  # Customize the options with defaults
281
284
  call_metadata = @config.rpcs.create_collector.metadata.to_h
282
285
 
283
- # Set x-goog-api-client and x-goog-user-project headers
286
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
284
287
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
285
288
  lib_name: @config.lib_name, lib_version: @config.lib_version,
286
289
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
287
290
  transports_version_send: [:rest]
288
291
 
292
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
289
293
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
290
294
 
291
295
  options.apply_defaults timeout: @config.rpcs.create_collector.timeout,
@@ -370,12 +374,13 @@ module Google
370
374
  # Customize the options with defaults
371
375
  call_metadata = @config.rpcs.create_annotation.metadata.to_h
372
376
 
373
- # Set x-goog-api-client and x-goog-user-project headers
377
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
374
378
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
375
379
  lib_name: @config.lib_name, lib_version: @config.lib_version,
376
380
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
377
381
  transports_version_send: [:rest]
378
382
 
383
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
379
384
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
380
385
 
381
386
  options.apply_defaults timeout: @config.rpcs.create_annotation.timeout,
@@ -449,12 +454,13 @@ module Google
449
454
  # Customize the options with defaults
450
455
  call_metadata = @config.rpcs.get_annotation.metadata.to_h
451
456
 
452
- # Set x-goog-api-client and x-goog-user-project headers
457
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
453
458
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
454
459
  lib_name: @config.lib_name, lib_version: @config.lib_version,
455
460
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
456
461
  transports_version_send: [:rest]
457
462
 
463
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
458
464
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
459
465
 
460
466
  options.apply_defaults timeout: @config.rpcs.get_annotation.timeout,
@@ -540,12 +546,13 @@ module Google
540
546
  # Customize the options with defaults
541
547
  call_metadata = @config.rpcs.list_collectors.metadata.to_h
542
548
 
543
- # Set x-goog-api-client and x-goog-user-project headers
549
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
544
550
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
545
551
  lib_name: @config.lib_name, lib_version: @config.lib_version,
546
552
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
547
553
  transports_version_send: [:rest]
548
554
 
555
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
549
556
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
550
557
 
551
558
  options.apply_defaults timeout: @config.rpcs.list_collectors.timeout,
@@ -618,12 +625,13 @@ module Google
618
625
  # Customize the options with defaults
619
626
  call_metadata = @config.rpcs.get_collector.metadata.to_h
620
627
 
621
- # Set x-goog-api-client and x-goog-user-project headers
628
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
622
629
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
623
630
  lib_name: @config.lib_name, lib_version: @config.lib_version,
624
631
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
625
632
  transports_version_send: [:rest]
626
633
 
634
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
627
635
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
628
636
 
629
637
  options.apply_defaults timeout: @config.rpcs.get_collector.timeout,
@@ -723,12 +731,13 @@ module Google
723
731
  # Customize the options with defaults
724
732
  call_metadata = @config.rpcs.update_collector.metadata.to_h
725
733
 
726
- # Set x-goog-api-client and x-goog-user-project headers
734
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
727
735
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
728
736
  lib_name: @config.lib_name, lib_version: @config.lib_version,
729
737
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
730
738
  transports_version_send: [:rest]
731
739
 
740
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
732
741
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
733
742
 
734
743
  options.apply_defaults timeout: @config.rpcs.update_collector.timeout,
@@ -824,12 +833,13 @@ module Google
824
833
  # Customize the options with defaults
825
834
  call_metadata = @config.rpcs.delete_collector.metadata.to_h
826
835
 
827
- # Set x-goog-api-client and x-goog-user-project headers
836
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
828
837
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
829
838
  lib_name: @config.lib_name, lib_version: @config.lib_version,
830
839
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
831
840
  transports_version_send: [:rest]
832
841
 
842
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
833
843
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
834
844
 
835
845
  options.apply_defaults timeout: @config.rpcs.delete_collector.timeout,
@@ -924,12 +934,13 @@ module Google
924
934
  # Customize the options with defaults
925
935
  call_metadata = @config.rpcs.resume_collector.metadata.to_h
926
936
 
927
- # Set x-goog-api-client and x-goog-user-project headers
937
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
928
938
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
929
939
  lib_name: @config.lib_name, lib_version: @config.lib_version,
930
940
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
931
941
  transports_version_send: [:rest]
932
942
 
943
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
933
944
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
934
945
 
935
946
  options.apply_defaults timeout: @config.rpcs.resume_collector.timeout,
@@ -1024,12 +1035,13 @@ module Google
1024
1035
  # Customize the options with defaults
1025
1036
  call_metadata = @config.rpcs.register_collector.metadata.to_h
1026
1037
 
1027
- # Set x-goog-api-client and x-goog-user-project headers
1038
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1028
1039
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1029
1040
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1030
1041
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
1031
1042
  transports_version_send: [:rest]
1032
1043
 
1044
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1033
1045
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1034
1046
 
1035
1047
  options.apply_defaults timeout: @config.rpcs.register_collector.timeout,
@@ -1124,12 +1136,13 @@ module Google
1124
1136
  # Customize the options with defaults
1125
1137
  call_metadata = @config.rpcs.pause_collector.metadata.to_h
1126
1138
 
1127
- # Set x-goog-api-client and x-goog-user-project headers
1139
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1128
1140
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1129
1141
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1130
1142
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
1131
1143
  transports_version_send: [:rest]
1132
1144
 
1145
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1133
1146
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1134
1147
 
1135
1148
  options.apply_defaults timeout: @config.rpcs.pause_collector.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "rapidmigrationassessment.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::RapidMigrationAssessment::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module RapidMigrationAssessment
23
23
  module V1
24
- VERSION = "0.3.2"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n;google/cloud/rapidmigrationassessment/v1/api_entities.proto\x12(google.cloud.rapidmigrationassessment.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\"\n\x0bGuestOsScan\x12\x13\n\x0b\x63ore_source\x18\x01 \x01(\t\"\"\n\x0bVSphereScan\x12\x13\n\x0b\x63ore_source\x18\x01 \x01(\t\"\x81\x08\n\tCollector\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12O\n\x06labels\x18\x04 \x03(\x0b\x32?.google.cloud.rapidmigrationassessment.v1.Collector.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x17\n\x0fservice_account\x18\x07 \x01(\t\x12\x14\n\x06\x62ucket\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x14\x65xpected_asset_count\x18\t \x01(\x03\x12N\n\x05state\x18\n \x01(\x0e\x32\x39.google.cloud.rapidmigrationassessment.v1.Collector.StateB\x04\xe2\x41\x01\x03\x12\x1c\n\x0e\x63lient_version\x18\x0b \x01(\tB\x04\xe2\x41\x01\x03\x12R\n\rguest_os_scan\x18\x0c \x01(\x0b\x32\x35.google.cloud.rapidmigrationassessment.v1.GuestOsScanB\x04\xe2\x41\x01\x03\x12Q\n\x0cvsphere_scan\x18\r \x01(\x0b\x32\x35.google.cloud.rapidmigrationassessment.v1.VSphereScanB\x04\xe2\x41\x01\x03\x12\x17\n\x0f\x63ollection_days\x18\x0e \x01(\x05\x12\x10\n\x08\x65ula_uri\x18\x0f \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc7\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x16\n\x12STATE_INITIALIZING\x10\x01\x12\x16\n\x12STATE_READY_TO_USE\x10\x02\x12\x14\n\x10STATE_REGISTERED\x10\x03\x12\x10\n\x0cSTATE_ACTIVE\x10\x04\x12\x10\n\x0cSTATE_PAUSED\x10\x05\x12\x12\n\x0eSTATE_DELETING\x10\x06\x12\x18\n\x14STATE_DECOMMISSIONED\x10\x07\x12\x0f\n\x0bSTATE_ERROR\x10\x08:v\xea\x41s\n1rapidmigrationassessment.googleapis.com/Collector\x12>projects/{project}/locations/{location}/collectors/{collector}\"\x9d\x04\n\nAnnotation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12P\n\x06labels\x18\x04 \x03(\x0b\x32@.google.cloud.rapidmigrationassessment.v1.Annotation.LabelsEntry\x12G\n\x04type\x18\x05 \x01(\x0e\x32\x39.google.cloud.rapidmigrationassessment.v1.Annotation.Type\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"N\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aTYPE_LEGACY_EXPORT_CONSENT\x10\x01\x12\x10\n\x0cTYPE_QWIKLAB\x10\x02:y\xea\x41v\n2rapidmigrationassessment.googleapis.com/Annotation\x12@projects/{project}/locations/{location}/annotations/{annotation}B\xb0\x02\n,com.google.cloud.rapidmigrationassessment.v1B\x10\x41piEntitiesProtoP\x01Zhcloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb;rapidmigrationassessmentpb\xaa\x02(Google.Cloud.RapidMigrationAssessment.V1\xca\x02(Google\\Cloud\\RapidMigrationAssessment\\V1\xea\x02+Google::Cloud::RapidMigrationAssessment::V1b\x06proto3"
12
+ descriptor_data = "\n;google/cloud/rapidmigrationassessment/v1/api_entities.proto\x12(google.cloud.rapidmigrationassessment.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\"\n\x0bGuestOsScan\x12\x13\n\x0b\x63ore_source\x18\x01 \x01(\t\"\"\n\x0bVSphereScan\x12\x13\n\x0b\x63ore_source\x18\x01 \x01(\t\"\xfa\x07\n\tCollector\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x06labels\x18\x04 \x03(\x0b\x32?.google.cloud.rapidmigrationassessment.v1.Collector.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x17\n\x0fservice_account\x18\x07 \x01(\t\x12\x13\n\x06\x62ucket\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x14\x65xpected_asset_count\x18\t \x01(\x03\x12M\n\x05state\x18\n \x01(\x0e\x32\x39.google.cloud.rapidmigrationassessment.v1.Collector.StateB\x03\xe0\x41\x03\x12\x1b\n\x0e\x63lient_version\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12Q\n\rguest_os_scan\x18\x0c \x01(\x0b\x32\x35.google.cloud.rapidmigrationassessment.v1.GuestOsScanB\x03\xe0\x41\x03\x12P\n\x0cvsphere_scan\x18\r \x01(\x0b\x32\x35.google.cloud.rapidmigrationassessment.v1.VSphereScanB\x03\xe0\x41\x03\x12\x17\n\x0f\x63ollection_days\x18\x0e \x01(\x05\x12\x10\n\x08\x65ula_uri\x18\x0f \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc7\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x16\n\x12STATE_INITIALIZING\x10\x01\x12\x16\n\x12STATE_READY_TO_USE\x10\x02\x12\x14\n\x10STATE_REGISTERED\x10\x03\x12\x10\n\x0cSTATE_ACTIVE\x10\x04\x12\x10\n\x0cSTATE_PAUSED\x10\x05\x12\x12\n\x0eSTATE_DELETING\x10\x06\x12\x18\n\x14STATE_DECOMMISSIONED\x10\x07\x12\x0f\n\x0bSTATE_ERROR\x10\x08:v\xea\x41s\n1rapidmigrationassessment.googleapis.com/Collector\x12>projects/{project}/locations/{location}/collectors/{collector}\"\x9b\x04\n\nAnnotation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12P\n\x06labels\x18\x04 \x03(\x0b\x32@.google.cloud.rapidmigrationassessment.v1.Annotation.LabelsEntry\x12G\n\x04type\x18\x05 \x01(\x0e\x32\x39.google.cloud.rapidmigrationassessment.v1.Annotation.Type\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"N\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aTYPE_LEGACY_EXPORT_CONSENT\x10\x01\x12\x10\n\x0cTYPE_QWIKLAB\x10\x02:y\xea\x41v\n2rapidmigrationassessment.googleapis.com/Annotation\x12@projects/{project}/locations/{location}/annotations/{annotation}B\xb0\x02\n,com.google.cloud.rapidmigrationassessment.v1B\x10\x41piEntitiesProtoP\x01Zhcloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb;rapidmigrationassessmentpb\xaa\x02(Google.Cloud.RapidMigrationAssessment.V1\xca\x02(Google\\Cloud\\RapidMigrationAssessment\\V1\xea\x02+Google::Cloud::RapidMigrationAssessment::V1b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -14,7 +14,7 @@ require 'google/protobuf/field_mask_pb'
14
14
  require 'google/protobuf/timestamp_pb'
15
15
 
16
16
 
17
- descriptor_data = "\nGgoogle/cloud/rapidmigrationassessment/v1/rapidmigrationassessment.proto\x12(google.cloud.rapidmigrationassessment.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a;google/cloud/rapidmigrationassessment/v1/api_entities.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbf\x01\n\x17\x43reateAnnotationRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12N\n\nannotation\x18\x02 \x01(\x0b\x32\x34.google.cloud.rapidmigrationassessment.v1.AnnotationB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"a\n\x14GetAnnotationRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe2\x41\x01\x02\xfa\x41\x34\n2rapidmigrationassessment.googleapis.com/Annotation\"\xd8\x01\n\x16\x43reateCollectorRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1a\n\x0c\x63ollector_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12L\n\tcollector\x18\x03 \x01(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.CollectorB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\x9c\x01\n\x15ListCollectorsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x8f\x01\n\x16ListCollectorsResponse\x12G\n\ncollectors\x18\x01 \x03(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.Collector\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"_\n\x13GetCollectorRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe2\x41\x01\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\"|\n\x16\x44\x65leteCollectorRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe2\x41\x01\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\xb7\x01\n\x16UpdateCollectorRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12L\n\tcollector\x18\x02 \x01(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.CollectorB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"|\n\x16ResumeCollectorRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe2\x41\x01\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"~\n\x18RegisterCollectorRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe2\x41\x01\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"{\n\x15PauseCollectorRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe2\x41\x01\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\x87\x02\n\x11OperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x32\xb7\x12\n\x18RapidMigrationAssessment\x12\xf7\x01\n\x0f\x43reateCollector\x12@.google.cloud.rapidmigrationassessment.v1.CreateCollectorRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x1dparent,collector,collector_id\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/collectors:\tcollector\x12\xef\x01\n\x10\x43reateAnnotation\x12\x41.google.cloud.rapidmigrationassessment.v1.CreateAnnotationRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\x1f\n\nAnnotation\x12\x11OperationMetadata\xda\x41\x11parent,annotation\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/annotations:\nannotation\x12\xc5\x01\n\rGetAnnotation\x12>.google.cloud.rapidmigrationassessment.v1.GetAnnotationRequest\x1a\x34.google.cloud.rapidmigrationassessment.v1.Annotation\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/annotations/*}\x12\xd4\x01\n\x0eListCollectors\x12?.google.cloud.rapidmigrationassessment.v1.ListCollectorsRequest\x1a@.google.cloud.rapidmigrationassessment.v1.ListCollectorsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/collectors\x12\xc1\x01\n\x0cGetCollector\x12=.google.cloud.rapidmigrationassessment.v1.GetCollectorRequest\x1a\x33.google.cloud.rapidmigrationassessment.v1.Collector\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/collectors/*}\x12\xf9\x01\n\x0fUpdateCollector\x12@.google.cloud.rapidmigrationassessment.v1.UpdateCollectorRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x15\x63ollector,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{collector.name=projects/*/locations/*/collectors/*}:\tcollector\x12\xd2\x01\n\x0f\x44\x65leteCollector\x12@.google.cloud.rapidmigrationassessment.v1.DeleteCollectorRequest\x1a\x1d.google.longrunning.Operation\"^\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/collectors/*}\x12\xdc\x01\n\x0fResumeCollector\x12@.google.cloud.rapidmigrationassessment.v1.ResumeCollectorRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/collectors/*}:resume:\x01*\x12\xe2\x01\n\x11RegisterCollector\x12\x42.google.cloud.rapidmigrationassessment.v1.RegisterCollectorRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02<\"7/v1/{name=projects/*/locations/*/collectors/*}:register:\x01*\x12\xd9\x01\n\x0ePauseCollector\x12?.google.cloud.rapidmigrationassessment.v1.PauseCollectorRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/collectors/*}:pause:\x01*\x1a[\xca\x41\'rapidmigrationassessment.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbd\x02\n,com.google.cloud.rapidmigrationassessment.v1B\x1dRapidMigrationAssessmentProtoP\x01Zhcloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb;rapidmigrationassessmentpb\xaa\x02(Google.Cloud.RapidMigrationAssessment.V1\xca\x02(Google\\Cloud\\RapidMigrationAssessment\\V1\xea\x02+Google::Cloud::RapidMigrationAssessment::V1b\x06proto3"
17
+ descriptor_data = "\nGgoogle/cloud/rapidmigrationassessment/v1/rapidmigrationassessment.proto\x12(google.cloud.rapidmigrationassessment.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a;google/cloud/rapidmigrationassessment/v1/api_entities.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x17\x43reateAnnotationRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12M\n\nannotation\x18\x02 \x01(\x0b\x32\x34.google.cloud.rapidmigrationassessment.v1.AnnotationB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"`\n\x14GetAnnotationRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2rapidmigrationassessment.googleapis.com/Annotation\"\xd4\x01\n\x16\x43reateCollectorRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x19\n\x0c\x63ollector_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\tcollector\x18\x03 \x01(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.CollectorB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9b\x01\n\x15ListCollectorsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x8f\x01\n\x16ListCollectorsResponse\x12G\n\ncollectors\x18\x01 \x03(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.Collector\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"^\n\x13GetCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\"z\n\x16\x44\x65leteCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xb4\x01\n\x16UpdateCollectorRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12K\n\tcollector\x18\x02 \x01(\x0b\x32\x33.google.cloud.rapidmigrationassessment.v1.CollectorB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"z\n\x16ResumeCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"|\n\x18RegisterCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"y\n\x15PauseCollectorRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1rapidmigrationassessment.googleapis.com/Collector\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xb7\x12\n\x18RapidMigrationAssessment\x12\xf7\x01\n\x0f\x43reateCollector\x12@.google.cloud.rapidmigrationassessment.v1.CreateCollectorRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x1dparent,collector,collector_id\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/collectors:\tcollector\x12\xef\x01\n\x10\x43reateAnnotation\x12\x41.google.cloud.rapidmigrationassessment.v1.CreateAnnotationRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\x1f\n\nAnnotation\x12\x11OperationMetadata\xda\x41\x11parent,annotation\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/annotations:\nannotation\x12\xc5\x01\n\rGetAnnotation\x12>.google.cloud.rapidmigrationassessment.v1.GetAnnotationRequest\x1a\x34.google.cloud.rapidmigrationassessment.v1.Annotation\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/annotations/*}\x12\xd4\x01\n\x0eListCollectors\x12?.google.cloud.rapidmigrationassessment.v1.ListCollectorsRequest\x1a@.google.cloud.rapidmigrationassessment.v1.ListCollectorsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/collectors\x12\xc1\x01\n\x0cGetCollector\x12=.google.cloud.rapidmigrationassessment.v1.GetCollectorRequest\x1a\x33.google.cloud.rapidmigrationassessment.v1.Collector\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/collectors/*}\x12\xf9\x01\n\x0fUpdateCollector\x12@.google.cloud.rapidmigrationassessment.v1.UpdateCollectorRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x15\x63ollector,update_mask\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{collector.name=projects/*/locations/*/collectors/*}:\tcollector\x12\xd2\x01\n\x0f\x44\x65leteCollector\x12@.google.cloud.rapidmigrationassessment.v1.DeleteCollectorRequest\x1a\x1d.google.longrunning.Operation\"^\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/collectors/*}\x12\xdc\x01\n\x0fResumeCollector\x12@.google.cloud.rapidmigrationassessment.v1.ResumeCollectorRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/collectors/*}:resume:\x01*\x12\xe2\x01\n\x11RegisterCollector\x12\x42.google.cloud.rapidmigrationassessment.v1.RegisterCollectorRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02<\"7/v1/{name=projects/*/locations/*/collectors/*}:register:\x01*\x12\xd9\x01\n\x0ePauseCollector\x12?.google.cloud.rapidmigrationassessment.v1.PauseCollectorRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/collectors/*}:pause:\x01*\x1a[\xca\x41\'rapidmigrationassessment.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbd\x02\n,com.google.cloud.rapidmigrationassessment.v1B\x1dRapidMigrationAssessmentProtoP\x01Zhcloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb;rapidmigrationassessmentpb\xaa\x02(Google.Cloud.RapidMigrationAssessment.V1\xca\x02(Google\\Cloud\\RapidMigrationAssessment\\V1\xea\x02+Google::Cloud::RapidMigrationAssessment::V1b\x06proto3"
18
18
 
19
19
  pool = Google::Protobuf::DescriptorPool.generated_pool
20
20
 
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-rapid_migration_assessment-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -64,118 +64,6 @@ dependencies:
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
67
- - !ruby/object:Gem::Dependency
68
- name: google-style
69
- requirement: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - "~>"
72
- - !ruby/object:Gem::Version
73
- version: 1.26.3
74
- type: :development
75
- prerelease: false
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - "~>"
79
- - !ruby/object:Gem::Version
80
- version: 1.26.3
81
- - !ruby/object:Gem::Dependency
82
- name: minitest
83
- requirement: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: '5.16'
88
- type: :development
89
- prerelease: false
90
- version_requirements: !ruby/object:Gem::Requirement
91
- requirements:
92
- - - "~>"
93
- - !ruby/object:Gem::Version
94
- version: '5.16'
95
- - !ruby/object:Gem::Dependency
96
- name: minitest-focus
97
- requirement: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - "~>"
100
- - !ruby/object:Gem::Version
101
- version: '1.1'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - "~>"
107
- - !ruby/object:Gem::Version
108
- version: '1.1'
109
- - !ruby/object:Gem::Dependency
110
- name: minitest-rg
111
- requirement: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - "~>"
114
- - !ruby/object:Gem::Version
115
- version: '5.2'
116
- type: :development
117
- prerelease: false
118
- version_requirements: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: '5.2'
123
- - !ruby/object:Gem::Dependency
124
- name: rake
125
- requirement: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - ">="
128
- - !ruby/object:Gem::Version
129
- version: '13.0'
130
- type: :development
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- version: '13.0'
137
- - !ruby/object:Gem::Dependency
138
- name: redcarpet
139
- requirement: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - "~>"
142
- - !ruby/object:Gem::Version
143
- version: '3.0'
144
- type: :development
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - "~>"
149
- - !ruby/object:Gem::Version
150
- version: '3.0'
151
- - !ruby/object:Gem::Dependency
152
- name: simplecov
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: '0.18'
158
- type: :development
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: '0.18'
165
- - !ruby/object:Gem::Dependency
166
- name: yard
167
- requirement: !ruby/object:Gem::Requirement
168
- requirements:
169
- - - "~>"
170
- - !ruby/object:Gem::Version
171
- version: '0.9'
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- requirements:
176
- - - "~>"
177
- - !ruby/object:Gem::Version
178
- version: '0.9'
179
67
  description: The Rapid Migration Assessment service is our first-party migration assessment
180
68
  and planning tool. Note that google-cloud-rapid_migration_assessment-v1 is a version-specific
181
69
  client library. For most uses, we recommend installing the main client library google-cloud-rapid_migration_assessment
@@ -232,14 +120,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
232
120
  requirements:
233
121
  - - ">="
234
122
  - !ruby/object:Gem::Version
235
- version: '2.6'
123
+ version: '2.7'
236
124
  required_rubygems_version: !ruby/object:Gem::Requirement
237
125
  requirements:
238
126
  - - ">="
239
127
  - !ruby/object:Gem::Version
240
128
  version: '0'
241
129
  requirements: []
242
- rubygems_version: 3.5.3
130
+ rubygems_version: 3.5.6
243
131
  signing_key:
244
132
  specification_version: 4
245
133
  summary: The Rapid Migration Assessment service is our first-party migration assessment