pub struct ExportResourcesRequest {
pub _since: Option<String>,
pub _type: Option<String>,
pub bigquery_destination: Option<GoogleCloudHealthcareV1FhirBigQueryDestination>,
pub gcs_destination: Option<GoogleCloudHealthcareV1FhirGcsDestination>,
}
Expand description
Request to export 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 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.
bigquery_destination: Option<GoogleCloudHealthcareV1FhirBigQueryDestination>
The BigQuery output destination. The Cloud Healthcare Service Agent requires two IAM roles on the BigQuery location: roles/bigquery.dataEditor
and roles/bigquery.jobUser
. The output is one BigQuery table per resource type. Unlike when setting BigQueryDestination
for StreamConfig
, ExportResources
does not create BigQuery views.
gcs_destination: Option<GoogleCloudHealthcareV1FhirGcsDestination>
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 object per resource type. Each object contains newline delimited JSON, and each line is a FHIR resource.
Trait Implementations§
Source§impl Clone for ExportResourcesRequest
impl Clone for ExportResourcesRequest
Source§fn clone(&self) -> ExportResourcesRequest
fn clone(&self) -> ExportResourcesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExportResourcesRequest
impl Debug for ExportResourcesRequest
Source§impl Default for ExportResourcesRequest
impl Default for ExportResourcesRequest
Source§fn default() -> ExportResourcesRequest
fn default() -> ExportResourcesRequest
Source§impl<'de> Deserialize<'de> for ExportResourcesRequest
impl<'de> Deserialize<'de> for ExportResourcesRequest
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>,
Source§impl Serialize for ExportResourcesRequest
impl Serialize for ExportResourcesRequest
impl RequestValue for ExportResourcesRequest
Auto Trait Implementations§
impl Freeze for ExportResourcesRequest
impl RefUnwindSafe for ExportResourcesRequest
impl Send for ExportResourcesRequest
impl Sync for ExportResourcesRequest
impl Unpin for ExportResourcesRequest
impl UnwindSafe for ExportResourcesRequest
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