class Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1DataflowJobDetails

Pipeline job details specific to the Dataflow API. This is encapsulated here to allow for more executors to store their specific details separately.

Attributes

current_workers[RW]

Output only. The current number of workers used to run the jobs. Only set to a value if the job is still running. Corresponds to the JSON property ‘currentWorkers` @return [Fixnum]

resource_info[RW]

Cached version of all the metrics of interest for the job. This value gets stored here when the job is terminated. As long as the job is running, this field is populated from the Dataflow API. Corresponds to the JSON property ‘resourceInfo` @return [Hash<String,Float>]

sdk_version[RW]

The version of the SDK used to run the job. Corresponds to the JSON property ‘sdkVersion` @return [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1SdkVersion]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datapipelines_v1/classes.rb, line 48
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datapipelines_v1/classes.rb, line 53
def update!(**args)
  @current_workers = args[:current_workers] if args.key?(:current_workers)
  @resource_info = args[:resource_info] if args.key?(:resource_info)
  @sdk_version = args[:sdk_version] if args.key?(:sdk_version)
end