Struct google_api_proto::google::cloud::aiplatform::v1beta1::Extension
source · pub struct Extension {
pub name: String,
pub display_name: String,
pub description: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub etag: String,
pub manifest: Option<ExtensionManifest>,
pub extension_operations: Vec<ExtensionOperation>,
pub runtime_config: Option<RuntimeConfig>,
pub tool_use_examples: Vec<ToolUseExample>,
pub private_service_connect_config: Option<ExtensionPrivateServiceConnectConfig>,
}
Expand description
Extensions are tools for large language models to access external data, run computations, etc.
Fields§
§name: String
Identifier. The resource name of the Extension.
display_name: String
Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters.
description: String
Optional. The description of the Extension.
create_time: Option<Timestamp>
Output only. Timestamp when this Extension was created.
update_time: Option<Timestamp>
Output only. Timestamp when this Extension was most recently updated.
etag: String
Optional. Used to perform consistent read-modify-write updates. If not set, a blind “overwrite” update happens.
manifest: Option<ExtensionManifest>
Required. Manifest of the Extension.
extension_operations: Vec<ExtensionOperation>
Output only. Supported operations.
runtime_config: Option<RuntimeConfig>
Optional. Runtime config controlling the runtime behavior of this Extension.
tool_use_examples: Vec<ToolUseExample>
Optional. Examples to illustrate the usage of the extension as a tool.
private_service_connect_config: Option<ExtensionPrivateServiceConnectConfig>
Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access).
If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution.
Trait Implementations§
source§impl Message for Extension
impl Message for Extension
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Extension
impl PartialEq for Extension
impl StructuralPartialEq for Extension
Auto Trait Implementations§
impl Freeze for Extension
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnwindSafe for Extension
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request