Struct google_api_proto::google::privacy::dlp::v2::ListFileStoreDataProfilesRequest
source · pub struct ListFileStoreDataProfilesRequest {
pub parent: String,
pub page_token: String,
pub page_size: i32,
pub order_by: String,
pub filter: String,
}Expand description
Request to list the file store profiles generated for a given organization or project.
Fields§
§parent: StringRequired. Resource name of the organization or project, for
example organizations/433245324/locations/europe or
projects/project-id/locations/asia.
page_token: StringOptional. Page token to continue retrieval.
page_size: i32Optional. Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.
order_by: StringOptional. Comma-separated list of fields to order by, followed by asc or
desc postfix. This list is case insensitive. The default sorting order is
ascending. Redundant space characters are insignificant. Only one order
field at a time is allowed.
Examples:
project_id ascnamesensitivity_level desc
Supported fields are:
project_id: The Google Cloud project ID.sensitivity_level: How sensitive the data in a table is, at most.data_risk_level: How much risk is associated with this data.profile_last_generated: When the profile was last updated in epoch seconds.last_modified: The last time the resource was modified.resource_visibility: Visibility restriction for this resource.name: The name of the profile.create_time: The time the file store was first created.
filter: StringOptional. Allows filtering.
Supported syntax:
- Filter expressions are made up of one or more restrictions.
- Restrictions can be combined by
ANDorORlogical operators. A sequence of restrictions implicitly usesAND. - A restriction has the form of
{field} {operator} {value}. - Supported fields/values:
project_id- The Google Cloud project ID.file_store_path- The path like “gs://bucket”.data_source_type- The profile’s data source type, like “google/storage/bucket”.data_storage_location- The location where the file store’s data is stored, like “us-central1”.sensitivity_level- HIGH|MODERATE|LOWdata_risk_level- HIGH|MODERATE|LOWresource_visibility: PUBLIC|RESTRICTEDstatus_code- an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
- The operator must be
=or!=.
Examples:
project_id = 12345 AND status_code = 1project_id = 12345 AND sensitivity_level = HIGHproject_id = 12345 AND resource_visibility = PUBLICfile_store_path = "gs://mybucket"
The length of this field should be no more than 500 characters.
Trait Implementations§
source§impl Clone for ListFileStoreDataProfilesRequest
impl Clone for ListFileStoreDataProfilesRequest
source§fn clone(&self) -> ListFileStoreDataProfilesRequest
fn clone(&self) -> ListFileStoreDataProfilesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Message for ListFileStoreDataProfilesRequest
impl Message for ListFileStoreDataProfilesRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.source§impl PartialEq for ListFileStoreDataProfilesRequest
impl PartialEq for ListFileStoreDataProfilesRequest
source§fn eq(&self, other: &ListFileStoreDataProfilesRequest) -> bool
fn eq(&self, other: &ListFileStoreDataProfilesRequest) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListFileStoreDataProfilesRequest
Auto Trait Implementations§
impl Freeze for ListFileStoreDataProfilesRequest
impl RefUnwindSafe for ListFileStoreDataProfilesRequest
impl Send for ListFileStoreDataProfilesRequest
impl Sync for ListFileStoreDataProfilesRequest
impl Unpin for ListFileStoreDataProfilesRequest
impl UnwindSafe for ListFileStoreDataProfilesRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request