File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -517,6 +517,15 @@ message RequestOptions {
517517 PRIORITY_HIGH = 3 ;
518518 }
519519
520+ // Container for various pieces of client-owned context attached to a request.
521+ message ClientContext {
522+ // Optional. Map of parameter name to value for this request. These values
523+ // will be returned by any SECURE_CONTEXT() calls invoked by this request
524+ // (e.g., by queries against Parameterized Secure Views).
525+ map <string , google.protobuf.Value > secure_context = 1
526+ [(google.api.field_behavior ) = OPTIONAL ];
527+ }
528+
520529 // Priority for the request.
521530 Priority priority = 1 ;
522531
@@ -544,6 +553,9 @@ message RequestOptions {
544553 // characters. Values that exceed this limit are truncated.
545554 // Any leading underscore (_) characters are removed from the string.
546555 string transaction_tag = 3 ;
556+
557+ // Optional. Optional context that may be needed for some requests.
558+ ClientContext client_context = 4 [(google.api.field_behavior ) = OPTIONAL ];
547559}
548560
549561// The `DirectedReadOptions` can be used to indicate which replicas or regions
You can’t perform that action at this time.
0 commit comments