public sealed class Extension : IMessage<Extension>, IEquatable<Extension>, IDeepCloneable<Extension>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class Extension.
Extensions are tools for large language models to access external data, run computations, etc.
Implements
IMessageExtension, IEquatableExtension, IDeepCloneableExtension, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
Extension()
public Extension()
Extension(Extension)
public Extension(Extension other)
Parameter | |
---|---|
Name | Description |
other |
Extension |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Timestamp when this Extension was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
Optional. The description of the Extension.
Property Value | |
---|---|
Type | Description |
string |
DisplayName
public string DisplayName { get; set; }
Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters.
Property Value | |
---|---|
Type | Description |
string |
Etag
public string Etag { get; set; }
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
Property Value | |
---|---|
Type | Description |
string |
ExtensionName
public ExtensionName ExtensionName { get; set; }
ExtensionName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ExtensionName |
ExtensionOperations
public RepeatedField<ExtensionOperation> ExtensionOperations { get; }
Output only. Supported operations.
Property Value | |
---|---|
Type | Description |
RepeatedFieldExtensionOperation |
Manifest
public ExtensionManifest Manifest { get; set; }
Required. Manifest of the Extension.
Property Value | |
---|---|
Type | Description |
ExtensionManifest |
Name
public string Name { get; set; }
Identifier. The resource name of the Extension.
Property Value | |
---|---|
Type | Description |
string |
PrivateServiceConnectConfig
public ExtensionPrivateServiceConnectConfig PrivateServiceConnectConfig { get; set; }
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.
Property Value | |
---|---|
Type | Description |
ExtensionPrivateServiceConnectConfig |
RuntimeConfig
public RuntimeConfig RuntimeConfig { get; set; }
Optional. Runtime config controlling the runtime behavior of this Extension.
Property Value | |
---|---|
Type | Description |
RuntimeConfig |
ToolUseExamples
public RepeatedField<ToolUseExample> ToolUseExamples { get; }
Optional. Examples to illustrate the usage of the extension as a tool.
Property Value | |
---|---|
Type | Description |
RepeatedFieldToolUseExample |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Timestamp when this Extension was most recently updated.
Property Value | |
---|---|
Type | Description |
Timestamp |