Class: Google::Apis::RunV2::GoogleCloudRunV2ExecutionReference

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/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) ⇒ GoogleCloudRunV2ExecutionReference

Returns a new instance of GoogleCloudRunV2ExecutionReference.



658
659
660
# File 'lib/google/apis/run_v2/classes.rb', line 658

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

Instance Attribute Details

#completion_timeString

Creation timestamp of the execution. Corresponds to the JSON property completionTime

Returns:

  • (String)


646
647
648
# File 'lib/google/apis/run_v2/classes.rb', line 646

def completion_time
  @completion_time
end

#create_timeString

Creation timestamp of the execution. Corresponds to the JSON property createTime

Returns:

  • (String)


651
652
653
# File 'lib/google/apis/run_v2/classes.rb', line 651

def create_time
  @create_time
end

#nameString

Name of the execution. Corresponds to the JSON property name

Returns:

  • (String)


656
657
658
# File 'lib/google/apis/run_v2/classes.rb', line 656

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



663
664
665
666
667
# File 'lib/google/apis/run_v2/classes.rb', line 663

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