Struct google_api_proto::google::privacy::dlp::v2::ListInspectTemplatesRequest
source · pub struct ListInspectTemplatesRequest {
pub parent: String,
pub page_token: String,
pub page_size: i32,
pub order_by: String,
pub location_id: String,
}
Expand description
Request message for ListInspectTemplates.
Fields§
§parent: String
Required. Parent resource name.
The format of this value varies depending on the scope of the request (project or organization) and whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
- Projects scope, no location specified (defaults to global):
projects/{project_id}
- Organizations scope, location specified:
organizations/{org_id}/locations/{location_id}
- Organizations scope, no location specified (defaults to global):
organizations/{org_id}
The following example parent
string specifies a parent project with the
identifier example-project
, and specifies the europe-west3
location
for processing data:
parent=projects/example-project/locations/europe-west3
page_token: String
Page token to continue retrieval. Comes from the previous call
to ListInspectTemplates
.
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.
Example: name asc,update_time, create_time desc
Supported fields are:
create_time
: corresponds to the time the template was created.update_time
: corresponds to the time the template was last updated.name
: corresponds to the template’s name.display_name
: corresponds to the template’s display name.
location_id: String
Deprecated. This field has no effect.
Trait Implementations§
source§impl Clone for ListInspectTemplatesRequest
impl Clone for ListInspectTemplatesRequest
source§fn clone(&self) -> ListInspectTemplatesRequest
fn clone(&self) -> ListInspectTemplatesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListInspectTemplatesRequest
impl Debug for ListInspectTemplatesRequest
source§impl Message for ListInspectTemplatesRequest
impl Message for ListInspectTemplatesRequest
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 ListInspectTemplatesRequest
impl PartialEq for ListInspectTemplatesRequest
source§fn eq(&self, other: &ListInspectTemplatesRequest) -> bool
fn eq(&self, other: &ListInspectTemplatesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListInspectTemplatesRequest
Auto Trait Implementations§
impl Freeze for ListInspectTemplatesRequest
impl RefUnwindSafe for ListInspectTemplatesRequest
impl Send for ListInspectTemplatesRequest
impl Sync for ListInspectTemplatesRequest
impl Unpin for ListInspectTemplatesRequest
impl UnwindSafe for ListInspectTemplatesRequest
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