Reference documentation and code samples for the Google Cloud Document Ai V1 Client class Property.
Defines properties that can be part of the entity type.
Generated from protobuf message google.cloud.documentai.v1.DocumentSchema.EntityType.Property
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The name of the property. Follows the same guidelines as the EntityType name. |
↳ value_type |
string
A reference to the value type of the property. This type is subject to the same conventions as the |
↳ occurrence_type |
int
Occurrence type limits the number of instances an entity type appears in the document. |
getName
The name of the property. Follows the same guidelines as the EntityType name.
Returns | |
---|---|
Type | Description |
string |
setName
The name of the property. Follows the same guidelines as the EntityType name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValueType
A reference to the value type of the property. This type is subject
to the same conventions as the Entity.base_types
field.
Returns | |
---|---|
Type | Description |
string |
setValueType
A reference to the value type of the property. This type is subject
to the same conventions as the Entity.base_types
field.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getOccurrenceType
Occurrence type limits the number of instances an entity type appears in the document.
Returns | |
---|---|
Type | Description |
int |
setOccurrenceType
Occurrence type limits the number of instances an entity type appears in the document.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |