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.
8947 8948 8949 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8947 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
8945 8946 8947 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8945 def code @code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8952 8953 8954 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8952 def update!(**args) @code = args[:code] if args.key?(:code) end |