google-cloud-rapid_migration_assessment-v1 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 530c6c0b15c127d2db0ed261062eb630b3a2db4fa351e9ec5b38839f3d9589d9
4
- data.tar.gz: c426dc194f4842f3e265d95bb22bde9c1955fccf4ab657ea191c17132ccdab8f
3
+ metadata.gz: b0198f1068e10ebad45e4f0f5bf50962047fc44f25e7436fba7b707731369066
4
+ data.tar.gz: d96d0acfc8b732c243295e01625082f6a22c33c54fd44b802d789887d1ad945c
5
5
  SHA512:
6
- metadata.gz: dd55e7a89e1369516cf05f41038aff7fae90f6fa5c00a2f531f5455914939b7890a95fb29b20e0def1e98e78669f275491bf801db74806155f7d24ac699c144c
7
- data.tar.gz: 063de88337dcf68395bb70229cf32a3a3c5dba1d34080c3473c814b608f4602d7ade0930fc25c4f600ef29001ab2695f55a24ec2b45eefc13f9a479c7368fda6
6
+ metadata.gz: 9fb5d8ec395ea0b6723754417b877e9c26a59bb6936dfa92892f79a679cb72a633c8a05ec85825e9df2f37fff6f9693cebf8f9d0573f777e6f8a809445820a3b
7
+ data.tar.gz: ba6cbe90dafcb61f62b9a4690ad5d174d47759b2e998ed7015ede79d777cf5cc0140150984e38aa8ef4919eec41e04192fb36756035be11ff2b50bd686201696
@@ -28,7 +28,7 @@ module Google
28
28
  ##
29
29
  # Client for the RapidMigrationAssessment service.
30
30
  #
31
- # Rapid Migration Assessment service
31
+ # Service describing handlers for resources.
32
32
  #
33
33
  class Client
34
34
  include Paths
@@ -180,7 +180,8 @@ module Google
180
180
  credentials: credentials,
181
181
  endpoint: @config.endpoint,
182
182
  channel_args: @config.channel_args,
183
- interceptors: @config.interceptors
183
+ interceptors: @config.interceptors,
184
+ channel_pool_config: @config.channel_pool
184
185
  )
185
186
  end
186
187
 
@@ -781,6 +782,7 @@ module Google
781
782
 
782
783
  ##
783
784
  # Deletes a single Collector - changes state of collector to "Deleting".
785
+ # Background jobs does final deletion thorugh producer api.
784
786
  #
785
787
  # @overload delete_collector(request, options = nil)
786
788
  # Pass arguments to `delete_collector` via a request object, either of type
@@ -1326,6 +1328,14 @@ module Google
1326
1328
  end
1327
1329
  end
1328
1330
 
1331
+ ##
1332
+ # Configuration for the channel pool
1333
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1334
+ #
1335
+ def channel_pool
1336
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1337
+ end
1338
+
1329
1339
  ##
1330
1340
  # Configuration RPC class for the RapidMigrationAssessment API.
1331
1341
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -701,6 +702,14 @@ module Google
701
702
  end
702
703
  end
703
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
704
713
  ##
705
714
  # Configuration RPC class for the Operations API.
706
715
  #
@@ -30,7 +30,7 @@ module Google
30
30
  ##
31
31
  # REST client for the RapidMigrationAssessment service.
32
32
  #
33
- # Rapid Migration Assessment service
33
+ # Service describing handlers for resources.
34
34
  #
35
35
  class Client
36
36
  include Paths
@@ -226,6 +226,29 @@ module Google
226
226
  # @return [::Gapic::Operation]
227
227
  #
228
228
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
229
+ #
230
+ # @example Basic example
231
+ # require "google/cloud/rapid_migration_assessment/v1"
232
+ #
233
+ # # Create a client object. The client can be reused for multiple calls.
234
+ # client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
235
+ #
236
+ # # Create a request. To set request fields, pass in keyword arguments.
237
+ # request = Google::Cloud::RapidMigrationAssessment::V1::CreateCollectorRequest.new
238
+ #
239
+ # # Call the create_collector method.
240
+ # result = client.create_collector request
241
+ #
242
+ # # The returned object is of type Gapic::Operation. You can use it to
243
+ # # check the status of an operation, cancel it, or wait for results.
244
+ # # Here is how to wait for a response.
245
+ # result.wait_until_done! timeout: 60
246
+ # if result.response?
247
+ # p result.response
248
+ # else
249
+ # puts "No response received."
250
+ # end
251
+ #
229
252
  def create_collector request, options = nil
230
253
  raise ::ArgumentError, "request must be provided" if request.nil?
231
254
 
@@ -293,6 +316,29 @@ module Google
293
316
  # @return [::Gapic::Operation]
294
317
  #
295
318
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
319
+ #
320
+ # @example Basic example
321
+ # require "google/cloud/rapid_migration_assessment/v1"
322
+ #
323
+ # # Create a client object. The client can be reused for multiple calls.
324
+ # client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
325
+ #
326
+ # # Create a request. To set request fields, pass in keyword arguments.
327
+ # request = Google::Cloud::RapidMigrationAssessment::V1::CreateAnnotationRequest.new
328
+ #
329
+ # # Call the create_annotation method.
330
+ # result = client.create_annotation request
331
+ #
332
+ # # The returned object is of type Gapic::Operation. You can use it to
333
+ # # check the status of an operation, cancel it, or wait for results.
334
+ # # Here is how to wait for a response.
335
+ # result.wait_until_done! timeout: 60
336
+ # if result.response?
337
+ # p result.response
338
+ # else
339
+ # puts "No response received."
340
+ # end
341
+ #
296
342
  def create_annotation request, options = nil
297
343
  raise ::ArgumentError, "request must be provided" if request.nil?
298
344
 
@@ -356,6 +402,22 @@ module Google
356
402
  # @return [::Google::Cloud::RapidMigrationAssessment::V1::Annotation]
357
403
  #
358
404
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
405
+ #
406
+ # @example Basic example
407
+ # require "google/cloud/rapid_migration_assessment/v1"
408
+ #
409
+ # # Create a client object. The client can be reused for multiple calls.
410
+ # client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
411
+ #
412
+ # # Create a request. To set request fields, pass in keyword arguments.
413
+ # request = Google::Cloud::RapidMigrationAssessment::V1::GetAnnotationRequest.new
414
+ #
415
+ # # Call the get_annotation method.
416
+ # result = client.get_annotation request
417
+ #
418
+ # # The returned object is of type Google::Cloud::RapidMigrationAssessment::V1::Annotation.
419
+ # p result
420
+ #
359
421
  def get_annotation request, options = nil
360
422
  raise ::ArgumentError, "request must be provided" if request.nil?
361
423
 
@@ -427,6 +489,26 @@ module Google
427
489
  # @return [::Google::Cloud::RapidMigrationAssessment::V1::ListCollectorsResponse]
428
490
  #
429
491
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
492
+ #
493
+ # @example Basic example
494
+ # require "google/cloud/rapid_migration_assessment/v1"
495
+ #
496
+ # # Create a client object. The client can be reused for multiple calls.
497
+ # client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
498
+ #
499
+ # # Create a request. To set request fields, pass in keyword arguments.
500
+ # request = Google::Cloud::RapidMigrationAssessment::V1::ListCollectorsRequest.new
501
+ #
502
+ # # Call the list_collectors method.
503
+ # result = client.list_collectors request
504
+ #
505
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
506
+ # # over elements, and API calls will be issued to fetch pages as needed.
507
+ # result.each do |item|
508
+ # # Each element is of type ::Google::Cloud::RapidMigrationAssessment::V1::Collector.
509
+ # p item
510
+ # end
511
+ #
430
512
  def list_collectors request, options = nil
431
513
  raise ::ArgumentError, "request must be provided" if request.nil?
432
514
 
@@ -489,6 +571,22 @@ module Google
489
571
  # @return [::Google::Cloud::RapidMigrationAssessment::V1::Collector]
490
572
  #
491
573
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
574
+ #
575
+ # @example Basic example
576
+ # require "google/cloud/rapid_migration_assessment/v1"
577
+ #
578
+ # # Create a client object. The client can be reused for multiple calls.
579
+ # client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
580
+ #
581
+ # # Create a request. To set request fields, pass in keyword arguments.
582
+ # request = Google::Cloud::RapidMigrationAssessment::V1::GetCollectorRequest.new
583
+ #
584
+ # # Call the get_collector method.
585
+ # result = client.get_collector request
586
+ #
587
+ # # The returned object is of type Google::Cloud::RapidMigrationAssessment::V1::Collector.
588
+ # p result
589
+ #
492
590
  def get_collector request, options = nil
493
591
  raise ::ArgumentError, "request must be provided" if request.nil?
494
592
 
@@ -571,6 +669,29 @@ module Google
571
669
  # @return [::Gapic::Operation]
572
670
  #
573
671
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
672
+ #
673
+ # @example Basic example
674
+ # require "google/cloud/rapid_migration_assessment/v1"
675
+ #
676
+ # # Create a client object. The client can be reused for multiple calls.
677
+ # client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
678
+ #
679
+ # # Create a request. To set request fields, pass in keyword arguments.
680
+ # request = Google::Cloud::RapidMigrationAssessment::V1::UpdateCollectorRequest.new
681
+ #
682
+ # # Call the update_collector method.
683
+ # result = client.update_collector request
684
+ #
685
+ # # The returned object is of type Gapic::Operation. You can use it to
686
+ # # check the status of an operation, cancel it, or wait for results.
687
+ # # Here is how to wait for a response.
688
+ # result.wait_until_done! timeout: 60
689
+ # if result.response?
690
+ # p result.response
691
+ # else
692
+ # puts "No response received."
693
+ # end
694
+ #
574
695
  def update_collector request, options = nil
575
696
  raise ::ArgumentError, "request must be provided" if request.nil?
576
697
 
@@ -609,6 +730,7 @@ module Google
609
730
 
610
731
  ##
611
732
  # Deletes a single Collector - changes state of collector to "Deleting".
733
+ # Background jobs does final deletion thorugh producer api.
612
734
  #
613
735
  # @overload delete_collector(request, options = nil)
614
736
  # Pass arguments to `delete_collector` via a request object, either of type
@@ -648,6 +770,29 @@ module Google
648
770
  # @return [::Gapic::Operation]
649
771
  #
650
772
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
773
+ #
774
+ # @example Basic example
775
+ # require "google/cloud/rapid_migration_assessment/v1"
776
+ #
777
+ # # Create a client object. The client can be reused for multiple calls.
778
+ # client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
779
+ #
780
+ # # Create a request. To set request fields, pass in keyword arguments.
781
+ # request = Google::Cloud::RapidMigrationAssessment::V1::DeleteCollectorRequest.new
782
+ #
783
+ # # Call the delete_collector method.
784
+ # result = client.delete_collector request
785
+ #
786
+ # # The returned object is of type Gapic::Operation. You can use it to
787
+ # # check the status of an operation, cancel it, or wait for results.
788
+ # # Here is how to wait for a response.
789
+ # result.wait_until_done! timeout: 60
790
+ # if result.response?
791
+ # p result.response
792
+ # else
793
+ # puts "No response received."
794
+ # end
795
+ #
651
796
  def delete_collector request, options = nil
652
797
  raise ::ArgumentError, "request must be provided" if request.nil?
653
798
 
@@ -725,6 +870,29 @@ module Google
725
870
  # @return [::Gapic::Operation]
726
871
  #
727
872
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
873
+ #
874
+ # @example Basic example
875
+ # require "google/cloud/rapid_migration_assessment/v1"
876
+ #
877
+ # # Create a client object. The client can be reused for multiple calls.
878
+ # client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
879
+ #
880
+ # # Create a request. To set request fields, pass in keyword arguments.
881
+ # request = Google::Cloud::RapidMigrationAssessment::V1::ResumeCollectorRequest.new
882
+ #
883
+ # # Call the resume_collector method.
884
+ # result = client.resume_collector request
885
+ #
886
+ # # The returned object is of type Gapic::Operation. You can use it to
887
+ # # check the status of an operation, cancel it, or wait for results.
888
+ # # Here is how to wait for a response.
889
+ # result.wait_until_done! timeout: 60
890
+ # if result.response?
891
+ # p result.response
892
+ # else
893
+ # puts "No response received."
894
+ # end
895
+ #
728
896
  def resume_collector request, options = nil
729
897
  raise ::ArgumentError, "request must be provided" if request.nil?
730
898
 
@@ -802,6 +970,29 @@ module Google
802
970
  # @return [::Gapic::Operation]
803
971
  #
804
972
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
973
+ #
974
+ # @example Basic example
975
+ # require "google/cloud/rapid_migration_assessment/v1"
976
+ #
977
+ # # Create a client object. The client can be reused for multiple calls.
978
+ # client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
979
+ #
980
+ # # Create a request. To set request fields, pass in keyword arguments.
981
+ # request = Google::Cloud::RapidMigrationAssessment::V1::RegisterCollectorRequest.new
982
+ #
983
+ # # Call the register_collector method.
984
+ # result = client.register_collector request
985
+ #
986
+ # # The returned object is of type Gapic::Operation. You can use it to
987
+ # # check the status of an operation, cancel it, or wait for results.
988
+ # # Here is how to wait for a response.
989
+ # result.wait_until_done! timeout: 60
990
+ # if result.response?
991
+ # p result.response
992
+ # else
993
+ # puts "No response received."
994
+ # end
995
+ #
805
996
  def register_collector request, options = nil
806
997
  raise ::ArgumentError, "request must be provided" if request.nil?
807
998
 
@@ -879,6 +1070,29 @@ module Google
879
1070
  # @return [::Gapic::Operation]
880
1071
  #
881
1072
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1073
+ #
1074
+ # @example Basic example
1075
+ # require "google/cloud/rapid_migration_assessment/v1"
1076
+ #
1077
+ # # Create a client object. The client can be reused for multiple calls.
1078
+ # client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
1079
+ #
1080
+ # # Create a request. To set request fields, pass in keyword arguments.
1081
+ # request = Google::Cloud::RapidMigrationAssessment::V1::PauseCollectorRequest.new
1082
+ #
1083
+ # # Call the pause_collector method.
1084
+ # result = client.pause_collector request
1085
+ #
1086
+ # # The returned object is of type Gapic::Operation. You can use it to
1087
+ # # check the status of an operation, cancel it, or wait for results.
1088
+ # # Here is how to wait for a response.
1089
+ # result.wait_until_done! timeout: 60
1090
+ # if result.response?
1091
+ # p result.response
1092
+ # else
1093
+ # puts "No response received."
1094
+ # end
1095
+ #
882
1096
  def pause_collector request, options = nil
883
1097
  raise ::ArgumentError, "request must be provided" if request.nil?
884
1098
 
@@ -136,6 +136,26 @@ module Google
136
136
  # @return [::Gapic::Operation]
137
137
  #
138
138
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
139
+ #
140
+ # @example Basic example
141
+ # require "google/longrunning"
142
+ #
143
+ # # Create a client object. The client can be reused for multiple calls.
144
+ # client = Google::Longrunning::Operations::Rest::Client.new
145
+ #
146
+ # # Create a request. To set request fields, pass in keyword arguments.
147
+ # request = Google::Longrunning::ListOperationsRequest.new
148
+ #
149
+ # # Call the list_operations method.
150
+ # result = client.list_operations request
151
+ #
152
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
153
+ # # over elements, and API calls will be issued to fetch pages as needed.
154
+ # result.each do |item|
155
+ # # Each element is of type ::Google::Longrunning::Operation.
156
+ # p item
157
+ # end
158
+ #
139
159
  def list_operations request, options = nil
140
160
  raise ::ArgumentError, "request must be provided" if request.nil?
141
161
 
@@ -201,6 +221,29 @@ module Google
201
221
  # @return [::Gapic::Operation]
202
222
  #
203
223
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
224
+ #
225
+ # @example Basic example
226
+ # require "google/longrunning"
227
+ #
228
+ # # Create a client object. The client can be reused for multiple calls.
229
+ # client = Google::Longrunning::Operations::Rest::Client.new
230
+ #
231
+ # # Create a request. To set request fields, pass in keyword arguments.
232
+ # request = Google::Longrunning::GetOperationRequest.new
233
+ #
234
+ # # Call the get_operation method.
235
+ # result = client.get_operation request
236
+ #
237
+ # # The returned object is of type Gapic::Operation. You can use it to
238
+ # # check the status of an operation, cancel it, or wait for results.
239
+ # # Here is how to wait for a response.
240
+ # result.wait_until_done! timeout: 60
241
+ # if result.response?
242
+ # p result.response
243
+ # else
244
+ # puts "No response received."
245
+ # end
246
+ #
204
247
  def get_operation request, options = nil
205
248
  raise ::ArgumentError, "request must be provided" if request.nil?
206
249
 
@@ -267,6 +310,22 @@ module Google
267
310
  # @return [::Google::Protobuf::Empty]
268
311
  #
269
312
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
313
+ #
314
+ # @example Basic example
315
+ # require "google/longrunning"
316
+ #
317
+ # # Create a client object. The client can be reused for multiple calls.
318
+ # client = Google::Longrunning::Operations::Rest::Client.new
319
+ #
320
+ # # Create a request. To set request fields, pass in keyword arguments.
321
+ # request = Google::Longrunning::DeleteOperationRequest.new
322
+ #
323
+ # # Call the delete_operation method.
324
+ # result = client.delete_operation request
325
+ #
326
+ # # The returned object is of type Google::Protobuf::Empty.
327
+ # p result
328
+ #
270
329
  def delete_operation request, options = nil
271
330
  raise ::ArgumentError, "request must be provided" if request.nil?
272
331
 
@@ -338,6 +397,22 @@ module Google
338
397
  # @return [::Google::Protobuf::Empty]
339
398
  #
340
399
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
400
+ #
401
+ # @example Basic example
402
+ # require "google/longrunning"
403
+ #
404
+ # # Create a client object. The client can be reused for multiple calls.
405
+ # client = Google::Longrunning::Operations::Rest::Client.new
406
+ #
407
+ # # Create a request. To set request fields, pass in keyword arguments.
408
+ # request = Google::Longrunning::CancelOperationRequest.new
409
+ #
410
+ # # Call the cancel_operation method.
411
+ # result = client.cancel_operation request
412
+ #
413
+ # # The returned object is of type Google::Protobuf::Empty.
414
+ # p result
415
+ #
341
416
  def cancel_operation request, options = nil
342
417
  raise ::ArgumentError, "request must be provided" if request.nil?
343
418
 
@@ -33,7 +33,7 @@ module Google
33
33
  module RapidMigrationAssessment
34
34
  module V1
35
35
  ##
36
- # Rapid Migration Assessment service
36
+ # Service describing handlers for resources.
37
37
  #
38
38
  # To load this service and instantiate a REST client:
39
39
  #
@@ -33,7 +33,7 @@ module Google
33
33
  module RapidMigrationAssessment
34
34
  module V1
35
35
  ##
36
- # Rapid Migration Assessment service
36
+ # Service describing handlers for resources.
37
37
  #
38
38
  # @example Load this service and instantiate a gRPC client
39
39
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module RapidMigrationAssessment
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.2.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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\"\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\xe1\x12\n\x18RapidMigrationAssessment\x12\xf7\x01\n\x0f\x43reateCollector\x12@.google.cloud.rapidmigrationassessment.v1.CreateCollectorRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/collectors:\tcollector\xda\x41\x1dparent,collector,collector_id\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\x99\x02\n\x10\x43reateAnnotation\x12\x41.google.cloud.rapidmigrationassessment.v1.CreateAnnotationRequest\x1a\x1d.google.longrunning.Operation\"\xa2\x01\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/annotations:\nannotation\xda\x41\x11parent,annotation\xca\x41H\n3google.cloud.rapidmigrationassessment.v1.Annotation\x12\x11OperationMetadata\x12\xc5\x01\n\rGetAnnotation\x12>.google.cloud.rapidmigrationassessment.v1.GetAnnotationRequest\x1a\x34.google.cloud.rapidmigrationassessment.v1.Annotation\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/annotations/*}\xda\x41\x04name\x12\xd4\x01\n\x0eListCollectors\x12?.google.cloud.rapidmigrationassessment.v1.ListCollectorsRequest\x1a@.google.cloud.rapidmigrationassessment.v1.ListCollectorsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/collectors\xda\x41\x06parent\x12\xc1\x01\n\x0cGetCollector\x12=.google.cloud.rapidmigrationassessment.v1.GetCollectorRequest\x1a\x33.google.cloud.rapidmigrationassessment.v1.Collector\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/collectors/*}\xda\x41\x04name\x12\xf9\x01\n\x0fUpdateCollector\x12@.google.cloud.rapidmigrationassessment.v1.UpdateCollectorRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{collector.name=projects/*/locations/*/collectors/*}:\tcollector\xda\x41\x15\x63ollector,update_mask\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xd2\x01\n\x0f\x44\x65leteCollector\x12@.google.cloud.rapidmigrationassessment.v1.DeleteCollectorRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/collectors/*}\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xdc\x01\n\x0fResumeCollector\x12@.google.cloud.rapidmigrationassessment.v1.ResumeCollectorRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/collectors/*}:resume:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xe2\x01\n\x11RegisterCollector\x12\x42.google.cloud.rapidmigrationassessment.v1.RegisterCollectorRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02<\"7/v1/{name=projects/*/locations/*/collectors/*}:register:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xd9\x01\n\x0ePauseCollector\x12?.google.cloud.rapidmigrationassessment.v1.PauseCollectorRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/collectors/*}:pause:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\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\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/collectors:\tcollector\xda\x41\x1dparent,collector,collector_id\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xef\x01\n\x10\x43reateAnnotation\x12\x41.google.cloud.rapidmigrationassessment.v1.CreateAnnotationRequest\x1a\x1d.google.longrunning.Operation\"y\x82\xd3\xe4\x93\x02=\"//v1/{parent=projects/*/locations/*}/annotations:\nannotation\xda\x41\x11parent,annotation\xca\x41\x1f\n\nAnnotation\x12\x11OperationMetadata\x12\xc5\x01\n\rGetAnnotation\x12>.google.cloud.rapidmigrationassessment.v1.GetAnnotationRequest\x1a\x34.google.cloud.rapidmigrationassessment.v1.Annotation\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/annotations/*}\xda\x41\x04name\x12\xd4\x01\n\x0eListCollectors\x12?.google.cloud.rapidmigrationassessment.v1.ListCollectorsRequest\x1a@.google.cloud.rapidmigrationassessment.v1.ListCollectorsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/collectors\xda\x41\x06parent\x12\xc1\x01\n\x0cGetCollector\x12=.google.cloud.rapidmigrationassessment.v1.GetCollectorRequest\x1a\x33.google.cloud.rapidmigrationassessment.v1.Collector\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/collectors/*}\xda\x41\x04name\x12\xf9\x01\n\x0fUpdateCollector\x12@.google.cloud.rapidmigrationassessment.v1.UpdateCollectorRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\x82\xd3\xe4\x93\x02\x45\x32\x38/v1/{collector.name=projects/*/locations/*/collectors/*}:\tcollector\xda\x41\x15\x63ollector,update_mask\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xd2\x01\n\x0f\x44\x65leteCollector\x12@.google.cloud.rapidmigrationassessment.v1.DeleteCollectorRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/collectors/*}\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xdc\x01\n\x0fResumeCollector\x12@.google.cloud.rapidmigrationassessment.v1.ResumeCollectorRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/collectors/*}:resume:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xe2\x01\n\x11RegisterCollector\x12\x42.google.cloud.rapidmigrationassessment.v1.RegisterCollectorRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02<\"7/v1/{name=projects/*/locations/*/collectors/*}:register:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\x12\xd9\x01\n\x0ePauseCollector\x12?.google.cloud.rapidmigrationassessment.v1.PauseCollectorRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/collectors/*}:pause:\x01*\xda\x41\x04name\xca\x41\x1e\n\tCollector\x12\x11OperationMetadata\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
 
@@ -24,7 +24,7 @@ module Google
24
24
  module RapidMigrationAssessment
25
25
  module V1
26
26
  module RapidMigrationAssessment
27
- # Rapid Migration Assessment service
27
+ # Service describing handlers for resources.
28
28
  class Service
29
29
 
30
30
  include ::GRPC::GenericService
@@ -47,6 +47,7 @@ module Google
47
47
  # Updates the parameters of a single Collector.
48
48
  rpc :UpdateCollector, ::Google::Cloud::RapidMigrationAssessment::V1::UpdateCollectorRequest, ::Google::Longrunning::Operation
49
49
  # Deletes a single Collector - changes state of collector to "Deleting".
50
+ # Background jobs does final deletion thorugh producer api.
50
51
  rpc :DeleteCollector, ::Google::Cloud::RapidMigrationAssessment::V1::DeleteCollectorRequest, ::Google::Longrunning::Operation
51
52
  # Resumes the given collector.
52
53
  rpc :ResumeCollector, ::Google::Cloud::RapidMigrationAssessment::V1::ResumeCollectorRequest, ::Google::Longrunning::Operation
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
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.1.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-12 00:00:00.000000000 Z
11
+ date: 2023-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  - !ruby/object:Gem::Version
240
240
  version: '0'
241
241
  requirements: []
242
- rubygems_version: 3.4.2
242
+ rubygems_version: 3.4.19
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: The Rapid Migration Assessment service is our first-party migration assessment