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
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Timestamp when finding was detected.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Timestamp when finding was detected.
- (::Google::Protobuf::Timestamp) — Timestamp when finding was detected.
#finding_id
def finding_id() -> ::String
- (::String) — The unique finding id.
#finding_id=
def finding_id=(value) -> ::String
- value (::String) — The unique finding id.
- (::String) — The unique finding id.
#info_type
def info_type() -> ::Google::Cloud::Dlp::V2::InfoType
-
(::Google::Cloud::Dlp::V2::InfoType) — The type of content that might have been found.
Provided if
excluded_types
is false.
#info_type=
def info_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_types
is false.
-
(::Google::Cloud::Dlp::V2::InfoType) — The type of content that might have been found.
Provided if
excluded_types
is false.
#job_create_time
def job_create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Time the job started that produced this finding.
#job_create_time=
def job_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
def job_name() -> ::String
- (::String) — The job that stored the finding.
#job_name=
def job_name=(value) -> ::String
- value (::String) — The job that stored the finding.
- (::String) — The job that stored the finding.
#labels
def labels() -> ::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=
def labels=(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
def likelihood() -> ::Google::Cloud::Dlp::V2::Likelihood
-
(::Google::Cloud::Dlp::V2::Likelihood) — Confidence of how likely it is that the
info_type
is correct.
#likelihood=
def likelihood=(value) -> ::Google::Cloud::Dlp::V2::Likelihood
-
value (::Google::Cloud::Dlp::V2::Likelihood) — Confidence of how likely it is that the
info_type
is correct.
-
(::Google::Cloud::Dlp::V2::Likelihood) — Confidence of how likely it is that the
info_type
is correct.
#location
def location() -> ::Google::Cloud::Dlp::V2::Location
- (::Google::Cloud::Dlp::V2::Location) — Where the content was found.
#location=
def location=(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
def name() -> ::String
- (::String) — Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
#name=
def name=(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
def quote() -> ::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_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.
#quote=
def quote=(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_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.
-
(::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_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.
#quote_info
def quote_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=
def quote_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
def resource_name() -> ::String
- (::String) — The job that stored the finding.
#resource_name=
def resource_name=(value) -> ::String
- value (::String) — The job that stored the finding.
- (::String) — The job that stored the finding.
#trigger_name
def trigger_name() -> ::String
- (::String) — Job trigger name, if applicable, for this finding.
#trigger_name=
def trigger_name=(value) -> ::String
- value (::String) — Job trigger name, if applicable, for this finding.
- (::String) — Job trigger name, if applicable, for this finding.