Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Location
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Location
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb
Overview
Specifies the location of a finding within its source item.
Instance Attribute Summary collapse
-
#byte_range ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range
Generic half-open interval [start, end) Corresponds to the JSON property
byteRange
. -
#codepoint_range ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range
Generic half-open interval [start, end) Corresponds to the JSON property
codepointRange
. -
#field_id ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId
General identifier of a data field in a storage service.
-
#image_boxes ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ImageLocation>
Location within an image's pixels.
-
#record_key ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordKey
Message for a unique key indicating a record that contains a finding.
-
#table_location ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TableLocation
Location of a finding within a
ContentItem.Table
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1Location
constructor
A new instance of GooglePrivacyDlpV2beta1Location.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1Location
Returns a new instance of GooglePrivacyDlpV2beta1Location
2100 2101 2102 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2100 def initialize(**args) update!(**args) end |
Instance Attribute Details
#byte_range ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range
Generic half-open interval [start, end)
Corresponds to the JSON property byteRange
2073 2074 2075 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2073 def byte_range @byte_range end |
#codepoint_range ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range
Generic half-open interval [start, end)
Corresponds to the JSON property codepointRange
2078 2079 2080 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2078 def codepoint_range @codepoint_range end |
#field_id ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId
General identifier of a data field in a storage service.
Corresponds to the JSON property fieldId
2083 2084 2085 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2083 def field_id @field_id end |
#image_boxes ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ImageLocation>
Location within an image's pixels.
Corresponds to the JSON property imageBoxes
2088 2089 2090 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2088 def image_boxes @image_boxes end |
#record_key ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordKey
Message for a unique key indicating a record that contains a finding.
Corresponds to the JSON property recordKey
2093 2094 2095 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2093 def record_key @record_key end |
#table_location ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TableLocation
Location of a finding within a ContentItem.Table
.
Corresponds to the JSON property tableLocation
2098 2099 2100 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2098 def table_location @table_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2105 2106 2107 2108 2109 2110 2111 2112 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2105 def update!(**args) @byte_range = args[:byte_range] if args.key?(:byte_range) @codepoint_range = args[:codepoint_range] if args.key?(:codepoint_range) @field_id = args[:field_id] if args.key?(:field_id) @image_boxes = args[:image_boxes] if args.key?(:image_boxes) @record_key = args[:record_key] if args.key?(:record_key) @table_location = args[:table_location] if args.key?(:table_location) end |