@@ -48,6 +48,10 @@ option (google.api.resource_definition) = {
4848 type : "bigtableadmin.googleapis.com/AuthorizedView"
4949 pattern : "projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}"
5050};
51+ option (google.api.resource_definition ) = {
52+ type : "bigtableadmin.googleapis.com/MaterializedView"
53+ pattern : "projects/{project}/instances/{instance}/materializedViews/{materialized_view}"
54+ };
5155
5256// Service for reading from and writing to existing Bigtable tables.
5357service Bigtable {
@@ -351,6 +355,17 @@ message ReadRowsRequest {
351355 }
352356 ];
353357
358+ // Optional. The unique name of the MaterializedView from which to read.
359+ //
360+ // Values are of the form
361+ // `projects/<project>/instances/<instance>/materializedViews/<materialized_view>`.
362+ string materialized_view_name = 11 [
363+ (google.api.field_behavior ) = OPTIONAL ,
364+ (google.api.resource_reference ) = {
365+ type : "bigtableadmin.googleapis.com/MaterializedView"
366+ }
367+ ];
368+
354369 // This value specifies routing for replication. If not specified, the
355370 // "default" application profile will be used.
356371 string app_profile_id = 5 ;
@@ -511,6 +526,17 @@ message SampleRowKeysRequest {
511526 }
512527 ];
513528
529+ // Optional. The unique name of the MaterializedView from which to read.
530+ //
531+ // Values are of the form
532+ // `projects/<project>/instances/<instance>/materializedViews/<materialized_view>`.
533+ string materialized_view_name = 5 [
534+ (google.api.field_behavior ) = OPTIONAL ,
535+ (google.api.resource_reference ) = {
536+ type : "bigtableadmin.googleapis.com/MaterializedView"
537+ }
538+ ];
539+
514540 // This value specifies routing for replication. If not specified, the
515541 // "default" application profile will be used.
516542 string app_profile_id = 2 ;
0 commit comments