pub struct GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter {
pub container_spec_gcs_path: Option<String>,
pub environment: Option<GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment>,
pub job_name: Option<String>,
pub launch_options: Option<HashMap<String, String>>,
pub parameters: Option<HashMap<String, String>>,
pub transform_name_mappings: Option<HashMap<String, String>>,
pub update: Option<bool>,
}
Expand description
Launch Flex Template parameter.
This type is not used in any activity, and only used as part of another schema.
Fields§
§container_spec_gcs_path: Option<String>
Cloud Storage path to a file with a JSON-serialized ContainerSpec as content.
environment: Option<GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment>
The runtime environment for the Flex Template job.
job_name: Option<String>
Required. The job name to use for the created job. For an update job request, the job name should be the same as the existing running job.
launch_options: Option<HashMap<String, String>>
Launch options for this Flex Template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.
parameters: Option<HashMap<String, String>>
The parameters for the Flex Template. Example: {"num_workers":"5"}
transform_name_mappings: Option<HashMap<String, String>>
Use this to pass transform name mappings for streaming update jobs. Example: {"oldTransformName":"newTransformName",...}
update: Option<bool>
Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job.
Trait Implementations§
Source§impl Clone for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
impl Clone for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
Source§fn clone(&self) -> GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
fn clone(&self) -> GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
impl Default for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
Source§fn default() -> GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
fn default() -> GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
Source§impl<'de> Deserialize<'de> for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
impl<'de> Deserialize<'de> for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
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>,
impl Part for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
Auto Trait Implementations§
impl Freeze for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
impl RefUnwindSafe for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
impl Send for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
impl Sync for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
impl Unpin for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
impl UnwindSafe for GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more