Skip to content

Commit be27a70

Browse files
feat: update bigtable grpc service config (#747)
* Update bigtable grpc service config PiperOrigin-RevId: 312479172 Source-Author: Google APIs <noreply@google.com> Source-Date: Wed May 20 07:38:23 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: cdf59a76184d5ddc24531f41567cf2411ae74593 Source-Link: googleapis/googleapis@cdf59a7 * chore: set Ruby namespace in proto options PiperOrigin-RevId: 316039767 Source-Author: Google APIs <noreply@google.com> Source-Date: Thu Jun 11 21:23:34 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 94fe3637559a257634d7b47a15bb8d976daff788 Source-Link: googleapis/googleapis@94fe363
1 parent c6cc3bc commit be27a70

10 files changed

+22
-13
lines changed

protos/google/bigtable/admin/v2/bigtable_instance_admin.proto

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ option java_multiple_files = true;
3535
option java_outer_classname = "BigtableInstanceAdminProto";
3636
option java_package = "com.google.bigtable.admin.v2";
3737
option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2";
38+
option ruby_package = "Google::Cloud::Bigtable::Admin::V2";
3839

3940
// Service for creating, configuring, and deleting Cloud Bigtable Instances and
4041
// Clusters. Provides access to the Instance and Cluster schemas only, not the

protos/google/bigtable/admin/v2/bigtable_table_admin.proto

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ option java_multiple_files = true;
3636
option java_outer_classname = "BigtableTableAdminProto";
3737
option java_package = "com.google.bigtable.admin.v2";
3838
option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2";
39+
option ruby_package = "Google::Cloud::Bigtable::Admin::V2";
3940

4041
// Service for creating, configuring, and deleting Cloud Bigtable tables.
4142
//

protos/google/bigtable/admin/v2/common.proto

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ option java_multiple_files = true;
2424
option java_outer_classname = "CommonProto";
2525
option java_package = "com.google.bigtable.admin.v2";
2626
option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2";
27+
option ruby_package = "Google::Cloud::Bigtable::Admin::V2";
2728

2829
// Storage media types for persisting Bigtable data.
2930
enum StorageType {

protos/google/bigtable/admin/v2/instance.proto

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ option java_multiple_files = true;
2727
option java_outer_classname = "InstanceProto";
2828
option java_package = "com.google.bigtable.admin.v2";
2929
option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2";
30+
option ruby_package = "Google::Cloud::Bigtable::Admin::V2";
3031

3132
// A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
3233
// the resources that serve them.

protos/google/bigtable/admin/v2/table.proto

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ option java_multiple_files = true;
2727
option java_outer_classname = "TableProto";
2828
option java_package = "com.google.bigtable.admin.v2";
2929
option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2";
30+
option ruby_package = "Google::Cloud::Bigtable::Admin::V2";
3031

3132
// Indicates the type of the restore source.
3233
enum RestoreSourceType {

protos/google/bigtable/v2/bigtable.proto

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ option java_multiple_files = true;
3030
option java_outer_classname = "BigtableProto";
3131
option java_package = "com.google.bigtable.v2";
3232
option php_namespace = "Google\\Cloud\\Bigtable\\V2";
33+
option ruby_package = "Google::Cloud::Bigtable::V2";
3334
option (google.api.resource_definition) = {
3435
type: "bigtable.googleapis.com/Table"
3536
pattern: "projects/{project}/instances/{instance}/tables/{table}"

protos/google/bigtable/v2/data.proto

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ option java_multiple_files = true;
2323
option java_outer_classname = "DataProto";
2424
option java_package = "com.google.bigtable.v2";
2525
option php_namespace = "Google\\Cloud\\Bigtable\\V2";
26+
option ruby_package = "Google::Cloud::Bigtable::V2";
2627

2728
// Specifies the complete (requested) contents of a single row of a table.
2829
// Rows which exceed 256MiB in size cannot be read in full.

protos/protos.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"java_multiple_files": true,
1414
"java_outer_classname": "TableProto",
1515
"java_package": "com.google.bigtable.admin.v2",
16-
"php_namespace": "Google\\Cloud\\Bigtable\\Admin\\V2"
16+
"php_namespace": "Google\\Cloud\\Bigtable\\Admin\\V2",
17+
"ruby_package": "Google::Cloud::Bigtable::Admin::V2"
1718
},
1819
"nested": {
1920
"BigtableInstanceAdmin": {
@@ -1841,6 +1842,7 @@
18411842
"java_outer_classname": "DataProto",
18421843
"java_package": "com.google.bigtable.v2",
18431844
"php_namespace": "Google\\Cloud\\Bigtable\\V2",
1845+
"ruby_package": "Google::Cloud::Bigtable::V2",
18441846
"(google.api.resource_definition).type": "bigtable.googleapis.com/Table",
18451847
"(google.api.resource_definition).pattern": "projects/{project}/instances/{instance}/tables/{table}"
18461848
},

src/v2/bigtable_client_config.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@
3131
"methods": {
3232
"ReadRows": {
3333
"timeout_millis": 43200000,
34-
"retry_codes_name": "idempotent",
35-
"retry_params_name": "5af39a0f6db447f61c4f695240caeccb74f78362"
34+
"retry_codes_name": "non_idempotent",
35+
"retry_params_name": "default"
3636
},
3737
"SampleRowKeys": {
38-
"timeout_millis": 20000,
39-
"retry_codes_name": "idempotent",
40-
"retry_params_name": "5af39a0f6db447f61c4f695240caeccb74f78362"
38+
"timeout_millis": 60000,
39+
"retry_codes_name": "non_idempotent",
40+
"retry_params_name": "default"
4141
},
4242
"MutateRow": {
43-
"timeout_millis": 20000,
43+
"timeout_millis": 60000,
4444
"retry_codes_name": "idempotent",
4545
"retry_params_name": "5af39a0f6db447f61c4f695240caeccb74f78362"
4646
},
4747
"MutateRows": {
48-
"timeout_millis": 60000,
49-
"retry_codes_name": "idempotent",
50-
"retry_params_name": "5af39a0f6db447f61c4f695240caeccb74f78362"
48+
"timeout_millis": 600000,
49+
"retry_codes_name": "non_idempotent",
50+
"retry_params_name": "default"
5151
},
5252
"CheckAndMutateRow": {
5353
"timeout_millis": 20000,

synth.metadata

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-bigtable.git",
7-
"sha": "508d1f9e0c5b089d7a649eb1dd9e6fc166d17f7e"
7+
"sha": "c6cc3bccf71316af8cf91cc86c1781f6addcdd07"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "a3a0bf0f6291d69f2ff3df7fcd63d28ee20ac727",
15-
"internalRef": "310060413"
14+
"sha": "94fe3637559a257634d7b47a15bb8d976daff788",
15+
"internalRef": "316039767"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)