Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobEvent

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

These messages contain information about the execution of a metadata job. The monitored resource is 'MetadataJob'.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1MetadataJobEvent

Returns a new instance of GoogleCloudDataplexV1MetadataJobEvent.



4519
4520
4521
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4519

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

Instance Attribute Details

#import_resultGoogle::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobEventImportResult

Import job result for metadata job. Corresponds to the JSON property importResult



4506
4507
4508
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4506

def import_result
  @import_result
end

#messageString

Message describing failure or success event. Corresponds to the JSON property message

Returns:

  • (String)


4511
4512
4513
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4511

def message
  @message
end

#resourceString

The resource name associated with the event. Supported resources included, but not limited to EntryGroup, MetadataJob, and Entry. Corresponds to the JSON property resource

Returns:

  • (String)


4517
4518
4519
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4517

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4524
4525
4526
4527
4528
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4524

def update!(**args)
  @import_result = args[:import_result] if args.key?(:import_result)
  @message = args[:message] if args.key?(:message)
  @resource = args[:resource] if args.key?(:resource)
end