Struct google_api_proto::google::privacy::dlp::v2::CreateDlpJobRequest
source · pub struct CreateDlpJobRequest {
pub parent: String,
pub job_id: String,
pub location_id: String,
pub job: Option<Job>,
}
Expand description
Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage.
Fields§
§parent: String
Required. Parent resource name.
The format of this value varies depending on 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}
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
job_id: String
The job id can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: \[a-zA-Z\d-_\]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
location_id: String
Deprecated. This field has no effect.
job: Option<Job>
The configuration details for the specific type of job to run.
Trait Implementations§
source§impl Clone for CreateDlpJobRequest
impl Clone for CreateDlpJobRequest
source§fn clone(&self) -> CreateDlpJobRequest
fn clone(&self) -> CreateDlpJobRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDlpJobRequest
impl Debug for CreateDlpJobRequest
source§impl Default for CreateDlpJobRequest
impl Default for CreateDlpJobRequest
source§impl Message for CreateDlpJobRequest
impl Message for CreateDlpJobRequest
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 CreateDlpJobRequest
impl PartialEq for CreateDlpJobRequest
source§fn eq(&self, other: &CreateDlpJobRequest) -> bool
fn eq(&self, other: &CreateDlpJobRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateDlpJobRequest
Auto Trait Implementations§
impl Freeze for CreateDlpJobRequest
impl RefUnwindSafe for CreateDlpJobRequest
impl Send for CreateDlpJobRequest
impl Sync for CreateDlpJobRequest
impl Unpin for CreateDlpJobRequest
impl UnwindSafe for CreateDlpJobRequest
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