v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1376177324.7 KB
projects

Rolls back messages from the HL7v2 store to the specified time. This method returns an Operation that can be used to track the status of the rollback by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see Viewing error logs in Cloud Logging). Otherwise, when the operation finishes, a detailed response of type RollbackHl7V2MessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.

post/v1/{+name}:rollback

Path parameters

namestring required

Required. The name of the HL7v2 store to rollback, in the format of "projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /hl7V2Stores/{hl7v2_store_id}".

Request body

resultGcsBucketstring

Required. Bucket to deposit result

rollbackTimestring google-datetime

Required. Times point to rollback to.

inputGcsObjectstring

Optional. Cloud storage object containing list of {resourceId} lines, identifying resources to be reverted

forceboolean

Optional. When enabled, changes will be reverted without explicit confirmation.

excludeRollbacksboolean

Optional. Specifies whether to exclude earlier rollbacks.

changeType'CHANGE_TYPE_UNSPECIFIED' | 'ALL' | 'CREATE' | 'UPDATE' | 'DELETE'

Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.

Response

Successful response