pub struct GcpAgentPlatformSandboxHeartbeatData {
pub engine: String,
pub status: SandboxHeartbeatStatus,
pub template_id: String,
}Expand description
GCP: the Agent Platform template sandboxes are cut from, and the engine it hangs under.
No sandbox count: that needs aiplatform.sandboxEnvironments.list, which only the management
permission set holds. No template state either — emission is gated on reading it ACTIVE,
which is what status already says.
JSON schema
{
"description": "GCP: the Agent Platform template sandboxes are cut from, and the engine it hangs under.\n\nNo sandbox count: that needs `aiplatform.sandboxEnvironments.list`, which only the management\npermission set holds. No template state either — emission is gated on reading it `ACTIVE`,\nwhich is what `status` already says.",
"type": "object",
"required": [
"engine",
"status",
"templateId"
],
"properties": {
"engine": {
"description": "Reasoning engine the template hangs under, without which the template id names nothing.",
"type": "string"
},
"status": {
"$ref": "#/components/schemas/SandboxHeartbeatStatus"
},
"templateId": {
"description": "The template sandboxes are currently cut from.",
"type": "string"
}
}
}Fields§
§engine: StringReasoning engine the template hangs under, without which the template id names nothing.
status: SandboxHeartbeatStatus§template_id: StringThe template sandboxes are currently cut from.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GcpAgentPlatformSandboxHeartbeatData
impl<'de> Deserialize<'de> for GcpAgentPlatformSandboxHeartbeatData
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<&GcpAgentPlatformSandboxHeartbeatData> for GcpAgentPlatformSandboxHeartbeatData
impl From<&GcpAgentPlatformSandboxHeartbeatData> for GcpAgentPlatformSandboxHeartbeatData
Source§fn from(value: &GcpAgentPlatformSandboxHeartbeatData) -> Self
fn from(value: &GcpAgentPlatformSandboxHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<GcpAgentPlatformSandboxHeartbeatData> for GcpAgentPlatformSandboxHeartbeatData
impl From<GcpAgentPlatformSandboxHeartbeatData> for GcpAgentPlatformSandboxHeartbeatData
Source§fn from(value: GcpAgentPlatformSandboxHeartbeatData) -> Self
fn from(value: GcpAgentPlatformSandboxHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GcpAgentPlatformSandboxHeartbeatData> for GcpAgentPlatformSandboxHeartbeatData
impl TryFrom<GcpAgentPlatformSandboxHeartbeatData> for GcpAgentPlatformSandboxHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: GcpAgentPlatformSandboxHeartbeatData,
) -> Result<Self, ConversionError>
fn try_from( value: GcpAgentPlatformSandboxHeartbeatData, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GcpAgentPlatformSandboxHeartbeatData
impl RefUnwindSafe for GcpAgentPlatformSandboxHeartbeatData
impl Send for GcpAgentPlatformSandboxHeartbeatData
impl Sync for GcpAgentPlatformSandboxHeartbeatData
impl Unpin for GcpAgentPlatformSandboxHeartbeatData
impl UnsafeUnpin for GcpAgentPlatformSandboxHeartbeatData
impl UnwindSafe for GcpAgentPlatformSandboxHeartbeatData
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