Class: Google::Cloud::Dlp::V2::Finding
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::Finding
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
Represents a piece of potentially sensitive content.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
Timestamp when finding was detected.
-
#finding_id ⇒ ::String
The unique finding id.
-
#info_type ⇒ ::Google::Cloud::Dlp::V2::InfoType
The type of content that might have been found.
-
#job_create_time ⇒ ::Google::Protobuf::Timestamp
Time the job started that produced this finding.
-
#job_name ⇒ ::String
The job that stored the finding.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
The labels associated with this
Finding
. -
#likelihood ⇒ ::Google::Cloud::Dlp::V2::Likelihood
Confidence of how likely it is that the
info_type
is correct. -
#location ⇒ ::Google::Cloud::Dlp::V2::Location
Where the content was found.
-
#name ⇒ ::String
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
-
#quote ⇒ ::String
The content that was found.
-
#quote_info ⇒ ::Google::Cloud::Dlp::V2::QuoteInfo
Contains data parsed from quotes.
-
#resource_name ⇒ ::String
The job that stored the finding.
-
#trigger_name ⇒ ::String
Job trigger name, if applicable, for this finding.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp
Returns Timestamp when finding was detected.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#finding_id ⇒ ::String
Returns The unique finding id.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#info_type ⇒ ::Google::Cloud::Dlp::V2::InfoType
Returns The type of content that might have been found.
Provided if excluded_types
is false.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#job_create_time ⇒ ::Google::Protobuf::Timestamp
Returns Time the job started that produced this finding.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#job_name ⇒ ::String
Returns The job that stored the finding.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns The labels associated with this Finding
.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#likelihood ⇒ ::Google::Cloud::Dlp::V2::Likelihood
Returns Confidence of how likely it is that the info_type
is correct.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#location ⇒ ::Google::Cloud::Dlp::V2::Location
Returns Where the content was found.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#quote ⇒ ::String
Returns The content that was found. Even if the content is not textual, it
may be converted to a textual representation here.
Provided if include_quote
is true and the finding is
less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
in length, the quote may be omitted.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#quote_info ⇒ ::Google::Cloud::Dlp::V2::QuoteInfo
Returns Contains data parsed from quotes. Only populated if include_quote was set to true and a supported infoType was requested. Currently supported infoTypes: DATE, DATE_OF_BIRTH and TIME.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#resource_name ⇒ ::String
Returns The job that stored the finding.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#trigger_name ⇒ ::String
Returns Job trigger name, if applicable, for this finding.
436 437 438 439 440 441 442 443 444 445 446 447 448 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 436 class Finding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |