Class: Google::Apis::GenomicsV2alpha1::CheckInResponse

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 response 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) ⇒ CheckInResponse

Returns a new instance of CheckInResponse.



282
283
284
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 282

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#deadlineString

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

Returns:

  • (String)


275
276
277
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 275

def deadline
  @deadline
end

#metadataHash<String,Object>

The metadata that describes the operation assigned to the worker. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,Object>)


280
281
282
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 280

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



287
288
289
290
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 287

def update!(**args)
  @deadline = args[:deadline] if args.key?(:deadline)
  @metadata = args[:metadata] if args.key?(:metadata)
end