class Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Job

Definition of the job information maintained by the pipeline. Fields in this entity are retrieved from the executor API (e.g. Dataflow API).

Attributes

create_time[RW]

Output only. The time of job creation. Corresponds to the JSON property ‘createTime` @return [String]

dataflow_job_details[RW]

Pipeline job details specific to the Dataflow API. This is encapsulated here to allow for more executors to store their specific details separately. Corresponds to the JSON property ‘dataflowJobDetails` @return [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1DataflowJobDetails]

end_time[RW]

Output only. The time of job termination. This is absent if the job is still running. Corresponds to the JSON property ‘endTime` @return [String]

id[RW]

Output only. The internal ID for the job. Corresponds to the JSON property ‘id` @return [String]

name[RW]

Required. The fully qualified resource name for the job. Corresponds to the JSON property ‘name` @return [String]

state[RW]

The current state of the job. Corresponds to the JSON property ‘state` @return [String]

status[RW]

The ‘Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `status` @return [Google::Apis::DatapipelinesV1::GoogleRpcStatus]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datapipelines_v1/classes.rb, line 242
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 247
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @dataflow_job_details = args[:dataflow_job_details] if args.key?(:dataflow_job_details)
  @end_time = args[:end_time] if args.key?(:end_time)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @status = args[:status] if args.key?(:status)
end