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.



2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2819

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}.



2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2819

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.



2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2819

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:



2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2819

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.



2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2819

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