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

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::HybridFindingDetails.

Populate to associate additional data with each finding.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#container_details

defcontainer_details()->::Google::Cloud::Dlp::V2::Container
Returns

#container_details=

defcontainer_details=(value)->::Google::Cloud::Dlp::V2::Container
Parameter
Returns

#file_offset

deffile_offset()->::Integer
Returns
  • (::Integer) — Offset in bytes of the line, from the beginning of the file, where the finding is located. Populate if the item being scanned is only part of a bigger item, such as a shard of a file and you want to track the absolute position of the finding.

#file_offset=

deffile_offset=(value)->::Integer
Parameter
  • value (::Integer) — Offset in bytes of the line, from the beginning of the file, where the finding is located. Populate if the item being scanned is only part of a bigger item, such as a shard of a file and you want to track the absolute position of the finding.
Returns
  • (::Integer) — Offset in bytes of the line, from the beginning of the file, where the finding is located. Populate if the item being scanned is only part of a bigger item, such as a shard of a file and you want to track the absolute position of the finding.

#labels

deflabels()->::Google::Protobuf::Map{::String=>::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) —

    Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with Finding's produced by hybrid inspection.

    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}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) —

    Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with Finding's produced by hybrid inspection.

    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}) —

    Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with Finding's produced by hybrid inspection.

    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"

#row_offset

defrow_offset()->::Integer
Returns
  • (::Integer) — Offset of the row for tables. Populate if the row(s) being scanned are part of a bigger dataset and you want to keep track of their absolute position.

#row_offset=

defrow_offset=(value)->::Integer
Parameter
  • value (::Integer) — Offset of the row for tables. Populate if the row(s) being scanned are part of a bigger dataset and you want to keep track of their absolute position.
Returns
  • (::Integer) — Offset of the row for tables. Populate if the row(s) being scanned are part of a bigger dataset and you want to keep track of their absolute position.

#table_options

deftable_options()->::Google::Cloud::Dlp::V2::TableOptions
Returns
  • (::Google::Cloud::Dlp::V2::TableOptions) — If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included.

#table_options=

deftable_options=(value)->::Google::Cloud::Dlp::V2::TableOptions
Parameter
  • value (::Google::Cloud::Dlp::V2::TableOptions) — If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included.
Returns
  • (::Google::Cloud::Dlp::V2::TableOptions) — If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.