Class: Google::Cloud::Deploy::V1::DeployJobRun

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

DeployJobRun contains information specific to a deploy JobRun.

Defined Under Namespace

Modules: FailureCause

Instance Attribute Summary collapse

Instance Attribute Details

#artifact::Google::Cloud::Deploy::V1::DeployArtifact (readonly)

Returns Output only. The artifact of a deploy job run, if available.

Returns:



2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2792

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

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

    # The deploy job run did not complete within the alloted time.
    DEADLINE_EXCEEDED = 3

    # There were missing resources in the runtime environment required for a
    # canary deployment. Check the Cloud Build logs for more information.
    MISSING_RESOURCES_FOR_CANARY = 4

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

    # The deploy operation had a feature configured that is not supported.
    DEPLOY_FEATURE_NOT_SUPPORTED = 6
  end
end

#build::String (readonly)

Returns Output only. The resource name of the Cloud Build Build object that is used to deploy. 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 deploy. Format is projects/{project}/locations/{location}/builds/{build}.



2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2792

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

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

    # The deploy job run did not complete within the alloted time.
    DEADLINE_EXCEEDED = 3

    # There were missing resources in the runtime environment required for a
    # canary deployment. Check the Cloud Build logs for more information.
    MISSING_RESOURCES_FOR_CANARY = 4

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

    # The deploy operation had a feature configured that is not supported.
    DEPLOY_FEATURE_NOT_SUPPORTED = 6
  end
end

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

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

Returns:



2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2792

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

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

    # The deploy job run did not complete within the alloted time.
    DEADLINE_EXCEEDED = 3

    # There were missing resources in the runtime environment required for a
    # canary deployment. Check the Cloud Build logs for more information.
    MISSING_RESOURCES_FOR_CANARY = 4

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

    # The deploy operation had a feature configured that is not supported.
    DEPLOY_FEATURE_NOT_SUPPORTED = 6
  end
end

#failure_message::String (readonly)

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

Returns:

  • (::String)

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



2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2792

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

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

    # The deploy job run did not complete within the alloted time.
    DEADLINE_EXCEEDED = 3

    # There were missing resources in the runtime environment required for a
    # canary deployment. Check the Cloud Build logs for more information.
    MISSING_RESOURCES_FOR_CANARY = 4

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

    # The deploy operation had a feature configured that is not supported.
    DEPLOY_FEATURE_NOT_SUPPORTED = 6
  end
end

#metadata::Google::Cloud::Deploy::V1::DeployJobRunMetadata (readonly)

Returns Output only. Metadata containing information about the deploy job run.

Returns:



2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2792

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

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

    # The deploy job run did not complete within the alloted time.
    DEADLINE_EXCEEDED = 3

    # There were missing resources in the runtime environment required for a
    # canary deployment. Check the Cloud Build logs for more information.
    MISSING_RESOURCES_FOR_CANARY = 4

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

    # The deploy operation had a feature configured that is not supported.
    DEPLOY_FEATURE_NOT_SUPPORTED = 6
  end
end