Class: Google::Cloud::Dataplex::V1::Content
- Inherits:
-
Object
- Object
- Google::Cloud::Dataplex::V1::Content
- 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
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#data_text ⇒ ::String
Required.
-
#description ⇒ ::String
Optional.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#name ⇒ ::String
readonly
Output only.
-
#notebook ⇒ ::Google::Cloud::Dataplex::V1::Content::Notebook
Notebook related configurations.
-
#path ⇒ ::String
Required.
-
#sql_script ⇒ ::Google::Cloud::Dataplex::V1::Content::SqlScript
Sql Script related configurations.
-
#uid ⇒ ::String
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Content creation time.
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 268 269 270 271 |
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 223 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.
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 268 269 270 271 |
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 223 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.
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 268 269 270 271 |
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 223 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.
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 268 269 270 271 |
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 223 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}.
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 268 269 270 271 |
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 223 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.
Note: The following fields are mutually exclusive: notebook
, sql_script
. If a field in that set is populated, all other fields in the set will automatically be cleared.
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 268 269 270 271 |
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 223 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.
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 268 269 270 271 |
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 223 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.
Note: The following fields are mutually exclusive: sql_script
, notebook
. If a field in that set is populated, all other fields in the set will automatically be cleared.
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 268 269 270 271 |
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 223 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.
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 268 269 270 271 |
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 223 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.
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 268 269 270 271 |
# File 'proto_docs/google/cloud/dataplex/v1/analyze.rb', line 223 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 |