google-cloud-service_directory-v1 0.8.1 → 0.9.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: 8ace4b5ee00729b7f768d3fa8edb4401d318d631c9d60f39cce78677e83eb65e
4
- data.tar.gz: bc601930815820dfb8e1d792973d4bc479c929c716deb4b90b1ea8c82ff5100f
3
+ metadata.gz: 9f13451bb3fb561c847f222e214ed4015b00ada861d1c1019157b310d8f59c52
4
+ data.tar.gz: 9d08537def39b112120209a8d63062a92039d1fff18b17a33d5b2c104f82c064
5
5
  SHA512:
6
- metadata.gz: f97293ac3720fc9695c82d551b2846187da25a2d0fe2a2fc45f8cc6c8fdf3af16d037db930e35d010e084fe15e5a0ce1872dfed08248f3168fc0725f13748e0d
7
- data.tar.gz: 6c4521e83b12d55a15ee99c6711cb0710753acc18e680bdaac67a0dacdaa39b2d16e65bf1ab4eb4623e225d9c40ae0f56aa86ac1099178c53f29b594ab5bc737
6
+ metadata.gz: 14d1b1f7605059f7081b7f02d2de11bc5a98a7f9cf5e9c6675e206dc0fd834a96b3ab046ac031173a32a16f85e6598d0f6a2193d327c9e370f034188e0bfe190
7
+ data.tar.gz: 917e636c35493fa7921179f69dedf79b9cbb9cab382ddd6ac707c3d78897a4af53c182a99d17bc49829a82e577b4beefdcd8e2eb10fa413c67794a32d7bab8a6
@@ -150,7 +150,8 @@ module Google
150
150
  credentials: credentials,
151
151
  endpoint: @config.endpoint,
152
152
  channel_args: @config.channel_args,
153
- interceptors: @config.interceptors
153
+ interceptors: @config.interceptors,
154
+ channel_pool_config: @config.channel_pool
154
155
  )
155
156
  end
156
157
 
@@ -410,6 +411,14 @@ module Google
410
411
  end
411
412
  end
412
413
 
414
+ ##
415
+ # Configuration for the channel pool
416
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
417
+ #
418
+ def channel_pool
419
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
420
+ end
421
+
413
422
  ##
414
423
  # Configuration RPC class for the LookupService API.
415
424
  #
@@ -225,6 +225,22 @@ module Google
225
225
  # @return [::Google::Cloud::ServiceDirectory::V1::ResolveServiceResponse]
226
226
  #
227
227
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
228
+ #
229
+ # @example Basic example
230
+ # require "google/cloud/service_directory/v1"
231
+ #
232
+ # # Create a client object. The client can be reused for multiple calls.
233
+ # client = Google::Cloud::ServiceDirectory::V1::LookupService::Rest::Client.new
234
+ #
235
+ # # Create a request. To set request fields, pass in keyword arguments.
236
+ # request = Google::Cloud::ServiceDirectory::V1::ResolveServiceRequest.new
237
+ #
238
+ # # Call the resolve_service method.
239
+ # result = client.resolve_service request
240
+ #
241
+ # # The returned object is of type Google::Cloud::ServiceDirectory::V1::ResolveServiceResponse.
242
+ # p result
243
+ #
228
244
  def resolve_service request, options = nil
229
245
  raise ::ArgumentError, "request must be provided" if request.nil?
230
246
 
@@ -164,7 +164,8 @@ module Google
164
164
  credentials: credentials,
165
165
  endpoint: @config.endpoint,
166
166
  channel_args: @config.channel_args,
167
- interceptors: @config.interceptors
167
+ interceptors: @config.interceptors,
168
+ channel_pool_config: @config.channel_pool
168
169
  )
169
170
  end
170
171
 
@@ -2047,6 +2048,14 @@ module Google
2047
2048
  end
2048
2049
  end
2049
2050
 
2051
+ ##
2052
+ # Configuration for the channel pool
2053
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
2054
+ #
2055
+ def channel_pool
2056
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
2057
+ end
2058
+
2050
2059
  ##
2051
2060
  # Configuration RPC class for the RegistrationService API.
2052
2061
  #
@@ -207,6 +207,22 @@ module Google
207
207
  # @return [::Google::Cloud::ServiceDirectory::V1::Namespace]
208
208
  #
209
209
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
210
+ #
211
+ # @example Basic example
212
+ # require "google/cloud/service_directory/v1"
213
+ #
214
+ # # Create a client object. The client can be reused for multiple calls.
215
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
216
+ #
217
+ # # Create a request. To set request fields, pass in keyword arguments.
218
+ # request = Google::Cloud::ServiceDirectory::V1::CreateNamespaceRequest.new
219
+ #
220
+ # # Call the create_namespace method.
221
+ # result = client.create_namespace request
222
+ #
223
+ # # The returned object is of type Google::Cloud::ServiceDirectory::V1::Namespace.
224
+ # p result
225
+ #
210
226
  def create_namespace request, options = nil
211
227
  raise ::ArgumentError, "request must be provided" if request.nil?
212
228
 
@@ -315,6 +331,26 @@ module Google
315
331
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ServiceDirectory::V1::Namespace>]
316
332
  #
317
333
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
334
+ #
335
+ # @example Basic example
336
+ # require "google/cloud/service_directory/v1"
337
+ #
338
+ # # Create a client object. The client can be reused for multiple calls.
339
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
340
+ #
341
+ # # Create a request. To set request fields, pass in keyword arguments.
342
+ # request = Google::Cloud::ServiceDirectory::V1::ListNamespacesRequest.new
343
+ #
344
+ # # Call the list_namespaces method.
345
+ # result = client.list_namespaces request
346
+ #
347
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
348
+ # # over elements, and API calls will be issued to fetch pages as needed.
349
+ # result.each do |item|
350
+ # # Each element is of type ::Google::Cloud::ServiceDirectory::V1::Namespace.
351
+ # p item
352
+ # end
353
+ #
318
354
  def list_namespaces request, options = nil
319
355
  raise ::ArgumentError, "request must be provided" if request.nil?
320
356
 
@@ -378,6 +414,22 @@ module Google
378
414
  # @return [::Google::Cloud::ServiceDirectory::V1::Namespace]
379
415
  #
380
416
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
417
+ #
418
+ # @example Basic example
419
+ # require "google/cloud/service_directory/v1"
420
+ #
421
+ # # Create a client object. The client can be reused for multiple calls.
422
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
423
+ #
424
+ # # Create a request. To set request fields, pass in keyword arguments.
425
+ # request = Google::Cloud::ServiceDirectory::V1::GetNamespaceRequest.new
426
+ #
427
+ # # Call the get_namespace method.
428
+ # result = client.get_namespace request
429
+ #
430
+ # # The returned object is of type Google::Cloud::ServiceDirectory::V1::Namespace.
431
+ # p result
432
+ #
381
433
  def get_namespace request, options = nil
382
434
  raise ::ArgumentError, "request must be provided" if request.nil?
383
435
 
@@ -442,6 +494,22 @@ module Google
442
494
  # @return [::Google::Cloud::ServiceDirectory::V1::Namespace]
443
495
  #
444
496
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
497
+ #
498
+ # @example Basic example
499
+ # require "google/cloud/service_directory/v1"
500
+ #
501
+ # # Create a client object. The client can be reused for multiple calls.
502
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
503
+ #
504
+ # # Create a request. To set request fields, pass in keyword arguments.
505
+ # request = Google::Cloud::ServiceDirectory::V1::UpdateNamespaceRequest.new
506
+ #
507
+ # # Call the update_namespace method.
508
+ # result = client.update_namespace request
509
+ #
510
+ # # The returned object is of type Google::Cloud::ServiceDirectory::V1::Namespace.
511
+ # p result
512
+ #
445
513
  def update_namespace request, options = nil
446
514
  raise ::ArgumentError, "request must be provided" if request.nil?
447
515
 
@@ -505,6 +573,22 @@ module Google
505
573
  # @return [::Google::Protobuf::Empty]
506
574
  #
507
575
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
576
+ #
577
+ # @example Basic example
578
+ # require "google/cloud/service_directory/v1"
579
+ #
580
+ # # Create a client object. The client can be reused for multiple calls.
581
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
582
+ #
583
+ # # Create a request. To set request fields, pass in keyword arguments.
584
+ # request = Google::Cloud::ServiceDirectory::V1::DeleteNamespaceRequest.new
585
+ #
586
+ # # Call the delete_namespace method.
587
+ # result = client.delete_namespace request
588
+ #
589
+ # # The returned object is of type Google::Protobuf::Empty.
590
+ # p result
591
+ #
508
592
  def delete_namespace request, options = nil
509
593
  raise ::ArgumentError, "request must be provided" if request.nil?
510
594
 
@@ -577,6 +661,22 @@ module Google
577
661
  # @return [::Google::Cloud::ServiceDirectory::V1::Service]
578
662
  #
579
663
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
664
+ #
665
+ # @example Basic example
666
+ # require "google/cloud/service_directory/v1"
667
+ #
668
+ # # Create a client object. The client can be reused for multiple calls.
669
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
670
+ #
671
+ # # Create a request. To set request fields, pass in keyword arguments.
672
+ # request = Google::Cloud::ServiceDirectory::V1::CreateServiceRequest.new
673
+ #
674
+ # # Call the create_service method.
675
+ # result = client.create_service request
676
+ #
677
+ # # The returned object is of type Google::Cloud::ServiceDirectory::V1::Service.
678
+ # p result
679
+ #
580
680
  def create_service request, options = nil
581
681
  raise ::ArgumentError, "request must be provided" if request.nil?
582
682
 
@@ -687,6 +787,26 @@ module Google
687
787
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ServiceDirectory::V1::Service>]
688
788
  #
689
789
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
790
+ #
791
+ # @example Basic example
792
+ # require "google/cloud/service_directory/v1"
793
+ #
794
+ # # Create a client object. The client can be reused for multiple calls.
795
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
796
+ #
797
+ # # Create a request. To set request fields, pass in keyword arguments.
798
+ # request = Google::Cloud::ServiceDirectory::V1::ListServicesRequest.new
799
+ #
800
+ # # Call the list_services method.
801
+ # result = client.list_services request
802
+ #
803
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
804
+ # # over elements, and API calls will be issued to fetch pages as needed.
805
+ # result.each do |item|
806
+ # # Each element is of type ::Google::Cloud::ServiceDirectory::V1::Service.
807
+ # p item
808
+ # end
809
+ #
690
810
  def list_services request, options = nil
691
811
  raise ::ArgumentError, "request must be provided" if request.nil?
692
812
 
@@ -750,6 +870,22 @@ module Google
750
870
  # @return [::Google::Cloud::ServiceDirectory::V1::Service]
751
871
  #
752
872
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
873
+ #
874
+ # @example Basic example
875
+ # require "google/cloud/service_directory/v1"
876
+ #
877
+ # # Create a client object. The client can be reused for multiple calls.
878
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
879
+ #
880
+ # # Create a request. To set request fields, pass in keyword arguments.
881
+ # request = Google::Cloud::ServiceDirectory::V1::GetServiceRequest.new
882
+ #
883
+ # # Call the get_service method.
884
+ # result = client.get_service request
885
+ #
886
+ # # The returned object is of type Google::Cloud::ServiceDirectory::V1::Service.
887
+ # p result
888
+ #
753
889
  def get_service request, options = nil
754
890
  raise ::ArgumentError, "request must be provided" if request.nil?
755
891
 
@@ -814,6 +950,22 @@ module Google
814
950
  # @return [::Google::Cloud::ServiceDirectory::V1::Service]
815
951
  #
816
952
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
953
+ #
954
+ # @example Basic example
955
+ # require "google/cloud/service_directory/v1"
956
+ #
957
+ # # Create a client object. The client can be reused for multiple calls.
958
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
959
+ #
960
+ # # Create a request. To set request fields, pass in keyword arguments.
961
+ # request = Google::Cloud::ServiceDirectory::V1::UpdateServiceRequest.new
962
+ #
963
+ # # Call the update_service method.
964
+ # result = client.update_service request
965
+ #
966
+ # # The returned object is of type Google::Cloud::ServiceDirectory::V1::Service.
967
+ # p result
968
+ #
817
969
  def update_service request, options = nil
818
970
  raise ::ArgumentError, "request must be provided" if request.nil?
819
971
 
@@ -877,6 +1029,22 @@ module Google
877
1029
  # @return [::Google::Protobuf::Empty]
878
1030
  #
879
1031
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1032
+ #
1033
+ # @example Basic example
1034
+ # require "google/cloud/service_directory/v1"
1035
+ #
1036
+ # # Create a client object. The client can be reused for multiple calls.
1037
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
1038
+ #
1039
+ # # Create a request. To set request fields, pass in keyword arguments.
1040
+ # request = Google::Cloud::ServiceDirectory::V1::DeleteServiceRequest.new
1041
+ #
1042
+ # # Call the delete_service method.
1043
+ # result = client.delete_service request
1044
+ #
1045
+ # # The returned object is of type Google::Protobuf::Empty.
1046
+ # p result
1047
+ #
880
1048
  def delete_service request, options = nil
881
1049
  raise ::ArgumentError, "request must be provided" if request.nil?
882
1050
 
@@ -949,6 +1117,22 @@ module Google
949
1117
  # @return [::Google::Cloud::ServiceDirectory::V1::Endpoint]
950
1118
  #
951
1119
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1120
+ #
1121
+ # @example Basic example
1122
+ # require "google/cloud/service_directory/v1"
1123
+ #
1124
+ # # Create a client object. The client can be reused for multiple calls.
1125
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
1126
+ #
1127
+ # # Create a request. To set request fields, pass in keyword arguments.
1128
+ # request = Google::Cloud::ServiceDirectory::V1::CreateEndpointRequest.new
1129
+ #
1130
+ # # Call the create_endpoint method.
1131
+ # result = client.create_endpoint request
1132
+ #
1133
+ # # The returned object is of type Google::Cloud::ServiceDirectory::V1::Endpoint.
1134
+ # p result
1135
+ #
952
1136
  def create_endpoint request, options = nil
953
1137
  raise ::ArgumentError, "request must be provided" if request.nil?
954
1138
 
@@ -1062,6 +1246,26 @@ module Google
1062
1246
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ServiceDirectory::V1::Endpoint>]
1063
1247
  #
1064
1248
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1249
+ #
1250
+ # @example Basic example
1251
+ # require "google/cloud/service_directory/v1"
1252
+ #
1253
+ # # Create a client object. The client can be reused for multiple calls.
1254
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
1255
+ #
1256
+ # # Create a request. To set request fields, pass in keyword arguments.
1257
+ # request = Google::Cloud::ServiceDirectory::V1::ListEndpointsRequest.new
1258
+ #
1259
+ # # Call the list_endpoints method.
1260
+ # result = client.list_endpoints request
1261
+ #
1262
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1263
+ # # over elements, and API calls will be issued to fetch pages as needed.
1264
+ # result.each do |item|
1265
+ # # Each element is of type ::Google::Cloud::ServiceDirectory::V1::Endpoint.
1266
+ # p item
1267
+ # end
1268
+ #
1065
1269
  def list_endpoints request, options = nil
1066
1270
  raise ::ArgumentError, "request must be provided" if request.nil?
1067
1271
 
@@ -1125,6 +1329,22 @@ module Google
1125
1329
  # @return [::Google::Cloud::ServiceDirectory::V1::Endpoint]
1126
1330
  #
1127
1331
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1332
+ #
1333
+ # @example Basic example
1334
+ # require "google/cloud/service_directory/v1"
1335
+ #
1336
+ # # Create a client object. The client can be reused for multiple calls.
1337
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
1338
+ #
1339
+ # # Create a request. To set request fields, pass in keyword arguments.
1340
+ # request = Google::Cloud::ServiceDirectory::V1::GetEndpointRequest.new
1341
+ #
1342
+ # # Call the get_endpoint method.
1343
+ # result = client.get_endpoint request
1344
+ #
1345
+ # # The returned object is of type Google::Cloud::ServiceDirectory::V1::Endpoint.
1346
+ # p result
1347
+ #
1128
1348
  def get_endpoint request, options = nil
1129
1349
  raise ::ArgumentError, "request must be provided" if request.nil?
1130
1350
 
@@ -1189,6 +1409,22 @@ module Google
1189
1409
  # @return [::Google::Cloud::ServiceDirectory::V1::Endpoint]
1190
1410
  #
1191
1411
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1412
+ #
1413
+ # @example Basic example
1414
+ # require "google/cloud/service_directory/v1"
1415
+ #
1416
+ # # Create a client object. The client can be reused for multiple calls.
1417
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
1418
+ #
1419
+ # # Create a request. To set request fields, pass in keyword arguments.
1420
+ # request = Google::Cloud::ServiceDirectory::V1::UpdateEndpointRequest.new
1421
+ #
1422
+ # # Call the update_endpoint method.
1423
+ # result = client.update_endpoint request
1424
+ #
1425
+ # # The returned object is of type Google::Cloud::ServiceDirectory::V1::Endpoint.
1426
+ # p result
1427
+ #
1192
1428
  def update_endpoint request, options = nil
1193
1429
  raise ::ArgumentError, "request must be provided" if request.nil?
1194
1430
 
@@ -1251,6 +1487,22 @@ module Google
1251
1487
  # @return [::Google::Protobuf::Empty]
1252
1488
  #
1253
1489
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1490
+ #
1491
+ # @example Basic example
1492
+ # require "google/cloud/service_directory/v1"
1493
+ #
1494
+ # # Create a client object. The client can be reused for multiple calls.
1495
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
1496
+ #
1497
+ # # Create a request. To set request fields, pass in keyword arguments.
1498
+ # request = Google::Cloud::ServiceDirectory::V1::DeleteEndpointRequest.new
1499
+ #
1500
+ # # Call the delete_endpoint method.
1501
+ # result = client.delete_endpoint request
1502
+ #
1503
+ # # The returned object is of type Google::Protobuf::Empty.
1504
+ # p result
1505
+ #
1254
1506
  def delete_endpoint request, options = nil
1255
1507
  raise ::ArgumentError, "request must be provided" if request.nil?
1256
1508
 
@@ -1317,6 +1569,22 @@ module Google
1317
1569
  # @return [::Google::Iam::V1::Policy]
1318
1570
  #
1319
1571
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1572
+ #
1573
+ # @example Basic example
1574
+ # require "google/cloud/service_directory/v1"
1575
+ #
1576
+ # # Create a client object. The client can be reused for multiple calls.
1577
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
1578
+ #
1579
+ # # Create a request. To set request fields, pass in keyword arguments.
1580
+ # request = Google::Iam::V1::GetIamPolicyRequest.new
1581
+ #
1582
+ # # Call the get_iam_policy method.
1583
+ # result = client.get_iam_policy request
1584
+ #
1585
+ # # The returned object is of type Google::Iam::V1::Policy.
1586
+ # p result
1587
+ #
1320
1588
  def get_iam_policy request, options = nil
1321
1589
  raise ::ArgumentError, "request must be provided" if request.nil?
1322
1590
 
@@ -1391,6 +1659,22 @@ module Google
1391
1659
  # @return [::Google::Iam::V1::Policy]
1392
1660
  #
1393
1661
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1662
+ #
1663
+ # @example Basic example
1664
+ # require "google/cloud/service_directory/v1"
1665
+ #
1666
+ # # Create a client object. The client can be reused for multiple calls.
1667
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
1668
+ #
1669
+ # # Create a request. To set request fields, pass in keyword arguments.
1670
+ # request = Google::Iam::V1::SetIamPolicyRequest.new
1671
+ #
1672
+ # # Call the set_iam_policy method.
1673
+ # result = client.set_iam_policy request
1674
+ #
1675
+ # # The returned object is of type Google::Iam::V1::Policy.
1676
+ # p result
1677
+ #
1394
1678
  def set_iam_policy request, options = nil
1395
1679
  raise ::ArgumentError, "request must be provided" if request.nil?
1396
1680
 
@@ -1459,6 +1743,22 @@ module Google
1459
1743
  # @return [::Google::Iam::V1::TestIamPermissionsResponse]
1460
1744
  #
1461
1745
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1746
+ #
1747
+ # @example Basic example
1748
+ # require "google/cloud/service_directory/v1"
1749
+ #
1750
+ # # Create a client object. The client can be reused for multiple calls.
1751
+ # client = Google::Cloud::ServiceDirectory::V1::RegistrationService::Rest::Client.new
1752
+ #
1753
+ # # Create a request. To set request fields, pass in keyword arguments.
1754
+ # request = Google::Iam::V1::TestIamPermissionsRequest.new
1755
+ #
1756
+ # # Call the test_iam_permissions method.
1757
+ # result = client.test_iam_permissions request
1758
+ #
1759
+ # # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
1760
+ # p result
1761
+ #
1462
1762
  def test_iam_permissions request, options = nil
1463
1763
  raise ::ArgumentError, "request must be provided" if request.nil?
1464
1764
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceDirectory
23
23
  module V1
24
- VERSION = "0.8.1"
24
+ VERSION = "0.9.0"
25
25
  end
26
26
  end
27
27
  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-service_directory-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.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
@@ -266,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
266
  - !ruby/object:Gem::Version
267
267
  version: '0'
268
268
  requirements: []
269
- rubygems_version: 3.4.2
269
+ rubygems_version: 3.4.19
270
270
  signing_key:
271
271
  specification_version: 4
272
272
  summary: Service Directory is a platform for discovering, publishing, and connecting