google-cloud-rapid_migration_assessment-v1 0.1.0 → 0.2.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 +4 -4
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/client.rb +10 -1
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/operations.rb +10 -1
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/client.rb +213 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/operations.rb +75 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c348f2c23d128a84839f982a7d642926c86bfc86f065afe3094de682ee0a6e8d
|
4
|
+
data.tar.gz: 6a768cf3287d79d0e3a7168725ba662e05c6efc5844c86580f4c60f4171294b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2c9bca5d107e3b6fb1ce08cef39363a6a4686bbbde19ed7d914d57df3aa5fb32e26c016203e5aa6243e6f4187b8ce83c1c56b3871a257ff74059628fdeb21b8
|
7
|
+
data.tar.gz: 64c58913be5374aa9a0281bdbfdef9afc0be3aed2a22189ff28dd55aab769cc731a90bec62b63eeb8a04ed6b38e8a200665094ee027d3467d7ce372257c08155
|
@@ -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
|
|
@@ -1326,6 +1327,14 @@ module Google
|
|
1326
1327
|
end
|
1327
1328
|
end
|
1328
1329
|
|
1330
|
+
##
|
1331
|
+
# Configuration for the channel pool
|
1332
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
1333
|
+
#
|
1334
|
+
def channel_pool
|
1335
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1336
|
+
end
|
1337
|
+
|
1329
1338
|
##
|
1330
1339
|
# Configuration RPC class for the RapidMigrationAssessment API.
|
1331
1340
|
#
|
data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/operations.rb
CHANGED
@@ -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
|
#
|
data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/client.rb
CHANGED
@@ -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
|
|
@@ -648,6 +769,29 @@ module Google
|
|
648
769
|
# @return [::Gapic::Operation]
|
649
770
|
#
|
650
771
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
772
|
+
#
|
773
|
+
# @example Basic example
|
774
|
+
# require "google/cloud/rapid_migration_assessment/v1"
|
775
|
+
#
|
776
|
+
# # Create a client object. The client can be reused for multiple calls.
|
777
|
+
# client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
|
778
|
+
#
|
779
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
780
|
+
# request = Google::Cloud::RapidMigrationAssessment::V1::DeleteCollectorRequest.new
|
781
|
+
#
|
782
|
+
# # Call the delete_collector method.
|
783
|
+
# result = client.delete_collector request
|
784
|
+
#
|
785
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
786
|
+
# # check the status of an operation, cancel it, or wait for results.
|
787
|
+
# # Here is how to wait for a response.
|
788
|
+
# result.wait_until_done! timeout: 60
|
789
|
+
# if result.response?
|
790
|
+
# p result.response
|
791
|
+
# else
|
792
|
+
# puts "No response received."
|
793
|
+
# end
|
794
|
+
#
|
651
795
|
def delete_collector request, options = nil
|
652
796
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
653
797
|
|
@@ -725,6 +869,29 @@ module Google
|
|
725
869
|
# @return [::Gapic::Operation]
|
726
870
|
#
|
727
871
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
872
|
+
#
|
873
|
+
# @example Basic example
|
874
|
+
# require "google/cloud/rapid_migration_assessment/v1"
|
875
|
+
#
|
876
|
+
# # Create a client object. The client can be reused for multiple calls.
|
877
|
+
# client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
|
878
|
+
#
|
879
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
880
|
+
# request = Google::Cloud::RapidMigrationAssessment::V1::ResumeCollectorRequest.new
|
881
|
+
#
|
882
|
+
# # Call the resume_collector method.
|
883
|
+
# result = client.resume_collector request
|
884
|
+
#
|
885
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
886
|
+
# # check the status of an operation, cancel it, or wait for results.
|
887
|
+
# # Here is how to wait for a response.
|
888
|
+
# result.wait_until_done! timeout: 60
|
889
|
+
# if result.response?
|
890
|
+
# p result.response
|
891
|
+
# else
|
892
|
+
# puts "No response received."
|
893
|
+
# end
|
894
|
+
#
|
728
895
|
def resume_collector request, options = nil
|
729
896
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
730
897
|
|
@@ -802,6 +969,29 @@ module Google
|
|
802
969
|
# @return [::Gapic::Operation]
|
803
970
|
#
|
804
971
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
972
|
+
#
|
973
|
+
# @example Basic example
|
974
|
+
# require "google/cloud/rapid_migration_assessment/v1"
|
975
|
+
#
|
976
|
+
# # Create a client object. The client can be reused for multiple calls.
|
977
|
+
# client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
|
978
|
+
#
|
979
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
980
|
+
# request = Google::Cloud::RapidMigrationAssessment::V1::RegisterCollectorRequest.new
|
981
|
+
#
|
982
|
+
# # Call the register_collector method.
|
983
|
+
# result = client.register_collector request
|
984
|
+
#
|
985
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
986
|
+
# # check the status of an operation, cancel it, or wait for results.
|
987
|
+
# # Here is how to wait for a response.
|
988
|
+
# result.wait_until_done! timeout: 60
|
989
|
+
# if result.response?
|
990
|
+
# p result.response
|
991
|
+
# else
|
992
|
+
# puts "No response received."
|
993
|
+
# end
|
994
|
+
#
|
805
995
|
def register_collector request, options = nil
|
806
996
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
807
997
|
|
@@ -879,6 +1069,29 @@ module Google
|
|
879
1069
|
# @return [::Gapic::Operation]
|
880
1070
|
#
|
881
1071
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1072
|
+
#
|
1073
|
+
# @example Basic example
|
1074
|
+
# require "google/cloud/rapid_migration_assessment/v1"
|
1075
|
+
#
|
1076
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1077
|
+
# client = Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::Client.new
|
1078
|
+
#
|
1079
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1080
|
+
# request = Google::Cloud::RapidMigrationAssessment::V1::PauseCollectorRequest.new
|
1081
|
+
#
|
1082
|
+
# # Call the pause_collector method.
|
1083
|
+
# result = client.pause_collector request
|
1084
|
+
#
|
1085
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1086
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1087
|
+
# # Here is how to wait for a response.
|
1088
|
+
# result.wait_until_done! timeout: 60
|
1089
|
+
# if result.response?
|
1090
|
+
# p result.response
|
1091
|
+
# else
|
1092
|
+
# puts "No response received."
|
1093
|
+
# end
|
1094
|
+
#
|
882
1095
|
def pause_collector request, options = nil
|
883
1096
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
884
1097
|
|
data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/operations.rb
CHANGED
@@ -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
|
|
@@ -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.
|
4
|
+
version: 0.2.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: 2023-
|
11
|
+
date: 2023-09-12 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
|
+
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.
|
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.
|
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
|