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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/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.



2142
2143
2144
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2142

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)


2123
2124
2125
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2123

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)


2129
2130
2131
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2129

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)


2135
2136
2137
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2135

def quote
  @quote
end

#startFixnum

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

Returns:

  • (Fixnum)


2140
2141
2142
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2140

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2147
2148
2149
2150
2151
2152
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2147

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