pub struct ExportResourcesHistoryRequest {
pub _since: Option<String>,
pub _type: Option<String>,
pub gcs_destination: Option<GoogleCloudHealthcareV1beta1FhirGcsDestination>,
pub max_resource_versions: Option<i64>,
}
Expand description
Request to export the history of resources.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§_since: Option<String>
If provided, only resources versions updated after this time are exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, 2015-02-07T13:28:17.239+02:00
or 2017-01-01T00:00:00Z
. The time must be specified to the second and include a time zone.
_type: Option<String>
String of comma-delimited FHIR resource types. If provided, only resources of the specified resource type(s) are exported.
gcs_destination: Option<GoogleCloudHealthcareV1beta1FhirGcsDestination>
The Cloud Storage output destination. The Healthcare Service Agent account requires the roles/storage.objectAdmin
role on the Cloud Storage location. The exported outputs are organized by FHIR resource types. The server creates one or more objects per resource type depending on the volume of the resources exported. When there is only one object per resource type, the object name is in the form of {operation_id})_history_{resource_type}
. When there are multiple objects for a given resource type, the object names are in the form of {operation_id}_history_{resource_type}-{index}-of-{total}
. Each object contains newline delimited JSON, and each line is a FHIR history bundle containing the history for a single resource.
max_resource_versions: Option<i64>
If provided and non-zero, places a limit on the number of resource versions that are returned for a given resource. For example, if the limit is 100
and a resource has over 100 versions, only the 100 most recent versions will be returned. Must be positive.
Trait Implementations§
Source§impl Clone for ExportResourcesHistoryRequest
impl Clone for ExportResourcesHistoryRequest
Source§fn clone(&self) -> ExportResourcesHistoryRequest
fn clone(&self) -> ExportResourcesHistoryRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for ExportResourcesHistoryRequest
impl Default for ExportResourcesHistoryRequest
Source§fn default() -> ExportResourcesHistoryRequest
fn default() -> ExportResourcesHistoryRequest
Source§impl<'de> Deserialize<'de> for ExportResourcesHistoryRequest
impl<'de> Deserialize<'de> for ExportResourcesHistoryRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for ExportResourcesHistoryRequest
Auto Trait Implementations§
impl Freeze for ExportResourcesHistoryRequest
impl RefUnwindSafe for ExportResourcesHistoryRequest
impl Send for ExportResourcesHistoryRequest
impl Sync for ExportResourcesHistoryRequest
impl Unpin for ExportResourcesHistoryRequest
impl UnwindSafe for ExportResourcesHistoryRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more