File tree Expand file tree Collapse file tree
google/cloud/bigquery/storage/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ service BigQueryRead {
6262 // limits are enforced based on the number of pre-filtered rows, so some
6363 // filters can lead to lopsided assignments.
6464 //
65- // Read sessions automatically expire 24 hours after they are created and do
65+ // Read sessions automatically expire 6 hours after they are created and do
6666 // not require manual clean-up by the caller.
6767 rpc CreateReadSession (CreateReadSessionRequest ) returns (ReadSession ) {
6868 option (google.api.http ) = {
Original file line number Diff line number Diff line change @@ -126,6 +126,11 @@ message ReadSession {
126126 // in that case, the user will need to use a List method to get the streams
127127 // instead, which is not yet available.
128128 repeated ReadStream streams = 10 [(google.api.field_behavior ) = OUTPUT_ONLY ];
129+
130+ // Output only. An estimate on the number of bytes this session will scan when
131+ // all streams are completely consumed. This estimate is based on
132+ // metadata from the table which might be incomplete or stale.
133+ int64 estimated_total_bytes_scanned = 12 [(google.api.field_behavior ) = OUTPUT_ONLY ];
129134}
130135
131136// Information about a single stream that gets data out of the storage system.
You can’t perform that action at this time.
0 commit comments