Class: Google::Cloud::Run::V2::ExecutionReference

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/job.rb

Overview

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

Defined Under Namespace

Modules: CompletionStatus

Instance Attribute Summary collapse

Instance Attribute Details

#completion_status::Google::Cloud::Run::V2::ExecutionReference::CompletionStatus

Returns Status for the execution completion.

Returns:



379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/run/v2/job.rb', line 379

class ExecutionReference
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible execution completion status.
  module CompletionStatus
    # The default value. This value is used if the state is omitted.
    COMPLETION_STATUS_UNSPECIFIED = 0

    # Job execution has succeeded.
    EXECUTION_SUCCEEDED = 1

    # Job execution has failed.
    EXECUTION_FAILED = 2

    # Job execution is running normally.
    EXECUTION_RUNNING = 3

    # Waiting for backing resources to be provisioned.
    EXECUTION_PENDING = 4

    # Job execution has been cancelled by the user.
    EXECUTION_CANCELLED = 5
  end
end

#completion_time::Google::Protobuf::Timestamp

Returns Creation timestamp of the execution.

Returns:



379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/run/v2/job.rb', line 379

class ExecutionReference
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible execution completion status.
  module CompletionStatus
    # The default value. This value is used if the state is omitted.
    COMPLETION_STATUS_UNSPECIFIED = 0

    # Job execution has succeeded.
    EXECUTION_SUCCEEDED = 1

    # Job execution has failed.
    EXECUTION_FAILED = 2

    # Job execution is running normally.
    EXECUTION_RUNNING = 3

    # Waiting for backing resources to be provisioned.
    EXECUTION_PENDING = 4

    # Job execution has been cancelled by the user.
    EXECUTION_CANCELLED = 5
  end
end

#create_time::Google::Protobuf::Timestamp

Returns Creation timestamp of the execution.

Returns:



379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/run/v2/job.rb', line 379

class ExecutionReference
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible execution completion status.
  module CompletionStatus
    # The default value. This value is used if the state is omitted.
    COMPLETION_STATUS_UNSPECIFIED = 0

    # Job execution has succeeded.
    EXECUTION_SUCCEEDED = 1

    # Job execution has failed.
    EXECUTION_FAILED = 2

    # Job execution is running normally.
    EXECUTION_RUNNING = 3

    # Waiting for backing resources to be provisioned.
    EXECUTION_PENDING = 4

    # Job execution has been cancelled by the user.
    EXECUTION_CANCELLED = 5
  end
end

#delete_time::Google::Protobuf::Timestamp

Returns The deletion time of the execution. It is only populated as a response to a Delete request.

Returns:



379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/run/v2/job.rb', line 379

class ExecutionReference
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible execution completion status.
  module CompletionStatus
    # The default value. This value is used if the state is omitted.
    COMPLETION_STATUS_UNSPECIFIED = 0

    # Job execution has succeeded.
    EXECUTION_SUCCEEDED = 1

    # Job execution has failed.
    EXECUTION_FAILED = 2

    # Job execution is running normally.
    EXECUTION_RUNNING = 3

    # Waiting for backing resources to be provisioned.
    EXECUTION_PENDING = 4

    # Job execution has been cancelled by the user.
    EXECUTION_CANCELLED = 5
  end
end

#name::String

Returns Name of the execution.

Returns:

  • (::String)

    Name of the execution.



379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/run/v2/job.rb', line 379

class ExecutionReference
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Possible execution completion status.
  module CompletionStatus
    # The default value. This value is used if the state is omitted.
    COMPLETION_STATUS_UNSPECIFIED = 0

    # Job execution has succeeded.
    EXECUTION_SUCCEEDED = 1

    # Job execution has failed.
    EXECUTION_FAILED = 2

    # Job execution is running normally.
    EXECUTION_RUNNING = 3

    # Waiting for backing resources to be provisioned.
    EXECUTION_PENDING = 4

    # Job execution has been cancelled by the user.
    EXECUTION_CANCELLED = 5
  end
end