Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DynamicTool
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DynamicTool
- 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
Configuration for dynamic tools.
Instance Attribute Summary collapse
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#enabled ⇒ Boolean
(also: #enabled?)
Optional.
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DynamicTool
constructor
A new instance of GoogleCloudDiscoveryengineV1DynamicTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DynamicTool
Returns a new instance of GoogleCloudDiscoveryengineV1DynamicTool.
3805 3806 3807 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3805 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional. The description of the tool.
Corresponds to the JSON property description
3787 3788 3789 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3787 def description @description end |
#display_name ⇒ String
Optional. The display name of the tool.
Corresponds to the JSON property displayName
3792 3793 3794 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3792 def display_name @display_name end |
#enabled ⇒ Boolean Also known as: enabled?
Optional. Whether the tool is enabled.
Corresponds to the JSON property enabled
3797 3798 3799 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3797 def enabled @enabled end |
#name ⇒ String
Required. The name of the tool.
Corresponds to the JSON property name
3803 3804 3805 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3803 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3810 3811 3812 3813 3814 3815 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3810 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @enabled = args[:enabled] if args.key?(:enabled) @name = args[:name] if args.key?(:name) end |