REST Resource: projects.locations.lakes.contentitems

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,
  "dataText": string,

  // Union field content can be only one of the following:
  "sqlScript": {
    object (SqlScript)
  },
  "notebook": {
    object (Notebook)
  }
  // End of list of possible types for union field content.
}
Fields
name

string

Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{locationId}/lakes/{lakeId}/content/{content_id}

uid

string

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

string

Required. The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.

createTime

string (Timestamp format)

Output only. Content creation time.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

labels

map (key: string, value: string)

Optional. User defined labels for the content.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

description

string

Optional. Description of the content.

dataText

string

Required. Content data in string format.

Union field content.

content can be only one of the following:

sqlScript

object (SqlScript)

Sql Script related configurations.

notebook

object (Notebook)

Notebook related configurations.

Methods

create

Create a content.

delete

Delete a content.

get

Get a content resource.

list

List content.

patch

Update a content.