pub struct RemoteGcpSandboxBinding {
pub allow_egress: Option<bool>,
pub engine: String,
pub max_lifetime_seconds: Option<i32>,
pub region: String,
pub template: String,
}Expand description
Concrete Agent Platform topology returned to remote clients.
The egress policy itself lives on the environment template named below; allow_egress reports
it so a client can decide without reading the template.
JSON schema
{
"description": "Concrete Agent Platform topology returned to remote clients.\n\nThe egress policy itself lives on the environment template named below; `allow_egress` reports\nit so a client can decide without reading the template.",
"type": "object",
"required": [
"engine",
"region",
"template"
],
"properties": {
"allowEgress": {
"description": "Whether the declaration asked for open egress, as the template enforces it. Sent only when\ntrue: released clients reject unknown fields, so a deny binding must stay byte-identical.",
"type": "boolean"
},
"engine": {
"description": "Reasoning engine the credential lease authorizes sandboxes under.",
"type": "string"
},
"maxLifetimeSeconds": {
"description": "Seconds a sandbox may live, where the declaration asked for one.",
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"region": {
"description": "Region selecting the regional aiplatform endpoint.",
"type": "string"
},
"template": {
"description": "Environment template every sandbox is created from; it carries the image and the ceilings.",
"type": "string"
}
},
"additionalProperties": false
}Fields§
§allow_egress: Option<bool>Whether the declaration asked for open egress, as the template enforces it. Sent only when true: released clients reject unknown fields, so a deny binding must stay byte-identical.
engine: StringReasoning engine the credential lease authorizes sandboxes under.
max_lifetime_seconds: Option<i32>Seconds a sandbox may live, where the declaration asked for one.
region: StringRegion selecting the regional aiplatform endpoint.
template: StringEnvironment template every sandbox is created from; it carries the image and the ceilings.
Implementations§
Source§impl RemoteGcpSandboxBinding
impl RemoteGcpSandboxBinding
pub fn builder() -> RemoteGcpSandboxBinding
Trait Implementations§
Source§impl Clone for RemoteGcpSandboxBinding
impl Clone for RemoteGcpSandboxBinding
Source§impl Debug for RemoteGcpSandboxBinding
impl Debug for RemoteGcpSandboxBinding
Source§impl<'de> Deserialize<'de> for RemoteGcpSandboxBinding
impl<'de> Deserialize<'de> for RemoteGcpSandboxBinding
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&RemoteGcpSandboxBinding> for RemoteGcpSandboxBinding
impl From<&RemoteGcpSandboxBinding> for RemoteGcpSandboxBinding
Source§fn from(value: &RemoteGcpSandboxBinding) -> Self
fn from(value: &RemoteGcpSandboxBinding) -> Self
Converts to this type from the input type.
Source§impl From<RemoteGcpSandboxBinding> for RemoteGcpSandboxBinding
impl From<RemoteGcpSandboxBinding> for RemoteGcpSandboxBinding
Source§fn from(value: RemoteGcpSandboxBinding) -> Self
fn from(value: RemoteGcpSandboxBinding) -> Self
Converts to this type from the input type.
Source§impl Serialize for RemoteGcpSandboxBinding
impl Serialize for RemoteGcpSandboxBinding
Source§impl TryFrom<RemoteGcpSandboxBinding> for RemoteGcpSandboxBinding
impl TryFrom<RemoteGcpSandboxBinding> for RemoteGcpSandboxBinding
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RemoteGcpSandboxBinding) -> Result<Self, ConversionError>
fn try_from(value: RemoteGcpSandboxBinding) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RemoteGcpSandboxBinding
impl RefUnwindSafe for RemoteGcpSandboxBinding
impl Send for RemoteGcpSandboxBinding
impl Sync for RemoteGcpSandboxBinding
impl Unpin for RemoteGcpSandboxBinding
impl UnsafeUnpin for RemoteGcpSandboxBinding
impl UnwindSafe for RemoteGcpSandboxBinding
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
Mutably borrows from an owned value. Read more