Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ExecutedActionMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb

Overview

ExecutedActionMetadata contains details about a completed execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2ExecutedActionMetadata

Returns a new instance of BuildBazelRemoteExecutionV2ExecutedActionMetadata.



1242
1243
1244
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1242

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

Instance Attribute Details

#auxiliary_metadataArray<Hash<String,Object>>

Details that are specific to the kind of worker used. For example, on POSIX- like systems this could contain a message with getrusage(2) statistics. Corresponds to the JSON property auxiliaryMetadata

Returns:

  • (Array<Hash<String,Object>>)


1190
1191
1192
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1190

def 
  @auxiliary_metadata
end

#execution_completed_timestampString

When the worker completed executing the action command. Corresponds to the JSON property executionCompletedTimestamp

Returns:

  • (String)


1195
1196
1197
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1195

def execution_completed_timestamp
  @execution_completed_timestamp
end

#execution_start_timestampString

When the worker started executing the action command. Corresponds to the JSON property executionStartTimestamp

Returns:

  • (String)


1200
1201
1202
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1200

def execution_start_timestamp
  @execution_start_timestamp
end

#input_fetch_completed_timestampString

When the worker finished fetching action inputs. Corresponds to the JSON property inputFetchCompletedTimestamp

Returns:

  • (String)


1205
1206
1207
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1205

def input_fetch_completed_timestamp
  @input_fetch_completed_timestamp
end

#input_fetch_start_timestampString

When the worker started fetching action inputs. Corresponds to the JSON property inputFetchStartTimestamp

Returns:

  • (String)


1210
1211
1212
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1210

def input_fetch_start_timestamp
  @input_fetch_start_timestamp
end

#output_upload_completed_timestampString

When the worker finished uploading action outputs. Corresponds to the JSON property outputUploadCompletedTimestamp

Returns:

  • (String)


1215
1216
1217
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1215

def output_upload_completed_timestamp
  @output_upload_completed_timestamp
end

#output_upload_start_timestampString

When the worker started uploading action outputs. Corresponds to the JSON property outputUploadStartTimestamp

Returns:

  • (String)


1220
1221
1222
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1220

def output_upload_start_timestamp
  @output_upload_start_timestamp
end

#queued_timestampString

When was the action added to the queue. Corresponds to the JSON property queuedTimestamp

Returns:

  • (String)


1225
1226
1227
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1225

def queued_timestamp
  @queued_timestamp
end

#workerString

The name of the worker which ran the execution. Corresponds to the JSON property worker

Returns:

  • (String)


1230
1231
1232
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1230

def worker
  @worker
end

#worker_completed_timestampString

When the worker completed the action, including all stages. Corresponds to the JSON property workerCompletedTimestamp

Returns:

  • (String)


1235
1236
1237
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1235

def worker_completed_timestamp
  @worker_completed_timestamp
end

#worker_start_timestampString

When the worker received the action. Corresponds to the JSON property workerStartTimestamp

Returns:

  • (String)


1240
1241
1242
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1240

def worker_start_timestamp
  @worker_start_timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1247

def update!(**args)
  @auxiliary_metadata = args[:auxiliary_metadata] if args.key?(:auxiliary_metadata)
  @execution_completed_timestamp = args[:execution_completed_timestamp] if args.key?(:execution_completed_timestamp)
  @execution_start_timestamp = args[:execution_start_timestamp] if args.key?(:execution_start_timestamp)
  @input_fetch_completed_timestamp = args[:input_fetch_completed_timestamp] if args.key?(:input_fetch_completed_timestamp)
  @input_fetch_start_timestamp = args[:input_fetch_start_timestamp] if args.key?(:input_fetch_start_timestamp)
  @output_upload_completed_timestamp = args[:output_upload_completed_timestamp] if args.key?(:output_upload_completed_timestamp)
  @output_upload_start_timestamp = args[:output_upload_start_timestamp] if args.key?(:output_upload_start_timestamp)
  @queued_timestamp = args[:queued_timestamp] if args.key?(:queued_timestamp)
  @worker = args[:worker] if args.key?(:worker)
  @worker_completed_timestamp = args[:worker_completed_timestamp] if args.key?(:worker_completed_timestamp)
  @worker_start_timestamp = args[:worker_start_timestamp] if args.key?(:worker_start_timestamp)
end