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.


243
244
245
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 243

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`


210
211
212
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 210

def deadline_expired
  @deadline_expired
end

#eventHash<String,Object>

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

Returns:

  • (Hash<String,Object>)

215
216
217
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 215

def event
  @event
end

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

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


220
221
222
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 220

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


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

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)

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

def sos_report
  @sos_report
end

#worker_statusGoogle::Apis::GenomicsV2alpha1::WorkerStatus

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


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

def worker_status
  @worker_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


248
249
250
251
252
253
254
255
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 248

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