Class: Google::Apis::GenomicsV2alpha1::CheckInRequest
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV2alpha1::CheckInRequest
- 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
-
#deadline_expired ⇒ Google::Apis::GenomicsV2alpha1::Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
-
#event ⇒ Hash<String,Object>
A workflow specific event occurred.
-
#events ⇒ Array<Google::Apis::GenomicsV2alpha1::TimestampedEvent>
A list of timestamped events.
-
#result ⇒ Google::Apis::GenomicsV2alpha1::Status
The
Statustype defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. -
#sos_report ⇒ String
An SOS report for an unexpected VM failure.
-
#worker_status ⇒ Google::Apis::GenomicsV2alpha1::WorkerStatus
The status of the worker VM.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckInRequest
constructor
A new instance of CheckInRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckInRequest
Returns a new instance of CheckInRequest.
250 251 252 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 250 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deadline_expired ⇒ Google::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`
217 218 219 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 217 def deadline_expired @deadline_expired end |
#event ⇒ Hash<String,Object>
A workflow specific event occurred.
Corresponds to the JSON property event
222 223 224 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 222 def event @event end |
#events ⇒ Array<Google::Apis::GenomicsV2alpha1::TimestampedEvent>
A list of timestamped events.
Corresponds to the JSON property events
227 228 229 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 227 def events @events end |
#result ⇒ Google::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
237 238 239 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 237 def result @result end |
#sos_report ⇒ String
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.
243 244 245 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 243 def sos_report @sos_report end |
#worker_status ⇒ Google::Apis::GenomicsV2alpha1::WorkerStatus
The status of the worker VM.
Corresponds to the JSON property workerStatus
248 249 250 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 248 def worker_status @worker_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
255 256 257 258 259 260 261 262 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 255 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 |