google-cloud-bigtable-admin-v2 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +1 -1
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +1 -1
- data/lib/google/bigtable/admin/v2/instance_pb.rb +1 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/client.rb +99 -104
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/operations.rb +34 -25
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +106 -99
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/operations.rb +34 -25
- data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/bigtable/admin/v2/instance.rb +4 -0
- data/proto_docs/google/type/expr.rb +35 -12
- 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: e6208bf7bbc764f324d000b69512d95376de67b57e4dec1c11482179974678d2
|
4
|
+
data.tar.gz: c81a51ae4a27cc824bafee7ec81b9fc605adceb8c69f8682d024f453f275449c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21daff4c8424a7a2e20097e06e5196f2735c63d03e7525e131160cfaefb2efa848085b06c5f3443e17a5938c691359aa8f23625608a186866bddeaa94dac29cf
|
7
|
+
data.tar.gz: b315fb2e835ac16ba7d1220cff458d397dd1ccd8c5916b5ee7163aec704aa1419dc1491b70ec50f89f7b63b3229e2a66bbd346463b61798900fc50377067267d
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-bigtable-admin-v2
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Credentials}):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `BIGTABLE_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `BIGTABLE_KEYFILE` - Path to JSON file, or JSON contents
|
71
|
+
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
72
|
+
* `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
73
|
+
* `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
74
74
|
|
75
75
|
```ruby
|
76
76
|
require "google/cloud/bigtable/admin/v2"
|
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new
|
|
82
82
|
|
83
83
|
### Configuration
|
84
84
|
|
85
|
-
The **Credentials JSON** can be configured instead of
|
86
|
-
environment
|
85
|
+
The path to the **Credentials JSON** file can be configured instead of storing
|
86
|
+
it in an environment variable. Either on an individual client initialization:
|
87
87
|
|
88
88
|
```ruby
|
89
89
|
require "google/cloud/bigtable/admin/v2"
|
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new
|
|
93
93
|
end
|
94
94
|
```
|
95
95
|
|
96
|
-
Or
|
96
|
+
Or globally for all clients:
|
97
97
|
|
98
98
|
```ruby
|
99
99
|
require "google/cloud/bigtable/admin/v2"
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
|
|
33
33
|
require "google/cloud/bigtable/admin/v2"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new
|
36
|
-
request =
|
36
|
+
request = ::Google::Cloud::Bigtable::Admin::V2::CreateInstanceRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.create_instance request
|
38
38
|
```
|
39
39
|
|
@@ -53,6 +53,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
add_message "google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny" do
|
56
|
+
repeated :cluster_ids, :string, 1
|
56
57
|
end
|
57
58
|
add_message "google.bigtable.admin.v2.AppProfile.SingleClusterRouting" do
|
58
59
|
optional :cluster_id, :string, 1
|
@@ -44,13 +44,12 @@ module Google
|
|
44
44
|
# See {::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client::Configuration}
|
45
45
|
# for a description of the configuration fields.
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# @example
|
48
48
|
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
# end
|
49
|
+
# # Modify the configuration for all BigtableInstanceAdmin clients
|
50
|
+
# ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.configure do |config|
|
51
|
+
# config.timeout = 10.0
|
52
|
+
# end
|
54
53
|
#
|
55
54
|
# @yield [config] Configure the Client client.
|
56
55
|
# @yieldparam config [Client::Configuration]
|
@@ -72,34 +71,22 @@ module Google
|
|
72
71
|
|
73
72
|
default_config.rpcs.get_instance.timeout = 60.0
|
74
73
|
default_config.rpcs.get_instance.retry_policy = {
|
75
|
-
initial_delay: 1.0,
|
76
|
-
max_delay: 60.0,
|
77
|
-
multiplier: 2,
|
78
|
-
retry_codes: [14, 4]
|
74
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
79
75
|
}
|
80
76
|
|
81
77
|
default_config.rpcs.list_instances.timeout = 60.0
|
82
78
|
default_config.rpcs.list_instances.retry_policy = {
|
83
|
-
initial_delay: 1.0,
|
84
|
-
max_delay: 60.0,
|
85
|
-
multiplier: 2,
|
86
|
-
retry_codes: [14, 4]
|
79
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
87
80
|
}
|
88
81
|
|
89
82
|
default_config.rpcs.update_instance.timeout = 60.0
|
90
83
|
default_config.rpcs.update_instance.retry_policy = {
|
91
|
-
initial_delay: 1.0,
|
92
|
-
max_delay: 60.0,
|
93
|
-
multiplier: 2,
|
94
|
-
retry_codes: [14, 4]
|
84
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
95
85
|
}
|
96
86
|
|
97
87
|
default_config.rpcs.partial_update_instance.timeout = 60.0
|
98
88
|
default_config.rpcs.partial_update_instance.retry_policy = {
|
99
|
-
initial_delay: 1.0,
|
100
|
-
max_delay: 60.0,
|
101
|
-
multiplier: 2,
|
102
|
-
retry_codes: [14, 4]
|
89
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
103
90
|
}
|
104
91
|
|
105
92
|
default_config.rpcs.delete_instance.timeout = 60.0
|
@@ -108,26 +95,17 @@ module Google
|
|
108
95
|
|
109
96
|
default_config.rpcs.get_cluster.timeout = 60.0
|
110
97
|
default_config.rpcs.get_cluster.retry_policy = {
|
111
|
-
initial_delay: 1.0,
|
112
|
-
max_delay: 60.0,
|
113
|
-
multiplier: 2,
|
114
|
-
retry_codes: [14, 4]
|
98
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
115
99
|
}
|
116
100
|
|
117
101
|
default_config.rpcs.list_clusters.timeout = 60.0
|
118
102
|
default_config.rpcs.list_clusters.retry_policy = {
|
119
|
-
initial_delay: 1.0,
|
120
|
-
max_delay: 60.0,
|
121
|
-
multiplier: 2,
|
122
|
-
retry_codes: [14, 4]
|
103
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
123
104
|
}
|
124
105
|
|
125
106
|
default_config.rpcs.update_cluster.timeout = 60.0
|
126
107
|
default_config.rpcs.update_cluster.retry_policy = {
|
127
|
-
initial_delay: 1.0,
|
128
|
-
max_delay: 60.0,
|
129
|
-
multiplier: 2,
|
130
|
-
retry_codes: [14, 4]
|
108
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
131
109
|
}
|
132
110
|
|
133
111
|
default_config.rpcs.delete_cluster.timeout = 60.0
|
@@ -136,46 +114,31 @@ module Google
|
|
136
114
|
|
137
115
|
default_config.rpcs.get_app_profile.timeout = 60.0
|
138
116
|
default_config.rpcs.get_app_profile.retry_policy = {
|
139
|
-
initial_delay: 1.0,
|
140
|
-
max_delay: 60.0,
|
141
|
-
multiplier: 2,
|
142
|
-
retry_codes: [14, 4]
|
117
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
143
118
|
}
|
144
119
|
|
145
120
|
default_config.rpcs.list_app_profiles.timeout = 60.0
|
146
121
|
default_config.rpcs.list_app_profiles.retry_policy = {
|
147
|
-
initial_delay: 1.0,
|
148
|
-
max_delay: 60.0,
|
149
|
-
multiplier: 2,
|
150
|
-
retry_codes: [14, 4]
|
122
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
151
123
|
}
|
152
124
|
|
153
125
|
default_config.rpcs.update_app_profile.timeout = 60.0
|
154
126
|
default_config.rpcs.update_app_profile.retry_policy = {
|
155
|
-
initial_delay: 1.0,
|
156
|
-
max_delay: 60.0,
|
157
|
-
multiplier: 2,
|
158
|
-
retry_codes: [14, 4]
|
127
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
159
128
|
}
|
160
129
|
|
161
130
|
default_config.rpcs.delete_app_profile.timeout = 60.0
|
162
131
|
|
163
132
|
default_config.rpcs.get_iam_policy.timeout = 60.0
|
164
133
|
default_config.rpcs.get_iam_policy.retry_policy = {
|
165
|
-
initial_delay: 1.0,
|
166
|
-
max_delay: 60.0,
|
167
|
-
multiplier: 2,
|
168
|
-
retry_codes: [14, 4]
|
134
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
169
135
|
}
|
170
136
|
|
171
137
|
default_config.rpcs.set_iam_policy.timeout = 60.0
|
172
138
|
|
173
139
|
default_config.rpcs.test_iam_permissions.timeout = 60.0
|
174
140
|
default_config.rpcs.test_iam_permissions.retry_policy = {
|
175
|
-
initial_delay: 1.0,
|
176
|
-
max_delay: 60.0,
|
177
|
-
multiplier: 2,
|
178
|
-
retry_codes: [14, 4]
|
141
|
+
initial_delay: 1.0, max_delay: 60.0, multiplier: 2, retry_codes: [14, 4]
|
179
142
|
}
|
180
143
|
|
181
144
|
default_config
|
@@ -207,19 +170,15 @@ module Google
|
|
207
170
|
##
|
208
171
|
# Create a new BigtableInstanceAdmin client object.
|
209
172
|
#
|
210
|
-
#
|
211
|
-
#
|
212
|
-
# To create a new BigtableInstanceAdmin client with the default
|
213
|
-
# configuration:
|
173
|
+
# @example
|
214
174
|
#
|
215
|
-
#
|
175
|
+
# # Create a client using the default configuration
|
176
|
+
# client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new
|
216
177
|
#
|
217
|
-
#
|
218
|
-
#
|
219
|
-
#
|
220
|
-
#
|
221
|
-
# config.timeout = 10.0
|
222
|
-
# end
|
178
|
+
# # Create a client using a custom configuration
|
179
|
+
# client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new do |config|
|
180
|
+
# config.timeout = 10.0
|
181
|
+
# end
|
223
182
|
#
|
224
183
|
# @yield [config] Configure the BigtableInstanceAdmin client.
|
225
184
|
# @yieldparam config [Client::Configuration]
|
@@ -239,14 +198,13 @@ module Google
|
|
239
198
|
|
240
199
|
# Create credentials
|
241
200
|
credentials = @config.credentials
|
242
|
-
# Use self-signed JWT if the
|
201
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
243
202
|
# but only if the default endpoint does not have a region prefix.
|
244
|
-
enable_self_signed_jwt = @config.
|
245
|
-
@config.endpoint == Client.configure.endpoint &&
|
203
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
246
204
|
!@config.endpoint.split(".").first.include?("-")
|
247
205
|
credentials ||= Credentials.default scope: @config.scope,
|
248
206
|
enable_self_signed_jwt: enable_self_signed_jwt
|
249
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
207
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
250
208
|
credentials = Credentials.new credentials, scope: @config.scope
|
251
209
|
end
|
252
210
|
@quota_project_id = @config.quota_project
|
@@ -344,7 +302,9 @@ module Google
|
|
344
302
|
options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
|
345
303
|
metadata: metadata,
|
346
304
|
retry_policy: @config.rpcs.create_instance.retry_policy
|
347
|
-
|
305
|
+
|
306
|
+
options.apply_defaults timeout: @config.timeout,
|
307
|
+
metadata: @config.metadata,
|
348
308
|
retry_policy: @config.retry_policy
|
349
309
|
|
350
310
|
@bigtable_instance_admin_stub.call_rpc :create_instance, request, options: options do |response, operation|
|
@@ -412,7 +372,9 @@ module Google
|
|
412
372
|
options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
|
413
373
|
metadata: metadata,
|
414
374
|
retry_policy: @config.rpcs.get_instance.retry_policy
|
415
|
-
|
375
|
+
|
376
|
+
options.apply_defaults timeout: @config.timeout,
|
377
|
+
metadata: @config.metadata,
|
416
378
|
retry_policy: @config.retry_policy
|
417
379
|
|
418
380
|
@bigtable_instance_admin_stub.call_rpc :get_instance, request, options: options do |response, operation|
|
@@ -481,7 +443,9 @@ module Google
|
|
481
443
|
options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
|
482
444
|
metadata: metadata,
|
483
445
|
retry_policy: @config.rpcs.list_instances.retry_policy
|
484
|
-
|
446
|
+
|
447
|
+
options.apply_defaults timeout: @config.timeout,
|
448
|
+
metadata: @config.metadata,
|
485
449
|
retry_policy: @config.retry_policy
|
486
450
|
|
487
451
|
@bigtable_instance_admin_stub.call_rpc :list_instances, request, options: options do |response, operation|
|
@@ -568,7 +532,9 @@ module Google
|
|
568
532
|
options.apply_defaults timeout: @config.rpcs.update_instance.timeout,
|
569
533
|
metadata: metadata,
|
570
534
|
retry_policy: @config.rpcs.update_instance.retry_policy
|
571
|
-
|
535
|
+
|
536
|
+
options.apply_defaults timeout: @config.timeout,
|
537
|
+
metadata: @config.metadata,
|
572
538
|
retry_policy: @config.retry_policy
|
573
539
|
|
574
540
|
@bigtable_instance_admin_stub.call_rpc :update_instance, request, options: options do |response, operation|
|
@@ -638,7 +604,9 @@ module Google
|
|
638
604
|
options.apply_defaults timeout: @config.rpcs.partial_update_instance.timeout,
|
639
605
|
metadata: metadata,
|
640
606
|
retry_policy: @config.rpcs.partial_update_instance.retry_policy
|
641
|
-
|
607
|
+
|
608
|
+
options.apply_defaults timeout: @config.timeout,
|
609
|
+
metadata: @config.metadata,
|
642
610
|
retry_policy: @config.retry_policy
|
643
611
|
|
644
612
|
@bigtable_instance_admin_stub.call_rpc :partial_update_instance, request, options: options do |response, operation|
|
@@ -706,7 +674,9 @@ module Google
|
|
706
674
|
options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
|
707
675
|
metadata: metadata,
|
708
676
|
retry_policy: @config.rpcs.delete_instance.retry_policy
|
709
|
-
|
677
|
+
|
678
|
+
options.apply_defaults timeout: @config.timeout,
|
679
|
+
metadata: @config.metadata,
|
710
680
|
retry_policy: @config.retry_policy
|
711
681
|
|
712
682
|
@bigtable_instance_admin_stub.call_rpc :delete_instance, request, options: options do |response, operation|
|
@@ -781,7 +751,9 @@ module Google
|
|
781
751
|
options.apply_defaults timeout: @config.rpcs.create_cluster.timeout,
|
782
752
|
metadata: metadata,
|
783
753
|
retry_policy: @config.rpcs.create_cluster.retry_policy
|
784
|
-
|
754
|
+
|
755
|
+
options.apply_defaults timeout: @config.timeout,
|
756
|
+
metadata: @config.metadata,
|
785
757
|
retry_policy: @config.retry_policy
|
786
758
|
|
787
759
|
@bigtable_instance_admin_stub.call_rpc :create_cluster, request, options: options do |response, operation|
|
@@ -849,7 +821,9 @@ module Google
|
|
849
821
|
options.apply_defaults timeout: @config.rpcs.get_cluster.timeout,
|
850
822
|
metadata: metadata,
|
851
823
|
retry_policy: @config.rpcs.get_cluster.retry_policy
|
852
|
-
|
824
|
+
|
825
|
+
options.apply_defaults timeout: @config.timeout,
|
826
|
+
metadata: @config.metadata,
|
853
827
|
retry_policy: @config.retry_policy
|
854
828
|
|
855
829
|
@bigtable_instance_admin_stub.call_rpc :get_cluster, request, options: options do |response, operation|
|
@@ -920,7 +894,9 @@ module Google
|
|
920
894
|
options.apply_defaults timeout: @config.rpcs.list_clusters.timeout,
|
921
895
|
metadata: metadata,
|
922
896
|
retry_policy: @config.rpcs.list_clusters.retry_policy
|
923
|
-
|
897
|
+
|
898
|
+
options.apply_defaults timeout: @config.timeout,
|
899
|
+
metadata: @config.metadata,
|
924
900
|
retry_policy: @config.retry_policy
|
925
901
|
|
926
902
|
@bigtable_instance_admin_stub.call_rpc :list_clusters, request, options: options do |response, operation|
|
@@ -999,7 +975,9 @@ module Google
|
|
999
975
|
options.apply_defaults timeout: @config.rpcs.update_cluster.timeout,
|
1000
976
|
metadata: metadata,
|
1001
977
|
retry_policy: @config.rpcs.update_cluster.retry_policy
|
1002
|
-
|
978
|
+
|
979
|
+
options.apply_defaults timeout: @config.timeout,
|
980
|
+
metadata: @config.metadata,
|
1003
981
|
retry_policy: @config.retry_policy
|
1004
982
|
|
1005
983
|
@bigtable_instance_admin_stub.call_rpc :update_cluster, request, options: options do |response, operation|
|
@@ -1067,7 +1045,9 @@ module Google
|
|
1067
1045
|
options.apply_defaults timeout: @config.rpcs.delete_cluster.timeout,
|
1068
1046
|
metadata: metadata,
|
1069
1047
|
retry_policy: @config.rpcs.delete_cluster.retry_policy
|
1070
|
-
|
1048
|
+
|
1049
|
+
options.apply_defaults timeout: @config.timeout,
|
1050
|
+
metadata: @config.metadata,
|
1071
1051
|
retry_policy: @config.retry_policy
|
1072
1052
|
|
1073
1053
|
@bigtable_instance_admin_stub.call_rpc :delete_cluster, request, options: options do |response, operation|
|
@@ -1144,7 +1124,9 @@ module Google
|
|
1144
1124
|
options.apply_defaults timeout: @config.rpcs.create_app_profile.timeout,
|
1145
1125
|
metadata: metadata,
|
1146
1126
|
retry_policy: @config.rpcs.create_app_profile.retry_policy
|
1147
|
-
|
1127
|
+
|
1128
|
+
options.apply_defaults timeout: @config.timeout,
|
1129
|
+
metadata: @config.metadata,
|
1148
1130
|
retry_policy: @config.retry_policy
|
1149
1131
|
|
1150
1132
|
@bigtable_instance_admin_stub.call_rpc :create_app_profile, request, options: options do |response, operation|
|
@@ -1211,7 +1193,9 @@ module Google
|
|
1211
1193
|
options.apply_defaults timeout: @config.rpcs.get_app_profile.timeout,
|
1212
1194
|
metadata: metadata,
|
1213
1195
|
retry_policy: @config.rpcs.get_app_profile.retry_policy
|
1214
|
-
|
1196
|
+
|
1197
|
+
options.apply_defaults timeout: @config.timeout,
|
1198
|
+
metadata: @config.metadata,
|
1215
1199
|
retry_policy: @config.retry_policy
|
1216
1200
|
|
1217
1201
|
@bigtable_instance_admin_stub.call_rpc :get_app_profile, request, options: options do |response, operation|
|
@@ -1293,7 +1277,9 @@ module Google
|
|
1293
1277
|
options.apply_defaults timeout: @config.rpcs.list_app_profiles.timeout,
|
1294
1278
|
metadata: metadata,
|
1295
1279
|
retry_policy: @config.rpcs.list_app_profiles.retry_policy
|
1296
|
-
|
1280
|
+
|
1281
|
+
options.apply_defaults timeout: @config.timeout,
|
1282
|
+
metadata: @config.metadata,
|
1297
1283
|
retry_policy: @config.retry_policy
|
1298
1284
|
|
1299
1285
|
@bigtable_instance_admin_stub.call_rpc :list_app_profiles, request, options: options do |response, operation|
|
@@ -1365,7 +1351,9 @@ module Google
|
|
1365
1351
|
options.apply_defaults timeout: @config.rpcs.update_app_profile.timeout,
|
1366
1352
|
metadata: metadata,
|
1367
1353
|
retry_policy: @config.rpcs.update_app_profile.retry_policy
|
1368
|
-
|
1354
|
+
|
1355
|
+
options.apply_defaults timeout: @config.timeout,
|
1356
|
+
metadata: @config.metadata,
|
1369
1357
|
retry_policy: @config.retry_policy
|
1370
1358
|
|
1371
1359
|
@bigtable_instance_admin_stub.call_rpc :update_app_profile, request, options: options do |response, operation|
|
@@ -1435,7 +1423,9 @@ module Google
|
|
1435
1423
|
options.apply_defaults timeout: @config.rpcs.delete_app_profile.timeout,
|
1436
1424
|
metadata: metadata,
|
1437
1425
|
retry_policy: @config.rpcs.delete_app_profile.retry_policy
|
1438
|
-
|
1426
|
+
|
1427
|
+
options.apply_defaults timeout: @config.timeout,
|
1428
|
+
metadata: @config.metadata,
|
1439
1429
|
retry_policy: @config.retry_policy
|
1440
1430
|
|
1441
1431
|
@bigtable_instance_admin_stub.call_rpc :delete_app_profile, request, options: options do |response, operation|
|
@@ -1506,7 +1496,9 @@ module Google
|
|
1506
1496
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
1507
1497
|
metadata: metadata,
|
1508
1498
|
retry_policy: @config.rpcs.get_iam_policy.retry_policy
|
1509
|
-
|
1499
|
+
|
1500
|
+
options.apply_defaults timeout: @config.timeout,
|
1501
|
+
metadata: @config.metadata,
|
1510
1502
|
retry_policy: @config.retry_policy
|
1511
1503
|
|
1512
1504
|
@bigtable_instance_admin_stub.call_rpc :get_iam_policy, request, options: options do |response, operation|
|
@@ -1579,7 +1571,9 @@ module Google
|
|
1579
1571
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
1580
1572
|
metadata: metadata,
|
1581
1573
|
retry_policy: @config.rpcs.set_iam_policy.retry_policy
|
1582
|
-
|
1574
|
+
|
1575
|
+
options.apply_defaults timeout: @config.timeout,
|
1576
|
+
metadata: @config.metadata,
|
1583
1577
|
retry_policy: @config.retry_policy
|
1584
1578
|
|
1585
1579
|
@bigtable_instance_admin_stub.call_rpc :set_iam_policy, request, options: options do |response, operation|
|
@@ -1651,7 +1645,9 @@ module Google
|
|
1651
1645
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
1652
1646
|
metadata: metadata,
|
1653
1647
|
retry_policy: @config.rpcs.test_iam_permissions.retry_policy
|
1654
|
-
|
1648
|
+
|
1649
|
+
options.apply_defaults timeout: @config.timeout,
|
1650
|
+
metadata: @config.metadata,
|
1655
1651
|
retry_policy: @config.retry_policy
|
1656
1652
|
|
1657
1653
|
@bigtable_instance_admin_stub.call_rpc :test_iam_permissions, request, options: options do |response, operation|
|
@@ -1675,22 +1671,21 @@ module Google
|
|
1675
1671
|
# Configuration can be applied globally to all clients, or to a single client
|
1676
1672
|
# on construction.
|
1677
1673
|
#
|
1678
|
-
#
|
1679
|
-
#
|
1680
|
-
#
|
1681
|
-
# to 20 seconds,
|
1682
|
-
#
|
1683
|
-
#
|
1684
|
-
#
|
1685
|
-
#
|
1686
|
-
#
|
1687
|
-
#
|
1688
|
-
#
|
1689
|
-
#
|
1690
|
-
#
|
1691
|
-
#
|
1692
|
-
#
|
1693
|
-
# end
|
1674
|
+
# @example
|
1675
|
+
#
|
1676
|
+
# # Modify the global config, setting the timeout for
|
1677
|
+
# # create_instance to 20 seconds,
|
1678
|
+
# # and all remaining timeouts to 10 seconds.
|
1679
|
+
# ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.configure do |config|
|
1680
|
+
# config.timeout = 10.0
|
1681
|
+
# config.rpcs.create_instance.timeout = 20.0
|
1682
|
+
# end
|
1683
|
+
#
|
1684
|
+
# # Apply the above configuration only to a new client.
|
1685
|
+
# client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new do |config|
|
1686
|
+
# config.timeout = 10.0
|
1687
|
+
# config.rpcs.create_instance.timeout = 20.0
|
1688
|
+
# end
|
1694
1689
|
#
|
1695
1690
|
# @!attribute [rw] endpoint
|
1696
1691
|
# The hostname or hostname:port of the service endpoint.
|