Class: Google::Apis::GenomicsV2alpha1::CheckInRequest

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

Overview

The parameters to the CheckIn method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CheckInRequest

Returns a new instance of CheckInRequest



247
248
249
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 247

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

Instance Attribute Details

#deadline_expiredGoogle::Apis::GenomicsV2alpha1::Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); The JSON representation for Empty is empty JSON object ```. Corresponds to the JSON propertydeadlineExpired`



225
226
227
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 225

def deadline_expired
  @deadline_expired
end

#eventHash<String,Object>

A workflow specific event occurred. Corresponds to the JSON property event

Returns:

  • (Hash<String,Object>)


230
231
232
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 230

def event
  @event
end

#resultGoogle::Apis::GenomicsV2alpha1::Status

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. 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. Corresponds to the JSON property result



240
241
242
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 240

def result
  @result
end

#worker_statusGoogle::Apis::GenomicsV2alpha1::WorkerStatus

The status of the worker VM. Corresponds to the JSON property workerStatus



245
246
247
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 245

def worker_status
  @worker_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



252
253
254
255
256
257
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 252

def update!(**args)
  @deadline_expired = args[:deadline_expired] if args.key?(:deadline_expired)
  @event = args[:event] if args.key?(:event)
  @result = args[:result] if args.key?(:result)
  @worker_status = args[:worker_status] if args.key?(:worker_status)
end