#[non_exhaustive]pub struct DeleteWorkflowTemplateRequest {
pub name: String,
pub version: i32,
/* private fields */
}Expand description
A request to delete a workflow template.
Currently started workflows will remain running.
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.name: StringRequired. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names.
-
For
projects.regions.workflowTemplates.delete, the resource name of the template has the following format:projects/{project_id}/regions/{region}/workflowTemplates/{template_id} -
For
projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format:projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
version: i32Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteWorkflowTemplateRequest
impl Clone for DeleteWorkflowTemplateRequest
Source§fn clone(&self) -> DeleteWorkflowTemplateRequest
fn clone(&self) -> DeleteWorkflowTemplateRequest
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 Default for DeleteWorkflowTemplateRequest
impl Default for DeleteWorkflowTemplateRequest
Source§fn default() -> DeleteWorkflowTemplateRequest
fn default() -> DeleteWorkflowTemplateRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeleteWorkflowTemplateRequest
impl PartialEq for DeleteWorkflowTemplateRequest
Source§fn eq(&self, other: &DeleteWorkflowTemplateRequest) -> bool
fn eq(&self, other: &DeleteWorkflowTemplateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteWorkflowTemplateRequest
Auto Trait Implementations§
impl Freeze for DeleteWorkflowTemplateRequest
impl RefUnwindSafe for DeleteWorkflowTemplateRequest
impl Send for DeleteWorkflowTemplateRequest
impl Sync for DeleteWorkflowTemplateRequest
impl Unpin for DeleteWorkflowTemplateRequest
impl UnwindSafe for DeleteWorkflowTemplateRequest
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