google-cloud-certificate_manager-v1 0.6.0 → 0.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d888fd531727583124dc5fa4b42af122b07ab35c7d5f4238921781065ca8c876
4
- data.tar.gz: 9c4b42a7c9dd78cdae886cd50695deb073d728959d9956c39bf6b315495d1c2a
3
+ metadata.gz: 564e745aac6fad9d0064900b26293c7d8aa8787fc2c67ba97a15d2ec9783c51a
4
+ data.tar.gz: 6f8be05ef208345b6d5dbf03f60b568b9f95314278d34efc44126ead0a4054f6
5
5
  SHA512:
6
- metadata.gz: eaffdb95d9959c5214d2b592d254343380779df2304ad6862013a45f4ccc3bbfd65ba64526deea1c6fb67d80eea77e825505b41c2a3e12e8e67239453e904804
7
- data.tar.gz: 0424a4105eed0756773cf8f29929e93816b029735a2f5a4161b068b9c371313440505fa586e30b1b1bf0edd9ae7c09fa895f73586dce07abbeee5ea0fa5a540c
6
+ metadata.gz: c1c98d0a2681b980930b6ee0d5abe5cf76d31fab5f80f94a120bc49b847ff40af85deb7f7801c55059a3aea5a64838eec42b64bf58cb9a83e71bfd16978238fe
7
+ data.tar.gz: db36c0563c41fb147e024f8af5972230723ad16b9ebd795c28c170549a9a3e60bc45cdf1b5fdf32b83ab1d67c4f67f39db775a3b1d4fbb17ca5ce9ffcd36e59d
@@ -296,7 +296,8 @@ module Google
296
296
  credentials: credentials,
297
297
  endpoint: @config.endpoint,
298
298
  channel_args: @config.channel_args,
299
- interceptors: @config.interceptors
299
+ interceptors: @config.interceptors,
300
+ channel_pool_config: @config.channel_pool
300
301
  )
301
302
  end
302
303
 
@@ -2736,6 +2737,14 @@ module Google
2736
2737
  end
2737
2738
  end
2738
2739
 
2740
+ ##
2741
+ # Configuration for the channel pool
2742
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
2743
+ #
2744
+ def channel_pool
2745
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
2746
+ end
2747
+
2739
2748
  ##
2740
2749
  # Configuration RPC class for the CertificateManager API.
2741
2750
  #
@@ -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
  #
@@ -348,6 +348,26 @@ module Google
348
348
  # @return [::Google::Cloud::CertificateManager::V1::ListCertificatesResponse]
349
349
  #
350
350
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
351
+ #
352
+ # @example Basic example
353
+ # require "google/cloud/certificate_manager/v1"
354
+ #
355
+ # # Create a client object. The client can be reused for multiple calls.
356
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
357
+ #
358
+ # # Create a request. To set request fields, pass in keyword arguments.
359
+ # request = Google::Cloud::CertificateManager::V1::ListCertificatesRequest.new
360
+ #
361
+ # # Call the list_certificates method.
362
+ # result = client.list_certificates request
363
+ #
364
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
365
+ # # over elements, and API calls will be issued to fetch pages as needed.
366
+ # result.each do |item|
367
+ # # Each element is of type ::Google::Cloud::CertificateManager::V1::Certificate.
368
+ # p item
369
+ # end
370
+ #
351
371
  def list_certificates request, options = nil
352
372
  raise ::ArgumentError, "request must be provided" if request.nil?
353
373
 
@@ -411,6 +431,22 @@ module Google
411
431
  # @return [::Google::Cloud::CertificateManager::V1::Certificate]
412
432
  #
413
433
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
434
+ #
435
+ # @example Basic example
436
+ # require "google/cloud/certificate_manager/v1"
437
+ #
438
+ # # Create a client object. The client can be reused for multiple calls.
439
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
440
+ #
441
+ # # Create a request. To set request fields, pass in keyword arguments.
442
+ # request = Google::Cloud::CertificateManager::V1::GetCertificateRequest.new
443
+ #
444
+ # # Call the get_certificate method.
445
+ # result = client.get_certificate request
446
+ #
447
+ # # The returned object is of type Google::Cloud::CertificateManager::V1::Certificate.
448
+ # p result
449
+ #
414
450
  def get_certificate request, options = nil
415
451
  raise ::ArgumentError, "request must be provided" if request.nil?
416
452
 
@@ -478,6 +514,29 @@ module Google
478
514
  # @return [::Gapic::Operation]
479
515
  #
480
516
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
517
+ #
518
+ # @example Basic example
519
+ # require "google/cloud/certificate_manager/v1"
520
+ #
521
+ # # Create a client object. The client can be reused for multiple calls.
522
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
523
+ #
524
+ # # Create a request. To set request fields, pass in keyword arguments.
525
+ # request = Google::Cloud::CertificateManager::V1::CreateCertificateRequest.new
526
+ #
527
+ # # Call the create_certificate method.
528
+ # result = client.create_certificate request
529
+ #
530
+ # # The returned object is of type Gapic::Operation. You can use it to
531
+ # # check the status of an operation, cancel it, or wait for results.
532
+ # # Here is how to wait for a response.
533
+ # result.wait_until_done! timeout: 60
534
+ # if result.response?
535
+ # p result.response
536
+ # else
537
+ # puts "No response received."
538
+ # end
539
+ #
481
540
  def create_certificate request, options = nil
482
541
  raise ::ArgumentError, "request must be provided" if request.nil?
483
542
 
@@ -545,6 +604,29 @@ module Google
545
604
  # @return [::Gapic::Operation]
546
605
  #
547
606
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
607
+ #
608
+ # @example Basic example
609
+ # require "google/cloud/certificate_manager/v1"
610
+ #
611
+ # # Create a client object. The client can be reused for multiple calls.
612
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
613
+ #
614
+ # # Create a request. To set request fields, pass in keyword arguments.
615
+ # request = Google::Cloud::CertificateManager::V1::UpdateCertificateRequest.new
616
+ #
617
+ # # Call the update_certificate method.
618
+ # result = client.update_certificate request
619
+ #
620
+ # # The returned object is of type Gapic::Operation. You can use it to
621
+ # # check the status of an operation, cancel it, or wait for results.
622
+ # # Here is how to wait for a response.
623
+ # result.wait_until_done! timeout: 60
624
+ # if result.response?
625
+ # p result.response
626
+ # else
627
+ # puts "No response received."
628
+ # end
629
+ #
548
630
  def update_certificate request, options = nil
549
631
  raise ::ArgumentError, "request must be provided" if request.nil?
550
632
 
@@ -609,6 +691,29 @@ module Google
609
691
  # @return [::Gapic::Operation]
610
692
  #
611
693
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
694
+ #
695
+ # @example Basic example
696
+ # require "google/cloud/certificate_manager/v1"
697
+ #
698
+ # # Create a client object. The client can be reused for multiple calls.
699
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
700
+ #
701
+ # # Create a request. To set request fields, pass in keyword arguments.
702
+ # request = Google::Cloud::CertificateManager::V1::DeleteCertificateRequest.new
703
+ #
704
+ # # Call the delete_certificate method.
705
+ # result = client.delete_certificate request
706
+ #
707
+ # # The returned object is of type Gapic::Operation. You can use it to
708
+ # # check the status of an operation, cancel it, or wait for results.
709
+ # # Here is how to wait for a response.
710
+ # result.wait_until_done! timeout: 60
711
+ # if result.response?
712
+ # p result.response
713
+ # else
714
+ # puts "No response received."
715
+ # end
716
+ #
612
717
  def delete_certificate request, options = nil
613
718
  raise ::ArgumentError, "request must be provided" if request.nil?
614
719
 
@@ -685,6 +790,26 @@ module Google
685
790
  # @return [::Google::Cloud::CertificateManager::V1::ListCertificateMapsResponse]
686
791
  #
687
792
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
793
+ #
794
+ # @example Basic example
795
+ # require "google/cloud/certificate_manager/v1"
796
+ #
797
+ # # Create a client object. The client can be reused for multiple calls.
798
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
799
+ #
800
+ # # Create a request. To set request fields, pass in keyword arguments.
801
+ # request = Google::Cloud::CertificateManager::V1::ListCertificateMapsRequest.new
802
+ #
803
+ # # Call the list_certificate_maps method.
804
+ # result = client.list_certificate_maps request
805
+ #
806
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
807
+ # # over elements, and API calls will be issued to fetch pages as needed.
808
+ # result.each do |item|
809
+ # # Each element is of type ::Google::Cloud::CertificateManager::V1::CertificateMap.
810
+ # p item
811
+ # end
812
+ #
688
813
  def list_certificate_maps request, options = nil
689
814
  raise ::ArgumentError, "request must be provided" if request.nil?
690
815
 
@@ -748,6 +873,22 @@ module Google
748
873
  # @return [::Google::Cloud::CertificateManager::V1::CertificateMap]
749
874
  #
750
875
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
876
+ #
877
+ # @example Basic example
878
+ # require "google/cloud/certificate_manager/v1"
879
+ #
880
+ # # Create a client object. The client can be reused for multiple calls.
881
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
882
+ #
883
+ # # Create a request. To set request fields, pass in keyword arguments.
884
+ # request = Google::Cloud::CertificateManager::V1::GetCertificateMapRequest.new
885
+ #
886
+ # # Call the get_certificate_map method.
887
+ # result = client.get_certificate_map request
888
+ #
889
+ # # The returned object is of type Google::Cloud::CertificateManager::V1::CertificateMap.
890
+ # p result
891
+ #
751
892
  def get_certificate_map request, options = nil
752
893
  raise ::ArgumentError, "request must be provided" if request.nil?
753
894
 
@@ -815,6 +956,29 @@ module Google
815
956
  # @return [::Gapic::Operation]
816
957
  #
817
958
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
959
+ #
960
+ # @example Basic example
961
+ # require "google/cloud/certificate_manager/v1"
962
+ #
963
+ # # Create a client object. The client can be reused for multiple calls.
964
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
965
+ #
966
+ # # Create a request. To set request fields, pass in keyword arguments.
967
+ # request = Google::Cloud::CertificateManager::V1::CreateCertificateMapRequest.new
968
+ #
969
+ # # Call the create_certificate_map method.
970
+ # result = client.create_certificate_map request
971
+ #
972
+ # # The returned object is of type Gapic::Operation. You can use it to
973
+ # # check the status of an operation, cancel it, or wait for results.
974
+ # # Here is how to wait for a response.
975
+ # result.wait_until_done! timeout: 60
976
+ # if result.response?
977
+ # p result.response
978
+ # else
979
+ # puts "No response received."
980
+ # end
981
+ #
818
982
  def create_certificate_map request, options = nil
819
983
  raise ::ArgumentError, "request must be provided" if request.nil?
820
984
 
@@ -882,6 +1046,29 @@ module Google
882
1046
  # @return [::Gapic::Operation]
883
1047
  #
884
1048
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1049
+ #
1050
+ # @example Basic example
1051
+ # require "google/cloud/certificate_manager/v1"
1052
+ #
1053
+ # # Create a client object. The client can be reused for multiple calls.
1054
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
1055
+ #
1056
+ # # Create a request. To set request fields, pass in keyword arguments.
1057
+ # request = Google::Cloud::CertificateManager::V1::UpdateCertificateMapRequest.new
1058
+ #
1059
+ # # Call the update_certificate_map method.
1060
+ # result = client.update_certificate_map request
1061
+ #
1062
+ # # The returned object is of type Gapic::Operation. You can use it to
1063
+ # # check the status of an operation, cancel it, or wait for results.
1064
+ # # Here is how to wait for a response.
1065
+ # result.wait_until_done! timeout: 60
1066
+ # if result.response?
1067
+ # p result.response
1068
+ # else
1069
+ # puts "No response received."
1070
+ # end
1071
+ #
885
1072
  def update_certificate_map request, options = nil
886
1073
  raise ::ArgumentError, "request must be provided" if request.nil?
887
1074
 
@@ -948,6 +1135,29 @@ module Google
948
1135
  # @return [::Gapic::Operation]
949
1136
  #
950
1137
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1138
+ #
1139
+ # @example Basic example
1140
+ # require "google/cloud/certificate_manager/v1"
1141
+ #
1142
+ # # Create a client object. The client can be reused for multiple calls.
1143
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
1144
+ #
1145
+ # # Create a request. To set request fields, pass in keyword arguments.
1146
+ # request = Google::Cloud::CertificateManager::V1::DeleteCertificateMapRequest.new
1147
+ #
1148
+ # # Call the delete_certificate_map method.
1149
+ # result = client.delete_certificate_map request
1150
+ #
1151
+ # # The returned object is of type Gapic::Operation. You can use it to
1152
+ # # check the status of an operation, cancel it, or wait for results.
1153
+ # # Here is how to wait for a response.
1154
+ # result.wait_until_done! timeout: 60
1155
+ # if result.response?
1156
+ # p result.response
1157
+ # else
1158
+ # puts "No response received."
1159
+ # end
1160
+ #
951
1161
  def delete_certificate_map request, options = nil
952
1162
  raise ::ArgumentError, "request must be provided" if request.nil?
953
1163
 
@@ -1029,6 +1239,26 @@ module Google
1029
1239
  # @return [::Google::Cloud::CertificateManager::V1::ListCertificateMapEntriesResponse]
1030
1240
  #
1031
1241
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1242
+ #
1243
+ # @example Basic example
1244
+ # require "google/cloud/certificate_manager/v1"
1245
+ #
1246
+ # # Create a client object. The client can be reused for multiple calls.
1247
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
1248
+ #
1249
+ # # Create a request. To set request fields, pass in keyword arguments.
1250
+ # request = Google::Cloud::CertificateManager::V1::ListCertificateMapEntriesRequest.new
1251
+ #
1252
+ # # Call the list_certificate_map_entries method.
1253
+ # result = client.list_certificate_map_entries request
1254
+ #
1255
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1256
+ # # over elements, and API calls will be issued to fetch pages as needed.
1257
+ # result.each do |item|
1258
+ # # Each element is of type ::Google::Cloud::CertificateManager::V1::CertificateMapEntry.
1259
+ # p item
1260
+ # end
1261
+ #
1032
1262
  def list_certificate_map_entries request, options = nil
1033
1263
  raise ::ArgumentError, "request must be provided" if request.nil?
1034
1264
 
@@ -1092,6 +1322,22 @@ module Google
1092
1322
  # @return [::Google::Cloud::CertificateManager::V1::CertificateMapEntry]
1093
1323
  #
1094
1324
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1325
+ #
1326
+ # @example Basic example
1327
+ # require "google/cloud/certificate_manager/v1"
1328
+ #
1329
+ # # Create a client object. The client can be reused for multiple calls.
1330
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
1331
+ #
1332
+ # # Create a request. To set request fields, pass in keyword arguments.
1333
+ # request = Google::Cloud::CertificateManager::V1::GetCertificateMapEntryRequest.new
1334
+ #
1335
+ # # Call the get_certificate_map_entry method.
1336
+ # result = client.get_certificate_map_entry request
1337
+ #
1338
+ # # The returned object is of type Google::Cloud::CertificateManager::V1::CertificateMapEntry.
1339
+ # p result
1340
+ #
1095
1341
  def get_certificate_map_entry request, options = nil
1096
1342
  raise ::ArgumentError, "request must be provided" if request.nil?
1097
1343
 
@@ -1159,6 +1405,29 @@ module Google
1159
1405
  # @return [::Gapic::Operation]
1160
1406
  #
1161
1407
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1408
+ #
1409
+ # @example Basic example
1410
+ # require "google/cloud/certificate_manager/v1"
1411
+ #
1412
+ # # Create a client object. The client can be reused for multiple calls.
1413
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
1414
+ #
1415
+ # # Create a request. To set request fields, pass in keyword arguments.
1416
+ # request = Google::Cloud::CertificateManager::V1::CreateCertificateMapEntryRequest.new
1417
+ #
1418
+ # # Call the create_certificate_map_entry method.
1419
+ # result = client.create_certificate_map_entry request
1420
+ #
1421
+ # # The returned object is of type Gapic::Operation. You can use it to
1422
+ # # check the status of an operation, cancel it, or wait for results.
1423
+ # # Here is how to wait for a response.
1424
+ # result.wait_until_done! timeout: 60
1425
+ # if result.response?
1426
+ # p result.response
1427
+ # else
1428
+ # puts "No response received."
1429
+ # end
1430
+ #
1162
1431
  def create_certificate_map_entry request, options = nil
1163
1432
  raise ::ArgumentError, "request must be provided" if request.nil?
1164
1433
 
@@ -1226,6 +1495,29 @@ module Google
1226
1495
  # @return [::Gapic::Operation]
1227
1496
  #
1228
1497
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1498
+ #
1499
+ # @example Basic example
1500
+ # require "google/cloud/certificate_manager/v1"
1501
+ #
1502
+ # # Create a client object. The client can be reused for multiple calls.
1503
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
1504
+ #
1505
+ # # Create a request. To set request fields, pass in keyword arguments.
1506
+ # request = Google::Cloud::CertificateManager::V1::UpdateCertificateMapEntryRequest.new
1507
+ #
1508
+ # # Call the update_certificate_map_entry method.
1509
+ # result = client.update_certificate_map_entry request
1510
+ #
1511
+ # # The returned object is of type Gapic::Operation. You can use it to
1512
+ # # check the status of an operation, cancel it, or wait for results.
1513
+ # # Here is how to wait for a response.
1514
+ # result.wait_until_done! timeout: 60
1515
+ # if result.response?
1516
+ # p result.response
1517
+ # else
1518
+ # puts "No response received."
1519
+ # end
1520
+ #
1229
1521
  def update_certificate_map_entry request, options = nil
1230
1522
  raise ::ArgumentError, "request must be provided" if request.nil?
1231
1523
 
@@ -1290,6 +1582,29 @@ module Google
1290
1582
  # @return [::Gapic::Operation]
1291
1583
  #
1292
1584
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1585
+ #
1586
+ # @example Basic example
1587
+ # require "google/cloud/certificate_manager/v1"
1588
+ #
1589
+ # # Create a client object. The client can be reused for multiple calls.
1590
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
1591
+ #
1592
+ # # Create a request. To set request fields, pass in keyword arguments.
1593
+ # request = Google::Cloud::CertificateManager::V1::DeleteCertificateMapEntryRequest.new
1594
+ #
1595
+ # # Call the delete_certificate_map_entry method.
1596
+ # result = client.delete_certificate_map_entry request
1597
+ #
1598
+ # # The returned object is of type Gapic::Operation. You can use it to
1599
+ # # check the status of an operation, cancel it, or wait for results.
1600
+ # # Here is how to wait for a response.
1601
+ # result.wait_until_done! timeout: 60
1602
+ # if result.response?
1603
+ # p result.response
1604
+ # else
1605
+ # puts "No response received."
1606
+ # end
1607
+ #
1293
1608
  def delete_certificate_map_entry request, options = nil
1294
1609
  raise ::ArgumentError, "request must be provided" if request.nil?
1295
1610
 
@@ -1366,6 +1681,26 @@ module Google
1366
1681
  # @return [::Google::Cloud::CertificateManager::V1::ListDnsAuthorizationsResponse]
1367
1682
  #
1368
1683
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1684
+ #
1685
+ # @example Basic example
1686
+ # require "google/cloud/certificate_manager/v1"
1687
+ #
1688
+ # # Create a client object. The client can be reused for multiple calls.
1689
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
1690
+ #
1691
+ # # Create a request. To set request fields, pass in keyword arguments.
1692
+ # request = Google::Cloud::CertificateManager::V1::ListDnsAuthorizationsRequest.new
1693
+ #
1694
+ # # Call the list_dns_authorizations method.
1695
+ # result = client.list_dns_authorizations request
1696
+ #
1697
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1698
+ # # over elements, and API calls will be issued to fetch pages as needed.
1699
+ # result.each do |item|
1700
+ # # Each element is of type ::Google::Cloud::CertificateManager::V1::DnsAuthorization.
1701
+ # p item
1702
+ # end
1703
+ #
1369
1704
  def list_dns_authorizations request, options = nil
1370
1705
  raise ::ArgumentError, "request must be provided" if request.nil?
1371
1706
 
@@ -1429,6 +1764,22 @@ module Google
1429
1764
  # @return [::Google::Cloud::CertificateManager::V1::DnsAuthorization]
1430
1765
  #
1431
1766
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1767
+ #
1768
+ # @example Basic example
1769
+ # require "google/cloud/certificate_manager/v1"
1770
+ #
1771
+ # # Create a client object. The client can be reused for multiple calls.
1772
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
1773
+ #
1774
+ # # Create a request. To set request fields, pass in keyword arguments.
1775
+ # request = Google::Cloud::CertificateManager::V1::GetDnsAuthorizationRequest.new
1776
+ #
1777
+ # # Call the get_dns_authorization method.
1778
+ # result = client.get_dns_authorization request
1779
+ #
1780
+ # # The returned object is of type Google::Cloud::CertificateManager::V1::DnsAuthorization.
1781
+ # p result
1782
+ #
1432
1783
  def get_dns_authorization request, options = nil
1433
1784
  raise ::ArgumentError, "request must be provided" if request.nil?
1434
1785
 
@@ -1496,6 +1847,29 @@ module Google
1496
1847
  # @return [::Gapic::Operation]
1497
1848
  #
1498
1849
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1850
+ #
1851
+ # @example Basic example
1852
+ # require "google/cloud/certificate_manager/v1"
1853
+ #
1854
+ # # Create a client object. The client can be reused for multiple calls.
1855
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
1856
+ #
1857
+ # # Create a request. To set request fields, pass in keyword arguments.
1858
+ # request = Google::Cloud::CertificateManager::V1::CreateDnsAuthorizationRequest.new
1859
+ #
1860
+ # # Call the create_dns_authorization method.
1861
+ # result = client.create_dns_authorization request
1862
+ #
1863
+ # # The returned object is of type Gapic::Operation. You can use it to
1864
+ # # check the status of an operation, cancel it, or wait for results.
1865
+ # # Here is how to wait for a response.
1866
+ # result.wait_until_done! timeout: 60
1867
+ # if result.response?
1868
+ # p result.response
1869
+ # else
1870
+ # puts "No response received."
1871
+ # end
1872
+ #
1499
1873
  def create_dns_authorization request, options = nil
1500
1874
  raise ::ArgumentError, "request must be provided" if request.nil?
1501
1875
 
@@ -1563,6 +1937,29 @@ module Google
1563
1937
  # @return [::Gapic::Operation]
1564
1938
  #
1565
1939
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1940
+ #
1941
+ # @example Basic example
1942
+ # require "google/cloud/certificate_manager/v1"
1943
+ #
1944
+ # # Create a client object. The client can be reused for multiple calls.
1945
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
1946
+ #
1947
+ # # Create a request. To set request fields, pass in keyword arguments.
1948
+ # request = Google::Cloud::CertificateManager::V1::UpdateDnsAuthorizationRequest.new
1949
+ #
1950
+ # # Call the update_dns_authorization method.
1951
+ # result = client.update_dns_authorization request
1952
+ #
1953
+ # # The returned object is of type Gapic::Operation. You can use it to
1954
+ # # check the status of an operation, cancel it, or wait for results.
1955
+ # # Here is how to wait for a response.
1956
+ # result.wait_until_done! timeout: 60
1957
+ # if result.response?
1958
+ # p result.response
1959
+ # else
1960
+ # puts "No response received."
1961
+ # end
1962
+ #
1566
1963
  def update_dns_authorization request, options = nil
1567
1964
  raise ::ArgumentError, "request must be provided" if request.nil?
1568
1965
 
@@ -1627,6 +2024,29 @@ module Google
1627
2024
  # @return [::Gapic::Operation]
1628
2025
  #
1629
2026
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2027
+ #
2028
+ # @example Basic example
2029
+ # require "google/cloud/certificate_manager/v1"
2030
+ #
2031
+ # # Create a client object. The client can be reused for multiple calls.
2032
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
2033
+ #
2034
+ # # Create a request. To set request fields, pass in keyword arguments.
2035
+ # request = Google::Cloud::CertificateManager::V1::DeleteDnsAuthorizationRequest.new
2036
+ #
2037
+ # # Call the delete_dns_authorization method.
2038
+ # result = client.delete_dns_authorization request
2039
+ #
2040
+ # # The returned object is of type Gapic::Operation. You can use it to
2041
+ # # check the status of an operation, cancel it, or wait for results.
2042
+ # # Here is how to wait for a response.
2043
+ # result.wait_until_done! timeout: 60
2044
+ # if result.response?
2045
+ # p result.response
2046
+ # else
2047
+ # puts "No response received."
2048
+ # end
2049
+ #
1630
2050
  def delete_dns_authorization request, options = nil
1631
2051
  raise ::ArgumentError, "request must be provided" if request.nil?
1632
2052
 
@@ -1704,6 +2124,26 @@ module Google
1704
2124
  # @return [::Google::Cloud::CertificateManager::V1::ListCertificateIssuanceConfigsResponse]
1705
2125
  #
1706
2126
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2127
+ #
2128
+ # @example Basic example
2129
+ # require "google/cloud/certificate_manager/v1"
2130
+ #
2131
+ # # Create a client object. The client can be reused for multiple calls.
2132
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
2133
+ #
2134
+ # # Create a request. To set request fields, pass in keyword arguments.
2135
+ # request = Google::Cloud::CertificateManager::V1::ListCertificateIssuanceConfigsRequest.new
2136
+ #
2137
+ # # Call the list_certificate_issuance_configs method.
2138
+ # result = client.list_certificate_issuance_configs request
2139
+ #
2140
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2141
+ # # over elements, and API calls will be issued to fetch pages as needed.
2142
+ # result.each do |item|
2143
+ # # Each element is of type ::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig.
2144
+ # p item
2145
+ # end
2146
+ #
1707
2147
  def list_certificate_issuance_configs request, options = nil
1708
2148
  raise ::ArgumentError, "request must be provided" if request.nil?
1709
2149
 
@@ -1767,6 +2207,22 @@ module Google
1767
2207
  # @return [::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig]
1768
2208
  #
1769
2209
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2210
+ #
2211
+ # @example Basic example
2212
+ # require "google/cloud/certificate_manager/v1"
2213
+ #
2214
+ # # Create a client object. The client can be reused for multiple calls.
2215
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
2216
+ #
2217
+ # # Create a request. To set request fields, pass in keyword arguments.
2218
+ # request = Google::Cloud::CertificateManager::V1::GetCertificateIssuanceConfigRequest.new
2219
+ #
2220
+ # # Call the get_certificate_issuance_config method.
2221
+ # result = client.get_certificate_issuance_config request
2222
+ #
2223
+ # # The returned object is of type Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig.
2224
+ # p result
2225
+ #
1770
2226
  def get_certificate_issuance_config request, options = nil
1771
2227
  raise ::ArgumentError, "request must be provided" if request.nil?
1772
2228
 
@@ -1834,6 +2290,29 @@ module Google
1834
2290
  # @return [::Gapic::Operation]
1835
2291
  #
1836
2292
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2293
+ #
2294
+ # @example Basic example
2295
+ # require "google/cloud/certificate_manager/v1"
2296
+ #
2297
+ # # Create a client object. The client can be reused for multiple calls.
2298
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
2299
+ #
2300
+ # # Create a request. To set request fields, pass in keyword arguments.
2301
+ # request = Google::Cloud::CertificateManager::V1::CreateCertificateIssuanceConfigRequest.new
2302
+ #
2303
+ # # Call the create_certificate_issuance_config method.
2304
+ # result = client.create_certificate_issuance_config request
2305
+ #
2306
+ # # The returned object is of type Gapic::Operation. You can use it to
2307
+ # # check the status of an operation, cancel it, or wait for results.
2308
+ # # Here is how to wait for a response.
2309
+ # result.wait_until_done! timeout: 60
2310
+ # if result.response?
2311
+ # p result.response
2312
+ # else
2313
+ # puts "No response received."
2314
+ # end
2315
+ #
1837
2316
  def create_certificate_issuance_config request, options = nil
1838
2317
  raise ::ArgumentError, "request must be provided" if request.nil?
1839
2318
 
@@ -1898,6 +2377,29 @@ module Google
1898
2377
  # @return [::Gapic::Operation]
1899
2378
  #
1900
2379
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2380
+ #
2381
+ # @example Basic example
2382
+ # require "google/cloud/certificate_manager/v1"
2383
+ #
2384
+ # # Create a client object. The client can be reused for multiple calls.
2385
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
2386
+ #
2387
+ # # Create a request. To set request fields, pass in keyword arguments.
2388
+ # request = Google::Cloud::CertificateManager::V1::DeleteCertificateIssuanceConfigRequest.new
2389
+ #
2390
+ # # Call the delete_certificate_issuance_config method.
2391
+ # result = client.delete_certificate_issuance_config request
2392
+ #
2393
+ # # The returned object is of type Gapic::Operation. You can use it to
2394
+ # # check the status of an operation, cancel it, or wait for results.
2395
+ # # Here is how to wait for a response.
2396
+ # result.wait_until_done! timeout: 60
2397
+ # if result.response?
2398
+ # p result.response
2399
+ # else
2400
+ # puts "No response received."
2401
+ # end
2402
+ #
1901
2403
  def delete_certificate_issuance_config request, options = nil
1902
2404
  raise ::ArgumentError, "request must be provided" if request.nil?
1903
2405
 
@@ -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
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CertificateManager
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.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-certificate_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.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-06-06 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
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  - !ruby/object:Gem::Version
241
241
  version: '0'
242
242
  requirements: []
243
- rubygems_version: 3.4.2
243
+ rubygems_version: 3.4.19
244
244
  signing_key:
245
245
  specification_version: 4
246
246
  summary: API Client library for the Certificate Manager V1 API