Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Extensions are tools for large language models to access external data, run computations, etc.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Required.
-
#etag ⇒ String
Optional.
-
#extension_operations ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExtensionOperation>
Output only.
-
#manifest ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExtensionManifest
Manifest spec of an Extension needed for runtime execution.
-
#name ⇒ String
Identifier.
-
#private_service_connect_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExtensionPrivateServiceConnectConfig
PrivateExtensionConfig configuration for the extension.
-
#runtime_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RuntimeConfig
Runtime configuration to run the extension.
-
#satisfies_pzi ⇒ Boolean
(also: #satisfies_pzi?)
Output only.
-
#satisfies_pzs ⇒ Boolean
(also: #satisfies_pzs?)
Output only.
-
#tool_use_examples ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolUseExample>
Optional.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Extension
constructor
A new instance of GoogleCloudAiplatformV1beta1Extension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Extension
Returns a new instance of GoogleCloudAiplatformV1beta1Extension.
9727 9728 9729 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9727 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Timestamp when this Extension was created.
Corresponds to the JSON property createTime
9661 9662 9663 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9661 def create_time @create_time end |
#description ⇒ String
Optional. The description of the Extension.
Corresponds to the JSON property description
9666 9667 9668 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9666 def description @description end |
#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.
Corresponds to the JSON property displayName
9672 9673 9674 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9672 def display_name @display_name end |
#etag ⇒ String
Optional. Used to perform consistent read-modify-write updates. If not set, a
blind "overwrite" update happens.
Corresponds to the JSON property etag
9678 9679 9680 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9678 def etag @etag end |
#extension_operations ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExtensionOperation>
Output only. Supported operations.
Corresponds to the JSON property extensionOperations
9683 9684 9685 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9683 def extension_operations @extension_operations end |
#manifest ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExtensionManifest
Manifest spec of an Extension needed for runtime execution.
Corresponds to the JSON property manifest
9688 9689 9690 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9688 def manifest @manifest end |
#name ⇒ String
Identifier. The resource name of the Extension.
Corresponds to the JSON property name
9693 9694 9695 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9693 def name @name end |
#private_service_connect_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExtensionPrivateServiceConnectConfig
PrivateExtensionConfig configuration for the extension.
Corresponds to the JSON property privateServiceConnectConfig
9698 9699 9700 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9698 def private_service_connect_config @private_service_connect_config end |
#runtime_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RuntimeConfig
Runtime configuration to run the extension.
Corresponds to the JSON property runtimeConfig
9703 9704 9705 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9703 def runtime_config @runtime_config end |
#satisfies_pzi ⇒ Boolean Also known as: satisfies_pzi?
Output only. Reserved for future use.
Corresponds to the JSON property satisfiesPzi
9708 9709 9710 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9708 def satisfies_pzi @satisfies_pzi end |
#satisfies_pzs ⇒ Boolean Also known as: satisfies_pzs?
Output only. Reserved for future use.
Corresponds to the JSON property satisfiesPzs
9714 9715 9716 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9714 def satisfies_pzs @satisfies_pzs end |
#tool_use_examples ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolUseExample>
Optional. Examples to illustrate the usage of the extension as a tool.
Corresponds to the JSON property toolUseExamples
9720 9721 9722 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9720 def tool_use_examples @tool_use_examples end |
#update_time ⇒ String
Output only. Timestamp when this Extension was most recently updated.
Corresponds to the JSON property updateTime
9725 9726 9727 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9725 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 9732 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @etag = args[:etag] if args.key?(:etag) @extension_operations = args[:extension_operations] if args.key?(:extension_operations) @manifest = args[:manifest] if args.key?(:manifest) @name = args[:name] if args.key?(:name) @private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config) @runtime_config = args[:runtime_config] if args.key?(:runtime_config) @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @tool_use_examples = args[:tool_use_examples] if args.key?(:tool_use_examples) @update_time = args[:update_time] if args.key?(:update_time) end |