#[non_exhaustive]pub struct PurgeExecutionsRequest {
pub parent: String,
pub filter: String,
pub force: bool,
/* private fields */
}Available on crate feature
metadata-service only.Expand description
Request message for MetadataService.PurgeExecutions.
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 metadata store to purge Executions from.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}
filter: StringRequired. A required filter matching the Executions to be purged.
E.g., update_time <= 2020-11-19T11:30:00-04:00.
force: boolOptional. Flag to indicate to actually perform the purge.
If force is set to false, the method will return a sample of
Execution names that would be deleted.
Implementations§
Source§impl PurgeExecutionsRequest
impl PurgeExecutionsRequest
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_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for PurgeExecutionsRequest
impl Clone for PurgeExecutionsRequest
Source§fn clone(&self) -> PurgeExecutionsRequest
fn clone(&self) -> PurgeExecutionsRequest
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 PurgeExecutionsRequest
impl Debug for PurgeExecutionsRequest
Source§impl Default for PurgeExecutionsRequest
impl Default for PurgeExecutionsRequest
Source§fn default() -> PurgeExecutionsRequest
fn default() -> PurgeExecutionsRequest
Returns the “default value” for a type. Read more
Source§impl Message for PurgeExecutionsRequest
impl Message for PurgeExecutionsRequest
Source§impl PartialEq for PurgeExecutionsRequest
impl PartialEq for PurgeExecutionsRequest
impl StructuralPartialEq for PurgeExecutionsRequest
Auto Trait Implementations§
impl Freeze for PurgeExecutionsRequest
impl RefUnwindSafe for PurgeExecutionsRequest
impl Send for PurgeExecutionsRequest
impl Sync for PurgeExecutionsRequest
impl Unpin for PurgeExecutionsRequest
impl UnwindSafe for PurgeExecutionsRequest
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