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.



1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1443

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:



1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1443

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.



1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1443

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.



1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
# File 'proto_docs/google/cloud/datastream/v1/datastream_resources.rb', line 1443

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