Class: Google::Cloud::Deploy::V1::PredeployJobRun

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

PredeployJobRun contains information specific to a predeploy JobRun.

Defined Under Namespace

Modules: FailureCause

Instance Attribute Summary collapse

Instance Attribute Details

#build::String (readonly)

Returns Output only. The resource name of the Cloud Build Build object that is used to execute the custom actions associated with the predeploy Job. Format is projects/{project}/locations/{location}/builds/{build}.

Returns:

  • (::String)

    Output only. The resource name of the Cloud Build Build object that is used to execute the custom actions associated with the predeploy Job. Format is projects/{project}/locations/{location}/builds/{build}.



3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3541

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

  # Well-known predeploy 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 predeploy operation did not complete successfully; check Cloud Build
    # logs.
    EXECUTION_FAILED = 2

    # The predeploy 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::PredeployJobRun::FailureCause (readonly)

Returns Output only. The reason the predeploy failed. This will always be unspecified while the predeploy is in progress or if it succeeded.

Returns:



3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3541

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

  # Well-known predeploy 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 predeploy operation did not complete successfully; check Cloud Build
    # logs.
    EXECUTION_FAILED = 2

    # The predeploy 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)

Returns Output only. Additional information about the predeploy failure, if available.

Returns:

  • (::String)

    Output only. Additional information about the predeploy failure, if available.



3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 3541

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

  # Well-known predeploy 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 predeploy operation did not complete successfully; check Cloud Build
    # logs.
    EXECUTION_FAILED = 2

    # The predeploy 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