Class: Google::Apis::CesV1::AgentAgentToolset

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb

Overview

A toolset with a selection of its tools.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AgentAgentToolset

Returns a new instance of AgentAgentToolset.



286
287
288
# File 'lib/google/apis/ces_v1/classes.rb', line 286

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#tool_idsArray<String>

Optional. The tools IDs to filter the toolset. Corresponds to the JSON property toolIds

Returns:

  • (Array<String>)


278
279
280
# File 'lib/google/apis/ces_v1/classes.rb', line 278

def tool_ids
  @tool_ids
end

#toolsetString

Required. The resource name of the toolset. Format: projects/project/ locations/location/apps/app/toolsets/toolset` Corresponds to the JSON propertytoolset`

Returns:

  • (String)


284
285
286
# File 'lib/google/apis/ces_v1/classes.rb', line 284

def toolset
  @toolset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



291
292
293
294
# File 'lib/google/apis/ces_v1/classes.rb', line 291

def update!(**args)
  @tool_ids = args[:tool_ids] if args.key?(:tool_ids)
  @toolset = args[:toolset] if args.key?(:toolset)
end