Class: Google::Cloud::Deploy::V1::VerifyJobRun

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

VerifyJobRun contains information specific to a verify JobRun.

Defined Under Namespace

Modules: FailureCause

Instance Attribute Summary collapse

Instance Attribute Details

#artifact_uri::String (readonly)

Returns Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log.

Returns:

  • (::String)

    Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log.



2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2847

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

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

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

    # No Skaffold verify configuration was found.
    VERIFICATION_CONFIG_NOT_FOUND = 4

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

#build::String (readonly)

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



2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2847

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

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

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

    # No Skaffold verify configuration was found.
    VERIFICATION_CONFIG_NOT_FOUND = 4

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

#event_log_path::String (readonly)

Returns Output only. File path of the Skaffold event log relative to the artifact URI.

Returns:

  • (::String)

    Output only. File path of the Skaffold event log relative to the artifact URI.



2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2847

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

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

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

    # No Skaffold verify configuration was found.
    VERIFICATION_CONFIG_NOT_FOUND = 4

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

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

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

Returns:



2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2847

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

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

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

    # No Skaffold verify configuration was found.
    VERIFICATION_CONFIG_NOT_FOUND = 4

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

#failure_message::String (readonly)

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

Returns:

  • (::String)

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



2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2847

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

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

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

    # No Skaffold verify configuration was found.
    VERIFICATION_CONFIG_NOT_FOUND = 4

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