Dataplex V1 API - Class Google::Cloud::Dataplex::V1::Content (v0.12.0)

Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::Content.

Content represents a user-visible notebook or a sql script

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#data_text

def data_text() -> ::String
Returns
  • (::String) — Required. Content data in string format.

#data_text=

def data_text=(value) -> ::String
Parameter
  • value (::String) — Required. Content data in string format.
Returns
  • (::String) — Required. Content data in string format.

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of the content.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of the content.
Returns
  • (::String) — Optional. Description of the content.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User defined labels for the content.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. User defined labels for the content.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. User defined labels for the content.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id}

#notebook

def notebook() -> ::Google::Cloud::Dataplex::V1::Content::Notebook
Returns

#notebook=

def notebook=(value) -> ::Google::Cloud::Dataplex::V1::Content::Notebook
Parameter
Returns

#path

def path() -> ::String
Returns
  • (::String) — Required. The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.

#path=

def path=(value) -> ::String
Parameter
  • value (::String) — Required. The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.
Returns
  • (::String) — Required. The path for the Content file, represented as directory structure. Unique within a lake. Limited to alphanumerics, hyphens, underscores, dots and slashes.

#sql_script

def sql_script() -> ::Google::Cloud::Dataplex::V1::Content::SqlScript
Returns

#sql_script=

def sql_script=(value) -> ::Google::Cloud::Dataplex::V1::Content::SqlScript
Parameter
Returns

#uid

def uid() -> ::String
Returns
  • (::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.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns