row_display_columns can be changed anytime, whenever
This commit is contained in:
@@ -62,6 +62,10 @@ service TableDefinition {
|
||||
// Physical column names and identities remain unchanged.
|
||||
rpc SetColumnPresentation(SetColumnPresentationRequest) returns (SetColumnPresentationResponse);
|
||||
|
||||
// Replaces the columns whose values identify rows to users. This is
|
||||
// presentation metadata and may be changed after rows have been stored.
|
||||
rpc SetRowDisplayColumns(SetRowDisplayColumnsRequest) returns (SetRowDisplayColumnsResponse);
|
||||
|
||||
// Replaces the optional user-visible aliases for a fixed-option column.
|
||||
// Stored values remain stable machine values and scripts never depend on labels.
|
||||
rpc SetColumnOptionAliases(SetColumnOptionAliasesRequest) returns (SetColumnOptionAliasesResponse);
|
||||
@@ -587,6 +591,23 @@ message SetColumnPresentationResponse {
|
||||
int64 row_version = 4;
|
||||
}
|
||||
|
||||
// Atomically replaces the columns whose values identify rows in pickers and
|
||||
// link labels. Their order is the order in which their values are displayed.
|
||||
message SetRowDisplayColumnsRequest {
|
||||
string profile_name = 1;
|
||||
string table_name = 2;
|
||||
repeated string row_display_columns = 3;
|
||||
// Row version returned by GetProfileDetails when this metadata was read.
|
||||
int64 expected_row_version = 4;
|
||||
}
|
||||
|
||||
message SetRowDisplayColumnsResponse {
|
||||
bool success = 1;
|
||||
repeated string row_display_columns = 2;
|
||||
// New row version after the update, or the current version for a no-op.
|
||||
int64 row_version = 3;
|
||||
}
|
||||
|
||||
// One public option name. `value` identifies the option by its current public
|
||||
// alias and `alias` is its desired public alias; stored values remain internal.
|
||||
message OptionValueAlias {
|
||||
|
||||
Reference in New Issue
Block a user