Resource: Content
Content represents a user-visible notebook or a sql script
JSON representation |
---|
{ "name": string, "uid": string, "path": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "description": string, // Union field |
Fields | |
---|---|
name |
Output only. The relative resource name of the content, of the form: projects/{projectId}/locations/{locationId}/lakes/{lakeId}/content/{content_id} |
uid |
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 |
Required. The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes. |
createTime |
Output only. Content creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time when the content was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Optional. User defined labels for the content. An object containing a list of |
description |
Optional. Description of the content. |
Union field data . Only returned in GetContent requests and not in ListContent request. data can be only one of the following: |
|
dataText |
Required. Content data in string format. |
Union field content . Types of content content can be only one of the following: |
|
sqlScript |
Sql Script related configurations. |
notebook |
Notebook related configurations. |
SqlScript
Configuration for the Sql Script content.
JSON representation |
---|
{
"engine": enum ( |
Fields | |
---|---|
engine |
Required. Query Engine to be used for the Sql Query. |
QueryEngine
Query Engine Type of the SQL Script.
Enums | |
---|---|
QUERY_ENGINE_UNSPECIFIED |
Value was unspecified. |
SPARK |
Spark SQL Query. |
Notebook
Configuration for Notebook content.
JSON representation |
---|
{
"kernelType": enum ( |
Fields | |
---|---|
kernelType |
Required. Kernel Type of the notebook. |
KernelType
Kernel Type of the Jupyter notebook.
Enums | |
---|---|
KERNEL_TYPE_UNSPECIFIED |
Kernel Type unspecified. |
PYTHON3 |
Python 3 Kernel. |
Methods |
|
---|---|
|
Create a content. |
|
Delete a content. |
|
Get a content resource. |
|
Gets the access control policy for a contentitem resource. |
|
List content. |
|
Update a content. |
|
Sets the access control policy on the specified contentitem resource. |
|
Returns the caller's permissions on a resource. |