Class: Google::Apis::HealthcareV1beta1::Finding

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Finding

Returns a new instance of Finding.



3640
3641
3642
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3640

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

Instance Attribute Details

#endFixnum

Zero-based ending index of the found text, exclusively. Corresponds to the JSON property end

Returns:

  • (Fixnum)


3621
3622
3623
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3621

def end
  @end
end

#info_typeString

The type of information stored in this text range. For example, HumanName, BirthDate, or Address. Corresponds to the JSON property infoType

Returns:

  • (String)


3627
3628
3629
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3627

def info_type
  @info_type
end

#quoteString

The snippet of the sensitive text. This field is only populated during deidentification if store_quote is set to true in DeidentifyConfig. Corresponds to the JSON property quote

Returns:

  • (String)


3633
3634
3635
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3633

def quote
  @quote
end

#startFixnum

Zero-based starting index of the found text, inclusively. Corresponds to the JSON property start

Returns:

  • (Fixnum)


3638
3639
3640
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3638

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3645
3646
3647
3648
3649
3650
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3645

def update!(**args)
  @end = args[:end] if args.key?(:end)
  @info_type = args[:info_type] if args.key?(:info_type)
  @quote = args[:quote] if args.key?(:quote)
  @start = args[:start] if args.key?(:start)
end