Class: Google::Apis::GenomicsV2alpha1::CheckInResponse
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV2alpha1::CheckInResponse
- 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 response to the CheckIn method.
Instance Attribute Summary collapse
-
#deadline ⇒ String
The deadline by which the worker must request an extension.
-
#features ⇒ Hash<String,Object>
Feature configuration for the operation.
-
#metadata ⇒ Hash<String,Object>
The metadata that describes the operation assigned to the worker.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckInResponse
constructor
A new instance of CheckInResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckInResponse
Returns a new instance of CheckInResponse.
285 286 287 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 285 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deadline ⇒ String
The deadline by which the worker must request an extension. The backend will
allow for network transmission time and other delays, but the worker must
attempt to transmit the extension request no later than the deadline.
Corresponds to the JSON property deadline
273 274 275 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 273 def deadline @deadline end |
#features ⇒ Hash<String,Object>
Feature configuration for the operation.
Corresponds to the JSON property features
278 279 280 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 278 def features @features end |
#metadata ⇒ Hash<String,Object>
The metadata that describes the operation assigned to the worker.
Corresponds to the JSON property metadata
283 284 285 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 283 def @metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
290 291 292 293 294 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 290 def update!(**args) @deadline = args[:deadline] if args.key?(:deadline) @features = args[:features] if args.key?(:features) @metadata = args[:metadata] if args.key?(:metadata) end |