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.



1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1818

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:



1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1818

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.



1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1818

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.



1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1818

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