Class: Google::Cloud::Deploy::V1::PostdeployJobRun

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/deploy/v1/cloud_deploy.rb

Overview

PostdeployJobRun contains information specific to a postdeploy JobRun.

Defined Under Namespace

Modules: FailureCause

Instance Attribute Summary collapse

Instance Attribute Details

#build::String (readonly)



3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3582

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

  # Well-known postdeploy failures.
  module FailureCause
    # No reason for failure is specified.
    FAILURE_CAUSE_UNSPECIFIED = 0

    # Cloud Build is not available, either because it is not enabled or because
    # Cloud Deploy has insufficient permissions. See [required
    # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
    CLOUD_BUILD_UNAVAILABLE = 1

    # The postdeploy operation did not complete successfully; check Cloud Build
    # logs.
    EXECUTION_FAILED = 2

    # The postdeploy job run did not complete within the allotted time.
    DEADLINE_EXCEEDED = 3

    # Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
    # for additional details.
    CLOUD_BUILD_REQUEST_FAILED = 4
  end
end

#failure_cause::Google::Cloud::Deploy::V1::PostdeployJobRun::FailureCause (readonly)



3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3582

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

  # Well-known postdeploy failures.
  module FailureCause
    # No reason for failure is specified.
    FAILURE_CAUSE_UNSPECIFIED = 0

    # Cloud Build is not available, either because it is not enabled or because
    # Cloud Deploy has insufficient permissions. See [required
    # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
    CLOUD_BUILD_UNAVAILABLE = 1

    # The postdeploy operation did not complete successfully; check Cloud Build
    # logs.
    EXECUTION_FAILED = 2

    # The postdeploy job run did not complete within the allotted time.
    DEADLINE_EXCEEDED = 3

    # Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
    # for additional details.
    CLOUD_BUILD_REQUEST_FAILED = 4
  end
end

#failure_message::String (readonly)



3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3582

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

  # Well-known postdeploy failures.
  module FailureCause
    # No reason for failure is specified.
    FAILURE_CAUSE_UNSPECIFIED = 0

    # Cloud Build is not available, either because it is not enabled or because
    # Cloud Deploy has insufficient permissions. See [required
    # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
    CLOUD_BUILD_UNAVAILABLE = 1

    # The postdeploy operation did not complete successfully; check Cloud Build
    # logs.
    EXECUTION_FAILED = 2

    # The postdeploy job run did not complete within the allotted time.
    DEADLINE_EXCEEDED = 3

    # Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
    # for additional details.
    CLOUD_BUILD_REQUEST_FAILED = 4
  end
end