Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Location
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2Location
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
Specifies the location of the finding.
Instance Attribute Summary collapse
-
#byte_range ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Range
Generic half-open interval [start, end) Corresponds to the JSON property
byteRange. -
#codepoint_range ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Range
Generic half-open interval [start, end) Corresponds to the JSON property
codepointRange. -
#container ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Container
Represents a container that may contain DLP findings.
-
#content_locations ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ContentLocation>
List of nested objects pointing to the precise location of the finding within the file or record.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2Location
constructor
A new instance of GooglePrivacyDlpV2Location.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2Location
Returns a new instance of GooglePrivacyDlpV2Location.
4915 4916 4917 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4915 def initialize(**args) update!(**args) end |
Instance Attribute Details
#byte_range ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Range
Generic half-open interval [start, end)
Corresponds to the JSON property byteRange
4896 4897 4898 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4896 def byte_range @byte_range end |
#codepoint_range ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Range
Generic half-open interval [start, end)
Corresponds to the JSON property codepointRange
4901 4902 4903 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4901 def codepoint_range @codepoint_range end |
#container ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Container
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
4907 4908 4909 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4907 def container @container end |
#content_locations ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ContentLocation>
List of nested objects pointing to the precise location of the finding within
the file or record.
Corresponds to the JSON property contentLocations
4913 4914 4915 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4913 def content_locations @content_locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4920 4921 4922 4923 4924 4925 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4920 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 |