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.



2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2162

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
    # Google Cloud Deploy has insufficient permissions. See [required
    # permission](/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 build 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 Google 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}.



2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2162

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
    # Google Cloud Deploy has insufficient permissions. See [required
    # permission](/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 build 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 Google 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.



2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2162

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
    # Google Cloud Deploy has insufficient permissions. See [required
    # permission](/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 build 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 Google 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:



2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2162

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
    # Google Cloud Deploy has insufficient permissions. See [required
    # permission](/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 build 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 Google 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.



2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2162

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
    # Google Cloud Deploy has insufficient permissions. See [required
    # permission](/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 build 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 Google Cloud Deploy's request. See
    # failure_message for additional details.
    CLOUD_BUILD_REQUEST_FAILED = 5
  end
end