Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskNotebookTaskConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskNotebookTaskConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Config for running scheduled notebooks.
Instance Attribute Summary collapse
-
#archive_uris ⇒ Array<String>
Optional.
-
#file_uris ⇒ Array<String>
Optional.
-
#infrastructure_spec ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpec
Configuration for the underlying infrastructure used to run workloads.
-
#notebook ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1TaskNotebookTaskConfig
constructor
A new instance of GoogleCloudDataplexV1TaskNotebookTaskConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1TaskNotebookTaskConfig
Returns a new instance of GoogleCloudDataplexV1TaskNotebookTaskConfig.
7175 7176 7177 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7175 def initialize(**args) update!(**args) end |
Instance Attribute Details
#archive_uris ⇒ Array<String>
Optional. Cloud Storage URIs of archives to be extracted into the working
directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz,
and .zip.
Corresponds to the JSON property archiveUris
7155 7156 7157 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7155 def archive_uris @archive_uris end |
#file_uris ⇒ Array<String>
Optional. Cloud Storage URIs of files to be placed in the working directory of
each executor.
Corresponds to the JSON property fileUris
7161 7162 7163 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7161 def file_uris @file_uris end |
#infrastructure_spec ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskInfrastructureSpec
Configuration for the underlying infrastructure used to run workloads.
Corresponds to the JSON property infrastructureSpec
7166 7167 7168 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7166 def infrastructure_spec @infrastructure_spec end |
#notebook ⇒ String
Required. Path to input notebook. This can be the Cloud Storage URI of the
notebook file or the path to a Notebook Content. The execution args are
accessible as environment variables (TASK_key=value).
Corresponds to the JSON property notebook
7173 7174 7175 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7173 def notebook @notebook end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7180 7181 7182 7183 7184 7185 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 7180 def update!(**args) @archive_uris = args[:archive_uris] if args.key?(:archive_uris) @file_uris = args[:file_uris] if args.key?(:file_uris) @infrastructure_spec = args[:infrastructure_spec] if args.key?(:infrastructure_spec) @notebook = args[:notebook] if args.key?(:notebook) end |