class Google::Apis::DlpV2::GooglePrivacyDlpV2Location

Specifies the location of the finding.

Attributes

byte_range[RW]

Generic half-open interval [start, end) Corresponds to the JSON property `byteRange` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Range]

codepoint_range[RW]

Generic half-open interval [start, end) Corresponds to the JSON property `codepointRange` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Range]

container[RW]

Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record. Corresponds to the JSON property `container` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Container]

content_locations[RW]

List of nested objects pointing to the precise location of the finding within the file or record. Corresponds to the JSON property `contentLocations` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ContentLocation>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 4289
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 4294
def update!(**args)
  @byte_range = args[:byte_range] if args.key?(:byte_range)
  @codepoint_range = args[:codepoint_range] if args.key?(:codepoint_range)
  @container = args[:container] if args.key?(:container)
  @content_locations = args[:content_locations] if args.key?(:content_locations)
end