Class: Google::Cloud::Datastream::V1::ValidationMessage

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

Represent user-facing validation result message.

Defined Under Namespace

Modules: Level Classes: MetadataEntry

Instance Attribute Summary collapse

Instance Attribute Details

#code::String

Returns A custom code identifying this specific message.

Returns:

  • (::String)

    A custom code identifying this specific message.



1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1141

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class MetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Validation message level.
  module Level
    # Unspecified level.
    LEVEL_UNSPECIFIED = 0

    # Potentially cause issues with the Stream.
    WARNING = 1

    # Definitely cause issues with the Stream.
    ERROR = 2
  end
end

#level::Google::Cloud::Datastream::V1::ValidationMessage::Level

Returns Message severity level (warning or error).

Returns:



1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1141

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class MetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Validation message level.
  module Level
    # Unspecified level.
    LEVEL_UNSPECIFIED = 0

    # Potentially cause issues with the Stream.
    WARNING = 1

    # Definitely cause issues with the Stream.
    ERROR = 2
  end
end

#message::String

Returns The result of the validation.

Returns:

  • (::String)

    The result of the validation.



1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1141

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class MetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Validation message level.
  module Level
    # Unspecified level.
    LEVEL_UNSPECIFIED = 0

    # Potentially cause issues with the Stream.
    WARNING = 1

    # Definitely cause issues with the Stream.
    ERROR = 2
  end
end

#metadata::Google::Protobuf::Map{::String => ::String}

Returns Additional metadata related to the result.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Additional metadata related to the result.



1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1141

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class MetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Validation message level.
  module Level
    # Unspecified level.
    LEVEL_UNSPECIFIED = 0

    # Potentially cause issues with the Stream.
    WARNING = 1

    # Definitely cause issues with the Stream.
    ERROR = 2
  end
end