#[non_exhaustive]pub struct GetWorkflowTemplateRequest {
pub name: String,
pub version: i32,
/* private fields */
}Expand description
A request to fetch a workflow template.
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.get, the resource name of the template has the following format:projects/{project_id}/regions/{region}/workflowTemplates/{template_id} -
For
projects.locations.workflowTemplates.get, 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 retrieve. Only previously instantiated versions can be retrieved.
If unspecified, retrieves the current version.
Implementations§
Trait Implementations§
Source§impl Clone for GetWorkflowTemplateRequest
impl Clone for GetWorkflowTemplateRequest
Source§fn clone(&self) -> GetWorkflowTemplateRequest
fn clone(&self) -> GetWorkflowTemplateRequest
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 GetWorkflowTemplateRequest
impl Debug for GetWorkflowTemplateRequest
Source§impl Default for GetWorkflowTemplateRequest
impl Default for GetWorkflowTemplateRequest
Source§fn default() -> GetWorkflowTemplateRequest
fn default() -> GetWorkflowTemplateRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetWorkflowTemplateRequest
impl Message for GetWorkflowTemplateRequest
impl StructuralPartialEq for GetWorkflowTemplateRequest
Auto Trait Implementations§
impl Freeze for GetWorkflowTemplateRequest
impl RefUnwindSafe for GetWorkflowTemplateRequest
impl Send for GetWorkflowTemplateRequest
impl Sync for GetWorkflowTemplateRequest
impl Unpin for GetWorkflowTemplateRequest
impl UnwindSafe for GetWorkflowTemplateRequest
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