Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDynamicTool
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDynamicTool
- 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) ⇒ GoogleCloudDiscoveryengineV1alphaDynamicTool
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaDynamicTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDynamicTool
Returns a new instance of GoogleCloudDiscoveryengineV1alphaDynamicTool.
12388 12389 12390 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12388 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional. The description of the tool.
Corresponds to the JSON property description
12370 12371 12372 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12370 def description @description end |
#display_name ⇒ String
Optional. The display name of the tool.
Corresponds to the JSON property displayName
12375 12376 12377 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12375 def display_name @display_name end |
#enabled ⇒ Boolean Also known as: enabled?
Optional. Whether the tool is enabled.
Corresponds to the JSON property enabled
12380 12381 12382 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12380 def enabled @enabled end |
#name ⇒ String
Required. The name of the tool.
Corresponds to the JSON property name
12386 12387 12388 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12386 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12393 12394 12395 12396 12397 12398 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12393 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 |