Class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2ExecutedActionMetadata

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

Overview

ExecutedActionMetadata contains details about a completed execution.

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) ⇒ BuildBazelRemoteExecutionV2ExecutedActionMetadata

Returns a new instance of BuildBazelRemoteExecutionV2ExecutedActionMetadata.



967
968
969
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 967

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

Instance Attribute Details

#execution_completed_timestampString

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

Returns:

  • (String)


920
921
922
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 920

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)


925
926
927
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 925

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)


930
931
932
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 930

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)


935
936
937
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 935

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)


940
941
942
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 940

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)


945
946
947
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 945

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)


950
951
952
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 950

def queued_timestamp
  @queued_timestamp
end

#workerString

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

Returns:

  • (String)


955
956
957
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 955

def worker
  @worker
end

#worker_completed_timestampString

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

Returns:

  • (String)


960
961
962
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 960

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)


965
966
967
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 965

def worker_start_timestamp
  @worker_start_timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



972
973
974
975
976
977
978
979
980
981
982
983
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 972

def update!(**args)
  @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