Class: Google::Apis::GenomicsV1alpha2::SetOperationStatusRequest
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1alpha2::SetOperationStatusRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v1alpha2/classes.rb,
generated/google/apis/genomics_v1alpha2/representations.rb,
generated/google/apis/genomics_v1alpha2/representations.rb
Overview
Request to set operation status. Should only be used by VMs created by the Pipelines Service and not by end users.
Instance Attribute Summary collapse
-
#error_code ⇒ String
Corresponds to the JSON property
errorCode
. -
#error_message ⇒ String
Corresponds to the JSON property
errorMessage
. -
#operation_id ⇒ String
Corresponds to the JSON property
operationId
. -
#timestamp_events ⇒ Array<Google::Apis::GenomicsV1alpha2::TimestampEvent>
Corresponds to the JSON property
timestampEvents
. -
#validation_token ⇒ Fixnum
Corresponds to the JSON property
validationToken
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetOperationStatusRequest
constructor
A new instance of SetOperationStatusRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SetOperationStatusRequest
Returns a new instance of SetOperationStatusRequest
1337 1338 1339 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1337 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_code ⇒ String
Corresponds to the JSON property errorCode
1315 1316 1317 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1315 def error_code @error_code end |
#error_message ⇒ String
Corresponds to the JSON property errorMessage
1320 1321 1322 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1320 def @error_message end |
#operation_id ⇒ String
Corresponds to the JSON property operationId
1325 1326 1327 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1325 def operation_id @operation_id end |
#timestamp_events ⇒ Array<Google::Apis::GenomicsV1alpha2::TimestampEvent>
Corresponds to the JSON property timestampEvents
1330 1331 1332 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1330 def @timestamp_events end |
#validation_token ⇒ Fixnum
Corresponds to the JSON property validationToken
1335 1336 1337 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1335 def validation_token @validation_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1342 1343 1344 1345 1346 1347 1348 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1342 def update!(**args) @error_code = args[:error_code] if args.key?(:error_code) @error_message = args[:error_message] if args.key?(:error_message) @operation_id = args[:operation_id] if args.key?(:operation_id) @timestamp_events = args[:timestamp_events] if args.key?(:timestamp_events) @validation_token = args[:validation_token] if args.key?(:validation_token) end |