pub struct ExecutionTemplateSpec {
pub metadata: Option<ObjectMeta>,
pub spec: Option<ExecutionSpec>,
}
Expand description
ExecutionTemplateSpec describes the metadata and spec an Execution should have when created from a job.
This type is not used in any activity, and only used as part of another schema.
Fields§
§metadata: Option<ObjectMeta>
Optional. Optional metadata for this Execution, including labels and annotations. The following annotation keys set properties of the created execution: * run.googleapis.com/cloudsql-instances
sets Cloud SQL connections. Multiple values should be comma separated. * run.googleapis.com/vpc-access-connector
sets a Serverless VPC Access connector. * run.googleapis.com/vpc-access-egress
sets VPC egress. Supported values are all-traffic
, all
(deprecated), and private-ranges-only
. all-traffic
and all
provide the same functionality. all
is deprecated but will continue to be supported. Prefer all-traffic
.
spec: Option<ExecutionSpec>
Required. ExecutionSpec holds the desired configuration for executions of this job.
Trait Implementations§
Source§impl Clone for ExecutionTemplateSpec
impl Clone for ExecutionTemplateSpec
Source§fn clone(&self) -> ExecutionTemplateSpec
fn clone(&self) -> ExecutionTemplateSpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExecutionTemplateSpec
impl Debug for ExecutionTemplateSpec
Source§impl Default for ExecutionTemplateSpec
impl Default for ExecutionTemplateSpec
Source§fn default() -> ExecutionTemplateSpec
fn default() -> ExecutionTemplateSpec
Source§impl<'de> Deserialize<'de> for ExecutionTemplateSpec
impl<'de> Deserialize<'de> for ExecutionTemplateSpec
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>,
Source§impl Serialize for ExecutionTemplateSpec
impl Serialize for ExecutionTemplateSpec
impl Part for ExecutionTemplateSpec
Auto Trait Implementations§
impl Freeze for ExecutionTemplateSpec
impl RefUnwindSafe for ExecutionTemplateSpec
impl Send for ExecutionTemplateSpec
impl Sync for ExecutionTemplateSpec
impl Unpin for ExecutionTemplateSpec
impl UnwindSafe for ExecutionTemplateSpec
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