Method: messages.patch

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

Update the message.

The contents of the message in Message.data and data extracted from the contents such as Message.create_time cannot 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

PATCH https://healthcare.googleapis.com/v1/{message.name=projects/*/locations/*/datasets/*/hl7V2Stores/*/messages/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
message.name

string

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

Query parameters

Parameters
updateMask

string(FieldMask format)

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

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:

  • https://www.googleapis.com/auth/cloud-healthcare
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.