google-cloud-certificate_manager-v1 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/certificate_manager/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/client.rb +76 -86
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/operations.rb +12 -14
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/client.rb +2249 -0
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/operations.rb +793 -0
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/service_stub.rb +1473 -0
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest.rb +79 -0
- data/lib/google/cloud/certificate_manager/v1/certificate_manager.rb +6 -0
- data/lib/google/cloud/certificate_manager/v1/rest.rb +38 -0
- data/lib/google/cloud/certificate_manager/v1/version.rb +1 -1
- data/lib/google/cloud/certificate_manager/v1.rb +5 -0
- data/lib/google/cloud/certificatemanager/v1/certificate_manager_pb.rb +1 -0
- data/proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb +1 -1
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee33affb06d2eed88e9f846abbb9542e5a608c1dbd9830858ff91074645ef044
|
4
|
+
data.tar.gz: 949d1dcebfc79902b3ec6957441ccde5c137159579201be22d7893f7dd22d7fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86bb8f70ccbb5d64a323f47259ef9b4338050881258b13db2915bae0c7104763befc9b3813ce96b547384bf3836a1f1d20b84f449ceb6cb5fcef1c249ab50028
|
7
|
+
data.tar.gz: 54216381db71f8840f8a1f2e0b480adef791be7404e076249df94e98d05dca6c61f88df1758afe056808f382622086230ef198c44d06ab4e2678ec42cd5c79a4
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/config"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module CertificateManager
|
24
|
+
##
|
25
|
+
# @example Loading just the REST part of this package, including all its services, and instantiating a REST client
|
26
|
+
#
|
27
|
+
# require "google/cloud/certificate_manager/v1/rest"
|
28
|
+
# client = ::Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
|
29
|
+
#
|
30
|
+
module V1
|
31
|
+
##
|
32
|
+
# @private
|
33
|
+
# Initialize the mixin bindings configuration
|
34
|
+
#
|
35
|
+
def self.configure
|
36
|
+
@configure ||= begin
|
37
|
+
namespace = ["Google", "Cloud", "CertificateManager"]
|
38
|
+
parent_config = while namespace.any?
|
39
|
+
parent_name = namespace.join "::"
|
40
|
+
parent_const = const_get parent_name
|
41
|
+
break parent_const.configure if parent_const.respond_to? :configure
|
42
|
+
namespace.pop
|
43
|
+
end
|
44
|
+
|
45
|
+
default_config = Configuration.new parent_config
|
46
|
+
default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
|
47
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
48
|
+
uri_method: :get,
|
49
|
+
uri_template: "/v1/{name}",
|
50
|
+
matches: [
|
51
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
52
|
+
],
|
53
|
+
body: nil
|
54
|
+
)
|
55
|
+
]
|
56
|
+
default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
|
57
|
+
|
58
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
59
|
+
uri_method: :get,
|
60
|
+
uri_template: "/v1/{name}/locations",
|
61
|
+
matches: [
|
62
|
+
["name", %r{^projects/[^/]+/?$}, false]
|
63
|
+
],
|
64
|
+
body: nil
|
65
|
+
)
|
66
|
+
]
|
67
|
+
default_config
|
68
|
+
end
|
69
|
+
yield @configure if block_given?
|
70
|
+
@configure
|
71
|
+
end
|
72
|
+
|
73
|
+
##
|
74
|
+
# @private
|
75
|
+
# Configuration class for the google.cloud.certificatemanager.v1 package.
|
76
|
+
#
|
77
|
+
# This class contains common configuration for all services
|
78
|
+
# of the google.cloud.certificatemanager.v1 package.
|
79
|
+
#
|
80
|
+
# This configuration is for internal use of the client library classes,
|
81
|
+
# and it is not intended that the end-users will read or change it.
|
82
|
+
#
|
83
|
+
class Configuration
|
84
|
+
extend ::Gapic::Config
|
85
|
+
|
86
|
+
# @private
|
87
|
+
# Overrides for http bindings for the RPC of the mixins for this package.
|
88
|
+
# Services in this package should use these when creating clients for the mixin services.
|
89
|
+
# @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
|
90
|
+
config_attr :bindings_override, {}, ::Hash, nil
|
91
|
+
|
92
|
+
# @private
|
93
|
+
def initialize parent_config = nil
|
94
|
+
@parent_config = parent_config unless parent_config.nil?
|
95
|
+
|
96
|
+
yield self if block_given?
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -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
|
-
# #
|
375
|
-
#
|
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
|
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
|
557
|
-
# #
|
558
|
-
# #
|
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 "
|
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
|
654
|
-
# #
|
655
|
-
# #
|
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 "
|
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
|
748
|
-
# #
|
749
|
-
# #
|
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 "
|
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
|
-
# #
|
855
|
-
#
|
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
|
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
|
1037
|
-
# #
|
1038
|
-
# #
|
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 "
|
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
|
1134
|
-
# #
|
1135
|
-
# #
|
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 "
|
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
|
1230
|
-
# #
|
1231
|
-
# #
|
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 "
|
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
|
-
# #
|
1342
|
-
#
|
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
|
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
|
1524
|
-
# #
|
1525
|
-
# #
|
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 "
|
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
|
1621
|
-
# #
|
1622
|
-
# #
|
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 "
|
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
|
1715
|
-
# #
|
1716
|
-
# #
|
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 "
|
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
|
-
# #
|
1822
|
-
#
|
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
|
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
|
2004
|
-
# #
|
2005
|
-
# #
|
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 "
|
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
|
2101
|
-
# #
|
2102
|
-
# #
|
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 "
|
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
|
2195
|
-
# #
|
2196
|
-
# #
|
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 "
|
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
|
-
# #
|
2303
|
-
#
|
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
|
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
|
2485
|
-
# #
|
2486
|
-
# #
|
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 "
|
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
|
2579
|
-
# #
|
2580
|
-
# #
|
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 "
|
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
|
-
# #
|
163
|
-
#
|
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
|
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
|
257
|
-
# #
|
258
|
-
# #
|
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 "
|
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
|
544
|
-
# #
|
545
|
-
# #
|
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 "
|
548
|
+
# puts "No response received."
|
551
549
|
# end
|
552
550
|
#
|
553
551
|
def wait_operation request, options = nil
|