#[non_exhaustive]pub struct CreatePipelineJobRequest {
pub parent: String,
pub pipeline_job: Option<PipelineJob>,
pub pipeline_job_id: String,
/* private fields */
}Expand description
Request message for PipelineService.CreatePipelineJob.
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 resource name of the Location to create the PipelineJob in.
Format: projects/{project}/locations/{location}
pipeline_job: Option<PipelineJob>Required. The PipelineJob to create.
pipeline_job_id: StringThe ID to use for the PipelineJob, which will become the final component of the PipelineJob name. If not provided, an ID will be automatically generated.
This value should be less than 128 characters, and valid characters
are /[a-z][0-9]-/.
Implementations§
Source§impl CreatePipelineJobRequest
impl CreatePipelineJobRequest
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
Sets the value of parent.
Sourcepub fn set_pipeline_job<T: Into<Option<PipelineJob>>>(self, v: T) -> Self
pub fn set_pipeline_job<T: Into<Option<PipelineJob>>>(self, v: T) -> Self
Sets the value of pipeline_job.
Sourcepub fn set_pipeline_job_id<T: Into<String>>(self, v: T) -> Self
pub fn set_pipeline_job_id<T: Into<String>>(self, v: T) -> Self
Sets the value of pipeline_job_id.
Trait Implementations§
Source§impl Clone for CreatePipelineJobRequest
impl Clone for CreatePipelineJobRequest
Source§fn clone(&self) -> CreatePipelineJobRequest
fn clone(&self) -> CreatePipelineJobRequest
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 Debug for CreatePipelineJobRequest
impl Debug for CreatePipelineJobRequest
Source§impl Default for CreatePipelineJobRequest
impl Default for CreatePipelineJobRequest
Source§fn default() -> CreatePipelineJobRequest
fn default() -> CreatePipelineJobRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreatePipelineJobRequestwhere
CreatePipelineJobRequest: Default,
impl<'de> Deserialize<'de> for CreatePipelineJobRequestwhere
CreatePipelineJobRequest: Default,
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
Source§impl Message for CreatePipelineJobRequest
impl Message for CreatePipelineJobRequest
Source§impl PartialEq for CreatePipelineJobRequest
impl PartialEq for CreatePipelineJobRequest
Source§impl Serialize for CreatePipelineJobRequest
impl Serialize for CreatePipelineJobRequest
impl StructuralPartialEq for CreatePipelineJobRequest
Auto Trait Implementations§
impl Freeze for CreatePipelineJobRequest
impl RefUnwindSafe for CreatePipelineJobRequest
impl Send for CreatePipelineJobRequest
impl Sync for CreatePipelineJobRequest
impl Unpin for CreatePipelineJobRequest
impl UnwindSafe for CreatePipelineJobRequest
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