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.



2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 2052

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:



2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 2052

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.



2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 2052

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.



2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 2052

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