Class ReadSession (2.1.0)

ReadSession(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information about the ReadSession.

Attributes

NameDescription
name str
Output only. Unique identifier for the session, in the form projects/{project_id}/locations/{location}/sessions/{session_id}.
expire_time .timestamp.Timestamp
Output only. Time at which the session becomes invalid. After this time, subsequent requests to read this Session will return errors. The expire_time is automatically assigned and currently cannot be specified or updated.
data_format .stream.DataFormat
Immutable. Data format of the output data.
avro_schema .avro.AvroSchema
Output only. Avro schema.
arrow_schema .arrow.ArrowSchema
Output only. Arrow schema.
table str
Immutable. Table that this ReadSession is reading from, in the form projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
table_modifiers .stream.ReadSession.TableModifiers
Optional. Any modifiers which are applied when reading from the specified table.
read_options .stream.ReadSession.TableReadOptions
Optional. Read options for this session (e.g. column selection, filters).
streams Sequence[.stream.ReadStream]
Output only. A list of streams created with the session. At least one stream is created with the session. In the future, larger request_stream_count values *may* result in this list being unpopulated, in that case, the user will need to use a List method to get the streams instead, which is not yet available.

Classes

TableModifiers

TableModifiers(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Additional attributes when reading a table.

TableReadOptions

TableReadOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Options dictating how we read a table.