Class: Google::Cloud::Datastream::V1alpha1::ValidationMessage

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datastream/v1alpha1/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.



740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 740

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::V1alpha1::ValidationMessage::Level

Returns Message severity level (warning or error).

Returns:



740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 740

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.



740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 740

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.



740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
# File 'proto_docs/google/cloud/datastream/v1alpha1/datastream_resources.rb', line 740

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