Class: Google::Cloud::Dlp::V2::Key::PathElement

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/storage.rb

Overview

A (kind, ID/name) pair used to construct a key path.

If either name or ID is set, the element is complete. If neither is set, the element is incomplete.

Instance Attribute Summary collapse

Instance Attribute Details

#id::Integer

Returns The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future.

Returns:

  • (::Integer)

    The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future.



766
767
768
769
# File 'proto_docs/google/privacy/dlp/v2/storage.rb', line 766

class PathElement
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#kind::String

Returns The kind of the entity. A kind matching regex __.*__ is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be "".

Returns:

  • (::String)

    The kind of the entity. A kind matching regex __.*__ is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be "".



766
767
768
769
# File 'proto_docs/google/privacy/dlp/v2/storage.rb', line 766

class PathElement
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns The name of the entity. A name matching regex __.*__ is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be "".

Returns:

  • (::String)

    The name of the entity. A name matching regex __.*__ is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be "".



766
767
768
769
# File 'proto_docs/google/privacy/dlp/v2/storage.rb', line 766

class PathElement
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end