Class: Google::Apis::CesV1::RetrieveToolSchemaResponse

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

Response message for ToolService.RetrieveToolSchema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RetrieveToolSchemaResponse

Returns a new instance of RetrieveToolSchemaResponse.



5452
5453
5454
# File 'lib/google/apis/ces_v1/classes.rb', line 5452

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

Instance Attribute Details

#input_schemaGoogle::Apis::CesV1::Schema

Represents a select subset of an OpenAPI 3.0 schema object. Corresponds to the JSON property inputSchema



5434
5435
5436
# File 'lib/google/apis/ces_v1/classes.rb', line 5434

def input_schema
  @input_schema
end

#output_schemaGoogle::Apis::CesV1::Schema

Represents a select subset of an OpenAPI 3.0 schema object. Corresponds to the JSON property outputSchema



5439
5440
5441
# File 'lib/google/apis/ces_v1/classes.rb', line 5439

def output_schema
  @output_schema
end

#toolString

The name of the tool that the schema is for. Format: projects/project/ locations/location/apps/app/tools/tool` Corresponds to the JSON propertytool`

Returns:

  • (String)


5445
5446
5447
# File 'lib/google/apis/ces_v1/classes.rb', line 5445

def tool
  @tool
end

#toolset_toolGoogle::Apis::CesV1::ToolsetTool

A tool that is created from a toolset. Corresponds to the JSON property toolsetTool



5450
5451
5452
# File 'lib/google/apis/ces_v1/classes.rb', line 5450

def toolset_tool
  @toolset_tool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5457
5458
5459
5460
5461
5462
# File 'lib/google/apis/ces_v1/classes.rb', line 5457

def update!(**args)
  @input_schema = args[:input_schema] if args.key?(:input_schema)
  @output_schema = args[:output_schema] if args.key?(:output_schema)
  @tool = args[:tool] if args.key?(:tool)
  @toolset_tool = args[:toolset_tool] if args.key?(:toolset_tool)
end