Class: Google::Apis::HealthcareV1::AnalyzeEntitiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::AnalyzeEntitiesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/representations.rb
Overview
The request to analyze healthcare entities in a document.
Instance Attribute Summary collapse
-
#document_content ⇒ String
document_content is a document to be annotated.
-
#licensed_vocabularies ⇒ Array<String>
A list of licensed vocabularies to use in the request, in addition to the default unlicensed vocabularies.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyzeEntitiesRequest
constructor
A new instance of AnalyzeEntitiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnalyzeEntitiesRequest
Returns a new instance of AnalyzeEntitiesRequest.
79 80 81 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 79 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_content ⇒ String
document_content is a document to be annotated.
Corresponds to the JSON property documentContent
71 72 73 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 71 def document_content @document_content end |
#licensed_vocabularies ⇒ Array<String>
A list of licensed vocabularies to use in the request, in addition to the
default unlicensed vocabularies.
Corresponds to the JSON property licensedVocabularies
77 78 79 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 77 def licensed_vocabularies @licensed_vocabularies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
84 85 86 87 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 84 def update!(**args) @document_content = args[:document_content] if args.key?(:document_content) @licensed_vocabularies = args[:licensed_vocabularies] if args.key?(:licensed_vocabularies) end |