Method: messages.patch

Full name: projects.locations.datasets.hl7V2Stores.messages.patch

Update the message.

The contents of the message in and data extracted from the contents such as Message.create_time can't be altered. Only the Message.labels field is allowed to be updated. The labels in the request are merged with the existing set of labels. Existing labels with the same keys are updated.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Output only. Resource name of the Message, of the form projects/{projectId}/locations/{locationId}/datasets/{datasetId}/hl7V2Stores/{hl7V2StoreId}/messages/{message_id}. Assigned by the server.

Query parameters


string(FieldMask format)

Required. The update mask applies to the resource. For the FieldMask definition, see

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Message.

Response body

If successful, the response body contains an instance of Message.

Authorization scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.