google-cloud-certificate_manager-v1 0.4.1 → 0.4.2

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: 5e581375372d0113ee0df9a9698e0a6b2bc992bf9dbc009f87bed0bbedf4124c
4
- data.tar.gz: 6962b446d02ec8d992c53dffe683696d45cc6fff66078f1f477ac2a6358b81e1
3
+ metadata.gz: c9389e4634607be587dfbe3e2109f56ce69b20e41121b50f4350d0062fa91603
4
+ data.tar.gz: 5f3130a6f33b13d3cfbb0a874d21becfdf3235da5625d6f4a371c365f6d61965
5
5
  SHA512:
6
- metadata.gz: 9a7770db119042654ba1d882e83034a43beb17e08e6f42a812f39fc6e7278a78c358fe66055e48fd879e1e1563ad549ea0cf4de6670a4fa9b8a2ecfb73385091
7
- data.tar.gz: 78b23ac6fe8e4e14da2db5222b02e1fda645fe239d65d3a397d7128426040fd9d97dd99fb2c5db6887dfdffcf4cce0b4684958891625f36b37e9ccff47f0667a
6
+ metadata.gz: ae40865a7e10646cb14c496ddb91c8a3ba989ad3c36e7f3f62a1e0ce5ef5efe2c8f1d3688b2edc83392c41b387cccfb5dc9c9f01edc1daf11f2858d25a5cb0ad
7
+ data.tar.gz: 780c67433299ad134e5bb86873d448ed66d4cafe31e0e02cbcdeb7eabb509cf6e13b038797321774106de1929d706c436d08a0dc0179ec821a5fc393167faafe
@@ -370,13 +370,11 @@ module Google
370
370
  # # Call the list_certificates method.
371
371
  # result = client.list_certificates request
372
372
  #
373
- # # The returned object is of type Gapic::PagedEnumerable. You can
374
- # # iterate over all elements by calling #each, and the enumerable
375
- # # will lazily make API calls to fetch subsequent pages. Other
376
- # # methods are also available for managing paging directly.
377
- # result.each do |response|
373
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
374
+ # # over elements, and API calls will be issued to fetch pages as needed.
375
+ # result.each do |item|
378
376
  # # Each element is of type ::Google::Cloud::CertificateManager::V1::Certificate.
379
- # p response
377
+ # p item
380
378
  # end
381
379
  #
382
380
  def list_certificates request, options = nil
@@ -553,14 +551,14 @@ module Google
553
551
  # # Call the create_certificate method.
554
552
  # result = client.create_certificate request
555
553
  #
556
- # # The returned object is of type Gapic::Operation. You can use this
557
- # # object to check the status of an operation, cancel it, or wait
558
- # # for results. Here is how to block until completion:
554
+ # # The returned object is of type Gapic::Operation. You can use it to
555
+ # # check the status of an operation, cancel it, or wait for results.
556
+ # # Here is how to wait for a response.
559
557
  # result.wait_until_done! timeout: 60
560
558
  # if result.response?
561
559
  # p result.response
562
560
  # else
563
- # puts "Error!"
561
+ # puts "No response received."
564
562
  # end
565
563
  #
566
564
  def create_certificate request, options = nil
@@ -650,14 +648,14 @@ module Google
650
648
  # # Call the update_certificate method.
651
649
  # result = client.update_certificate request
652
650
  #
653
- # # The returned object is of type Gapic::Operation. You can use this
654
- # # object to check the status of an operation, cancel it, or wait
655
- # # for results. Here is how to block until completion:
651
+ # # The returned object is of type Gapic::Operation. You can use it to
652
+ # # check the status of an operation, cancel it, or wait for results.
653
+ # # Here is how to wait for a response.
656
654
  # result.wait_until_done! timeout: 60
657
655
  # if result.response?
658
656
  # p result.response
659
657
  # else
660
- # puts "Error!"
658
+ # puts "No response received."
661
659
  # end
662
660
  #
663
661
  def update_certificate request, options = nil
@@ -744,14 +742,14 @@ module Google
744
742
  # # Call the delete_certificate method.
745
743
  # result = client.delete_certificate request
746
744
  #
747
- # # The returned object is of type Gapic::Operation. You can use this
748
- # # object to check the status of an operation, cancel it, or wait
749
- # # for results. Here is how to block until completion:
745
+ # # The returned object is of type Gapic::Operation. You can use it to
746
+ # # check the status of an operation, cancel it, or wait for results.
747
+ # # Here is how to wait for a response.
750
748
  # result.wait_until_done! timeout: 60
751
749
  # if result.response?
752
750
  # p result.response
753
751
  # else
754
- # puts "Error!"
752
+ # puts "No response received."
755
753
  # end
756
754
  #
757
755
  def delete_certificate request, options = nil
@@ -850,13 +848,11 @@ module Google
850
848
  # # Call the list_certificate_maps method.
851
849
  # result = client.list_certificate_maps request
852
850
  #
853
- # # The returned object is of type Gapic::PagedEnumerable. You can
854
- # # iterate over all elements by calling #each, and the enumerable
855
- # # will lazily make API calls to fetch subsequent pages. Other
856
- # # methods are also available for managing paging directly.
857
- # result.each do |response|
851
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
852
+ # # over elements, and API calls will be issued to fetch pages as needed.
853
+ # result.each do |item|
858
854
  # # Each element is of type ::Google::Cloud::CertificateManager::V1::CertificateMap.
859
- # p response
855
+ # p item
860
856
  # end
861
857
  #
862
858
  def list_certificate_maps request, options = nil
@@ -1033,14 +1029,14 @@ module Google
1033
1029
  # # Call the create_certificate_map method.
1034
1030
  # result = client.create_certificate_map request
1035
1031
  #
1036
- # # The returned object is of type Gapic::Operation. You can use this
1037
- # # object to check the status of an operation, cancel it, or wait
1038
- # # for results. Here is how to block until completion:
1032
+ # # The returned object is of type Gapic::Operation. You can use it to
1033
+ # # check the status of an operation, cancel it, or wait for results.
1034
+ # # Here is how to wait for a response.
1039
1035
  # result.wait_until_done! timeout: 60
1040
1036
  # if result.response?
1041
1037
  # p result.response
1042
1038
  # else
1043
- # puts "Error!"
1039
+ # puts "No response received."
1044
1040
  # end
1045
1041
  #
1046
1042
  def create_certificate_map request, options = nil
@@ -1130,14 +1126,14 @@ module Google
1130
1126
  # # Call the update_certificate_map method.
1131
1127
  # result = client.update_certificate_map request
1132
1128
  #
1133
- # # The returned object is of type Gapic::Operation. You can use this
1134
- # # object to check the status of an operation, cancel it, or wait
1135
- # # for results. Here is how to block until completion:
1129
+ # # The returned object is of type Gapic::Operation. You can use it to
1130
+ # # check the status of an operation, cancel it, or wait for results.
1131
+ # # Here is how to wait for a response.
1136
1132
  # result.wait_until_done! timeout: 60
1137
1133
  # if result.response?
1138
1134
  # p result.response
1139
1135
  # else
1140
- # puts "Error!"
1136
+ # puts "No response received."
1141
1137
  # end
1142
1138
  #
1143
1139
  def update_certificate_map request, options = nil
@@ -1226,14 +1222,14 @@ module Google
1226
1222
  # # Call the delete_certificate_map method.
1227
1223
  # result = client.delete_certificate_map request
1228
1224
  #
1229
- # # The returned object is of type Gapic::Operation. You can use this
1230
- # # object to check the status of an operation, cancel it, or wait
1231
- # # for results. Here is how to block until completion:
1225
+ # # The returned object is of type Gapic::Operation. You can use it to
1226
+ # # check the status of an operation, cancel it, or wait for results.
1227
+ # # Here is how to wait for a response.
1232
1228
  # result.wait_until_done! timeout: 60
1233
1229
  # if result.response?
1234
1230
  # p result.response
1235
1231
  # else
1236
- # puts "Error!"
1232
+ # puts "No response received."
1237
1233
  # end
1238
1234
  #
1239
1235
  def delete_certificate_map request, options = nil
@@ -1337,13 +1333,11 @@ module Google
1337
1333
  # # Call the list_certificate_map_entries method.
1338
1334
  # result = client.list_certificate_map_entries request
1339
1335
  #
1340
- # # The returned object is of type Gapic::PagedEnumerable. You can
1341
- # # iterate over all elements by calling #each, and the enumerable
1342
- # # will lazily make API calls to fetch subsequent pages. Other
1343
- # # methods are also available for managing paging directly.
1344
- # result.each do |response|
1336
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1337
+ # # over elements, and API calls will be issued to fetch pages as needed.
1338
+ # result.each do |item|
1345
1339
  # # Each element is of type ::Google::Cloud::CertificateManager::V1::CertificateMapEntry.
1346
- # p response
1340
+ # p item
1347
1341
  # end
1348
1342
  #
1349
1343
  def list_certificate_map_entries request, options = nil
@@ -1520,14 +1514,14 @@ module Google
1520
1514
  # # Call the create_certificate_map_entry method.
1521
1515
  # result = client.create_certificate_map_entry request
1522
1516
  #
1523
- # # The returned object is of type Gapic::Operation. You can use this
1524
- # # object to check the status of an operation, cancel it, or wait
1525
- # # for results. Here is how to block until completion:
1517
+ # # The returned object is of type Gapic::Operation. You can use it to
1518
+ # # check the status of an operation, cancel it, or wait for results.
1519
+ # # Here is how to wait for a response.
1526
1520
  # result.wait_until_done! timeout: 60
1527
1521
  # if result.response?
1528
1522
  # p result.response
1529
1523
  # else
1530
- # puts "Error!"
1524
+ # puts "No response received."
1531
1525
  # end
1532
1526
  #
1533
1527
  def create_certificate_map_entry request, options = nil
@@ -1617,14 +1611,14 @@ module Google
1617
1611
  # # Call the update_certificate_map_entry method.
1618
1612
  # result = client.update_certificate_map_entry request
1619
1613
  #
1620
- # # The returned object is of type Gapic::Operation. You can use this
1621
- # # object to check the status of an operation, cancel it, or wait
1622
- # # for results. Here is how to block until completion:
1614
+ # # The returned object is of type Gapic::Operation. You can use it to
1615
+ # # check the status of an operation, cancel it, or wait for results.
1616
+ # # Here is how to wait for a response.
1623
1617
  # result.wait_until_done! timeout: 60
1624
1618
  # if result.response?
1625
1619
  # p result.response
1626
1620
  # else
1627
- # puts "Error!"
1621
+ # puts "No response received."
1628
1622
  # end
1629
1623
  #
1630
1624
  def update_certificate_map_entry request, options = nil
@@ -1711,14 +1705,14 @@ module Google
1711
1705
  # # Call the delete_certificate_map_entry method.
1712
1706
  # result = client.delete_certificate_map_entry request
1713
1707
  #
1714
- # # The returned object is of type Gapic::Operation. You can use this
1715
- # # object to check the status of an operation, cancel it, or wait
1716
- # # for results. Here is how to block until completion:
1708
+ # # The returned object is of type Gapic::Operation. You can use it to
1709
+ # # check the status of an operation, cancel it, or wait for results.
1710
+ # # Here is how to wait for a response.
1717
1711
  # result.wait_until_done! timeout: 60
1718
1712
  # if result.response?
1719
1713
  # p result.response
1720
1714
  # else
1721
- # puts "Error!"
1715
+ # puts "No response received."
1722
1716
  # end
1723
1717
  #
1724
1718
  def delete_certificate_map_entry request, options = nil
@@ -1817,13 +1811,11 @@ module Google
1817
1811
  # # Call the list_dns_authorizations method.
1818
1812
  # result = client.list_dns_authorizations request
1819
1813
  #
1820
- # # The returned object is of type Gapic::PagedEnumerable. You can
1821
- # # iterate over all elements by calling #each, and the enumerable
1822
- # # will lazily make API calls to fetch subsequent pages. Other
1823
- # # methods are also available for managing paging directly.
1824
- # result.each do |response|
1814
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1815
+ # # over elements, and API calls will be issued to fetch pages as needed.
1816
+ # result.each do |item|
1825
1817
  # # Each element is of type ::Google::Cloud::CertificateManager::V1::DnsAuthorization.
1826
- # p response
1818
+ # p item
1827
1819
  # end
1828
1820
  #
1829
1821
  def list_dns_authorizations request, options = nil
@@ -2000,14 +1992,14 @@ module Google
2000
1992
  # # Call the create_dns_authorization method.
2001
1993
  # result = client.create_dns_authorization request
2002
1994
  #
2003
- # # The returned object is of type Gapic::Operation. You can use this
2004
- # # object to check the status of an operation, cancel it, or wait
2005
- # # for results. Here is how to block until completion:
1995
+ # # The returned object is of type Gapic::Operation. You can use it to
1996
+ # # check the status of an operation, cancel it, or wait for results.
1997
+ # # Here is how to wait for a response.
2006
1998
  # result.wait_until_done! timeout: 60
2007
1999
  # if result.response?
2008
2000
  # p result.response
2009
2001
  # else
2010
- # puts "Error!"
2002
+ # puts "No response received."
2011
2003
  # end
2012
2004
  #
2013
2005
  def create_dns_authorization request, options = nil
@@ -2097,14 +2089,14 @@ module Google
2097
2089
  # # Call the update_dns_authorization method.
2098
2090
  # result = client.update_dns_authorization request
2099
2091
  #
2100
- # # The returned object is of type Gapic::Operation. You can use this
2101
- # # object to check the status of an operation, cancel it, or wait
2102
- # # for results. Here is how to block until completion:
2092
+ # # The returned object is of type Gapic::Operation. You can use it to
2093
+ # # check the status of an operation, cancel it, or wait for results.
2094
+ # # Here is how to wait for a response.
2103
2095
  # result.wait_until_done! timeout: 60
2104
2096
  # if result.response?
2105
2097
  # p result.response
2106
2098
  # else
2107
- # puts "Error!"
2099
+ # puts "No response received."
2108
2100
  # end
2109
2101
  #
2110
2102
  def update_dns_authorization request, options = nil
@@ -2191,14 +2183,14 @@ module Google
2191
2183
  # # Call the delete_dns_authorization method.
2192
2184
  # result = client.delete_dns_authorization request
2193
2185
  #
2194
- # # The returned object is of type Gapic::Operation. You can use this
2195
- # # object to check the status of an operation, cancel it, or wait
2196
- # # for results. Here is how to block until completion:
2186
+ # # The returned object is of type Gapic::Operation. You can use it to
2187
+ # # check the status of an operation, cancel it, or wait for results.
2188
+ # # Here is how to wait for a response.
2197
2189
  # result.wait_until_done! timeout: 60
2198
2190
  # if result.response?
2199
2191
  # p result.response
2200
2192
  # else
2201
- # puts "Error!"
2193
+ # puts "No response received."
2202
2194
  # end
2203
2195
  #
2204
2196
  def delete_dns_authorization request, options = nil
@@ -2298,13 +2290,11 @@ module Google
2298
2290
  # # Call the list_certificate_issuance_configs method.
2299
2291
  # result = client.list_certificate_issuance_configs request
2300
2292
  #
2301
- # # The returned object is of type Gapic::PagedEnumerable. You can
2302
- # # iterate over all elements by calling #each, and the enumerable
2303
- # # will lazily make API calls to fetch subsequent pages. Other
2304
- # # methods are also available for managing paging directly.
2305
- # result.each do |response|
2293
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2294
+ # # over elements, and API calls will be issued to fetch pages as needed.
2295
+ # result.each do |item|
2306
2296
  # # Each element is of type ::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig.
2307
- # p response
2297
+ # p item
2308
2298
  # end
2309
2299
  #
2310
2300
  def list_certificate_issuance_configs request, options = nil
@@ -2481,14 +2471,14 @@ module Google
2481
2471
  # # Call the create_certificate_issuance_config method.
2482
2472
  # result = client.create_certificate_issuance_config request
2483
2473
  #
2484
- # # The returned object is of type Gapic::Operation. You can use this
2485
- # # object to check the status of an operation, cancel it, or wait
2486
- # # for results. Here is how to block until completion:
2474
+ # # The returned object is of type Gapic::Operation. You can use it to
2475
+ # # check the status of an operation, cancel it, or wait for results.
2476
+ # # Here is how to wait for a response.
2487
2477
  # result.wait_until_done! timeout: 60
2488
2478
  # if result.response?
2489
2479
  # p result.response
2490
2480
  # else
2491
- # puts "Error!"
2481
+ # puts "No response received."
2492
2482
  # end
2493
2483
  #
2494
2484
  def create_certificate_issuance_config request, options = nil
@@ -2575,14 +2565,14 @@ module Google
2575
2565
  # # Call the delete_certificate_issuance_config method.
2576
2566
  # result = client.delete_certificate_issuance_config request
2577
2567
  #
2578
- # # The returned object is of type Gapic::Operation. You can use this
2579
- # # object to check the status of an operation, cancel it, or wait
2580
- # # for results. Here is how to block until completion:
2568
+ # # The returned object is of type Gapic::Operation. You can use it to
2569
+ # # check the status of an operation, cancel it, or wait for results.
2570
+ # # Here is how to wait for a response.
2581
2571
  # result.wait_until_done! timeout: 60
2582
2572
  # if result.response?
2583
2573
  # p result.response
2584
2574
  # else
2585
- # puts "Error!"
2575
+ # puts "No response received."
2586
2576
  # end
2587
2577
  #
2588
2578
  def delete_certificate_issuance_config request, options = nil
@@ -158,13 +158,11 @@ module Google
158
158
  # # Call the list_operations method.
159
159
  # result = client.list_operations request
160
160
  #
161
- # # The returned object is of type Gapic::PagedEnumerable. You can
162
- # # iterate over all elements by calling #each, and the enumerable
163
- # # will lazily make API calls to fetch subsequent pages. Other
164
- # # methods are also available for managing paging directly.
165
- # result.each do |response|
161
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
162
+ # # over elements, and API calls will be issued to fetch pages as needed.
163
+ # result.each do |item|
166
164
  # # Each element is of type ::Google::Longrunning::Operation.
167
- # p response
165
+ # p item
168
166
  # end
169
167
  #
170
168
  def list_operations request, options = nil
@@ -253,14 +251,14 @@ module Google
253
251
  # # Call the get_operation method.
254
252
  # result = client.get_operation request
255
253
  #
256
- # # The returned object is of type Gapic::Operation. You can use this
257
- # # object to check the status of an operation, cancel it, or wait
258
- # # for results. Here is how to block until completion:
254
+ # # The returned object is of type Gapic::Operation. You can use it to
255
+ # # check the status of an operation, cancel it, or wait for results.
256
+ # # Here is how to wait for a response.
259
257
  # result.wait_until_done! timeout: 60
260
258
  # if result.response?
261
259
  # p result.response
262
260
  # else
263
- # puts "Error!"
261
+ # puts "No response received."
264
262
  # end
265
263
  #
266
264
  def get_operation request, options = nil
@@ -540,14 +538,14 @@ module Google
540
538
  # # Call the wait_operation method.
541
539
  # result = client.wait_operation request
542
540
  #
543
- # # The returned object is of type Gapic::Operation. You can use this
544
- # # object to check the status of an operation, cancel it, or wait
545
- # # for results. Here is how to block until completion:
541
+ # # The returned object is of type Gapic::Operation. You can use it to
542
+ # # check the status of an operation, cancel it, or wait for results.
543
+ # # Here is how to wait for a response.
546
544
  # result.wait_until_done! timeout: 60
547
545
  # if result.response?
548
546
  # p result.response
549
547
  # else
550
- # puts "Error!"
548
+ # puts "No response received."
551
549
  # end
552
550
  #
553
551
  def wait_operation request, options = nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CertificateManager
23
23
  module V1
24
- VERSION = "0.4.1"
24
+ VERSION = "0.4.2"
25
25
  end
26
26
  end
27
27
  end
@@ -9,6 +9,7 @@ require 'google/api/field_behavior_pb'
9
9
  require 'google/api/resource_pb'
10
10
  require 'google/cloud/certificatemanager/v1/certificate_issuance_config_pb'
11
11
  require 'google/longrunning/operations_pb'
12
+ require 'google/protobuf/empty_pb'
12
13
  require 'google/protobuf/field_mask_pb'
13
14
  require 'google/protobuf/timestamp_pb'
14
15
 
@@ -751,7 +751,7 @@ module Google
751
751
  # @!attribute [rw] certificates
752
752
  # @return [::Array<::String>]
753
753
  # A set of Certificates defines for the given `hostname`. There can be
754
- # defined up to fifteen certificates in each Certificate Map Entry. Each
754
+ # defined up to four certificates in each Certificate Map Entry. Each
755
755
  # certificate must match pattern `projects/*/locations/*/certificates/*`.
756
756
  # @!attribute [r] state
757
757
  # @return [::Google::Cloud::CertificateManager::V1::ServingState]
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.4.1
4
+ version: 0.4.2
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-01-27 00:00:00.000000000 Z
11
+ date: 2023-03-01 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.16.0
19
+ version: 0.18.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.16.0
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.3'
53
+ version: '0.4'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.3'
63
+ version: '0.4'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
@@ -70,14 +70,14 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: 1.26.1
73
+ version: 1.26.3
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: 1.26.1
80
+ version: 1.26.3
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: minitest
83
83
  requirement: !ruby/object:Gem::Requirement