Class: Google::Cloud::Datastream::V1::Validation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datastream/v1/datastream_resources.rb

Overview

A validation to perform on a stream.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#code::String

Returns A custom code identifying this validation.

Returns:

  • (::String)

    A custom code identifying this validation.



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1108

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

  # Validation execution state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Validation did not execute.
    NOT_EXECUTED = 1

    # Validation failed.
    FAILED = 2

    # Validation passed.
    PASSED = 3
  end
end

#description::String

Returns A short description of the validation.

Returns:

  • (::String)

    A short description of the validation.



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1108

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

  # Validation execution state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Validation did not execute.
    NOT_EXECUTED = 1

    # Validation failed.
    FAILED = 2

    # Validation passed.
    PASSED = 3
  end
end

#message::Array<::Google::Cloud::Datastream::V1::ValidationMessage>

Returns Messages reflecting the validation results.

Returns:



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1108

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

  # Validation execution state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Validation did not execute.
    NOT_EXECUTED = 1

    # Validation failed.
    FAILED = 2

    # Validation passed.
    PASSED = 3
  end
end

#state::Google::Cloud::Datastream::V1::Validation::State

Returns Validation execution status.

Returns:



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1108

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

  # Validation execution state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # Validation did not execute.
    NOT_EXECUTED = 1

    # Validation failed.
    FAILED = 2

    # Validation passed.
    PASSED = 3
  end
end