Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::Finding (v1.4.0)

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
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#finding_id

def finding_id() -> ::String
Returns
  • (::String) — The unique finding id.

#finding_id=

def finding_id=(value) -> ::String
Parameter
  • value (::String) — The unique finding id.
Returns
  • (::String) — The unique finding id.

#info_type

def info_type() -> ::Google::Cloud::Dlp::V2::InfoType
Returns

#info_type=

def info_type=(value) -> ::Google::Cloud::Dlp::V2::InfoType
Parameter
Returns

#job_create_time

def job_create_time() -> ::Google::Protobuf::Timestamp
Returns

#job_create_time=

def job_create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#job_name

def job_name() -> ::String
Returns
  • (::String) — The job that stored the finding.

#job_name=

def job_name=(value) -> ::String
Parameter
  • value (::String) — The job that stored the finding.
Returns
  • (::String) — The job that stored the finding.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::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}
Parameter
  • 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"
Returns
  • (::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
Returns

#likelihood=

def likelihood=(value) -> ::Google::Cloud::Dlp::V2::Likelihood
Parameter
Returns

#location

def location() -> ::Google::Cloud::Dlp::V2::Location
Returns

#location=

def location=(value) -> ::Google::Cloud::Dlp::V2::Location
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
Returns
  • (::String) — Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.

#quote

def quote() -> ::String
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::String) — The job that stored the finding.

#resource_name=

def resource_name=(value) -> ::String
Parameter
  • value (::String) — The job that stored the finding.
Returns
  • (::String) — The job that stored the finding.

#trigger_name

def trigger_name() -> ::String
Returns
  • (::String) — Job trigger name, if applicable, for this finding.

#trigger_name=

def trigger_name=(value) -> ::String
Parameter
  • value (::String) — Job trigger name, if applicable, for this finding.
Returns
  • (::String) — Job trigger name, if applicable, for this finding.