pub struct RemoteGcpSandboxBinding {
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.
No egress field, unlike the other two clouds: the policy lives on the environment template named below, so it travels with the template rather than as a flag the client must read.
JSON schema
{
"description": "Concrete Agent Platform topology returned to remote clients.\n\nNo egress field, unlike the other two clouds: the policy lives on the environment template\nnamed below, so it travels with the template rather than as a flag the client must read.",
"type": "object",
"required": [
"engine",
"region",
"template"
],
"properties": {
"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§
§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§fn clone(&self) -> RemoteGcpSandboxBinding
fn clone(&self) -> RemoteGcpSandboxBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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