Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Code generated by the model that is meant to be executed by the model.
Instance Attribute Summary collapse
-
#code ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode.
8391 8392 8393 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8391 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Required. The code content. Currently only supports Python.
Corresponds to the JSON property code
8389 8390 8391 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8389 def code @code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8396 8397 8398 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8396 def update!(**args) @code = args[:code] if args.key?(:code) end |