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.



6948
6949
6950
# File 'lib/google/apis/ces_v1/classes.rb', line 6948

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



6930
6931
6932
# File 'lib/google/apis/ces_v1/classes.rb', line 6930

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



6935
6936
6937
# File 'lib/google/apis/ces_v1/classes.rb', line 6935

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)


6941
6942
6943
# File 'lib/google/apis/ces_v1/classes.rb', line 6941

def tool
  @tool
end

#toolset_toolGoogle::Apis::CesV1::ToolsetTool

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



6946
6947
6948
# File 'lib/google/apis/ces_v1/classes.rb', line 6946

def toolset_tool
  @toolset_tool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6953
6954
6955
6956
6957
6958
# File 'lib/google/apis/ces_v1/classes.rb', line 6953

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