pub struct GoogleCloudRunV2NetworkInterface {
pub network: Option<String>,
pub subnetwork: Option<String>,
pub tags: Option<Vec<String>>,
}
Expand description
Direct VPC egress settings.
This type is not used in any activity, and only used as part of another schema.
Fields§
§network: Option<String>
Optional. The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
subnetwork: Option<String>
Optional. The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
Optional. Network tags applied to this Cloud Run resource.
Trait Implementations§
Source§impl Clone for GoogleCloudRunV2NetworkInterface
impl Clone for GoogleCloudRunV2NetworkInterface
Source§fn clone(&self) -> GoogleCloudRunV2NetworkInterface
fn clone(&self) -> GoogleCloudRunV2NetworkInterface
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudRunV2NetworkInterface
impl Default for GoogleCloudRunV2NetworkInterface
Source§fn default() -> GoogleCloudRunV2NetworkInterface
fn default() -> GoogleCloudRunV2NetworkInterface
Source§impl<'de> Deserialize<'de> for GoogleCloudRunV2NetworkInterface
impl<'de> Deserialize<'de> for GoogleCloudRunV2NetworkInterface
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 GoogleCloudRunV2NetworkInterface
Auto Trait Implementations§
impl Freeze for GoogleCloudRunV2NetworkInterface
impl RefUnwindSafe for GoogleCloudRunV2NetworkInterface
impl Send for GoogleCloudRunV2NetworkInterface
impl Sync for GoogleCloudRunV2NetworkInterface
impl Unpin for GoogleCloudRunV2NetworkInterface
impl UnwindSafe for GoogleCloudRunV2NetworkInterface
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