Class: Google::Cloud::Deploy::V1::PostdeployJobRun
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::PostdeployJobRun
- 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
-
#build ⇒ ::String
readonly
Output only.
-
#failure_cause ⇒ ::Google::Cloud::Deploy::V1::PostdeployJobRun::FailureCause
readonly
Output only.
-
#failure_message ⇒ ::String
readonly
Output only.
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 postdeploy Job.
Format is projects/{project}/locations/{location}/builds/{build}.
2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2932 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 alloted 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)
Returns Output only. The reason the postdeploy failed. This will always be unspecified while the postdeploy is in progress or if it succeeded.
2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2932 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 alloted 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 postdeploy failure, if available.
2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2932 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 alloted 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 |