Class Content (1.7.0)

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

Content represents a user-visible notebook or a sql script

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof:


name str
Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}
uid str
Output only. System generated globally unique ID for the content. This ID will be different if the content is deleted and re-created with the same name.
path str
Required. The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Content creation time.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the content was last updated.
labels MutableMapping[str, str]
Optional. User defined labels for the content.
description str
Optional. Description of the content.
data_text str
Required. Content data in string format. This field is a member of oneof_ data.
Sql Script related configurations. This field is a member of oneof_ content.
Notebook related configurations. This field is a member of oneof_ content.



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

The abstract base class for a message.

kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.


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

Configuration for Notebook content.


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

Configuration for the Sql Script content.