Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Range
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Range
- 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
Generic half-open interval [start, end)
Instance Attribute Summary collapse
-
#end ⇒ Fixnum
Index of the last character of the range (exclusive).
-
#start ⇒ Fixnum
Index of the first character of the range (inclusive).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2Range
constructor
A new instance of GooglePrivacyDlpV2beta2Range.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2Range
Returns a new instance of GooglePrivacyDlpV2beta2Range
5113 5114 5115 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5113 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ Fixnum
Index of the last character of the range (exclusive).
Corresponds to the JSON property end
5106 5107 5108 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5106 def end @end end |
#start ⇒ Fixnum
Index of the first character of the range (inclusive).
Corresponds to the JSON property start
5111 5112 5113 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5111 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5118 5119 5120 5121 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5118 def update!(**args) @end = args[:end] if args.key?(:end) @start = args[:start] if args.key?(:start) end |