pub struct GcpAgentPlatformSandboxBinding {
pub engine: BindingValue<String>,
pub template: BindingValue<String>,
pub region: BindingValue<String>,
pub session_ttl_seconds: Option<u32>,
}Expand description
GCP Agent Platform sandbox binding configuration.
Sessions 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 session. Sessions are created and enumerated under it, so a binding without it can neither reach nor reap them.
template: BindingValue<String>Template every session is created from. It carries the image digest, the ceilings and the egress rules, so a session 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.
session_ttl_seconds: Option<u32>Seconds a session 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.
Trait Implementations§
Source§impl Clone for GcpAgentPlatformSandboxBinding
impl Clone for GcpAgentPlatformSandboxBinding
Source§fn clone(&self) -> GcpAgentPlatformSandboxBinding
fn clone(&self) -> GcpAgentPlatformSandboxBinding
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§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.