Class: Google::Apis::HealthcareV1beta1::AnalyzeEntitiesRequest

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

Overview

The request to analyze healthcare entities in a document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnalyzeEntitiesRequest

Returns a new instance of AnalyzeEntitiesRequest.



207
208
209
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 207

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

Instance Attribute Details

#alternative_output_formatString

Optional. Alternative output format to be generated based on the results of analysis. Corresponds to the JSON property alternativeOutputFormat

Returns:

  • (String)


194
195
196
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 194

def alternative_output_format
  @alternative_output_format
end

#document_contentString

document_content is a document to be annotated. Corresponds to the JSON property documentContent

Returns:

  • (String)


199
200
201
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 199

def document_content
  @document_content
end

#licensed_vocabulariesArray<String>

A list of licensed vocabularies to use in the request, in addition to the default unlicensed vocabularies. Corresponds to the JSON property licensedVocabularies

Returns:

  • (Array<String>)


205
206
207
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 205

def licensed_vocabularies
  @licensed_vocabularies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



212
213
214
215
216
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 212

def update!(**args)
  @alternative_output_format = args[:alternative_output_format] if args.key?(:alternative_output_format)
  @document_content = args[:document_content] if args.key?(:document_content)
  @licensed_vocabularies = args[:licensed_vocabularies] if args.key?(:licensed_vocabularies)
end