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

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

Overview

The parameters to the CheckIn method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckInRequest

Returns a new instance of CheckInRequest.



249
250
251
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 249

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); Corresponds to the JSON property deadlineExpired



216
217
218
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 216

def deadline_expired
  @deadline_expired
end

#eventHash<String,Object>

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

Returns:

  • (Hash<String,Object>)


221
222
223
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 221

def event
  @event
end

#eventsArray<Google::Apis::GenomicsV2alpha1::TimestampedEvent>

A list of timestamped events. Corresponds to the JSON property events



226
227
228
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 226

def events
  @events
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



236
237
238
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 236

def result
  @result
end

#sos_reportString

An SOS report for an unexpected VM failure. Corresponds to the JSON property sosReport NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


242
243
244
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 242

def sos_report
  @sos_report
end

#worker_statusGoogle::Apis::GenomicsV2alpha1::WorkerStatus

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



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

def worker_status
  @worker_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



254
255
256
257
258
259
260
261
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 254

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