Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe06a49

Browse filesBrowse files
Google APIscopybara-github
authored andcommitted
fix: Add ReadRows/SampleRowKeys bindings for materialized views
PiperOrigin-RevId: 793800781
1 parent 54236ee commit fe06a49
Copy full SHA for fe06a49

1 file changed

+15Lines changed: 15 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎google/bigtable/v2/bigtable.proto‎

Copy file name to clipboardExpand all lines: google/bigtable/v2/bigtable.proto
+15Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ service Bigtable {
7777
post: "/v2/{authorized_view_name=projects/*/instances/*/tables/*/authorizedViews/*}:readRows"
7878
body: "*"
7979
}
80+
additional_bindings {
81+
post: "/v2/{materialized_view_name=projects/*/instances/*/materializedViews/*}:readRows"
82+
body: "*"
83+
}
8084
};
8185
option (google.api.routing) = {
8286
routing_parameters {
@@ -88,6 +92,10 @@ service Bigtable {
8892
field: "authorized_view_name"
8993
path_template: "{table_name=projects/*/instances/*/tables/*}/**"
9094
}
95+
routing_parameters {
96+
field: "materialized_view_name"
97+
path_template: "{name=projects/*/instances/*}/**"
98+
}
9199
};
92100
option (google.api.method_signature) = "table_name";
93101
option (google.api.method_signature) = "table_name,app_profile_id";
@@ -104,6 +112,9 @@ service Bigtable {
104112
additional_bindings {
105113
get: "/v2/{authorized_view_name=projects/*/instances/*/tables/*/authorizedViews/*}:sampleRowKeys"
106114
}
115+
additional_bindings {
116+
get: "/v2/{materialized_view_name=projects/*/instances/*/materializedViews/*}:sampleRowKeys"
117+
}
107118
};
108119
option (google.api.routing) = {
109120
routing_parameters {
@@ -115,6 +126,10 @@ service Bigtable {
115126
field: "authorized_view_name"
116127
path_template: "{table_name=projects/*/instances/*/tables/*}/**"
117128
}
129+
routing_parameters {
130+
field: "materialized_view_name"
131+
path_template: "{name=projects/*/instances/*}/**"
132+
}
118133
};
119134
option (google.api.method_signature) = "table_name";
120135
option (google.api.method_signature) = "table_name,app_profile_id";

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.