Struct google_api_proto::google::privacy::dlp::v2::ListProjectDataProfilesRequest
source · pub struct ListProjectDataProfilesRequest {
pub parent: String,
pub page_token: String,
pub page_size: i32,
pub order_by: String,
pub filter: String,
}
Expand description
Request to list the profiles generated for a given organization or project.
Fields§
§parent: String
Required. organizations/{org_id}/locations/{loc_id}
page_token: String
Page token to continue retrieval.
page_size: i32
Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.
order_by: String
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
sensitivity_level desc
Supported fields are:
project_id
: Google Cloud project IDsensitivity_level
: How sensitive the data in a project 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.
filter: String
Allows filtering.
Supported syntax:
- Filter expressions are made up of one or more restrictions.
- Restrictions can be combined by
AND
orOR
logical operators. A sequence of restrictions implicitly usesAND
. - A restriction has the form of
{field} {operator} {value}
. - Supported fields/values:
sensitivity_level
- HIGH|MODERATE|LOWdata_risk_level
- HIGH|MODERATE|LOWstatus_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 = 1
project_id = 12345 AND sensitivity_level = HIGH
The length of this field should be no more than 500 characters.
Trait Implementations§
source§impl Clone for ListProjectDataProfilesRequest
impl Clone for ListProjectDataProfilesRequest
source§fn clone(&self) -> ListProjectDataProfilesRequest
fn clone(&self) -> ListProjectDataProfilesRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Message for ListProjectDataProfilesRequest
impl Message for ListProjectDataProfilesRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl PartialEq for ListProjectDataProfilesRequest
impl PartialEq for ListProjectDataProfilesRequest
source§fn eq(&self, other: &ListProjectDataProfilesRequest) -> bool
fn eq(&self, other: &ListProjectDataProfilesRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListProjectDataProfilesRequest
Auto Trait Implementations§
impl Freeze for ListProjectDataProfilesRequest
impl RefUnwindSafe for ListProjectDataProfilesRequest
impl Send for ListProjectDataProfilesRequest
impl Sync for ListProjectDataProfilesRequest
impl Unpin for ListProjectDataProfilesRequest
impl UnwindSafe for ListProjectDataProfilesRequest
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request