pub struct GcpAgentPlatformSandboxBinding {
pub engine: BindingValue<String>,
pub template: BindingValue<String>,
pub region: BindingValue<String>,
pub max_lifetime_seconds: Option<u32>,
pub allow_egress: bool,
}Expand description
GCP Agent Platform sandbox binding configuration.
Sandboxes have a durable parent to address: an Agent Engine provisioned at deploy and reached through a regional endpoint.
Fields§
§engine: BindingValue<String>Agent Engine that parents every sandbox. Sandboxes are created and enumerated under it, so a binding without it can neither reach nor reap them.
template: BindingValue<String>Template every sandbox is created from. It carries the image digest, the ceilings and the egress rules, so a sandbox created without it runs an unpinned image with none applied.
region: BindingValue<String>Region selecting the regional aiplatform endpoint. The engine is regional with no global alias, so the endpoint cannot be derived without it.
max_lifetime_seconds: Option<u32>Seconds a sandbox may live, from the declaration. Carried only when one was declared; an absent value takes the service default, which is why it is not defaulted here.
allow_egress: boolWhether the declaration asked for open egress. The template enforces the policy; this lets a
reader that never sees the template tell allow from deny. Absent means deny.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GcpAgentPlatformSandboxBinding
impl<'de> Deserialize<'de> for GcpAgentPlatformSandboxBinding
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 Eq for GcpAgentPlatformSandboxBinding
impl StructuralPartialEq for GcpAgentPlatformSandboxBinding
Auto Trait Implementations§
impl Freeze for GcpAgentPlatformSandboxBinding
impl RefUnwindSafe for GcpAgentPlatformSandboxBinding
impl Send for GcpAgentPlatformSandboxBinding
impl Sync for GcpAgentPlatformSandboxBinding
impl Unpin for GcpAgentPlatformSandboxBinding
impl UnsafeUnpin for GcpAgentPlatformSandboxBinding
impl UnwindSafe for GcpAgentPlatformSandboxBinding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.