Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Location

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb

Overview

Specifies the location of the finding.

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) ⇒ GooglePrivacyDlpV2beta2Location

Returns a new instance of GooglePrivacyDlpV2beta2Location



4127
4128
4129
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4127

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

Instance Attribute Details

#byte_rangeGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Range

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



4099
4100
4101
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4099

def byte_range
  @byte_range
end

#codepoint_rangeGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Range

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



4104
4105
4106
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4104

def codepoint_range
  @codepoint_range
end

#field_idGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FieldId

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



4109
4110
4111
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4109

def field_id
  @field_id
end

#image_boxesArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ImageLocation>

The area within the image that contained the finding. Provided when the content is an image. Corresponds to the JSON property imageBoxes



4115
4116
4117
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4115

def image_boxes
  @image_boxes
end

#record_keyGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordKey

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



4120
4121
4122
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4120

def record_key
  @record_key
end

#table_locationGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TableLocation

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



4125
4126
4127
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4125

def table_location
  @table_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4132
4133
4134
4135
4136
4137
4138
4139
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4132

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