Class: Google::Apis::GenomicsV1alpha2::SetOperationStatusRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SetOperationStatusRequest

Returns a new instance of SetOperationStatusRequest



1351
1352
1353
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1351

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

Instance Attribute Details

#error_codeString

Corresponds to the JSON property errorCode

Returns:

  • (String)


1329
1330
1331
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1329

def error_code
  @error_code
end

#error_messageString

Corresponds to the JSON property errorMessage

Returns:

  • (String)


1334
1335
1336
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1334

def error_message
  @error_message
end

#operation_idString

Corresponds to the JSON property operationId

Returns:

  • (String)


1339
1340
1341
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1339

def operation_id
  @operation_id
end

#timestamp_eventsArray<Google::Apis::GenomicsV1alpha2::TimestampEvent>

Corresponds to the JSON property timestampEvents



1344
1345
1346
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1344

def timestamp_events
  @timestamp_events
end

#validation_tokenFixnum

Corresponds to the JSON property validationToken

Returns:

  • (Fixnum)


1349
1350
1351
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1349

def validation_token
  @validation_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1356
1357
1358
1359
1360
1361
1362
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1356

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