pub struct GoogleCloudRunV2VersionToPath {
pub mode: Option<i32>,
pub path: Option<String>,
pub version: Option<String>,
}
Expand description
VersionToPath maps a specific version of a secret to a relative file to mount to, relative to VolumeMount’s mount_path.
This type is not used in any activity, and only used as part of another schema.
Fields§
§mode: Option<i32>
Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume’s default mode will be used. Notes * Internally, a umask of 0222 will be applied to any non-zero value. * This is an integer representation of the mode bits. So, the octal integer value should look exactly as the chmod numeric notation with a leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
path: Option<String>
Required. The relative path of the secret in the container.
version: Option<String>
The Cloud Secret Manager secret version. Can be ‘latest’ for the latest value, or an integer or a secret alias for a specific version.
Trait Implementations§
Source§impl Clone for GoogleCloudRunV2VersionToPath
impl Clone for GoogleCloudRunV2VersionToPath
Source§fn clone(&self) -> GoogleCloudRunV2VersionToPath
fn clone(&self) -> GoogleCloudRunV2VersionToPath
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudRunV2VersionToPath
impl Default for GoogleCloudRunV2VersionToPath
Source§fn default() -> GoogleCloudRunV2VersionToPath
fn default() -> GoogleCloudRunV2VersionToPath
Source§impl<'de> Deserialize<'de> for GoogleCloudRunV2VersionToPath
impl<'de> Deserialize<'de> for GoogleCloudRunV2VersionToPath
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 GoogleCloudRunV2VersionToPath
Auto Trait Implementations§
impl Freeze for GoogleCloudRunV2VersionToPath
impl RefUnwindSafe for GoogleCloudRunV2VersionToPath
impl Send for GoogleCloudRunV2VersionToPath
impl Sync for GoogleCloudRunV2VersionToPath
impl Unpin for GoogleCloudRunV2VersionToPath
impl UnwindSafe for GoogleCloudRunV2VersionToPath
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