pub struct GooglePrivacyDlpV2CreateInspectTemplateRequest {
pub inspect_template: Option<GooglePrivacyDlpV2InspectTemplate>,
pub location_id: Option<String>,
pub template_id: Option<String>,
}
Expand description
Request message for CreateInspectTemplate.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- inspect templates create organizations (request)
- locations inspect templates create organizations (request)
- inspect templates create projects (request)
- locations inspect templates create projects (request)
Fields§
§inspect_template: Option<GooglePrivacyDlpV2InspectTemplate>
Required. The InspectTemplate to create.
location_id: Option<String>
Deprecated. This field has no effect.
template_id: Option<String>
The template 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.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2CreateInspectTemplateRequest
impl Clone for GooglePrivacyDlpV2CreateInspectTemplateRequest
source§fn clone(&self) -> GooglePrivacyDlpV2CreateInspectTemplateRequest
fn clone(&self) -> GooglePrivacyDlpV2CreateInspectTemplateRequest
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 Default for GooglePrivacyDlpV2CreateInspectTemplateRequest
impl Default for GooglePrivacyDlpV2CreateInspectTemplateRequest
source§fn default() -> GooglePrivacyDlpV2CreateInspectTemplateRequest
fn default() -> GooglePrivacyDlpV2CreateInspectTemplateRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2CreateInspectTemplateRequest
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2CreateInspectTemplateRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for GooglePrivacyDlpV2CreateInspectTemplateRequest
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2CreateInspectTemplateRequest
impl Send for GooglePrivacyDlpV2CreateInspectTemplateRequest
impl Sync for GooglePrivacyDlpV2CreateInspectTemplateRequest
impl Unpin for GooglePrivacyDlpV2CreateInspectTemplateRequest
impl UnwindSafe for GooglePrivacyDlpV2CreateInspectTemplateRequest
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