google-cloud-bigtable-admin-v2 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -20
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/client.rb +35 -22
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/operations.rb +12 -15
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +40 -31
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/operations.rb +12 -15
- data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 031bc1cf074d669b340b72ee82425655a1d615ad15adbb759a193faf96e2a005
|
4
|
+
data.tar.gz: 59a14a20d6e05245d5d6e3097b0bd07808761998c13b44e7761015ecfeaa62ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92973aad7e72fe5b84176dce60de5bbe78ac3b9c73015051dd659abbcac3e4de049993b40755c011207ca765c44935d13d5ca7f50b015d2b5de99381a1ffb0fa
|
7
|
+
data.tar.gz: 445ef7347c7e90a4c5d500171c2523a8eeabed47aca3207fae6944b0eade0cc127567fdf14c0bdae3f7482d925f3bc144ed3552db4ce0f4636cc155e67351e94
|
data/README.md
CHANGED
@@ -43,33 +43,43 @@ for class and method documentation.
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/bigtable)
|
44
44
|
for general usage information.
|
45
45
|
|
46
|
-
##
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
46
|
+
## Debug Logging
|
47
|
+
|
48
|
+
This library comes with opt-in Debug Logging that can help you troubleshoot
|
49
|
+
your application's integration with the API. When logging is activated, key
|
50
|
+
events such as requests and responses, along with data payloads and metadata
|
51
|
+
such as headers and client configuration, are logged to the standard error
|
52
|
+
stream.
|
53
|
+
|
54
|
+
**WARNING:** Client Library Debug Logging includes your data payloads in
|
55
|
+
plaintext, which could include sensitive data such as PII for yourself or your
|
56
|
+
customers, private keys, or other security data that could be compromising if
|
57
|
+
leaked. Always practice good data hygiene with your application logs, and follow
|
58
|
+
the principle of least access. Google also recommends that Client Library Debug
|
59
|
+
Logging be enabled only temporarily during active debugging, and not used
|
60
|
+
permanently in production.
|
61
|
+
|
62
|
+
To enable logging, set the environment variable `GOOGLE_SDK_RUBY_LOGGING_GEMS`
|
63
|
+
to the value `all`. Alternatively, you can set the value to a comma-delimited
|
64
|
+
list of client library gem names. This will select the default logging behavior,
|
65
|
+
which writes logs to the standard error stream. On a local workstation, this may
|
66
|
+
result in logs appearing on the console. When running on a Google Cloud hosting
|
67
|
+
service such as [Google Cloud Run](https://cloud.google.com/run), this generally
|
68
|
+
results in logs appearing alongside your application logs in the
|
69
|
+
[Google Cloud Logging](https://cloud.google.com/logging/) service.
|
70
|
+
|
71
|
+
You can customize logging by modifying the `logger` configuration when
|
72
|
+
constructing a client object. For example:
|
55
73
|
|
56
74
|
```ruby
|
75
|
+
require "google/cloud/bigtable/admin/v2"
|
57
76
|
require "logger"
|
58
77
|
|
59
|
-
|
60
|
-
|
61
|
-
def logger
|
62
|
-
LOGGER
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
# Define a gRPC module-level logger method before grpc/logconfig.rb loads.
|
67
|
-
module GRPC
|
68
|
-
extend MyLogger
|
78
|
+
client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new do |config|
|
79
|
+
config.logger = Logger.new "my-app.log"
|
69
80
|
end
|
70
81
|
```
|
71
82
|
|
72
|
-
|
73
83
|
## Google Cloud Samples
|
74
84
|
|
75
85
|
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
@@ -246,8 +246,19 @@ module Google
|
|
246
246
|
universe_domain: @config.universe_domain,
|
247
247
|
channel_args: @config.channel_args,
|
248
248
|
interceptors: @config.interceptors,
|
249
|
-
channel_pool_config: @config.channel_pool
|
249
|
+
channel_pool_config: @config.channel_pool,
|
250
|
+
logger: @config.logger
|
250
251
|
)
|
252
|
+
|
253
|
+
@bigtable_instance_admin_stub.stub_logger&.info do |entry|
|
254
|
+
entry.set_system_name
|
255
|
+
entry.set_service
|
256
|
+
entry.message = "Created client for #{entry.service}"
|
257
|
+
entry.set_credentials_fields credentials
|
258
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
259
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
260
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
261
|
+
end
|
251
262
|
end
|
252
263
|
|
253
264
|
##
|
@@ -257,6 +268,15 @@ module Google
|
|
257
268
|
#
|
258
269
|
attr_reader :operations_client
|
259
270
|
|
271
|
+
##
|
272
|
+
# The logger used for request/response debug logging.
|
273
|
+
#
|
274
|
+
# @return [Logger]
|
275
|
+
#
|
276
|
+
def logger
|
277
|
+
@bigtable_instance_admin_stub.logger
|
278
|
+
end
|
279
|
+
|
260
280
|
# Service calls
|
261
281
|
|
262
282
|
##
|
@@ -367,7 +387,7 @@ module Google
|
|
367
387
|
@bigtable_instance_admin_stub.call_rpc :create_instance, request, options: options do |response, operation|
|
368
388
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
369
389
|
yield response, operation if block_given?
|
370
|
-
|
390
|
+
throw :response, response
|
371
391
|
end
|
372
392
|
rescue ::GRPC::BadStatus => e
|
373
393
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -454,7 +474,6 @@ module Google
|
|
454
474
|
|
455
475
|
@bigtable_instance_admin_stub.call_rpc :get_instance, request, options: options do |response, operation|
|
456
476
|
yield response, operation if block_given?
|
457
|
-
return response
|
458
477
|
end
|
459
478
|
rescue ::GRPC::BadStatus => e
|
460
479
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -543,7 +562,6 @@ module Google
|
|
543
562
|
|
544
563
|
@bigtable_instance_admin_stub.call_rpc :list_instances, request, options: options do |response, operation|
|
545
564
|
yield response, operation if block_given?
|
546
|
-
return response
|
547
565
|
end
|
548
566
|
rescue ::GRPC::BadStatus => e
|
549
567
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -653,7 +671,6 @@ module Google
|
|
653
671
|
|
654
672
|
@bigtable_instance_admin_stub.call_rpc :update_instance, request, options: options do |response, operation|
|
655
673
|
yield response, operation if block_given?
|
656
|
-
return response
|
657
674
|
end
|
658
675
|
rescue ::GRPC::BadStatus => e
|
659
676
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -751,7 +768,7 @@ module Google
|
|
751
768
|
@bigtable_instance_admin_stub.call_rpc :partial_update_instance, request, options: options do |response, operation|
|
752
769
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
753
770
|
yield response, operation if block_given?
|
754
|
-
|
771
|
+
throw :response, response
|
755
772
|
end
|
756
773
|
rescue ::GRPC::BadStatus => e
|
757
774
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -838,7 +855,6 @@ module Google
|
|
838
855
|
|
839
856
|
@bigtable_instance_admin_stub.call_rpc :delete_instance, request, options: options do |response, operation|
|
840
857
|
yield response, operation if block_given?
|
841
|
-
return response
|
842
858
|
end
|
843
859
|
rescue ::GRPC::BadStatus => e
|
844
860
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -946,7 +962,7 @@ module Google
|
|
946
962
|
@bigtable_instance_admin_stub.call_rpc :create_cluster, request, options: options do |response, operation|
|
947
963
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
948
964
|
yield response, operation if block_given?
|
949
|
-
|
965
|
+
throw :response, response
|
950
966
|
end
|
951
967
|
rescue ::GRPC::BadStatus => e
|
952
968
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1033,7 +1049,6 @@ module Google
|
|
1033
1049
|
|
1034
1050
|
@bigtable_instance_admin_stub.call_rpc :get_cluster, request, options: options do |response, operation|
|
1035
1051
|
yield response, operation if block_given?
|
1036
|
-
return response
|
1037
1052
|
end
|
1038
1053
|
rescue ::GRPC::BadStatus => e
|
1039
1054
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1125,7 +1140,6 @@ module Google
|
|
1125
1140
|
|
1126
1141
|
@bigtable_instance_admin_stub.call_rpc :list_clusters, request, options: options do |response, operation|
|
1127
1142
|
yield response, operation if block_given?
|
1128
|
-
return response
|
1129
1143
|
end
|
1130
1144
|
rescue ::GRPC::BadStatus => e
|
1131
1145
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1241,7 +1255,7 @@ module Google
|
|
1241
1255
|
@bigtable_instance_admin_stub.call_rpc :update_cluster, request, options: options do |response, operation|
|
1242
1256
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1243
1257
|
yield response, operation if block_given?
|
1244
|
-
|
1258
|
+
throw :response, response
|
1245
1259
|
end
|
1246
1260
|
rescue ::GRPC::BadStatus => e
|
1247
1261
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1349,7 +1363,7 @@ module Google
|
|
1349
1363
|
@bigtable_instance_admin_stub.call_rpc :partial_update_cluster, request, options: options do |response, operation|
|
1350
1364
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1351
1365
|
yield response, operation if block_given?
|
1352
|
-
|
1366
|
+
throw :response, response
|
1353
1367
|
end
|
1354
1368
|
rescue ::GRPC::BadStatus => e
|
1355
1369
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1436,7 +1450,6 @@ module Google
|
|
1436
1450
|
|
1437
1451
|
@bigtable_instance_admin_stub.call_rpc :delete_cluster, request, options: options do |response, operation|
|
1438
1452
|
yield response, operation if block_given?
|
1439
|
-
return response
|
1440
1453
|
end
|
1441
1454
|
rescue ::GRPC::BadStatus => e
|
1442
1455
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1532,7 +1545,6 @@ module Google
|
|
1532
1545
|
|
1533
1546
|
@bigtable_instance_admin_stub.call_rpc :create_app_profile, request, options: options do |response, operation|
|
1534
1547
|
yield response, operation if block_given?
|
1535
|
-
return response
|
1536
1548
|
end
|
1537
1549
|
rescue ::GRPC::BadStatus => e
|
1538
1550
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1619,7 +1631,6 @@ module Google
|
|
1619
1631
|
|
1620
1632
|
@bigtable_instance_admin_stub.call_rpc :get_app_profile, request, options: options do |response, operation|
|
1621
1633
|
yield response, operation if block_given?
|
1622
|
-
return response
|
1623
1634
|
end
|
1624
1635
|
rescue ::GRPC::BadStatus => e
|
1625
1636
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1726,7 +1737,7 @@ module Google
|
|
1726
1737
|
@bigtable_instance_admin_stub.call_rpc :list_app_profiles, request, options: options do |response, operation|
|
1727
1738
|
response = ::Gapic::PagedEnumerable.new @bigtable_instance_admin_stub, :list_app_profiles, request, response, operation, options
|
1728
1739
|
yield response, operation if block_given?
|
1729
|
-
|
1740
|
+
throw :response, response
|
1730
1741
|
end
|
1731
1742
|
rescue ::GRPC::BadStatus => e
|
1732
1743
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1825,7 +1836,7 @@ module Google
|
|
1825
1836
|
@bigtable_instance_admin_stub.call_rpc :update_app_profile, request, options: options do |response, operation|
|
1826
1837
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1827
1838
|
yield response, operation if block_given?
|
1828
|
-
|
1839
|
+
throw :response, response
|
1829
1840
|
end
|
1830
1841
|
rescue ::GRPC::BadStatus => e
|
1831
1842
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1915,7 +1926,6 @@ module Google
|
|
1915
1926
|
|
1916
1927
|
@bigtable_instance_admin_stub.call_rpc :delete_app_profile, request, options: options do |response, operation|
|
1917
1928
|
yield response, operation if block_given?
|
1918
|
-
return response
|
1919
1929
|
end
|
1920
1930
|
rescue ::GRPC::BadStatus => e
|
1921
1931
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2006,7 +2016,6 @@ module Google
|
|
2006
2016
|
|
2007
2017
|
@bigtable_instance_admin_stub.call_rpc :get_iam_policy, request, options: options do |response, operation|
|
2008
2018
|
yield response, operation if block_given?
|
2009
|
-
return response
|
2010
2019
|
end
|
2011
2020
|
rescue ::GRPC::BadStatus => e
|
2012
2021
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2105,7 +2114,6 @@ module Google
|
|
2105
2114
|
|
2106
2115
|
@bigtable_instance_admin_stub.call_rpc :set_iam_policy, request, options: options do |response, operation|
|
2107
2116
|
yield response, operation if block_given?
|
2108
|
-
return response
|
2109
2117
|
end
|
2110
2118
|
rescue ::GRPC::BadStatus => e
|
2111
2119
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2197,7 +2205,6 @@ module Google
|
|
2197
2205
|
|
2198
2206
|
@bigtable_instance_admin_stub.call_rpc :test_iam_permissions, request, options: options do |response, operation|
|
2199
2207
|
yield response, operation if block_given?
|
2200
|
-
return response
|
2201
2208
|
end
|
2202
2209
|
rescue ::GRPC::BadStatus => e
|
2203
2210
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2312,7 +2319,7 @@ module Google
|
|
2312
2319
|
@bigtable_instance_admin_stub.call_rpc :list_hot_tablets, request, options: options do |response, operation|
|
2313
2320
|
response = ::Gapic::PagedEnumerable.new @bigtable_instance_admin_stub, :list_hot_tablets, request, response, operation, options
|
2314
2321
|
yield response, operation if block_given?
|
2315
|
-
|
2322
|
+
throw :response, response
|
2316
2323
|
end
|
2317
2324
|
rescue ::GRPC::BadStatus => e
|
2318
2325
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2401,6 +2408,11 @@ module Google
|
|
2401
2408
|
# default endpoint URL. The default value of nil uses the environment
|
2402
2409
|
# universe (usually the default "googleapis.com" universe).
|
2403
2410
|
# @return [::String,nil]
|
2411
|
+
# @!attribute [rw] logger
|
2412
|
+
# A custom logger to use for request/response debug logging, or the value
|
2413
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
2414
|
+
# explicitly disable logging.
|
2415
|
+
# @return [::Logger,:default,nil]
|
2404
2416
|
#
|
2405
2417
|
class Configuration
|
2406
2418
|
extend ::Gapic::Config
|
@@ -2425,6 +2437,7 @@ module Google
|
|
2425
2437
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
2426
2438
|
config_attr :quota_project, nil, ::String, nil
|
2427
2439
|
config_attr :universe_domain, nil, ::String, nil
|
2440
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
2428
2441
|
|
2429
2442
|
# @private
|
2430
2443
|
def initialize parent_config = nil
|
@@ -125,14 +125,6 @@ module Google
|
|
125
125
|
# Lists operations that match the specified filter in the request. If the
|
126
126
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
127
127
|
#
|
128
|
-
# NOTE: the `name` binding allows API services to override the binding
|
129
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
130
|
-
# override the binding, API services can add a binding such as
|
131
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
132
|
-
# For backwards compatibility, the default name includes the operations
|
133
|
-
# collection id, however overriding users must ensure the name binding
|
134
|
-
# is the parent resource, without the operations collection id.
|
135
|
-
#
|
136
128
|
# @overload list_operations(request, options = nil)
|
137
129
|
# Pass arguments to `list_operations` via a request object, either of type
|
138
130
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -222,7 +214,7 @@ module Google
|
|
222
214
|
wrap_lro_operation = ->(op_response) { ::Gapic::Operation.new op_response, @operations_client }
|
223
215
|
response = ::Gapic::PagedEnumerable.new @operations_stub, :list_operations, request, response, operation, options, format_resource: wrap_lro_operation
|
224
216
|
yield response, operation if block_given?
|
225
|
-
|
217
|
+
throw :response, response
|
226
218
|
end
|
227
219
|
rescue ::GRPC::BadStatus => e
|
228
220
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -318,7 +310,7 @@ module Google
|
|
318
310
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
319
311
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
320
312
|
yield response, operation if block_given?
|
321
|
-
|
313
|
+
throw :response, response
|
322
314
|
end
|
323
315
|
rescue ::GRPC::BadStatus => e
|
324
316
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -407,7 +399,6 @@ module Google
|
|
407
399
|
|
408
400
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
409
401
|
yield response, operation if block_given?
|
410
|
-
return response
|
411
402
|
end
|
412
403
|
rescue ::GRPC::BadStatus => e
|
413
404
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -422,8 +413,9 @@ module Google
|
|
422
413
|
# other methods to check whether the cancellation succeeded or whether the
|
423
414
|
# operation completed despite cancellation. On successful cancellation,
|
424
415
|
# the operation is not deleted; instead, it becomes an operation with
|
425
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
426
|
-
# corresponding to
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
418
|
+
# `Code.CANCELLED`.
|
427
419
|
#
|
428
420
|
# @overload cancel_operation(request, options = nil)
|
429
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -502,7 +494,6 @@ module Google
|
|
502
494
|
|
503
495
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
504
496
|
yield response, operation if block_given?
|
505
|
-
return response
|
506
497
|
end
|
507
498
|
rescue ::GRPC::BadStatus => e
|
508
499
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -600,7 +591,7 @@ module Google
|
|
600
591
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
601
592
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
602
593
|
yield response, operation if block_given?
|
603
|
-
|
594
|
+
throw :response, response
|
604
595
|
end
|
605
596
|
rescue ::GRPC::BadStatus => e
|
606
597
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -689,6 +680,11 @@ module Google
|
|
689
680
|
# default endpoint URL. The default value of nil uses the environment
|
690
681
|
# universe (usually the default "googleapis.com" universe).
|
691
682
|
# @return [::String,nil]
|
683
|
+
# @!attribute [rw] logger
|
684
|
+
# A custom logger to use for request/response debug logging, or the value
|
685
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
686
|
+
# explicitly disable logging.
|
687
|
+
# @return [::Logger,:default,nil]
|
692
688
|
#
|
693
689
|
class Configuration
|
694
690
|
extend ::Gapic::Config
|
@@ -713,6 +709,7 @@ module Google
|
|
713
709
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
714
710
|
config_attr :quota_project, nil, ::String, nil
|
715
711
|
config_attr :universe_domain, nil, ::String, nil
|
712
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
716
713
|
|
717
714
|
# @private
|
718
715
|
def initialize parent_config = nil
|
@@ -239,8 +239,19 @@ module Google
|
|
239
239
|
universe_domain: @config.universe_domain,
|
240
240
|
channel_args: @config.channel_args,
|
241
241
|
interceptors: @config.interceptors,
|
242
|
-
channel_pool_config: @config.channel_pool
|
242
|
+
channel_pool_config: @config.channel_pool,
|
243
|
+
logger: @config.logger
|
243
244
|
)
|
245
|
+
|
246
|
+
@bigtable_table_admin_stub.stub_logger&.info do |entry|
|
247
|
+
entry.set_system_name
|
248
|
+
entry.set_service
|
249
|
+
entry.message = "Created client for #{entry.service}"
|
250
|
+
entry.set_credentials_fields credentials
|
251
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
252
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
253
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
254
|
+
end
|
244
255
|
end
|
245
256
|
|
246
257
|
##
|
@@ -250,6 +261,15 @@ module Google
|
|
250
261
|
#
|
251
262
|
attr_reader :operations_client
|
252
263
|
|
264
|
+
##
|
265
|
+
# The logger used for request/response debug logging.
|
266
|
+
#
|
267
|
+
# @return [Logger]
|
268
|
+
#
|
269
|
+
def logger
|
270
|
+
@bigtable_table_admin_stub.logger
|
271
|
+
end
|
272
|
+
|
253
273
|
# Service calls
|
254
274
|
|
255
275
|
##
|
@@ -358,7 +378,6 @@ module Google
|
|
358
378
|
|
359
379
|
@bigtable_table_admin_stub.call_rpc :create_table, request, options: options do |response, operation|
|
360
380
|
yield response, operation if block_given?
|
361
|
-
return response
|
362
381
|
end
|
363
382
|
rescue ::GRPC::BadStatus => e
|
364
383
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -468,7 +487,7 @@ module Google
|
|
468
487
|
@bigtable_table_admin_stub.call_rpc :create_table_from_snapshot, request, options: options do |response, operation|
|
469
488
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
470
489
|
yield response, operation if block_given?
|
471
|
-
|
490
|
+
throw :response, response
|
472
491
|
end
|
473
492
|
rescue ::GRPC::BadStatus => e
|
474
493
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -575,7 +594,7 @@ module Google
|
|
575
594
|
@bigtable_table_admin_stub.call_rpc :list_tables, request, options: options do |response, operation|
|
576
595
|
response = ::Gapic::PagedEnumerable.new @bigtable_table_admin_stub, :list_tables, request, response, operation, options
|
577
596
|
yield response, operation if block_given?
|
578
|
-
|
597
|
+
throw :response, response
|
579
598
|
end
|
580
599
|
rescue ::GRPC::BadStatus => e
|
581
600
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -666,7 +685,6 @@ module Google
|
|
666
685
|
|
667
686
|
@bigtable_table_admin_stub.call_rpc :get_table, request, options: options do |response, operation|
|
668
687
|
yield response, operation if block_given?
|
669
|
-
return response
|
670
688
|
end
|
671
689
|
rescue ::GRPC::BadStatus => e
|
672
690
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -774,7 +792,7 @@ module Google
|
|
774
792
|
@bigtable_table_admin_stub.call_rpc :update_table, request, options: options do |response, operation|
|
775
793
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
776
794
|
yield response, operation if block_given?
|
777
|
-
|
795
|
+
throw :response, response
|
778
796
|
end
|
779
797
|
rescue ::GRPC::BadStatus => e
|
780
798
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -862,7 +880,6 @@ module Google
|
|
862
880
|
|
863
881
|
@bigtable_table_admin_stub.call_rpc :delete_table, request, options: options do |response, operation|
|
864
882
|
yield response, operation if block_given?
|
865
|
-
return response
|
866
883
|
end
|
867
884
|
rescue ::GRPC::BadStatus => e
|
868
885
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -958,7 +975,7 @@ module Google
|
|
958
975
|
@bigtable_table_admin_stub.call_rpc :undelete_table, request, options: options do |response, operation|
|
959
976
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
960
977
|
yield response, operation if block_given?
|
961
|
-
|
978
|
+
throw :response, response
|
962
979
|
end
|
963
980
|
rescue ::GRPC::BadStatus => e
|
964
981
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1061,7 +1078,7 @@ module Google
|
|
1061
1078
|
@bigtable_table_admin_stub.call_rpc :create_authorized_view, request, options: options do |response, operation|
|
1062
1079
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1063
1080
|
yield response, operation if block_given?
|
1064
|
-
|
1081
|
+
throw :response, response
|
1065
1082
|
end
|
1066
1083
|
rescue ::GRPC::BadStatus => e
|
1067
1084
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1169,7 +1186,7 @@ module Google
|
|
1169
1186
|
@bigtable_table_admin_stub.call_rpc :list_authorized_views, request, options: options do |response, operation|
|
1170
1187
|
response = ::Gapic::PagedEnumerable.new @bigtable_table_admin_stub, :list_authorized_views, request, response, operation, options
|
1171
1188
|
yield response, operation if block_given?
|
1172
|
-
|
1189
|
+
throw :response, response
|
1173
1190
|
end
|
1174
1191
|
rescue ::GRPC::BadStatus => e
|
1175
1192
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1260,7 +1277,6 @@ module Google
|
|
1260
1277
|
|
1261
1278
|
@bigtable_table_admin_stub.call_rpc :get_authorized_view, request, options: options do |response, operation|
|
1262
1279
|
yield response, operation if block_given?
|
1263
|
-
return response
|
1264
1280
|
end
|
1265
1281
|
rescue ::GRPC::BadStatus => e
|
1266
1282
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1368,7 +1384,7 @@ module Google
|
|
1368
1384
|
@bigtable_table_admin_stub.call_rpc :update_authorized_view, request, options: options do |response, operation|
|
1369
1385
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1370
1386
|
yield response, operation if block_given?
|
1371
|
-
|
1387
|
+
throw :response, response
|
1372
1388
|
end
|
1373
1389
|
rescue ::GRPC::BadStatus => e
|
1374
1390
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1461,7 +1477,6 @@ module Google
|
|
1461
1477
|
|
1462
1478
|
@bigtable_table_admin_stub.call_rpc :delete_authorized_view, request, options: options do |response, operation|
|
1463
1479
|
yield response, operation if block_given?
|
1464
|
-
return response
|
1465
1480
|
end
|
1466
1481
|
rescue ::GRPC::BadStatus => e
|
1467
1482
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1559,7 +1574,6 @@ module Google
|
|
1559
1574
|
|
1560
1575
|
@bigtable_table_admin_stub.call_rpc :modify_column_families, request, options: options do |response, operation|
|
1561
1576
|
yield response, operation if block_given?
|
1562
|
-
return response
|
1563
1577
|
end
|
1564
1578
|
rescue ::GRPC::BadStatus => e
|
1565
1579
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1654,7 +1668,6 @@ module Google
|
|
1654
1668
|
|
1655
1669
|
@bigtable_table_admin_stub.call_rpc :drop_row_range, request, options: options do |response, operation|
|
1656
1670
|
yield response, operation if block_given?
|
1657
|
-
return response
|
1658
1671
|
end
|
1659
1672
|
rescue ::GRPC::BadStatus => e
|
1660
1673
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1745,7 +1758,6 @@ module Google
|
|
1745
1758
|
|
1746
1759
|
@bigtable_table_admin_stub.call_rpc :generate_consistency_token, request, options: options do |response, operation|
|
1747
1760
|
yield response, operation if block_given?
|
1748
|
-
return response
|
1749
1761
|
end
|
1750
1762
|
rescue ::GRPC::BadStatus => e
|
1751
1763
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1845,7 +1857,6 @@ module Google
|
|
1845
1857
|
|
1846
1858
|
@bigtable_table_admin_stub.call_rpc :check_consistency, request, options: options do |response, operation|
|
1847
1859
|
yield response, operation if block_given?
|
1848
|
-
return response
|
1849
1860
|
end
|
1850
1861
|
rescue ::GRPC::BadStatus => e
|
1851
1862
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1964,7 +1975,7 @@ module Google
|
|
1964
1975
|
@bigtable_table_admin_stub.call_rpc :snapshot_table, request, options: options do |response, operation|
|
1965
1976
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1966
1977
|
yield response, operation if block_given?
|
1967
|
-
|
1978
|
+
throw :response, response
|
1968
1979
|
end
|
1969
1980
|
rescue ::GRPC::BadStatus => e
|
1970
1981
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2058,7 +2069,6 @@ module Google
|
|
2058
2069
|
|
2059
2070
|
@bigtable_table_admin_stub.call_rpc :get_snapshot, request, options: options do |response, operation|
|
2060
2071
|
yield response, operation if block_given?
|
2061
|
-
return response
|
2062
2072
|
end
|
2063
2073
|
rescue ::GRPC::BadStatus => e
|
2064
2074
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2164,7 +2174,7 @@ module Google
|
|
2164
2174
|
@bigtable_table_admin_stub.call_rpc :list_snapshots, request, options: options do |response, operation|
|
2165
2175
|
response = ::Gapic::PagedEnumerable.new @bigtable_table_admin_stub, :list_snapshots, request, response, operation, options
|
2166
2176
|
yield response, operation if block_given?
|
2167
|
-
|
2177
|
+
throw :response, response
|
2168
2178
|
end
|
2169
2179
|
rescue ::GRPC::BadStatus => e
|
2170
2180
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2258,7 +2268,6 @@ module Google
|
|
2258
2268
|
|
2259
2269
|
@bigtable_table_admin_stub.call_rpc :delete_snapshot, request, options: options do |response, operation|
|
2260
2270
|
yield response, operation if block_given?
|
2261
|
-
return response
|
2262
2271
|
end
|
2263
2272
|
rescue ::GRPC::BadStatus => e
|
2264
2273
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2370,7 +2379,7 @@ module Google
|
|
2370
2379
|
@bigtable_table_admin_stub.call_rpc :create_backup, request, options: options do |response, operation|
|
2371
2380
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
2372
2381
|
yield response, operation if block_given?
|
2373
|
-
|
2382
|
+
throw :response, response
|
2374
2383
|
end
|
2375
2384
|
rescue ::GRPC::BadStatus => e
|
2376
2385
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2458,7 +2467,6 @@ module Google
|
|
2458
2467
|
|
2459
2468
|
@bigtable_table_admin_stub.call_rpc :get_backup, request, options: options do |response, operation|
|
2460
2469
|
yield response, operation if block_given?
|
2461
|
-
return response
|
2462
2470
|
end
|
2463
2471
|
rescue ::GRPC::BadStatus => e
|
2464
2472
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2554,7 +2562,6 @@ module Google
|
|
2554
2562
|
|
2555
2563
|
@bigtable_table_admin_stub.call_rpc :update_backup, request, options: options do |response, operation|
|
2556
2564
|
yield response, operation if block_given?
|
2557
|
-
return response
|
2558
2565
|
end
|
2559
2566
|
rescue ::GRPC::BadStatus => e
|
2560
2567
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2642,7 +2649,6 @@ module Google
|
|
2642
2649
|
|
2643
2650
|
@bigtable_table_admin_stub.call_rpc :delete_backup, request, options: options do |response, operation|
|
2644
2651
|
yield response, operation if block_given?
|
2645
|
-
return response
|
2646
2652
|
end
|
2647
2653
|
rescue ::GRPC::BadStatus => e
|
2648
2654
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2803,7 +2809,7 @@ module Google
|
|
2803
2809
|
@bigtable_table_admin_stub.call_rpc :list_backups, request, options: options do |response, operation|
|
2804
2810
|
response = ::Gapic::PagedEnumerable.new @bigtable_table_admin_stub, :list_backups, request, response, operation, options
|
2805
2811
|
yield response, operation if block_given?
|
2806
|
-
|
2812
|
+
throw :response, response
|
2807
2813
|
end
|
2808
2814
|
rescue ::GRPC::BadStatus => e
|
2809
2815
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2912,7 +2918,7 @@ module Google
|
|
2912
2918
|
@bigtable_table_admin_stub.call_rpc :restore_table, request, options: options do |response, operation|
|
2913
2919
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
2914
2920
|
yield response, operation if block_given?
|
2915
|
-
|
2921
|
+
throw :response, response
|
2916
2922
|
end
|
2917
2923
|
rescue ::GRPC::BadStatus => e
|
2918
2924
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -3030,7 +3036,7 @@ module Google
|
|
3030
3036
|
@bigtable_table_admin_stub.call_rpc :copy_backup, request, options: options do |response, operation|
|
3031
3037
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
3032
3038
|
yield response, operation if block_given?
|
3033
|
-
|
3039
|
+
throw :response, response
|
3034
3040
|
end
|
3035
3041
|
rescue ::GRPC::BadStatus => e
|
3036
3042
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -3122,7 +3128,6 @@ module Google
|
|
3122
3128
|
|
3123
3129
|
@bigtable_table_admin_stub.call_rpc :get_iam_policy, request, options: options do |response, operation|
|
3124
3130
|
yield response, operation if block_given?
|
3125
|
-
return response
|
3126
3131
|
end
|
3127
3132
|
rescue ::GRPC::BadStatus => e
|
3128
3133
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -3221,7 +3226,6 @@ module Google
|
|
3221
3226
|
|
3222
3227
|
@bigtable_table_admin_stub.call_rpc :set_iam_policy, request, options: options do |response, operation|
|
3223
3228
|
yield response, operation if block_given?
|
3224
|
-
return response
|
3225
3229
|
end
|
3226
3230
|
rescue ::GRPC::BadStatus => e
|
3227
3231
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -3314,7 +3318,6 @@ module Google
|
|
3314
3318
|
|
3315
3319
|
@bigtable_table_admin_stub.call_rpc :test_iam_permissions, request, options: options do |response, operation|
|
3316
3320
|
yield response, operation if block_given?
|
3317
|
-
return response
|
3318
3321
|
end
|
3319
3322
|
rescue ::GRPC::BadStatus => e
|
3320
3323
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -3403,6 +3406,11 @@ module Google
|
|
3403
3406
|
# default endpoint URL. The default value of nil uses the environment
|
3404
3407
|
# universe (usually the default "googleapis.com" universe).
|
3405
3408
|
# @return [::String,nil]
|
3409
|
+
# @!attribute [rw] logger
|
3410
|
+
# A custom logger to use for request/response debug logging, or the value
|
3411
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
3412
|
+
# explicitly disable logging.
|
3413
|
+
# @return [::Logger,:default,nil]
|
3406
3414
|
#
|
3407
3415
|
class Configuration
|
3408
3416
|
extend ::Gapic::Config
|
@@ -3427,6 +3435,7 @@ module Google
|
|
3427
3435
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
3428
3436
|
config_attr :quota_project, nil, ::String, nil
|
3429
3437
|
config_attr :universe_domain, nil, ::String, nil
|
3438
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
3430
3439
|
|
3431
3440
|
# @private
|
3432
3441
|
def initialize parent_config = nil
|
@@ -125,14 +125,6 @@ module Google
|
|
125
125
|
# Lists operations that match the specified filter in the request. If the
|
126
126
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
127
127
|
#
|
128
|
-
# NOTE: the `name` binding allows API services to override the binding
|
129
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
130
|
-
# override the binding, API services can add a binding such as
|
131
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
132
|
-
# For backwards compatibility, the default name includes the operations
|
133
|
-
# collection id, however overriding users must ensure the name binding
|
134
|
-
# is the parent resource, without the operations collection id.
|
135
|
-
#
|
136
128
|
# @overload list_operations(request, options = nil)
|
137
129
|
# Pass arguments to `list_operations` via a request object, either of type
|
138
130
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -222,7 +214,7 @@ module Google
|
|
222
214
|
wrap_lro_operation = ->(op_response) { ::Gapic::Operation.new op_response, @operations_client }
|
223
215
|
response = ::Gapic::PagedEnumerable.new @operations_stub, :list_operations, request, response, operation, options, format_resource: wrap_lro_operation
|
224
216
|
yield response, operation if block_given?
|
225
|
-
|
217
|
+
throw :response, response
|
226
218
|
end
|
227
219
|
rescue ::GRPC::BadStatus => e
|
228
220
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -318,7 +310,7 @@ module Google
|
|
318
310
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
319
311
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
320
312
|
yield response, operation if block_given?
|
321
|
-
|
313
|
+
throw :response, response
|
322
314
|
end
|
323
315
|
rescue ::GRPC::BadStatus => e
|
324
316
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -407,7 +399,6 @@ module Google
|
|
407
399
|
|
408
400
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
409
401
|
yield response, operation if block_given?
|
410
|
-
return response
|
411
402
|
end
|
412
403
|
rescue ::GRPC::BadStatus => e
|
413
404
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -422,8 +413,9 @@ module Google
|
|
422
413
|
# other methods to check whether the cancellation succeeded or whether the
|
423
414
|
# operation completed despite cancellation. On successful cancellation,
|
424
415
|
# the operation is not deleted; instead, it becomes an operation with
|
425
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
426
|
-
# corresponding to
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
418
|
+
# `Code.CANCELLED`.
|
427
419
|
#
|
428
420
|
# @overload cancel_operation(request, options = nil)
|
429
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -502,7 +494,6 @@ module Google
|
|
502
494
|
|
503
495
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
504
496
|
yield response, operation if block_given?
|
505
|
-
return response
|
506
497
|
end
|
507
498
|
rescue ::GRPC::BadStatus => e
|
508
499
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -600,7 +591,7 @@ module Google
|
|
600
591
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
601
592
|
response = ::Gapic::Operation.new response, @operations_client, options: options
|
602
593
|
yield response, operation if block_given?
|
603
|
-
|
594
|
+
throw :response, response
|
604
595
|
end
|
605
596
|
rescue ::GRPC::BadStatus => e
|
606
597
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -689,6 +680,11 @@ module Google
|
|
689
680
|
# default endpoint URL. The default value of nil uses the environment
|
690
681
|
# universe (usually the default "googleapis.com" universe).
|
691
682
|
# @return [::String,nil]
|
683
|
+
# @!attribute [rw] logger
|
684
|
+
# A custom logger to use for request/response debug logging, or the value
|
685
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
686
|
+
# explicitly disable logging.
|
687
|
+
# @return [::Logger,:default,nil]
|
692
688
|
#
|
693
689
|
class Configuration
|
694
690
|
extend ::Gapic::Config
|
@@ -713,6 +709,7 @@ module Google
|
|
713
709
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
714
710
|
config_attr :quota_project, nil, ::String, nil
|
715
711
|
config_attr :universe_domain, nil, ::String, nil
|
712
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
716
713
|
|
717
714
|
# @private
|
718
715
|
def initialize parent_config = nil
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -297,9 +306,28 @@ module Google
|
|
297
306
|
# @!attribute [rw] common
|
298
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
299
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
300
319
|
class GoSettings
|
301
320
|
include ::Google::Protobuf::MessageExts
|
302
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
303
331
|
end
|
304
332
|
|
305
333
|
# Describes the generator configuration for a method.
|
@@ -375,6 +403,17 @@ module Google
|
|
375
403
|
end
|
376
404
|
end
|
377
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
378
417
|
# The organization for which the client libraries are being published.
|
379
418
|
# Affects the url where generated docs are published, etc.
|
380
419
|
module ClientLibraryOrganization
|
@@ -42,7 +42,7 @@ module Google
|
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
43
|
# @!attribute [rw] response
|
44
44
|
# @return [::Google::Protobuf::Any]
|
45
|
-
# The normal response of the operation
|
45
|
+
# The normal, successful response of the operation. If the original
|
46
46
|
# method returns no data on success, such as `Delete`, the response is
|
47
47
|
# `google.protobuf.Empty`. If the original method is standard
|
48
48
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -55,7 +55,8 @@ module Google
|
|
55
55
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
56
|
end
|
57
57
|
|
58
|
-
# The request message for
|
58
|
+
# The request message for
|
59
|
+
# Operations.GetOperation.
|
59
60
|
# @!attribute [rw] name
|
60
61
|
# @return [::String]
|
61
62
|
# The name of the operation resource.
|
@@ -64,7 +65,8 @@ module Google
|
|
64
65
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
66
|
end
|
66
67
|
|
67
|
-
# The request message for
|
68
|
+
# The request message for
|
69
|
+
# Operations.ListOperations.
|
68
70
|
# @!attribute [rw] name
|
69
71
|
# @return [::String]
|
70
72
|
# The name of the operation's parent resource.
|
@@ -82,7 +84,8 @@ module Google
|
|
82
84
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
85
|
end
|
84
86
|
|
85
|
-
# The response message for
|
87
|
+
# The response message for
|
88
|
+
# Operations.ListOperations.
|
86
89
|
# @!attribute [rw] operations
|
87
90
|
# @return [::Array<::Google::Longrunning::Operation>]
|
88
91
|
# A list of operations that matches the specified filter in the request.
|
@@ -94,7 +97,8 @@ module Google
|
|
94
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
98
|
end
|
96
99
|
|
97
|
-
# The request message for
|
100
|
+
# The request message for
|
101
|
+
# Operations.CancelOperation.
|
98
102
|
# @!attribute [rw] name
|
99
103
|
# @return [::String]
|
100
104
|
# The name of the operation resource to be cancelled.
|
@@ -103,7 +107,8 @@ module Google
|
|
103
107
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
108
|
end
|
105
109
|
|
106
|
-
# The request message for
|
110
|
+
# The request message for
|
111
|
+
# Operations.DeleteOperation.
|
107
112
|
# @!attribute [rw] name
|
108
113
|
# @return [::String]
|
109
114
|
# The name of the operation resource to be deleted.
|
@@ -112,7 +117,8 @@ module Google
|
|
112
117
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
118
|
end
|
114
119
|
|
115
|
-
# The request message for
|
120
|
+
# The request message for
|
121
|
+
# Operations.WaitOperation.
|
116
122
|
# @!attribute [rw] name
|
117
123
|
# @return [::String]
|
118
124
|
# The name of the operation resource to wait on.
|
@@ -130,13 +136,12 @@ module Google
|
|
130
136
|
#
|
131
137
|
# Example:
|
132
138
|
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# }
|
139
|
-
# }
|
139
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
140
|
+
# option (google.longrunning.operation_info) = {
|
141
|
+
# response_type: "ExportResponse"
|
142
|
+
# metadata_type: "ExportMetadata"
|
143
|
+
# };
|
144
|
+
# }
|
140
145
|
# @!attribute [rw] response_type
|
141
146
|
# @return [::String]
|
142
147
|
# Required. The message name of the primary return type for this
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigtable-admin-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.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: 2024-
|
11
|
+
date: 2024-12-10 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
|
+
version: 0.24.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.
|
29
|
+
version: 0.24.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
|
-
rubygems_version: 3.5.
|
136
|
+
rubygems_version: 3.5.23
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Administer your Cloud Bigtable tables and instances.
|