Class: Google::Apis::BigqueryV2::CancelJobResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb

Overview

Describes format of a jobs cancellation response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CancelJobResponse

Returns a new instance of CancelJobResponse.



4316
4317
4318
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4316

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

Instance Attribute Details

#jobGoogle::Apis::BigqueryV2::Job

The final state of the job. Corresponds to the JSON property job



4309
4310
4311
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4309

def job
  @job
end

#kindString

The resource type of the response. Corresponds to the JSON property kind

Returns:

  • (String)


4314
4315
4316
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4314

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4321
4322
4323
4324
# File 'lib/google/apis/bigquery_v2/classes.rb', line 4321

def update!(**args)
  @job = args[:job] if args.key?(:job)
  @kind = args[:kind] if args.key?(:kind)
end