Class: Google::Apis::GenomicsV2alpha1::CheckInResponse
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV2alpha1::CheckInResponse
- 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 response to the CheckIn method.
Instance Attribute Summary collapse
-
#deadline ⇒ String
The deadline by which the worker must request an extension.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CheckInResponse
Returns a new instance of CheckInResponse
246 247 248 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 246 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
239 240 241 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 239 def deadline @deadline end |
#metadata ⇒ Hash<String,Object>
The metadata that describes the operation assigned to the worker.
Corresponds to the JSON property metadata
244 245 246 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 244 def @metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
251 252 253 254 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 251 def update!(**args) @deadline = args[:deadline] if args.key?(:deadline) @metadata = args[:metadata] if args.key?(:metadata) end |