Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::GenerateAppResourceRequest::ToolGenerationConfig.
The configuration to be used to generate a tool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#context
def context() -> ::String
Returns
- (::String) — Optional. The context which describes the tool to be generated. This can be empty if the tool request & response are provided.
#context=
def context=(value) -> ::String
Parameter
- value (::String) — Optional. The context which describes the tool to be generated. This can be empty if the tool request & response are provided.
Returns
- (::String) — Optional. The context which describes the tool to be generated. This can be empty if the tool request & response are provided.
#file_contexts
def file_contexts() -> ::Array<::Google::Cloud::Ces::V1beta::FileContext>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::FileContext>) — Optional. The files to be used as context.
#file_contexts=
def file_contexts=(value) -> ::Array<::Google::Cloud::Ces::V1beta::FileContext>
Parameter
- value (::Array<::Google::Cloud::Ces::V1beta::FileContext>) — Optional. The files to be used as context.
Returns
- (::Array<::Google::Cloud::Ces::V1beta::FileContext>) — Optional. The files to be used as context.
#open_api_toolset_generation_config
def open_api_toolset_generation_config() -> ::Google::Cloud::Ces::V1beta::GenerateAppResourceRequest::ToolGenerationConfig::OpenApiToolsetGenerationConfig
Returns
- (::Google::Cloud::Ces::V1beta::GenerateAppResourceRequest::ToolGenerationConfig::OpenApiToolsetGenerationConfig) — Optional. The configuration to be used to generate an Open API schema.
#open_api_toolset_generation_config=
def open_api_toolset_generation_config=(value) -> ::Google::Cloud::Ces::V1beta::GenerateAppResourceRequest::ToolGenerationConfig::OpenApiToolsetGenerationConfig
Parameter
- value (::Google::Cloud::Ces::V1beta::GenerateAppResourceRequest::ToolGenerationConfig::OpenApiToolsetGenerationConfig) — Optional. The configuration to be used to generate an Open API schema.
Returns
- (::Google::Cloud::Ces::V1beta::GenerateAppResourceRequest::ToolGenerationConfig::OpenApiToolsetGenerationConfig) — Optional. The configuration to be used to generate an Open API schema.