- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.ontologyRecords.statistics
Get ontology records statistics.
HTTP request
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The instance into which OntologyRecords should be imported. Format: projects/{project}/locations/{location}/instances/{instance}/ontologyRecords | 
Request body
The request body must be empty.
Response body
Response message for ontologyRecords.statistics.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| { "eventTypes": integer, "productTypes": integer, "eventsAssignedToDefaultFamilies": integer } | 
| Fields | |
|---|---|
| eventTypes | 
 Output only. The number of event types. | 
| productTypes | 
 Output only. The number of product types. | 
| eventsAssignedToDefaultFamilies | 
 Output only. The number of events assigned to default families. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
- chronicle.ontologyRecords.get
For more information, see the IAM documentation.