Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJob

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1MetadataJob

Returns a new instance of GoogleCloudDataplexV1MetadataJob.



5812
5813
5814
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5812

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Output only. The time when the metadata job was created. Corresponds to the JSON property createTime

Returns:

  • (String)


5766
5767
5768
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5766

def create_time
  @create_time
end

#import_resultGoogle::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobResult

Results from a metadata import job. Corresponds to the JSON property importResult



5771
5772
5773
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5771

def import_result
  @import_result
end

#import_specGoogle::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobImportJobSpec

Job specification for a metadata import job Corresponds to the JSON property importSpec



5776
5777
5778
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5776

def import_spec
  @import_spec
end

#labelsHash<String,String>

Optional. User-defined labels. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


5781
5782
5783
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5781

def labels
  @labels
end

#nameString

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

Returns:

  • (String)


5788
5789
5790
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5788

def name
  @name
end

#statusGoogle::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobStatus

Metadata job status. Corresponds to the JSON property status



5793
5794
5795
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5793

def status
  @status
end

#typeString

Required. Metadata job type. Corresponds to the JSON property type

Returns:

  • (String)


5798
5799
5800
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5798

def type
  @type
end

#uidString

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

Returns:

  • (String)


5805
5806
5807
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5805

def uid
  @uid
end

#update_timeString

Output only. The time when the metadata job was updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


5810
5811
5812
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5810

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5817

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