class Google::Apis::JobsV4::JobResult

Mutation result of a job from a batch operation.

Attributes

job[RW]

A Job resource represents a job posting (also referred to as a “job listing” or “job requisition”). A job belongs to a Company, which is the hiring entity responsible for the job. Corresponds to the JSON property `job` @return [Google::Apis::JobsV4::Job]

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::JobsV4::Status]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/jobs_v4/classes.rb, line 1446
def update!(**args)
  @job = args[:job] if args.key?(:job)
  @status = args[:status] if args.key?(:status)
end