pub struct QueryAccessibleDataRequest {
pub gcs_destination: Option<GoogleCloudHealthcareV1beta1ConsentGcsDestination>,
pub request_attributes: Option<HashMap<String, String>>,
pub resource_attributes: Option<HashMap<String, String>>,
}
Expand description
Queries all data_ids that are consented for a given use in the given consent store and writes them to a specified destination. The returned Operation includes a progress counter for the number of User data mappings processed. Errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging] (https://cloud.google.com/healthcare/docs/how-tos/logging) and [QueryAccessibleData] for a sample log entry).
§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§
§gcs_destination: Option<GoogleCloudHealthcareV1beta1ConsentGcsDestination>
The Cloud Storage destination. The Cloud Healthcare API service account must have the roles/storage.objectAdmin
Cloud IAM role for this Cloud Storage location. The object name is in the following format: query-accessible-data-result-{operation_id}.txt where each line contains a single data_id.
request_attributes: Option<HashMap<String, String>>
The values of request attributes associated with this access request.
resource_attributes: Option<HashMap<String, String>>
Optional. The values of resource attributes associated with the type of resources being requested. If no values are specified, then all resource types are included in the output.
Trait Implementations§
source§impl Clone for QueryAccessibleDataRequest
impl Clone for QueryAccessibleDataRequest
source§fn clone(&self) -> QueryAccessibleDataRequest
fn clone(&self) -> QueryAccessibleDataRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryAccessibleDataRequest
impl Debug for QueryAccessibleDataRequest
source§impl Default for QueryAccessibleDataRequest
impl Default for QueryAccessibleDataRequest
source§fn default() -> QueryAccessibleDataRequest
fn default() -> QueryAccessibleDataRequest
source§impl<'de> Deserialize<'de> for QueryAccessibleDataRequest
impl<'de> Deserialize<'de> for QueryAccessibleDataRequest
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 QueryAccessibleDataRequest
Auto Trait Implementations§
impl Freeze for QueryAccessibleDataRequest
impl RefUnwindSafe for QueryAccessibleDataRequest
impl Send for QueryAccessibleDataRequest
impl Sync for QueryAccessibleDataRequest
impl Unpin for QueryAccessibleDataRequest
impl UnwindSafe for QueryAccessibleDataRequest
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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