Class: Google::Privacy::Dlp::V2::Key::PathElement
- Inherits:
-
Object
- Object
- Google::Privacy::Dlp::V2::Key::PathElement
- Defined in:
- lib/google/cloud/dlp/v2/doc/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
-
#id ⇒ Integer
The auto-allocated ID of the entity.
-
#kind ⇒ String
The kind of the entity.
-
#name ⇒ String
The name of the entity.
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.
321 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 321 class PathElement; 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 +""+.
321 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 321 class PathElement; 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 +""+.
321 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 321 class PathElement; end |