Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::Finding (v1.15.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::Finding.
Represents a piece of potentially sensitive content.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
defcreate_time()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Timestamp when finding was detected.
#create_time=
defcreate_time=(value)->::Google::Protobuf::Timestamp- value (::Google::Protobuf::Timestamp) — Timestamp when finding was detected.
- (::Google::Protobuf::Timestamp) — Timestamp when finding was detected.
#finding_id
deffinding_id()->::String- (::String) — The unique finding id.
#finding_id=
deffinding_id=(value)->::String- value (::String) — The unique finding id.
- (::String) — The unique finding id.
#info_type
definfo_type()->::Google::Cloud::Dlp::V2::InfoType-
(::Google::Cloud::Dlp::V2::InfoType) — The type of content that might have been found.
Provided if
excluded_typesis false.
#info_type=
definfo_type=(value)->::Google::Cloud::Dlp::V2::InfoType-
value (::Google::Cloud::Dlp::V2::InfoType) — The type of content that might have been found.
Provided if
excluded_typesis false.
-
(::Google::Cloud::Dlp::V2::InfoType) — The type of content that might have been found.
Provided if
excluded_typesis false.
#job_create_time
defjob_create_time()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Time the job started that produced this finding.
#job_create_time=
defjob_create_time=(value)->::Google::Protobuf::Timestamp- value (::Google::Protobuf::Timestamp) — Time the job started that produced this finding.
- (::Google::Protobuf::Timestamp) — Time the job started that produced this finding.
#job_name
defjob_name()->::String- (::String) — The job that stored the finding.
#job_name=
defjob_name=(value)->::String- value (::String) — The job that stored the finding.
- (::String) — The job that stored the finding.
#labels
deflabels()->::Google::Protobuf::Map{::String=>::String}-
(::Google::Protobuf::Map{::String => ::String}) —
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"
#labels=
deflabels=(value)->::Google::Protobuf::Map{::String=>::String}-
value (::Google::Protobuf::Map{::String => ::String}) —
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"
-
(::Google::Protobuf::Map{::String => ::String}) —
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"
#likelihood
deflikelihood()->::Google::Cloud::Dlp::V2::Likelihood-
(::Google::Cloud::Dlp::V2::Likelihood) — Confidence of how likely it is that the
info_typeis correct.
#likelihood=
deflikelihood=(value)->::Google::Cloud::Dlp::V2::Likelihood-
value (::Google::Cloud::Dlp::V2::Likelihood) — Confidence of how likely it is that the
info_typeis correct.
-
(::Google::Cloud::Dlp::V2::Likelihood) — Confidence of how likely it is that the
info_typeis correct.
#location
deflocation()->::Google::Cloud::Dlp::V2::Location- (::Google::Cloud::Dlp::V2::Location) — Where the content was found.
#location=
deflocation=(value)->::Google::Cloud::Dlp::V2::Location- value (::Google::Cloud::Dlp::V2::Location) — Where the content was found.
- (::Google::Cloud::Dlp::V2::Location) — Where the content was found.
#name
defname()->::String- (::String) — Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
#name=
defname=(value)->::String- value (::String) — Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
- (::String) — Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
#quote
defquote()->::String-
(::String) — The content that was found. Even if the content is not textual, it
may be converted to a textual representation here.
Provided if
include_quoteis 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.
#quote=
defquote=(value)->::String-
value (::String) — The content that was found. Even if the content is not textual, it
may be converted to a textual representation here.
Provided if
include_quoteis 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.
-
(::String) — The content that was found. Even if the content is not textual, it
may be converted to a textual representation here.
Provided if
include_quoteis 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.
#quote_info
defquote_info()->::Google::Cloud::Dlp::V2::QuoteInfo- (::Google::Cloud::Dlp::V2::QuoteInfo) — 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.
#quote_info=
defquote_info=(value)->::Google::Cloud::Dlp::V2::QuoteInfo- value (::Google::Cloud::Dlp::V2::QuoteInfo) — 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.
- (::Google::Cloud::Dlp::V2::QuoteInfo) — 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.
#resource_name
defresource_name()->::String- (::String) — The job that stored the finding.
#resource_name=
defresource_name=(value)->::String- value (::String) — The job that stored the finding.
- (::String) — The job that stored the finding.
#trigger_name
deftrigger_name()->::String- (::String) — Job trigger name, if applicable, for this finding.
#trigger_name=
deftrigger_name=(value)->::String- value (::String) — Job trigger name, if applicable, for this finding.
- (::String) — Job trigger name, if applicable, for this finding.