#[non_exhaustive]pub struct CreateBigQueryExportRequest {
pub parent: String,
pub big_query_export: Option<BigQueryExport>,
pub big_query_export_id: String,
/* private fields */
}Expand description
Request message for creating a BigQuery export.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. The name of the parent resource of the new BigQuery export. Its
format is organizations/[organization_id]/locations/[location_id],
folders/[folder_id]/locations/[location_id], or
projects/[project_id]/locations/[location_id].
big_query_export: Option<BigQueryExport>Required. The BigQuery export being created.
big_query_export_id: StringRequired. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
Implementations§
Source§impl CreateBigQueryExportRequest
impl CreateBigQueryExportRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_big_query_export<T>(self, v: T) -> Selfwhere
T: Into<BigQueryExport>,
pub fn set_big_query_export<T>(self, v: T) -> Selfwhere
T: Into<BigQueryExport>,
Sets the value of big_query_export.
§Example
ⓘ
use google_cloud_securitycenter_v2::model::BigQueryExport;
let x = CreateBigQueryExportRequest::new().set_big_query_export(BigQueryExport::default()/* use setters */);Sourcepub fn set_or_clear_big_query_export<T>(self, v: Option<T>) -> Selfwhere
T: Into<BigQueryExport>,
pub fn set_or_clear_big_query_export<T>(self, v: Option<T>) -> Selfwhere
T: Into<BigQueryExport>,
Sets or clears the value of big_query_export.
§Example
ⓘ
use google_cloud_securitycenter_v2::model::BigQueryExport;
let x = CreateBigQueryExportRequest::new().set_or_clear_big_query_export(Some(BigQueryExport::default()/* use setters */));
let x = CreateBigQueryExportRequest::new().set_or_clear_big_query_export(None::<BigQueryExport>);Sourcepub fn set_big_query_export_id<T: Into<String>>(self, v: T) -> Self
pub fn set_big_query_export_id<T: Into<String>>(self, v: T) -> Self
Sets the value of big_query_export_id.
§Example
ⓘ
let x = CreateBigQueryExportRequest::new().set_big_query_export_id("example");Trait Implementations§
Source§impl Clone for CreateBigQueryExportRequest
impl Clone for CreateBigQueryExportRequest
Source§fn clone(&self) -> CreateBigQueryExportRequest
fn clone(&self) -> CreateBigQueryExportRequest
Returns a duplicate 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 Debug for CreateBigQueryExportRequest
impl Debug for CreateBigQueryExportRequest
Source§impl Default for CreateBigQueryExportRequest
impl Default for CreateBigQueryExportRequest
Source§fn default() -> CreateBigQueryExportRequest
fn default() -> CreateBigQueryExportRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for CreateBigQueryExportRequest
Auto Trait Implementations§
impl Freeze for CreateBigQueryExportRequest
impl RefUnwindSafe for CreateBigQueryExportRequest
impl Send for CreateBigQueryExportRequest
impl Sync for CreateBigQueryExportRequest
impl Unpin for CreateBigQueryExportRequest
impl UnwindSafe for CreateBigQueryExportRequest
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