Class: Google::Apis::RunV1::ExecutionReference

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

Overview

Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExecutionReference

Returns a new instance of ExecutionReference.



1153
1154
1155
# File 'lib/google/apis/run_v1/classes.rb', line 1153

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

Instance Attribute Details

#completion_statusString

Optional. Status for the execution completion. Corresponds to the JSON property completionStatus

Returns:

  • (String)


1131
1132
1133
# File 'lib/google/apis/run_v1/classes.rb', line 1131

def completion_status
  @completion_status
end

#completion_timestampString

Optional. Completion timestamp of the execution. Corresponds to the JSON property completionTimestamp

Returns:

  • (String)


1136
1137
1138
# File 'lib/google/apis/run_v1/classes.rb', line 1136

def completion_timestamp
  @completion_timestamp
end

#creation_timestampString

Optional. Creation timestamp of the execution. Corresponds to the JSON property creationTimestamp

Returns:

  • (String)


1141
1142
1143
# File 'lib/google/apis/run_v1/classes.rb', line 1141

def creation_timestamp
  @creation_timestamp
end

#deletion_timestampString

Optional. The read-only soft deletion timestamp of the execution. Corresponds to the JSON property deletionTimestamp

Returns:

  • (String)


1146
1147
1148
# File 'lib/google/apis/run_v1/classes.rb', line 1146

def deletion_timestamp
  @deletion_timestamp
end

#nameString

Optional. Name of the execution. Corresponds to the JSON property name

Returns:

  • (String)


1151
1152
1153
# File 'lib/google/apis/run_v1/classes.rb', line 1151

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1158
1159
1160
1161
1162
1163
1164
# File 'lib/google/apis/run_v1/classes.rb', line 1158

def update!(**args)
  @completion_status = args[:completion_status] if args.key?(:completion_status)
  @completion_timestamp = args[:completion_timestamp] if args.key?(:completion_timestamp)
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
  @deletion_timestamp = args[:deletion_timestamp] if args.key?(:deletion_timestamp)
  @name = args[:name] if args.key?(:name)
end