Struct google_api_proto::google::privacy::dlp::v2::ListColumnDataProfilesRequest
source · pub struct ListColumnDataProfilesRequest {
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. Resource name of the organization or project, for
example organizations/433245324/locations/europe
or
projects/project-id/locations/asia
.
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 asc
table_id
sensitivity_level desc
Supported fields are:
project_id
: The Google Cloud project ID.dataset_id
: The ID of a BigQuery dataset.table_id
: The ID of a BigQuery table.sensitivity_level
: How sensitive the data in a column 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:
table_data_profile_name
- The name of the related table data profile.project_id
- The Google Cloud project ID. (REQUIRED)dataset_id
- The BigQuery dataset ID. (REQUIRED)table_id
- The BigQuery table ID. (REQUIRED)field_id
- The ID of the BigQuery field.info_type
- The infotype detected in the resource.sensitivity_level
- HIGH|MEDIUM|LOWdata_risk_level
: How much risk is associated with this data.status_code
- an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
- The operator must be
=
for project_id, dataset_id, and table_id. Other filters also support!=
.
Examples:
- project_id = 12345 AND status_code = 1
- project_id = 12345 AND sensitivity_level = HIGH
- project_id = 12345 AND info_type = STREET_ADDRESS
The length of this field should be no more than 500 characters.
Trait Implementations§
source§impl Clone for ListColumnDataProfilesRequest
impl Clone for ListColumnDataProfilesRequest
source§fn clone(&self) -> ListColumnDataProfilesRequest
fn clone(&self) -> ListColumnDataProfilesRequest
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 ListColumnDataProfilesRequest
impl Message for ListColumnDataProfilesRequest
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 ListColumnDataProfilesRequest
impl PartialEq for ListColumnDataProfilesRequest
source§fn eq(&self, other: &ListColumnDataProfilesRequest) -> bool
fn eq(&self, other: &ListColumnDataProfilesRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListColumnDataProfilesRequest
Auto Trait Implementations§
impl Freeze for ListColumnDataProfilesRequest
impl RefUnwindSafe for ListColumnDataProfilesRequest
impl Send for ListColumnDataProfilesRequest
impl Sync for ListColumnDataProfilesRequest
impl Unpin for ListColumnDataProfilesRequest
impl UnwindSafe for ListColumnDataProfilesRequest
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