Full name: projects.locations.datasets.hl7V2Stores.messages.list
Lists all the messages in the given HL7v2 store with support for filtering.
Note: HL7v2 messages are indexed asynchronously, so there might be a slight delay between the time a message is created and when it can be found through a filter.
HTTP request
GET https://healthcare.googleapis.com/v1beta1/{parent=projects/*/locations/*/datasets/*/hl7V2Stores/*}/messages
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Name of the HL7v2 store to retrieve messages from. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
Limit on the number of messages to return in a single response. If not specified, 100 is used. May not be larger than 1000. |
pageToken |
The nextPageToken value returned from the previous List request, if any. |
filter |
Restricts messages returned to those matching a filter. The following syntax is available:
Fields/functions available for filtering are:
|
orderBy |
Orders messages returned by the specified orderBy clause. Syntax: https://cloud.google.com/apis/design/design_patterns#sorting_order Fields available for ordering are:
|
view |
Specifies the parts of the Message to return in the response. When unspecified, equivalent to BASIC. Setting this to anything other than BASIC with a |
Request body
The request body must be empty.
Response body
Lists the messages in the specified HL7v2 store.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"hl7V2Messages": [
{
object( |
Fields | |
---|---|
hl7V2Messages[] |
The returned Messages. Won't be more Messages than the value of pageSize in the request. See |
nextPageToken |
Token to retrieve the next page of results or empty if there are no more results in the list. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-healthcare
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.