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



238
239
240
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 238

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`



216
217
218
# File 'generated/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 'generated/google/apis/genomics_v2alpha1/classes.rb', line 221

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



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

def result
  @result
end

#worker_statusGoogle::Apis::GenomicsV2alpha1::WorkerStatus

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



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

def worker_status
  @worker_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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