Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobSpec
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobSpec
- 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
Job specification for a metadata import job
Instance Attribute Summary collapse
-
#aspect_sync_mode ⇒ String
Required.
-
#entry_sync_mode ⇒ String
Required.
-
#log_level ⇒ String
Optional.
-
#scope ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope
A boundary on the scope of impact that the metadata import job can have.
-
#source_create_time ⇒ String
Optional.
-
#source_storage_uri ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1MetadataJobImportJobSpec
constructor
A new instance of GoogleCloudDataplexV1MetadataJobImportJobSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1MetadataJobImportJobSpec
Returns a new instance of GoogleCloudDataplexV1MetadataJobImportJobSpec.
6310 6311 6312 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6310 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aspect_sync_mode ⇒ String
Required. The sync mode for aspects. Only INCREMENTAL mode is supported for
aspects. An aspect is modified only if the metadata import file includes a
reference to the aspect in the update_mask field and the aspect_keys field.
Corresponds to the JSON property aspectSyncMode
6264 6265 6266 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6264 def aspect_sync_mode @aspect_sync_mode end |
#entry_sync_mode ⇒ String
Required. The sync mode for entries. Only FULL mode is supported for entries.
All entries in the job's scope are modified. If an entry exists in Dataplex
but isn't included in the metadata import file, the entry is deleted when you
run the metadata job.
Corresponds to the JSON property entrySyncMode
6272 6273 6274 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6272 def entry_sync_mode @entry_sync_mode end |
#log_level ⇒ String
Optional. The level of logs to write to Cloud Logging for this job.Debug-level
logs provide highly-detailed information for troubleshooting, but their
increased verbosity could incur additional costs (https://cloud.google.com/
stackdriver/pricing) that might not be merited for all jobs.If unspecified,
defaults to INFO.
Corresponds to the JSON property logLevel
6281 6282 6283 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6281 def log_level @log_level end |
#scope ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope
A boundary on the scope of impact that the metadata import job can have.
Corresponds to the JSON property scope
6286 6287 6288 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6286 def scope @scope end |
#source_create_time ⇒ String
Optional. The time when the process that created the metadata import files
began.
Corresponds to the JSON property sourceCreateTime
6292 6293 6294 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6292 def source_create_time @source_create_time end |
#source_storage_uri ⇒ String
Optional. The URI of a Cloud Storage bucket or folder (beginning with gs://
and ending with /) that contains the metadata import files for this job.A
metadata import file defines the values to set for each of the entries and
aspects in a metadata job. For more information about how to create a metadata
import file and the file requirements, see Metadata import file (https://cloud.
google.com/dataplex/docs/import-metadata#metadata-import-file).You can provide
multiple metadata import files in the same metadata job. The bucket or folder
must contain at least one metadata import file, in JSON Lines format (either .
json or .jsonl file extension).In FULL entry sync mode, don't save the
metadata import file in a folder named SOURCE_STORAGE_URI/deletions/.Caution:
If the metadata import file contains no data, all entries and aspects that
belong to the job's scope are deleted.
Corresponds to the JSON property sourceStorageUri
6308 6309 6310 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6308 def source_storage_uri @source_storage_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6315 6316 6317 6318 6319 6320 6321 6322 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6315 def update!(**args) @aspect_sync_mode = args[:aspect_sync_mode] if args.key?(:aspect_sync_mode) @entry_sync_mode = args[:entry_sync_mode] if args.key?(:entry_sync_mode) @log_level = args[:log_level] if args.key?(:log_level) @scope = args[:scope] if args.key?(:scope) @source_create_time = args[:source_create_time] if args.key?(:source_create_time) @source_storage_uri = args[:source_storage_uri] if args.key?(:source_storage_uri) end |