Cloud Dataplex v1 API - Class Content (2.9.0)

public sealed class Content : IMessage<Content>, IEquatable<Content>, IDeepCloneable<Content>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Dataplex v1 API class Content.

Content represents a user-visible notebook or a sql script

Inheritance

object > Content

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

Content()

public Content()

Content(Content)

public Content(Content other)
Parameter
NameDescription
otherContent

Properties

ContentCase

public Content.ContentOneofCase ContentCase { get; }
Property Value
TypeDescription
ContentContentOneofCase

ContentName

public ContentName ContentName { get; set; }

ContentName-typed view over the Name resource name property.

Property Value
TypeDescription
ContentName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Content creation time.

Property Value
TypeDescription
Timestamp

DataCase

public Content.DataOneofCase DataCase { get; }
Property Value
TypeDescription
ContentDataOneofCase

DataText

public string DataText { get; set; }

Required. Content data in string format.

Property Value
TypeDescription
string

Description

public string Description { get; set; }

Optional. Description of the content.

Property Value
TypeDescription
string

HasDataText

public bool HasDataText { get; }

Gets whether the "data_text" field is set

Property Value
TypeDescription
bool

Labels

public MapField<string, string> Labels { get; }

Optional. User defined labels for the content.

Property Value
TypeDescription
MapFieldstringstring

Name

public string Name { get; set; }

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

Property Value
TypeDescription
string

Notebook

public Content.Types.Notebook Notebook { get; set; }

Notebook related configurations.

Property Value
TypeDescription
ContentTypesNotebook

Path

public string Path { get; set; }

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

Property Value
TypeDescription
string

SqlScript

public Content.Types.SqlScript SqlScript { get; set; }

Sql Script related configurations.

Property Value
TypeDescription
ContentTypesSqlScript

Uid

public string Uid { get; set; }

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.

Property Value
TypeDescription
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time when the content was last updated.

Property Value
TypeDescription
Timestamp