Class: Google::Cloud::Dataplex::V1::Content

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataplex/v1/analyze.rb

Overview

Content represents a user-visible notebook or a sql script

Defined Under Namespace

Classes: LabelsEntry, Notebook, SqlScript

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Content creation time.

Returns:



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 219

class Content
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for the Sql Script content.
  # @!attribute [rw] engine
  #   @return [::Google::Cloud::Dataplex::V1::Content::SqlScript::QueryEngine]
  #     Required. Query Engine to be used for the Sql Query.
  class SqlScript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Query Engine Type of the SQL Script.
    module QueryEngine
      # Value was unspecified.
      QUERY_ENGINE_UNSPECIFIED = 0

      # Spark SQL Query.
      SPARK = 2
    end
  end

  # Configuration for Notebook content.
  # @!attribute [rw] kernel_type
  #   @return [::Google::Cloud::Dataplex::V1::Content::Notebook::KernelType]
  #     Required. Kernel Type of the notebook.
  class Notebook
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Kernel Type of the Jupyter notebook.
    module KernelType
      # Kernel Type unspecified.
      KERNEL_TYPE_UNSPECIFIED = 0

      # Python 3 Kernel.
      PYTHON3 = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#data_text::String

Returns Required. Content data in string format.

Returns:

  • (::String)

    Required. Content data in string format.



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 219

class Content
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for the Sql Script content.
  # @!attribute [rw] engine
  #   @return [::Google::Cloud::Dataplex::V1::Content::SqlScript::QueryEngine]
  #     Required. Query Engine to be used for the Sql Query.
  class SqlScript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Query Engine Type of the SQL Script.
    module QueryEngine
      # Value was unspecified.
      QUERY_ENGINE_UNSPECIFIED = 0

      # Spark SQL Query.
      SPARK = 2
    end
  end

  # Configuration for Notebook content.
  # @!attribute [rw] kernel_type
  #   @return [::Google::Cloud::Dataplex::V1::Content::Notebook::KernelType]
  #     Required. Kernel Type of the notebook.
  class Notebook
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Kernel Type of the Jupyter notebook.
    module KernelType
      # Kernel Type unspecified.
      KERNEL_TYPE_UNSPECIFIED = 0

      # Python 3 Kernel.
      PYTHON3 = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#description::String

Returns Optional. Description of the content.

Returns:

  • (::String)

    Optional. Description of the content.



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 219

class Content
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for the Sql Script content.
  # @!attribute [rw] engine
  #   @return [::Google::Cloud::Dataplex::V1::Content::SqlScript::QueryEngine]
  #     Required. Query Engine to be used for the Sql Query.
  class SqlScript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Query Engine Type of the SQL Script.
    module QueryEngine
      # Value was unspecified.
      QUERY_ENGINE_UNSPECIFIED = 0

      # Spark SQL Query.
      SPARK = 2
    end
  end

  # Configuration for Notebook content.
  # @!attribute [rw] kernel_type
  #   @return [::Google::Cloud::Dataplex::V1::Content::Notebook::KernelType]
  #     Required. Kernel Type of the notebook.
  class Notebook
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Kernel Type of the Jupyter notebook.
    module KernelType
      # Kernel Type unspecified.
      KERNEL_TYPE_UNSPECIFIED = 0

      # Python 3 Kernel.
      PYTHON3 = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Optional. User defined labels for the content.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. User defined labels for the content.



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 219

class Content
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for the Sql Script content.
  # @!attribute [rw] engine
  #   @return [::Google::Cloud::Dataplex::V1::Content::SqlScript::QueryEngine]
  #     Required. Query Engine to be used for the Sql Query.
  class SqlScript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Query Engine Type of the SQL Script.
    module QueryEngine
      # Value was unspecified.
      QUERY_ENGINE_UNSPECIFIED = 0

      # Spark SQL Query.
      SPARK = 2
    end
  end

  # Configuration for Notebook content.
  # @!attribute [rw] kernel_type
  #   @return [::Google::Cloud::Dataplex::V1::Content::Notebook::KernelType]
  #     Required. Kernel Type of the notebook.
  class Notebook
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Kernel Type of the Jupyter notebook.
    module KernelType
      # Kernel Type unspecified.
      KERNEL_TYPE_UNSPECIFIED = 0

      # Python 3 Kernel.
      PYTHON3 = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String (readonly)

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

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}



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 219

class Content
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for the Sql Script content.
  # @!attribute [rw] engine
  #   @return [::Google::Cloud::Dataplex::V1::Content::SqlScript::QueryEngine]
  #     Required. Query Engine to be used for the Sql Query.
  class SqlScript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Query Engine Type of the SQL Script.
    module QueryEngine
      # Value was unspecified.
      QUERY_ENGINE_UNSPECIFIED = 0

      # Spark SQL Query.
      SPARK = 2
    end
  end

  # Configuration for Notebook content.
  # @!attribute [rw] kernel_type
  #   @return [::Google::Cloud::Dataplex::V1::Content::Notebook::KernelType]
  #     Required. Kernel Type of the notebook.
  class Notebook
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Kernel Type of the Jupyter notebook.
    module KernelType
      # Kernel Type unspecified.
      KERNEL_TYPE_UNSPECIFIED = 0

      # Python 3 Kernel.
      PYTHON3 = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#notebook::Google::Cloud::Dataplex::V1::Content::Notebook

Returns Notebook related configurations.

Returns:



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 219

class Content
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for the Sql Script content.
  # @!attribute [rw] engine
  #   @return [::Google::Cloud::Dataplex::V1::Content::SqlScript::QueryEngine]
  #     Required. Query Engine to be used for the Sql Query.
  class SqlScript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Query Engine Type of the SQL Script.
    module QueryEngine
      # Value was unspecified.
      QUERY_ENGINE_UNSPECIFIED = 0

      # Spark SQL Query.
      SPARK = 2
    end
  end

  # Configuration for Notebook content.
  # @!attribute [rw] kernel_type
  #   @return [::Google::Cloud::Dataplex::V1::Content::Notebook::KernelType]
  #     Required. Kernel Type of the notebook.
  class Notebook
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Kernel Type of the Jupyter notebook.
    module KernelType
      # Kernel Type unspecified.
      KERNEL_TYPE_UNSPECIFIED = 0

      # Python 3 Kernel.
      PYTHON3 = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#path::String

Returns 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.



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 219

class Content
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for the Sql Script content.
  # @!attribute [rw] engine
  #   @return [::Google::Cloud::Dataplex::V1::Content::SqlScript::QueryEngine]
  #     Required. Query Engine to be used for the Sql Query.
  class SqlScript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Query Engine Type of the SQL Script.
    module QueryEngine
      # Value was unspecified.
      QUERY_ENGINE_UNSPECIFIED = 0

      # Spark SQL Query.
      SPARK = 2
    end
  end

  # Configuration for Notebook content.
  # @!attribute [rw] kernel_type
  #   @return [::Google::Cloud::Dataplex::V1::Content::Notebook::KernelType]
  #     Required. Kernel Type of the notebook.
  class Notebook
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Kernel Type of the Jupyter notebook.
    module KernelType
      # Kernel Type unspecified.
      KERNEL_TYPE_UNSPECIFIED = 0

      # Python 3 Kernel.
      PYTHON3 = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#sql_script::Google::Cloud::Dataplex::V1::Content::SqlScript

Returns Sql Script related configurations.

Returns:



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 219

class Content
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for the Sql Script content.
  # @!attribute [rw] engine
  #   @return [::Google::Cloud::Dataplex::V1::Content::SqlScript::QueryEngine]
  #     Required. Query Engine to be used for the Sql Query.
  class SqlScript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Query Engine Type of the SQL Script.
    module QueryEngine
      # Value was unspecified.
      QUERY_ENGINE_UNSPECIFIED = 0

      # Spark SQL Query.
      SPARK = 2
    end
  end

  # Configuration for Notebook content.
  # @!attribute [rw] kernel_type
  #   @return [::Google::Cloud::Dataplex::V1::Content::Notebook::KernelType]
  #     Required. Kernel Type of the notebook.
  class Notebook
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Kernel Type of the Jupyter notebook.
    module KernelType
      # Kernel Type unspecified.
      KERNEL_TYPE_UNSPECIFIED = 0

      # Python 3 Kernel.
      PYTHON3 = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#uid::String (readonly)

Returns 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.

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.



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 219

class Content
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for the Sql Script content.
  # @!attribute [rw] engine
  #   @return [::Google::Cloud::Dataplex::V1::Content::SqlScript::QueryEngine]
  #     Required. Query Engine to be used for the Sql Query.
  class SqlScript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Query Engine Type of the SQL Script.
    module QueryEngine
      # Value was unspecified.
      QUERY_ENGINE_UNSPECIFIED = 0

      # Spark SQL Query.
      SPARK = 2
    end
  end

  # Configuration for Notebook content.
  # @!attribute [rw] kernel_type
  #   @return [::Google::Cloud::Dataplex::V1::Content::Notebook::KernelType]
  #     Required. Kernel Type of the notebook.
  class Notebook
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Kernel Type of the Jupyter notebook.
    module KernelType
      # Kernel Type unspecified.
      KERNEL_TYPE_UNSPECIFIED = 0

      # Python 3 Kernel.
      PYTHON3 = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

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

Returns:



219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 219

class Content
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Configuration for the Sql Script content.
  # @!attribute [rw] engine
  #   @return [::Google::Cloud::Dataplex::V1::Content::SqlScript::QueryEngine]
  #     Required. Query Engine to be used for the Sql Query.
  class SqlScript
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Query Engine Type of the SQL Script.
    module QueryEngine
      # Value was unspecified.
      QUERY_ENGINE_UNSPECIFIED = 0

      # Spark SQL Query.
      SPARK = 2
    end
  end

  # Configuration for Notebook content.
  # @!attribute [rw] kernel_type
  #   @return [::Google::Cloud::Dataplex::V1::Content::Notebook::KernelType]
  #     Required. Kernel Type of the notebook.
  class Notebook
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Kernel Type of the Jupyter notebook.
    module KernelType
      # Kernel Type unspecified.
      KERNEL_TYPE_UNSPECIFIED = 0

      # Python 3 Kernel.
      PYTHON3 = 1
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end