Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Location

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1Location

Returns a new instance of GooglePrivacyDlpV2beta1Location



1097
1098
1099
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1097

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#byte_rangeGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range

Generic half-open interval [start, end) Corresponds to the JSON property byteRange



1070
1071
1072
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1070

def byte_range
  @byte_range
end

#codepoint_rangeGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range

Generic half-open interval [start, end) Corresponds to the JSON property codepointRange



1075
1076
1077
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1075

def codepoint_range
  @codepoint_range
end

#field_idGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId

General identifier of a data field in a storage service. Corresponds to the JSON property fieldId



1080
1081
1082
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1080

def field_id
  @field_id
end

#image_boxesArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ImageLocation>

Location within an image's pixels. Corresponds to the JSON property imageBoxes



1085
1086
1087
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1085

def image_boxes
  @image_boxes
end

#record_keyGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordKey

Message for a unique key indicating a record that contains a finding. Corresponds to the JSON property recordKey



1090
1091
1092
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1090

def record_key
  @record_key
end

#table_locationGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TableLocation

Location of a finding within a ContentItem.Table. Corresponds to the JSON property tableLocation



1095
1096
1097
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1095

def table_location
  @table_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1102
1103
1104
1105
1106
1107
1108
1109
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1102

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