Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1JobEvent

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

The payload associated with Job logs that contains events describing jobs that have run within a Lake.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1JobEvent

Returns a new instance of GoogleCloudDataplexV1JobEvent.



1640
1641
1642
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1640

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

Instance Attribute Details

#end_timeString

The time when the job ended running. Corresponds to the JSON property endTime

Returns:

  • (String)


1598
1599
1600
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1598

def end_time
  @end_time
end

#job_idString

The unique id identifying the job. Corresponds to the JSON property jobId

Returns:

  • (String)


1603
1604
1605
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1603

def job_id
  @job_id
end

#messageString

The log message. Corresponds to the JSON property message

Returns:

  • (String)


1608
1609
1610
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1608

def message
  @message
end

#retriesFixnum

The number of retries. Corresponds to the JSON property retries

Returns:

  • (Fixnum)


1613
1614
1615
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1613

def retries
  @retries
end

#serviceString

The service used to execute the job. Corresponds to the JSON property service

Returns:

  • (String)


1618
1619
1620
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1618

def service
  @service
end

#service_jobString

The reference to the job within the service. Corresponds to the JSON property serviceJob

Returns:

  • (String)


1623
1624
1625
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1623

def service_job
  @service_job
end

#start_timeString

The time when the job started running. Corresponds to the JSON property startTime

Returns:

  • (String)


1628
1629
1630
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1628

def start_time
  @start_time
end

#stateString

The job state on completion. Corresponds to the JSON property state

Returns:

  • (String)


1633
1634
1635
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1633

def state
  @state
end

#typeString

The type of the job. Corresponds to the JSON property type

Returns:

  • (String)


1638
1639
1640
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1638

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1645

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @job_id = args[:job_id] if args.key?(:job_id)
  @message = args[:message] if args.key?(:message)
  @retries = args[:retries] if args.key?(:retries)
  @service = args[:service] if args.key?(:service)
  @service_job = args[:service_job] if args.key?(:service_job)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
  @type = args[:type] if args.key?(:type)
end