Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJob
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJob
- 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
A metadata job resource.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#import_result ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobResult
Results from a metadata import job.
-
#import_spec ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobSpec
Job specification for a metadata import job Corresponds to the JSON property
importSpec
. -
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#status ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobStatus
Metadata job status.
-
#type ⇒ String
Required.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1MetadataJob
constructor
A new instance of GoogleCloudDataplexV1MetadataJob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1MetadataJob
Returns a new instance of GoogleCloudDataplexV1MetadataJob.
6065 6066 6067 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6065 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time when the metadata job was created.
Corresponds to the JSON property createTime
6019 6020 6021 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6019 def create_time @create_time end |
#import_result ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobResult
Results from a metadata import job.
Corresponds to the JSON property importResult
6024 6025 6026 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6024 def import_result @import_result end |
#import_spec ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobSpec
Job specification for a metadata import job
Corresponds to the JSON property importSpec
6029 6030 6031 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6029 def import_spec @import_spec end |
#labels ⇒ Hash<String,String>
Optional. User-defined labels.
Corresponds to the JSON property labels
6034 6035 6036 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6034 def labels @labels end |
#name ⇒ String
Output only. Identifier. The name of the resource that the configuration is
applied to, in the format projects/project_number
/locations/location_id
/
metadataJobs/metadata_job_id
.
Corresponds to the JSON property name
6041 6042 6043 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6041 def name @name end |
#status ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobStatus
Metadata job status.
Corresponds to the JSON property status
6046 6047 6048 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6046 def status @status end |
#type ⇒ String
Required. Metadata job type.
Corresponds to the JSON property type
6051 6052 6053 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6051 def type @type end |
#uid ⇒ String
Output only. A system-generated, globally unique ID for the metadata job. If
the metadata job is deleted and then re-created with the same name, this ID is
different.
Corresponds to the JSON property uid
6058 6059 6060 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6058 def uid @uid end |
#update_time ⇒ String
Output only. The time when the metadata job was updated.
Corresponds to the JSON property updateTime
6063 6064 6065 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6063 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6070 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @import_result = args[:import_result] if args.key?(:import_result) @import_spec = args[:import_spec] if args.key?(:import_spec) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end |