OptionaladdedOptionaladdedUsername of the sharer.
OptionalcdfWhether to enable cdf or indicate if cdf is enabled on the shared object.
OptionalcommentA user-provided comment when adding the data object to the share.
OptionalcontentThe content of the notebook file when the data object type is NOTEBOOK_FILE. This should be base64 encoded. Required for adding a NOTEBOOK_FILE, optional for updating, ignored for other types.
OptionaldataThe type of the data object.
OptionalhistoryWhether to enable or disable sharing of data history. If not specified, the default is DISABLED.
OptionalnameA fully qualified name that uniquely identifies a data object.
For example, a table's fully qualified name is in the format of <catalog>.<schema>.<table>,
OptionalpartitionsArray of partitions for the shared data.
OptionalsharedA user-provided alias name for table-like data objects within the share.
Use this field for table-like objects (for example: TABLE, VIEW, MATERIALIZED_VIEW, STREAMING_TABLE, FOREIGN_TABLE).
For non-table objects (for example: VOLUME, MODEL, NOTEBOOK_FILE, FUNCTION), use string_shared_as instead.
Important: For non-table objects, this field must be omitted entirely.
Format: Must be a 2-part name <schema_name>.<table_name> (e.g., "sales_schema.orders_table")
Behavior:
<schema>.<table> from the object's original nameshared_as name must be unique within the shareExamples:
OptionalstartThe start version associated with the object. This allows data providers to control the lowest object version that is accessible by clients. If specified, clients can query snapshots or changes for versions >= start_version. If not specified, clients can only query starting from the version of the object at the time it was added to the share.
NOTE: The start_version should be <= the current version of the object.
OptionalstatusOne of: ACTIVE, PERMISSION_DENIED.
OptionalstringA user-provided alias name for non-table data objects within the share.
Use this field for non-table objects (for example: VOLUME, MODEL, NOTEBOOK_FILE, FUNCTION).
For table-like objects (for example: TABLE, VIEW, MATERIALIZED_VIEW, STREAMING_TABLE, FOREIGN_TABLE), use shared_as instead.
Important: For table-like objects, this field must be omitted entirely.
Format:
<schema_name>.<volume_name> (e.g., "data_schema.ml_models")<schema_name>.<function_name> (e.g., "udf_schema.calculate_tax")<schema_name>.<model_name> (e.g., "models.prediction_model")Behavior:
string_shared_as name must be unique for objects of the same type within the shareExamples:
The time when this data object is added to the share, in epoch milliseconds.