google-cloud-metastore-v1beta 0.4.0 → 0.5.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: 71a6f62650164a0f55c61c3e21ca77ee52fae49edd74e73ec7c2e3ddfe3cfc79
4
- data.tar.gz: 7bc10fbf944b68f2fd3b211cb1cd1deb5426ec3ff9b272adba921d4682115416
3
+ metadata.gz: 2212f86910974ed330a8adab25a4d49837c285c7f23b067884229c79955b3c06
4
+ data.tar.gz: 6a8234f33763dca8c99a6315c93e214eef00593d9d659ffeaf14442bd5b35739
5
5
  SHA512:
6
- metadata.gz: 95cc5e8407a0b7a719efd1e2d9862858c6d97b00291d52f6c57105cdd1e5dd97c49e77c42c867639a7aa4c9cc87bf07e902a5384533f0c7eba606bf3747cb028
7
- data.tar.gz: 8f738642ae413e89a88acad7bc3aa1ac806b4111cfde56a0d739e2e540d338441496db4a1de6b4de05507a4fb1ec25ab32e733d6c3d27a4141046362aa728e00
6
+ metadata.gz: d720c88e152d8bed946d1a179f26d5734b440f3006f1fc4191d767efdc01a3eaa4565863fc5a9e47008fedc678eb3568c480218ca69ae5f42e281ab9e779f75e
7
+ data.tar.gz: aa2870156f33f5e4dd17c743b729535b6a5cd296d9b358f635a73be88c42d320b183e5cfbf90b9050dabeccc4f9fd6abf62cc6278d3472baf07d2a269838ec3f
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/metastore/v1beta/metastore_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -178,6 +180,18 @@ module Google
178
180
  config.endpoint = @config.endpoint
179
181
  end
180
182
 
183
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
184
+ config.credentials = credentials
185
+ config.quota_project = @quota_project_id
186
+ config.endpoint = @config.endpoint
187
+ end
188
+
189
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
190
+ config.credentials = credentials
191
+ config.quota_project = @quota_project_id
192
+ config.endpoint = @config.endpoint
193
+ end
194
+
181
195
  @dataproc_metastore_stub = ::Gapic::ServiceStub.new(
182
196
  ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Stub,
183
197
  credentials: credentials,
@@ -194,6 +208,20 @@ module Google
194
208
  #
195
209
  attr_reader :operations_client
196
210
 
211
+ ##
212
+ # Get the associated client for mix-in of the Locations.
213
+ #
214
+ # @return [Google::Cloud::Location::Locations::Client]
215
+ #
216
+ attr_reader :location_client
217
+
218
+ ##
219
+ # Get the associated client for mix-in of the IAMPolicy.
220
+ #
221
+ # @return [Google::Iam::V1::IAMPolicy::Client]
222
+ #
223
+ attr_reader :iam_policy_client
224
+
197
225
  # Service calls
198
226
 
199
227
  ##
@@ -261,13 +289,11 @@ module Google
261
289
  # # Call the list_services method.
262
290
  # result = client.list_services request
263
291
  #
264
- # # The returned object is of type Gapic::PagedEnumerable. You can
265
- # # iterate over all elements by calling #each, and the enumerable
266
- # # will lazily make API calls to fetch subsequent pages. Other
267
- # # methods are also available for managing paging directly.
268
- # result.each do |response|
292
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
293
+ # # over elements, and API calls will be issued to fetch pages as needed.
294
+ # result.each do |item|
269
295
  # # Each element is of type ::Google::Cloud::Metastore::V1beta::Service.
270
- # p response
296
+ # p item
271
297
  # end
272
298
  #
273
299
  def list_services request, options = nil
@@ -468,14 +494,14 @@ module Google
468
494
  # # Call the create_service method.
469
495
  # result = client.create_service request
470
496
  #
471
- # # The returned object is of type Gapic::Operation. You can use this
472
- # # object to check the status of an operation, cancel it, or wait
473
- # # for results. Here is how to block until completion:
497
+ # # The returned object is of type Gapic::Operation. You can use it to
498
+ # # check the status of an operation, cancel it, or wait for results.
499
+ # # Here is how to wait for a response.
474
500
  # result.wait_until_done! timeout: 60
475
501
  # if result.response?
476
502
  # p result.response
477
503
  # else
478
- # puts "Error!"
504
+ # puts "No response received."
479
505
  # end
480
506
  #
481
507
  def create_service request, options = nil
@@ -583,14 +609,14 @@ module Google
583
609
  # # Call the update_service method.
584
610
  # result = client.update_service request
585
611
  #
586
- # # The returned object is of type Gapic::Operation. You can use this
587
- # # object to check the status of an operation, cancel it, or wait
588
- # # for results. Here is how to block until completion:
612
+ # # The returned object is of type Gapic::Operation. You can use it to
613
+ # # check the status of an operation, cancel it, or wait for results.
614
+ # # Here is how to wait for a response.
589
615
  # result.wait_until_done! timeout: 60
590
616
  # if result.response?
591
617
  # p result.response
592
618
  # else
593
- # puts "Error!"
619
+ # puts "No response received."
594
620
  # end
595
621
  #
596
622
  def update_service request, options = nil
@@ -692,14 +718,14 @@ module Google
692
718
  # # Call the delete_service method.
693
719
  # result = client.delete_service request
694
720
  #
695
- # # The returned object is of type Gapic::Operation. You can use this
696
- # # object to check the status of an operation, cancel it, or wait
697
- # # for results. Here is how to block until completion:
721
+ # # The returned object is of type Gapic::Operation. You can use it to
722
+ # # check the status of an operation, cancel it, or wait for results.
723
+ # # Here is how to wait for a response.
698
724
  # result.wait_until_done! timeout: 60
699
725
  # if result.response?
700
726
  # p result.response
701
727
  # else
702
- # puts "Error!"
728
+ # puts "No response received."
703
729
  # end
704
730
  #
705
731
  def delete_service request, options = nil
@@ -808,13 +834,11 @@ module Google
808
834
  # # Call the list_metadata_imports method.
809
835
  # result = client.list_metadata_imports request
810
836
  #
811
- # # The returned object is of type Gapic::PagedEnumerable. You can
812
- # # iterate over all elements by calling #each, and the enumerable
813
- # # will lazily make API calls to fetch subsequent pages. Other
814
- # # methods are also available for managing paging directly.
815
- # result.each do |response|
837
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
838
+ # # over elements, and API calls will be issued to fetch pages as needed.
839
+ # result.each do |item|
816
840
  # # Each element is of type ::Google::Cloud::Metastore::V1beta::MetadataImport.
817
- # p response
841
+ # p item
818
842
  # end
819
843
  #
820
844
  def list_metadata_imports request, options = nil
@@ -1015,14 +1039,14 @@ module Google
1015
1039
  # # Call the create_metadata_import method.
1016
1040
  # result = client.create_metadata_import request
1017
1041
  #
1018
- # # The returned object is of type Gapic::Operation. You can use this
1019
- # # object to check the status of an operation, cancel it, or wait
1020
- # # for results. Here is how to block until completion:
1042
+ # # The returned object is of type Gapic::Operation. You can use it to
1043
+ # # check the status of an operation, cancel it, or wait for results.
1044
+ # # Here is how to wait for a response.
1021
1045
  # result.wait_until_done! timeout: 60
1022
1046
  # if result.response?
1023
1047
  # p result.response
1024
1048
  # else
1025
- # puts "Error!"
1049
+ # puts "No response received."
1026
1050
  # end
1027
1051
  #
1028
1052
  def create_metadata_import request, options = nil
@@ -1131,14 +1155,14 @@ module Google
1131
1155
  # # Call the update_metadata_import method.
1132
1156
  # result = client.update_metadata_import request
1133
1157
  #
1134
- # # The returned object is of type Gapic::Operation. You can use this
1135
- # # object to check the status of an operation, cancel it, or wait
1136
- # # for results. Here is how to block until completion:
1158
+ # # The returned object is of type Gapic::Operation. You can use it to
1159
+ # # check the status of an operation, cancel it, or wait for results.
1160
+ # # Here is how to wait for a response.
1137
1161
  # result.wait_until_done! timeout: 60
1138
1162
  # if result.response?
1139
1163
  # p result.response
1140
1164
  # else
1141
- # puts "Error!"
1165
+ # puts "No response received."
1142
1166
  # end
1143
1167
  #
1144
1168
  def update_metadata_import request, options = nil
@@ -1247,14 +1271,14 @@ module Google
1247
1271
  # # Call the export_metadata method.
1248
1272
  # result = client.export_metadata request
1249
1273
  #
1250
- # # The returned object is of type Gapic::Operation. You can use this
1251
- # # object to check the status of an operation, cancel it, or wait
1252
- # # for results. Here is how to block until completion:
1274
+ # # The returned object is of type Gapic::Operation. You can use it to
1275
+ # # check the status of an operation, cancel it, or wait for results.
1276
+ # # Here is how to wait for a response.
1253
1277
  # result.wait_until_done! timeout: 60
1254
1278
  # if result.response?
1255
1279
  # p result.response
1256
1280
  # else
1257
- # puts "Error!"
1281
+ # puts "No response received."
1258
1282
  # end
1259
1283
  #
1260
1284
  def export_metadata request, options = nil
@@ -1363,14 +1387,14 @@ module Google
1363
1387
  # # Call the restore_service method.
1364
1388
  # result = client.restore_service request
1365
1389
  #
1366
- # # The returned object is of type Gapic::Operation. You can use this
1367
- # # object to check the status of an operation, cancel it, or wait
1368
- # # for results. Here is how to block until completion:
1390
+ # # The returned object is of type Gapic::Operation. You can use it to
1391
+ # # check the status of an operation, cancel it, or wait for results.
1392
+ # # Here is how to wait for a response.
1369
1393
  # result.wait_until_done! timeout: 60
1370
1394
  # if result.response?
1371
1395
  # p result.response
1372
1396
  # else
1373
- # puts "Error!"
1397
+ # puts "No response received."
1374
1398
  # end
1375
1399
  #
1376
1400
  def restore_service request, options = nil
@@ -1479,13 +1503,11 @@ module Google
1479
1503
  # # Call the list_backups method.
1480
1504
  # result = client.list_backups request
1481
1505
  #
1482
- # # The returned object is of type Gapic::PagedEnumerable. You can
1483
- # # iterate over all elements by calling #each, and the enumerable
1484
- # # will lazily make API calls to fetch subsequent pages. Other
1485
- # # methods are also available for managing paging directly.
1486
- # result.each do |response|
1506
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1507
+ # # over elements, and API calls will be issued to fetch pages as needed.
1508
+ # result.each do |item|
1487
1509
  # # Each element is of type ::Google::Cloud::Metastore::V1beta::Backup.
1488
- # p response
1510
+ # p item
1489
1511
  # end
1490
1512
  #
1491
1513
  def list_backups request, options = nil
@@ -1685,14 +1707,14 @@ module Google
1685
1707
  # # Call the create_backup method.
1686
1708
  # result = client.create_backup request
1687
1709
  #
1688
- # # The returned object is of type Gapic::Operation. You can use this
1689
- # # object to check the status of an operation, cancel it, or wait
1690
- # # for results. Here is how to block until completion:
1710
+ # # The returned object is of type Gapic::Operation. You can use it to
1711
+ # # check the status of an operation, cancel it, or wait for results.
1712
+ # # Here is how to wait for a response.
1691
1713
  # result.wait_until_done! timeout: 60
1692
1714
  # if result.response?
1693
1715
  # p result.response
1694
1716
  # else
1695
- # puts "Error!"
1717
+ # puts "No response received."
1696
1718
  # end
1697
1719
  #
1698
1720
  def create_backup request, options = nil
@@ -1794,14 +1816,14 @@ module Google
1794
1816
  # # Call the delete_backup method.
1795
1817
  # result = client.delete_backup request
1796
1818
  #
1797
- # # The returned object is of type Gapic::Operation. You can use this
1798
- # # object to check the status of an operation, cancel it, or wait
1799
- # # for results. Here is how to block until completion:
1819
+ # # The returned object is of type Gapic::Operation. You can use it to
1820
+ # # check the status of an operation, cancel it, or wait for results.
1821
+ # # Here is how to wait for a response.
1800
1822
  # result.wait_until_done! timeout: 60
1801
1823
  # if result.response?
1802
1824
  # p result.response
1803
1825
  # else
1804
- # puts "Error!"
1826
+ # puts "No response received."
1805
1827
  # end
1806
1828
  #
1807
1829
  def delete_backup request, options = nil
@@ -1986,14 +2008,14 @@ module Google
1986
2008
  # # Call the query_metadata method.
1987
2009
  # result = client.query_metadata request
1988
2010
  #
1989
- # # The returned object is of type Gapic::Operation. You can use this
1990
- # # object to check the status of an operation, cancel it, or wait
1991
- # # for results. Here is how to block until completion:
2011
+ # # The returned object is of type Gapic::Operation. You can use it to
2012
+ # # check the status of an operation, cancel it, or wait for results.
2013
+ # # Here is how to wait for a response.
1992
2014
  # result.wait_until_done! timeout: 60
1993
2015
  # if result.response?
1994
2016
  # p result.response
1995
2017
  # else
1996
- # puts "Error!"
2018
+ # puts "No response received."
1997
2019
  # end
1998
2020
  #
1999
2021
  def query_metadata request, options = nil
@@ -2088,14 +2110,14 @@ module Google
2088
2110
  # # Call the move_table_to_database method.
2089
2111
  # result = client.move_table_to_database request
2090
2112
  #
2091
- # # The returned object is of type Gapic::Operation. You can use this
2092
- # # object to check the status of an operation, cancel it, or wait
2093
- # # for results. Here is how to block until completion:
2113
+ # # The returned object is of type Gapic::Operation. You can use it to
2114
+ # # check the status of an operation, cancel it, or wait for results.
2115
+ # # Here is how to wait for a response.
2094
2116
  # result.wait_until_done! timeout: 60
2095
2117
  # if result.response?
2096
2118
  # p result.response
2097
2119
  # else
2098
- # puts "Error!"
2120
+ # puts "No response received."
2099
2121
  # end
2100
2122
  #
2101
2123
  def move_table_to_database request, options = nil
@@ -2197,14 +2219,14 @@ module Google
2197
2219
  # # Call the alter_metadata_resource_location method.
2198
2220
  # result = client.alter_metadata_resource_location request
2199
2221
  #
2200
- # # The returned object is of type Gapic::Operation. You can use this
2201
- # # object to check the status of an operation, cancel it, or wait
2202
- # # for results. Here is how to block until completion:
2222
+ # # The returned object is of type Gapic::Operation. You can use it to
2223
+ # # check the status of an operation, cancel it, or wait for results.
2224
+ # # Here is how to wait for a response.
2203
2225
  # result.wait_until_done! timeout: 60
2204
2226
  # if result.response?
2205
2227
  # p result.response
2206
2228
  # else
2207
- # puts "Error!"
2229
+ # puts "No response received."
2208
2230
  # end
2209
2231
  #
2210
2232
  def alter_metadata_resource_location 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
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/metastore/v1beta/metastore_federation_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -151,6 +153,18 @@ module Google
151
153
  config.endpoint = @config.endpoint
152
154
  end
153
155
 
156
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
157
+ config.credentials = credentials
158
+ config.quota_project = @quota_project_id
159
+ config.endpoint = @config.endpoint
160
+ end
161
+
162
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
163
+ config.credentials = credentials
164
+ config.quota_project = @quota_project_id
165
+ config.endpoint = @config.endpoint
166
+ end
167
+
154
168
  @dataproc_metastore_federation_stub = ::Gapic::ServiceStub.new(
155
169
  ::Google::Cloud::Metastore::V1beta::DataprocMetastoreFederation::Stub,
156
170
  credentials: credentials,
@@ -167,6 +181,20 @@ module Google
167
181
  #
168
182
  attr_reader :operations_client
169
183
 
184
+ ##
185
+ # Get the associated client for mix-in of the Locations.
186
+ #
187
+ # @return [Google::Cloud::Location::Locations::Client]
188
+ #
189
+ attr_reader :location_client
190
+
191
+ ##
192
+ # Get the associated client for mix-in of the IAMPolicy.
193
+ #
194
+ # @return [Google::Iam::V1::IAMPolicy::Client]
195
+ #
196
+ attr_reader :iam_policy_client
197
+
170
198
  # Service calls
171
199
 
172
200
  ##
@@ -232,13 +260,11 @@ module Google
232
260
  # # Call the list_federations method.
233
261
  # result = client.list_federations request
234
262
  #
235
- # # The returned object is of type Gapic::PagedEnumerable. You can
236
- # # iterate over all elements by calling #each, and the enumerable
237
- # # will lazily make API calls to fetch subsequent pages. Other
238
- # # methods are also available for managing paging directly.
239
- # result.each do |response|
263
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
264
+ # # over elements, and API calls will be issued to fetch pages as needed.
265
+ # result.each do |item|
240
266
  # # Each element is of type ::Google::Cloud::Metastore::V1beta::Federation.
241
- # p response
267
+ # p item
242
268
  # end
243
269
  #
244
270
  def list_federations request, options = nil
@@ -439,14 +465,14 @@ module Google
439
465
  # # Call the create_federation method.
440
466
  # result = client.create_federation request
441
467
  #
442
- # # The returned object is of type Gapic::Operation. You can use this
443
- # # object to check the status of an operation, cancel it, or wait
444
- # # for results. Here is how to block until completion:
468
+ # # The returned object is of type Gapic::Operation. You can use it to
469
+ # # check the status of an operation, cancel it, or wait for results.
470
+ # # Here is how to wait for a response.
445
471
  # result.wait_until_done! timeout: 60
446
472
  # if result.response?
447
473
  # p result.response
448
474
  # else
449
- # puts "Error!"
475
+ # puts "No response received."
450
476
  # end
451
477
  #
452
478
  def create_federation request, options = nil
@@ -554,14 +580,14 @@ module Google
554
580
  # # Call the update_federation method.
555
581
  # result = client.update_federation request
556
582
  #
557
- # # The returned object is of type Gapic::Operation. You can use this
558
- # # object to check the status of an operation, cancel it, or wait
559
- # # for results. Here is how to block until completion:
583
+ # # The returned object is of type Gapic::Operation. You can use it to
584
+ # # check the status of an operation, cancel it, or wait for results.
585
+ # # Here is how to wait for a response.
560
586
  # result.wait_until_done! timeout: 60
561
587
  # if result.response?
562
588
  # p result.response
563
589
  # else
564
- # puts "Error!"
590
+ # puts "No response received."
565
591
  # end
566
592
  #
567
593
  def update_federation request, options = nil
@@ -663,14 +689,14 @@ module Google
663
689
  # # Call the delete_federation method.
664
690
  # result = client.delete_federation request
665
691
  #
666
- # # The returned object is of type Gapic::Operation. You can use this
667
- # # object to check the status of an operation, cancel it, or wait
668
- # # for results. Here is how to block until completion:
692
+ # # The returned object is of type Gapic::Operation. You can use it to
693
+ # # check the status of an operation, cancel it, or wait for results.
694
+ # # Here is how to wait for a response.
669
695
  # result.wait_until_done! timeout: 60
670
696
  # if result.response?
671
697
  # p result.response
672
698
  # else
673
- # puts "Error!"
699
+ # puts "No response received."
674
700
  # end
675
701
  #
676
702
  def delete_federation 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 Metastore
23
23
  module V1beta
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-metastore-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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-01-06 00:00:00.000000000 Z
11
+ date: 2023-02-17 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.17.1
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.17.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -44,20 +44,60 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: google-cloud-location
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0.4'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: 2.a
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0.4'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: 2.a
67
+ - !ruby/object:Gem::Dependency
68
+ name: google-iam-v1
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0.4'
74
+ - - "<"
75
+ - !ruby/object:Gem::Version
76
+ version: 2.a
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0.4'
84
+ - - "<"
85
+ - !ruby/object:Gem::Version
86
+ version: 2.a
47
87
  - !ruby/object:Gem::Dependency
48
88
  name: google-style
49
89
  requirement: !ruby/object:Gem::Requirement
50
90
  requirements:
51
91
  - - "~>"
52
92
  - !ruby/object:Gem::Version
53
- version: 1.26.1
93
+ version: 1.26.3
54
94
  type: :development
55
95
  prerelease: false
56
96
  version_requirements: !ruby/object:Gem::Requirement
57
97
  requirements:
58
98
  - - "~>"
59
99
  - !ruby/object:Gem::Version
60
- version: 1.26.1
100
+ version: 1.26.3
61
101
  - !ruby/object:Gem::Dependency
62
102
  name: minitest
63
103
  requirement: !ruby/object:Gem::Requirement
@@ -224,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
264
  - !ruby/object:Gem::Version
225
265
  version: '0'
226
266
  requirements: []
227
- rubygems_version: 3.3.14
267
+ rubygems_version: 3.4.2
228
268
  signing_key:
229
269
  specification_version: 4
230
270
  summary: API Client library for the Dataproc Metastore V1beta API