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. |
create |
Output only. Content creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
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: |
|
data |
Required. Content data in string format. |
Union field content . Types of content content can be only one of the following: |
|
sql |
Sql Script related configurations. |
notebook |
Notebook related configurations. |
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. |