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.



1056
1057
1058
# File 'lib/google/apis/run_v1/classes.rb', line 1056

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

Instance Attribute Details

#completion_timestampString

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

Returns:

  • (String)


1044
1045
1046
# File 'lib/google/apis/run_v1/classes.rb', line 1044

def completion_timestamp
  @completion_timestamp
end

#creation_timestampString

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

Returns:

  • (String)


1049
1050
1051
# File 'lib/google/apis/run_v1/classes.rb', line 1049

def creation_timestamp
  @creation_timestamp
end

#nameString

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

Returns:

  • (String)


1054
1055
1056
# File 'lib/google/apis/run_v1/classes.rb', line 1054

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1061
1062
1063
1064
1065
# File 'lib/google/apis/run_v1/classes.rb', line 1061

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