Skip to content

Commit 1338a6b

Browse files
Google APIscopybara-github
authored andcommitted
feat: add response_params proto to clients
PiperOrigin-RevId: 459247753
1 parent 4f1be99 commit 1338a6b

2 files changed

Lines changed: 41 additions & 0 deletions

File tree

google/bigtable/v2/bigtable_v2.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ title: Cloud Bigtable API
66
apis:
77
- name: google.bigtable.v2.Bigtable
88

9+
types:
10+
- name: google.bigtable.v2.ResponseParams
11+
912
documentation:
1013
summary: |-
1114
API for reading and writing the contents of Bigtables associated with a
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// Copyright 2022 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
syntax = "proto3";
16+
17+
package google.bigtable.v2;
18+
19+
option csharp_namespace = "Google.Cloud.Bigtable.V2";
20+
option go_package = "google.golang.org/genproto/googleapis/bigtable/v2;bigtable";
21+
option java_multiple_files = true;
22+
option java_outer_classname = "ResponseParamsProto";
23+
option java_package = "com.google.bigtable.v2";
24+
option php_namespace = "Google\\Cloud\\Bigtable\\V2";
25+
option ruby_package = "Google::Cloud::Bigtable::V2";
26+
27+
// Response metadata proto
28+
// This is an experimental feature that will be used to get zone_id and
29+
// cluster_id from response trailers to tag the metrics. This should not be
30+
// used by customers directly
31+
message ResponseParams {
32+
// The cloud bigtable zone associated with the cluster.
33+
optional string zone_id = 1;
34+
35+
// Identifier for a cluster that represents set of
36+
// bigtable resources.
37+
optional string cluster_id = 2;
38+
}

0 commit comments

Comments
 (0)