google-cloud-spanner-admin-instance-v1 0.10.2 → 0.11.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: dc891b1c8fc07c4c796819616bedcdc28a53c90a30e03ce74ee1bb556575e32c
4
- data.tar.gz: 593dbff51a290cbbad455bc13f6f9e52ad74453dc6e333c58ac25d1393175a5f
3
+ metadata.gz: 9f1f84c46406ba9561a3e47c16378de549d764e0ba8cbcc253245b0225555dba
4
+ data.tar.gz: 1a0cc59297f6ffb177f38bd98cbb298a1efe6f2ff0c22c9c0a90206b70a896f1
5
5
  SHA512:
6
- metadata.gz: 4b7c49d11e58d33a0ea341c6907e131ec057e20f8c4f9a206b11dd03baff89a48712e8528f6da92d6721d99850e3bf808c2858f361a682fb963b830ed87c858c
7
- data.tar.gz: d5422ab3cc377c2ceb2e6a4d8cfbca57b1cd980030292d7ee81103e878dd72d14998fc9dc48afa8595460b775c63160b65b13e051e159aae8e6967570ffa4c65
6
+ metadata.gz: e99950f6c8e3f70143501babf0b2f77ced42c2be2025ed8f0fda8d003cec166edbd261e967d8261d575723ffb0ee19971d790cd789b6d694e8c9e8572eeb47d2
7
+ data.tar.gz: dc324b478eaf6c616a21d4c416382af993083b52bc39b6c7153b9dbd029cbe4e0961a0f1408b186a274fe9bc8280bacf805fe701e69d3c0bf01ce2cec904a7ff
@@ -204,7 +204,8 @@ module Google
204
204
  credentials: credentials,
205
205
  endpoint: @config.endpoint,
206
206
  channel_args: @config.channel_args,
207
- interceptors: @config.interceptors
207
+ interceptors: @config.interceptors,
208
+ channel_pool_config: @config.channel_pool
208
209
  )
209
210
  end
210
211
 
@@ -1952,6 +1953,14 @@ module Google
1952
1953
  end
1953
1954
  end
1954
1955
 
1956
+ ##
1957
+ # Configuration for the channel pool
1958
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1959
+ #
1960
+ def channel_pool
1961
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1962
+ end
1963
+
1955
1964
  ##
1956
1965
  # Configuration RPC class for the InstanceAdmin API.
1957
1966
  #
@@ -95,7 +95,8 @@ module Google
95
95
  credentials: credentials,
96
96
  endpoint: @config.endpoint,
97
97
  channel_args: @config.channel_args,
98
- interceptors: @config.interceptors
98
+ interceptors: @config.interceptors,
99
+ channel_pool_config: @config.channel_pool
99
100
  )
100
101
 
101
102
  # Used by an LRO wrapper for some methods of this service
@@ -703,6 +704,14 @@ module Google
703
704
  end
704
705
  end
705
706
 
707
+ ##
708
+ # Configuration for the channel pool
709
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
710
+ #
711
+ def channel_pool
712
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
713
+ end
714
+
706
715
  ##
707
716
  # Configuration RPC class for the Operations API.
708
717
  #
@@ -245,6 +245,26 @@ module Google
245
245
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig>]
246
246
  #
247
247
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
248
+ #
249
+ # @example Basic example
250
+ # require "google/cloud/spanner/admin/instance/v1"
251
+ #
252
+ # # Create a client object. The client can be reused for multiple calls.
253
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
254
+ #
255
+ # # Create a request. To set request fields, pass in keyword arguments.
256
+ # request = Google::Cloud::Spanner::Admin::Instance::V1::ListInstanceConfigsRequest.new
257
+ #
258
+ # # Call the list_instance_configs method.
259
+ # result = client.list_instance_configs request
260
+ #
261
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
262
+ # # over elements, and API calls will be issued to fetch pages as needed.
263
+ # result.each do |item|
264
+ # # Each element is of type ::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig.
265
+ # p item
266
+ # end
267
+ #
248
268
  def list_instance_configs request, options = nil
249
269
  raise ::ArgumentError, "request must be provided" if request.nil?
250
270
 
@@ -309,6 +329,22 @@ module Google
309
329
  # @return [::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig]
310
330
  #
311
331
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
332
+ #
333
+ # @example Basic example
334
+ # require "google/cloud/spanner/admin/instance/v1"
335
+ #
336
+ # # Create a client object. The client can be reused for multiple calls.
337
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
338
+ #
339
+ # # Create a request. To set request fields, pass in keyword arguments.
340
+ # request = Google::Cloud::Spanner::Admin::Instance::V1::GetInstanceConfigRequest.new
341
+ #
342
+ # # Call the get_instance_config method.
343
+ # result = client.get_instance_config request
344
+ #
345
+ # # The returned object is of type Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig.
346
+ # p result
347
+ #
312
348
  def get_instance_config request, options = nil
313
349
  raise ::ArgumentError, "request must be provided" if request.nil?
314
350
 
@@ -426,6 +462,29 @@ module Google
426
462
  # @return [::Gapic::Operation]
427
463
  #
428
464
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
465
+ #
466
+ # @example Basic example
467
+ # require "google/cloud/spanner/admin/instance/v1"
468
+ #
469
+ # # Create a client object. The client can be reused for multiple calls.
470
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
471
+ #
472
+ # # Create a request. To set request fields, pass in keyword arguments.
473
+ # request = Google::Cloud::Spanner::Admin::Instance::V1::CreateInstanceConfigRequest.new
474
+ #
475
+ # # Call the create_instance_config method.
476
+ # result = client.create_instance_config request
477
+ #
478
+ # # The returned object is of type Gapic::Operation. You can use it to
479
+ # # check the status of an operation, cancel it, or wait for results.
480
+ # # Here is how to wait for a response.
481
+ # result.wait_until_done! timeout: 60
482
+ # if result.response?
483
+ # p result.response
484
+ # else
485
+ # puts "No response received."
486
+ # end
487
+ #
429
488
  def create_instance_config request, options = nil
430
489
  raise ::ArgumentError, "request must be provided" if request.nil?
431
490
 
@@ -547,6 +606,29 @@ module Google
547
606
  # @return [::Gapic::Operation]
548
607
  #
549
608
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
609
+ #
610
+ # @example Basic example
611
+ # require "google/cloud/spanner/admin/instance/v1"
612
+ #
613
+ # # Create a client object. The client can be reused for multiple calls.
614
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
615
+ #
616
+ # # Create a request. To set request fields, pass in keyword arguments.
617
+ # request = Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceConfigRequest.new
618
+ #
619
+ # # Call the update_instance_config method.
620
+ # result = client.update_instance_config request
621
+ #
622
+ # # The returned object is of type Gapic::Operation. You can use it to
623
+ # # check the status of an operation, cancel it, or wait for results.
624
+ # # Here is how to wait for a response.
625
+ # result.wait_until_done! timeout: 60
626
+ # if result.response?
627
+ # p result.response
628
+ # else
629
+ # puts "No response received."
630
+ # end
631
+ #
550
632
  def update_instance_config request, options = nil
551
633
  raise ::ArgumentError, "request must be provided" if request.nil?
552
634
 
@@ -630,6 +712,22 @@ module Google
630
712
  # @return [::Google::Protobuf::Empty]
631
713
  #
632
714
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
715
+ #
716
+ # @example Basic example
717
+ # require "google/cloud/spanner/admin/instance/v1"
718
+ #
719
+ # # Create a client object. The client can be reused for multiple calls.
720
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
721
+ #
722
+ # # Create a request. To set request fields, pass in keyword arguments.
723
+ # request = Google::Cloud::Spanner::Admin::Instance::V1::DeleteInstanceConfigRequest.new
724
+ #
725
+ # # Call the delete_instance_config method.
726
+ # result = client.delete_instance_config request
727
+ #
728
+ # # The returned object is of type Google::Protobuf::Empty.
729
+ # p result
730
+ #
633
731
  def delete_instance_config request, options = nil
634
732
  raise ::ArgumentError, "request must be provided" if request.nil?
635
733
 
@@ -756,6 +854,26 @@ module Google
756
854
  # @return [::Gapic::Operation]
757
855
  #
758
856
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
857
+ #
858
+ # @example Basic example
859
+ # require "google/cloud/spanner/admin/instance/v1"
860
+ #
861
+ # # Create a client object. The client can be reused for multiple calls.
862
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
863
+ #
864
+ # # Create a request. To set request fields, pass in keyword arguments.
865
+ # request = Google::Cloud::Spanner::Admin::Instance::V1::ListInstanceConfigOperationsRequest.new
866
+ #
867
+ # # Call the list_instance_config_operations method.
868
+ # result = client.list_instance_config_operations request
869
+ #
870
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
871
+ # # over elements, and API calls will be issued to fetch pages as needed.
872
+ # result.each do |item|
873
+ # # Each element is of type ::Google::Longrunning::Operation.
874
+ # p item
875
+ # end
876
+ #
759
877
  def list_instance_config_operations request, options = nil
760
878
  raise ::ArgumentError, "request must be provided" if request.nil?
761
879
 
@@ -848,6 +966,26 @@ module Google
848
966
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Spanner::Admin::Instance::V1::Instance>]
849
967
  #
850
968
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
969
+ #
970
+ # @example Basic example
971
+ # require "google/cloud/spanner/admin/instance/v1"
972
+ #
973
+ # # Create a client object. The client can be reused for multiple calls.
974
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
975
+ #
976
+ # # Create a request. To set request fields, pass in keyword arguments.
977
+ # request = Google::Cloud::Spanner::Admin::Instance::V1::ListInstancesRequest.new
978
+ #
979
+ # # Call the list_instances method.
980
+ # result = client.list_instances request
981
+ #
982
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
983
+ # # over elements, and API calls will be issued to fetch pages as needed.
984
+ # result.each do |item|
985
+ # # Each element is of type ::Google::Cloud::Spanner::Admin::Instance::V1::Instance.
986
+ # p item
987
+ # end
988
+ #
851
989
  def list_instances request, options = nil
852
990
  raise ::ArgumentError, "request must be provided" if request.nil?
853
991
 
@@ -917,6 +1055,22 @@ module Google
917
1055
  # @return [::Google::Cloud::Spanner::Admin::Instance::V1::Instance]
918
1056
  #
919
1057
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1058
+ #
1059
+ # @example Basic example
1060
+ # require "google/cloud/spanner/admin/instance/v1"
1061
+ #
1062
+ # # Create a client object. The client can be reused for multiple calls.
1063
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
1064
+ #
1065
+ # # Create a request. To set request fields, pass in keyword arguments.
1066
+ # request = Google::Cloud::Spanner::Admin::Instance::V1::GetInstanceRequest.new
1067
+ #
1068
+ # # Call the get_instance method.
1069
+ # result = client.get_instance request
1070
+ #
1071
+ # # The returned object is of type Google::Cloud::Spanner::Admin::Instance::V1::Instance.
1072
+ # p result
1073
+ #
920
1074
  def get_instance request, options = nil
921
1075
  raise ::ArgumentError, "request must be provided" if request.nil?
922
1076
 
@@ -1020,6 +1174,29 @@ module Google
1020
1174
  # @return [::Gapic::Operation]
1021
1175
  #
1022
1176
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1177
+ #
1178
+ # @example Basic example
1179
+ # require "google/cloud/spanner/admin/instance/v1"
1180
+ #
1181
+ # # Create a client object. The client can be reused for multiple calls.
1182
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
1183
+ #
1184
+ # # Create a request. To set request fields, pass in keyword arguments.
1185
+ # request = Google::Cloud::Spanner::Admin::Instance::V1::CreateInstanceRequest.new
1186
+ #
1187
+ # # Call the create_instance method.
1188
+ # result = client.create_instance request
1189
+ #
1190
+ # # The returned object is of type Gapic::Operation. You can use it to
1191
+ # # check the status of an operation, cancel it, or wait for results.
1192
+ # # Here is how to wait for a response.
1193
+ # result.wait_until_done! timeout: 60
1194
+ # if result.response?
1195
+ # p result.response
1196
+ # else
1197
+ # puts "No response received."
1198
+ # end
1199
+ #
1023
1200
  def create_instance request, options = nil
1024
1201
  raise ::ArgumentError, "request must be provided" if request.nil?
1025
1202
 
@@ -1131,6 +1308,29 @@ module Google
1131
1308
  # @return [::Gapic::Operation]
1132
1309
  #
1133
1310
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1311
+ #
1312
+ # @example Basic example
1313
+ # require "google/cloud/spanner/admin/instance/v1"
1314
+ #
1315
+ # # Create a client object. The client can be reused for multiple calls.
1316
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
1317
+ #
1318
+ # # Create a request. To set request fields, pass in keyword arguments.
1319
+ # request = Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceRequest.new
1320
+ #
1321
+ # # Call the update_instance method.
1322
+ # result = client.update_instance request
1323
+ #
1324
+ # # The returned object is of type Gapic::Operation. You can use it to
1325
+ # # check the status of an operation, cancel it, or wait for results.
1326
+ # # Here is how to wait for a response.
1327
+ # result.wait_until_done! timeout: 60
1328
+ # if result.response?
1329
+ # p result.response
1330
+ # else
1331
+ # puts "No response received."
1332
+ # end
1333
+ #
1134
1334
  def update_instance request, options = nil
1135
1335
  raise ::ArgumentError, "request must be provided" if request.nil?
1136
1336
 
@@ -1205,6 +1405,22 @@ module Google
1205
1405
  # @return [::Google::Protobuf::Empty]
1206
1406
  #
1207
1407
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1408
+ #
1409
+ # @example Basic example
1410
+ # require "google/cloud/spanner/admin/instance/v1"
1411
+ #
1412
+ # # Create a client object. The client can be reused for multiple calls.
1413
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
1414
+ #
1415
+ # # Create a request. To set request fields, pass in keyword arguments.
1416
+ # request = Google::Cloud::Spanner::Admin::Instance::V1::DeleteInstanceRequest.new
1417
+ #
1418
+ # # Call the delete_instance method.
1419
+ # result = client.delete_instance request
1420
+ #
1421
+ # # The returned object is of type Google::Protobuf::Empty.
1422
+ # p result
1423
+ #
1208
1424
  def delete_instance request, options = nil
1209
1425
  raise ::ArgumentError, "request must be provided" if request.nil?
1210
1426
 
@@ -1283,6 +1499,22 @@ module Google
1283
1499
  # @return [::Google::Iam::V1::Policy]
1284
1500
  #
1285
1501
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1502
+ #
1503
+ # @example Basic example
1504
+ # require "google/cloud/spanner/admin/instance/v1"
1505
+ #
1506
+ # # Create a client object. The client can be reused for multiple calls.
1507
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
1508
+ #
1509
+ # # Create a request. To set request fields, pass in keyword arguments.
1510
+ # request = Google::Iam::V1::SetIamPolicyRequest.new
1511
+ #
1512
+ # # Call the set_iam_policy method.
1513
+ # result = client.set_iam_policy request
1514
+ #
1515
+ # # The returned object is of type Google::Iam::V1::Policy.
1516
+ # p result
1517
+ #
1286
1518
  def set_iam_policy request, options = nil
1287
1519
  raise ::ArgumentError, "request must be provided" if request.nil?
1288
1520
 
@@ -1353,6 +1585,22 @@ module Google
1353
1585
  # @return [::Google::Iam::V1::Policy]
1354
1586
  #
1355
1587
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1588
+ #
1589
+ # @example Basic example
1590
+ # require "google/cloud/spanner/admin/instance/v1"
1591
+ #
1592
+ # # Create a client object. The client can be reused for multiple calls.
1593
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
1594
+ #
1595
+ # # Create a request. To set request fields, pass in keyword arguments.
1596
+ # request = Google::Iam::V1::GetIamPolicyRequest.new
1597
+ #
1598
+ # # Call the get_iam_policy method.
1599
+ # result = client.get_iam_policy request
1600
+ #
1601
+ # # The returned object is of type Google::Iam::V1::Policy.
1602
+ # p result
1603
+ #
1356
1604
  def get_iam_policy request, options = nil
1357
1605
  raise ::ArgumentError, "request must be provided" if request.nil?
1358
1606
 
@@ -1426,6 +1674,22 @@ module Google
1426
1674
  # @return [::Google::Iam::V1::TestIamPermissionsResponse]
1427
1675
  #
1428
1676
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1677
+ #
1678
+ # @example Basic example
1679
+ # require "google/cloud/spanner/admin/instance/v1"
1680
+ #
1681
+ # # Create a client object. The client can be reused for multiple calls.
1682
+ # client = Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Rest::Client.new
1683
+ #
1684
+ # # Create a request. To set request fields, pass in keyword arguments.
1685
+ # request = Google::Iam::V1::TestIamPermissionsRequest.new
1686
+ #
1687
+ # # Call the test_iam_permissions method.
1688
+ # result = client.test_iam_permissions request
1689
+ #
1690
+ # # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
1691
+ # p result
1692
+ #
1429
1693
  def test_iam_permissions request, options = nil
1430
1694
  raise ::ArgumentError, "request must be provided" if request.nil?
1431
1695
 
@@ -138,6 +138,26 @@ module Google
138
138
  # @return [::Gapic::Operation]
139
139
  #
140
140
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
141
+ #
142
+ # @example Basic example
143
+ # require "google/longrunning"
144
+ #
145
+ # # Create a client object. The client can be reused for multiple calls.
146
+ # client = Google::Longrunning::Operations::Rest::Client.new
147
+ #
148
+ # # Create a request. To set request fields, pass in keyword arguments.
149
+ # request = Google::Longrunning::ListOperationsRequest.new
150
+ #
151
+ # # Call the list_operations method.
152
+ # result = client.list_operations request
153
+ #
154
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
155
+ # # over elements, and API calls will be issued to fetch pages as needed.
156
+ # result.each do |item|
157
+ # # Each element is of type ::Google::Longrunning::Operation.
158
+ # p item
159
+ # end
160
+ #
141
161
  def list_operations request, options = nil
142
162
  raise ::ArgumentError, "request must be provided" if request.nil?
143
163
 
@@ -203,6 +223,29 @@ module Google
203
223
  # @return [::Gapic::Operation]
204
224
  #
205
225
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
226
+ #
227
+ # @example Basic example
228
+ # require "google/longrunning"
229
+ #
230
+ # # Create a client object. The client can be reused for multiple calls.
231
+ # client = Google::Longrunning::Operations::Rest::Client.new
232
+ #
233
+ # # Create a request. To set request fields, pass in keyword arguments.
234
+ # request = Google::Longrunning::GetOperationRequest.new
235
+ #
236
+ # # Call the get_operation method.
237
+ # result = client.get_operation request
238
+ #
239
+ # # The returned object is of type Gapic::Operation. You can use it to
240
+ # # check the status of an operation, cancel it, or wait for results.
241
+ # # Here is how to wait for a response.
242
+ # result.wait_until_done! timeout: 60
243
+ # if result.response?
244
+ # p result.response
245
+ # else
246
+ # puts "No response received."
247
+ # end
248
+ #
206
249
  def get_operation request, options = nil
207
250
  raise ::ArgumentError, "request must be provided" if request.nil?
208
251
 
@@ -269,6 +312,22 @@ module Google
269
312
  # @return [::Google::Protobuf::Empty]
270
313
  #
271
314
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
315
+ #
316
+ # @example Basic example
317
+ # require "google/longrunning"
318
+ #
319
+ # # Create a client object. The client can be reused for multiple calls.
320
+ # client = Google::Longrunning::Operations::Rest::Client.new
321
+ #
322
+ # # Create a request. To set request fields, pass in keyword arguments.
323
+ # request = Google::Longrunning::DeleteOperationRequest.new
324
+ #
325
+ # # Call the delete_operation method.
326
+ # result = client.delete_operation request
327
+ #
328
+ # # The returned object is of type Google::Protobuf::Empty.
329
+ # p result
330
+ #
272
331
  def delete_operation request, options = nil
273
332
  raise ::ArgumentError, "request must be provided" if request.nil?
274
333
 
@@ -340,6 +399,22 @@ module Google
340
399
  # @return [::Google::Protobuf::Empty]
341
400
  #
342
401
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
402
+ #
403
+ # @example Basic example
404
+ # require "google/longrunning"
405
+ #
406
+ # # Create a client object. The client can be reused for multiple calls.
407
+ # client = Google::Longrunning::Operations::Rest::Client.new
408
+ #
409
+ # # Create a request. To set request fields, pass in keyword arguments.
410
+ # request = Google::Longrunning::CancelOperationRequest.new
411
+ #
412
+ # # Call the cancel_operation method.
413
+ # result = client.cancel_operation request
414
+ #
415
+ # # The returned object is of type Google::Protobuf::Empty.
416
+ # p result
417
+ #
343
418
  def cancel_operation request, options = nil
344
419
  raise ::ArgumentError, "request must be provided" if request.nil?
345
420
 
@@ -23,7 +23,7 @@ module Google
23
23
  module Admin
24
24
  module Instance
25
25
  module V1
26
- VERSION = "0.10.2"
26
+ VERSION = "0.11.0"
27
27
  end
28
28
  end
29
29
  end
@@ -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-spanner-admin-instance-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.11.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-08-04 00:00:00.000000000 Z
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.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
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
236
236
  - !ruby/object:Gem::Version
237
237
  version: '0'
238
238
  requirements: []
239
- rubygems_version: 3.4.2
239
+ rubygems_version: 3.4.19
240
240
  signing_key:
241
241
  specification_version: 4
242
242
  summary: API Client library for the Cloud Spanner Instance Admin V1 API