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.



1003
1004
1005
# File 'lib/google/apis/run_v1/classes.rb', line 1003

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

Instance Attribute Details

#creation_timestampString

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

Returns:

  • (String)


996
997
998
# File 'lib/google/apis/run_v1/classes.rb', line 996

def creation_timestamp
  @creation_timestamp
end

#nameString

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

Returns:

  • (String)


1001
1002
1003
# File 'lib/google/apis/run_v1/classes.rb', line 1001

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1008
1009
1010
1011
# File 'lib/google/apis/run_v1/classes.rb', line 1008

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