Class StreamingStorageConfig (2.3.3)

Stay organized with collections Save and categorize content based on your preferences.
StreamingStorageConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config for streaming storage option. .. attribute:: enable_storage_annotation_result

Enable streaming storage. Default: false.

:type: bool

Attribute

NameDescription
annotation_result_storage_directory str
Cloud Storage URI to store all annotation results for one client. Client should specify this field as the top-level storage directory. Annotation results of different sessions will be put into different sub-directories denoted by project_name and session_id. All sub-directories will be auto generated by program and will be made accessible to client in response proto. URIs must be specified in the following format: ``gs://bucket-id/object-id`` ``bucket-id`` should be a valid Cloud Storage bucket created by client and bucket permission shall also be configured properly. ``object-id`` can be arbitrary string that make sense to client. Other URI formats will return error and cause Cloud Storage write failure.

Inheritance

builtins.object > proto.message.Message > StreamingStorageConfig