1. Registry
  2. Packages
  3. Google Cloud (GCP)
  4. API Docs
  5. diagflow
  6. Generator
Viewing docs for Google Cloud v10.2.0
published on Tuesday, Oct 20, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v10.2.0
published on Tuesday, Oct 20, 2026 by Pulumi

    LLM generator.

    To get more information about Generator, see:

    Example Usage

    Dialogflow Generator Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const summarizationBasicGenerator = new gcp.diagflow.Generator("summarization_basic_generator", {
        location: "global",
        description: "A v4.0 summarization generator.",
        inferenceParameter: {
            maxOutputTokens: 1024,
            temperature: 0,
            topK: 40,
            topP: 0.95,
        },
        summarizationContext: {
            version: "6.0",
            outputLanguageCode: "en",
        },
        triggerEvent: "MANUAL_CALL",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    summarization_basic_generator = gcp.diagflow.Generator("summarization_basic_generator",
        location="global",
        description="A v4.0 summarization generator.",
        inference_parameter={
            "max_output_tokens": 1024,
            "temperature": float(0),
            "top_k": 40,
            "top_p": 0.95,
        },
        summarization_context={
            "version": "6.0",
            "output_language_code": "en",
        },
        trigger_event="MANUAL_CALL")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/diagflow"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := diagflow.NewGenerator(ctx, "summarization_basic_generator", &diagflow.GeneratorArgs{
    			Location:    pulumi.String("global"),
    			Description: pulumi.String("A v4.0 summarization generator."),
    			InferenceParameter: &diagflow.GeneratorInferenceParameterArgs{
    				MaxOutputTokens: pulumi.Int(1024),
    				Temperature:     pulumi.Float64(0),
    				TopK:            pulumi.Int(40),
    				TopP:            pulumi.Float64(0.95),
    			},
    			SummarizationContext: &diagflow.GeneratorSummarizationContextArgs{
    				Version:            pulumi.String("6.0"),
    				OutputLanguageCode: pulumi.String("en"),
    			},
    			TriggerEvent: pulumi.String("MANUAL_CALL"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var summarizationBasicGenerator = new Gcp.Diagflow.Generator("summarization_basic_generator", new()
        {
            Location = "global",
            Description = "A v4.0 summarization generator.",
            InferenceParameter = new Gcp.Diagflow.Inputs.GeneratorInferenceParameterArgs
            {
                MaxOutputTokens = 1024,
                Temperature = 0.0,
                TopK = 40,
                TopP = 0.95,
            },
            SummarizationContext = new Gcp.Diagflow.Inputs.GeneratorSummarizationContextArgs
            {
                Version = "6.0",
                OutputLanguageCode = "en",
            },
            TriggerEvent = "MANUAL_CALL",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.diagflow.Generator;
    import com.pulumi.gcp.diagflow.GeneratorArgs;
    import com.pulumi.gcp.diagflow.inputs.GeneratorInferenceParameterArgs;
    import com.pulumi.gcp.diagflow.inputs.GeneratorSummarizationContextArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var summarizationBasicGenerator = new Generator("summarizationBasicGenerator", GeneratorArgs.builder()
                .location("global")
                .description("A v4.0 summarization generator.")
                .inferenceParameter(GeneratorInferenceParameterArgs.builder()
                    .maxOutputTokens(1024)
                    .temperature(0.0)
                    .topK(40)
                    .topP(0.95)
                    .build())
                .summarizationContext(GeneratorSummarizationContextArgs.builder()
                    .version("6.0")
                    .outputLanguageCode("en")
                    .build())
                .triggerEvent("MANUAL_CALL")
                .build());
    
        }
    }
    
    resources:
      summarizationBasicGenerator:
        type: gcp:diagflow:Generator
        name: summarization_basic_generator
        properties:
          location: global
          description: A v4.0 summarization generator.
          inferenceParameter:
            maxOutputTokens: 1024
            temperature: 0
            topK: 40
            topP: 0.95
          summarizationContext:
            version: '6.0'
            outputLanguageCode: en
          triggerEvent: MANUAL_CALL
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_diagflow_generator" "summarization_basic_generator" {
      lifecycle {
        create_before_destroy = true
      }
      location    = "global"
      description = "A v4.0 summarization generator."
      inference_parameter = {
        max_output_tokens = 1024
        temperature       = 0
        top_k             = 40
        top_p             = 0.95
      }
      summarization_context = {
        version              = "6.0"
        output_language_code = "en"
      }
      trigger_event = "MANUAL_CALL"
    }
    

    Dialogflow Generator Agent Coaching

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const agentCoachingGenerator = new gcp.diagflow.Generator("agent_coaching_generator", {
        location: "global",
        description: "An agent coaching generator.",
        agentCoachingContext: {
            version: "2.5",
            overarchingGuidance: "Be helpful and polite.",
            outputLanguageCode: "en",
            instructions: [{
                displayName: "Greeting",
                displayDetails: "Greet the customer warmly",
                condition: "Customer starts the conversation",
                agentAction: "Say hello and ask how to help",
                systemAction: "Log greeting event",
                triggeringEvent: "END_OF_UTTERANCE",
            }],
        },
        triggerEvent: "END_OF_UTTERANCE",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    agent_coaching_generator = gcp.diagflow.Generator("agent_coaching_generator",
        location="global",
        description="An agent coaching generator.",
        agent_coaching_context={
            "version": "2.5",
            "overarching_guidance": "Be helpful and polite.",
            "output_language_code": "en",
            "instructions": [{
                "display_name": "Greeting",
                "display_details": "Greet the customer warmly",
                "condition": "Customer starts the conversation",
                "agent_action": "Say hello and ask how to help",
                "system_action": "Log greeting event",
                "triggering_event": "END_OF_UTTERANCE",
            }],
        },
        trigger_event="END_OF_UTTERANCE")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/diagflow"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := diagflow.NewGenerator(ctx, "agent_coaching_generator", &diagflow.GeneratorArgs{
    			Location:    pulumi.String("global"),
    			Description: pulumi.String("An agent coaching generator."),
    			AgentCoachingContext: &diagflow.GeneratorAgentCoachingContextArgs{
    				Version:             pulumi.String("2.5"),
    				OverarchingGuidance: pulumi.String("Be helpful and polite."),
    				OutputLanguageCode:  pulumi.String("en"),
    				Instructions: diagflow.GeneratorAgentCoachingContextInstructionArray{
    					&diagflow.GeneratorAgentCoachingContextInstructionArgs{
    						DisplayName:     pulumi.String("Greeting"),
    						DisplayDetails:  pulumi.String("Greet the customer warmly"),
    						Condition:       pulumi.String("Customer starts the conversation"),
    						AgentAction:     pulumi.String("Say hello and ask how to help"),
    						SystemAction:    pulumi.String("Log greeting event"),
    						TriggeringEvent: pulumi.String("END_OF_UTTERANCE"),
    					},
    				},
    			},
    			TriggerEvent: pulumi.String("END_OF_UTTERANCE"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var agentCoachingGenerator = new Gcp.Diagflow.Generator("agent_coaching_generator", new()
        {
            Location = "global",
            Description = "An agent coaching generator.",
            AgentCoachingContext = new Gcp.Diagflow.Inputs.GeneratorAgentCoachingContextArgs
            {
                Version = "2.5",
                OverarchingGuidance = "Be helpful and polite.",
                OutputLanguageCode = "en",
                Instructions = new[]
                {
                    new Gcp.Diagflow.Inputs.GeneratorAgentCoachingContextInstructionArgs
                    {
                        DisplayName = "Greeting",
                        DisplayDetails = "Greet the customer warmly",
                        Condition = "Customer starts the conversation",
                        AgentAction = "Say hello and ask how to help",
                        SystemAction = "Log greeting event",
                        TriggeringEvent = "END_OF_UTTERANCE",
                    },
                },
            },
            TriggerEvent = "END_OF_UTTERANCE",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.diagflow.Generator;
    import com.pulumi.gcp.diagflow.GeneratorArgs;
    import com.pulumi.gcp.diagflow.inputs.GeneratorAgentCoachingContextArgs;
    import com.pulumi.gcp.diagflow.inputs.GeneratorAgentCoachingContextInstructionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var agentCoachingGenerator = new Generator("agentCoachingGenerator", GeneratorArgs.builder()
                .location("global")
                .description("An agent coaching generator.")
                .agentCoachingContext(GeneratorAgentCoachingContextArgs.builder()
                    .version("2.5")
                    .overarchingGuidance("Be helpful and polite.")
                    .outputLanguageCode("en")
                    .instructions(GeneratorAgentCoachingContextInstructionArgs.builder()
                        .displayName("Greeting")
                        .displayDetails("Greet the customer warmly")
                        .condition("Customer starts the conversation")
                        .agentAction("Say hello and ask how to help")
                        .systemAction("Log greeting event")
                        .triggeringEvent("END_OF_UTTERANCE")
                        .build())
                    .build())
                .triggerEvent("END_OF_UTTERANCE")
                .build());
    
        }
    }
    
    resources:
      agentCoachingGenerator:
        type: gcp:diagflow:Generator
        name: agent_coaching_generator
        properties:
          location: global
          description: An agent coaching generator.
          agentCoachingContext:
            version: '2.5'
            overarchingGuidance: Be helpful and polite.
            outputLanguageCode: en
            instructions:
              - displayName: Greeting
                displayDetails: Greet the customer warmly
                condition: Customer starts the conversation
                agentAction: Say hello and ask how to help
                systemAction: Log greeting event
                triggeringEvent: END_OF_UTTERANCE
          triggerEvent: END_OF_UTTERANCE
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_diagflow_generator" "agent_coaching_generator" {
      lifecycle {
        create_before_destroy = true
      }
      location    = "global"
      description = "An agent coaching generator."
      agent_coaching_context = {
        version              = "2.5"
        overarching_guidance = "Be helpful and polite."
        output_language_code = "en"
        instructions = [{
          display_name     = "Greeting"
          display_details  = "Greet the customer warmly"
          condition        = "Customer starts the conversation"
          agent_action     = "Say hello and ask how to help"
          system_action    = "Log greeting event"
          triggering_event = "END_OF_UTTERANCE"
        }]
      }
      trigger_event = "END_OF_UTTERANCE"
    }
    

    Dialogflow Generator With Tools

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const testTool = new gcp.diagflow.Tool("test_tool", {
        location: "global",
        toolKey: "generator_tool_key",
        displayName: "test-tool",
        description: "A test tool",
        openApiSpec: {
            textSchema: `openapi: 3.0.0
    info:
      title: generator_tool_key
      version: 1.0.0
    paths:
      /search:
        get:
          summary: Search function
          operationId: searchAction
          responses:
            '200':
              description: OK
    `,
        },
    });
    const generatorWithTools = new gcp.diagflow.Generator("generator_with_tools", {
        location: "global",
        description: "A generator with tools and free form context.",
        tools: [testTool.name],
        freeFormContext: {
            text: "Use the search tool to answer the user's query.",
        },
        triggerEvent: "MANUAL_CALL",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    test_tool = gcp.diagflow.Tool("test_tool",
        location="global",
        tool_key="generator_tool_key",
        display_name="test-tool",
        description="A test tool",
        open_api_spec={
            "text_schema": """openapi: 3.0.0
    info:
      title: generator_tool_key
      version: 1.0.0
    paths:
      /search:
        get:
          summary: Search function
          operationId: searchAction
          responses:
            '200':
              description: OK
    """,
        })
    generator_with_tools = gcp.diagflow.Generator("generator_with_tools",
        location="global",
        description="A generator with tools and free form context.",
        tools=[test_tool.name],
        free_form_context={
            "text": "Use the search tool to answer the user's query.",
        },
        trigger_event="MANUAL_CALL")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/diagflow"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		testTool, err := diagflow.NewTool(ctx, "test_tool", &diagflow.ToolArgs{
    			Location:    pulumi.String("global"),
    			ToolKey:     pulumi.String("generator_tool_key"),
    			DisplayName: pulumi.String("test-tool"),
    			Description: pulumi.String("A test tool"),
    			OpenApiSpec: &diagflow.ToolOpenApiSpecArgs{
    				TextSchema: pulumi.String(`openapi: 3.0.0
    info:
      title: generator_tool_key
      version: 1.0.0
    paths:
      /search:
        get:
          summary: Search function
          operationId: searchAction
          responses:
            '200':
              description: OK
    `),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = diagflow.NewGenerator(ctx, "generator_with_tools", &diagflow.GeneratorArgs{
    			Location:    pulumi.String("global"),
    			Description: pulumi.String("A generator with tools and free form context."),
    			Tools: pulumi.StringArray{
    				testTool.Name,
    			},
    			FreeFormContext: &diagflow.GeneratorFreeFormContextArgs{
    				Text: pulumi.String("Use the search tool to answer the user's query."),
    			},
    			TriggerEvent: pulumi.String("MANUAL_CALL"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var testTool = new Gcp.Diagflow.Tool("test_tool", new()
        {
            Location = "global",
            ToolKey = "generator_tool_key",
            DisplayName = "test-tool",
            Description = "A test tool",
            OpenApiSpec = new Gcp.Diagflow.Inputs.ToolOpenApiSpecArgs
            {
                TextSchema = @"openapi: 3.0.0
    info:
      title: generator_tool_key
      version: 1.0.0
    paths:
      /search:
        get:
          summary: Search function
          operationId: searchAction
          responses:
            '200':
              description: OK
    ",
            },
        });
    
        var generatorWithTools = new Gcp.Diagflow.Generator("generator_with_tools", new()
        {
            Location = "global",
            Description = "A generator with tools and free form context.",
            Tools = new[]
            {
                testTool.Name,
            },
            FreeFormContext = new Gcp.Diagflow.Inputs.GeneratorFreeFormContextArgs
            {
                Text = "Use the search tool to answer the user's query.",
            },
            TriggerEvent = "MANUAL_CALL",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.diagflow.Tool;
    import com.pulumi.gcp.diagflow.ToolArgs;
    import com.pulumi.gcp.diagflow.inputs.ToolOpenApiSpecArgs;
    import com.pulumi.gcp.diagflow.Generator;
    import com.pulumi.gcp.diagflow.GeneratorArgs;
    import com.pulumi.gcp.diagflow.inputs.GeneratorFreeFormContextArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testTool = new Tool("testTool", ToolArgs.builder()
                .location("global")
                .toolKey("generator_tool_key")
                .displayName("test-tool")
                .description("A test tool")
                .openApiSpec(ToolOpenApiSpecArgs.builder()
                    .textSchema("""
    openapi: 3.0.0
    info:
      title: generator_tool_key
      version: 1.0.0
    paths:
      /search:
        get:
          summary: Search function
          operationId: searchAction
          responses:
            '200':
              description: OK
                    """)
                    .build())
                .build());
    
            var generatorWithTools = new Generator("generatorWithTools", GeneratorArgs.builder()
                .location("global")
                .description("A generator with tools and free form context.")
                .tools(testTool.name())
                .freeFormContext(GeneratorFreeFormContextArgs.builder()
                    .text("Use the search tool to answer the user's query.")
                    .build())
                .triggerEvent("MANUAL_CALL")
                .build());
    
        }
    }
    
    resources:
      testTool:
        type: gcp:diagflow:Tool
        name: test_tool
        properties:
          location: global
          toolKey: generator_tool_key
          displayName: test-tool
          description: A test tool
          openApiSpec:
            textSchema: |
              openapi: 3.0.0
              info:
                title: generator_tool_key
                version: 1.0.0
              paths:
                /search:
                  get:
                    summary: Search function
                    operationId: searchAction
                    responses:
                      '200':
                        description: OK
      generatorWithTools:
        type: gcp:diagflow:Generator
        name: generator_with_tools
        properties:
          location: global
          description: A generator with tools and free form context.
          tools:
            - ${testTool.name}
          freeFormContext:
            text: Use the search tool to answer the user's query.
          triggerEvent: MANUAL_CALL
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_diagflow_tool" "test_tool" {
      lifecycle {
        create_before_destroy = true
      }
      location     = "global"
      tool_key     = "generator_tool_key"
      display_name = "test-tool"
      description  = "A test tool"
      open_api_spec = {
        text_schema = <<EOF
    openapi: 3.0.0
    info:
      title: generator_tool_key
      version: 1.0.0
    paths:
      /search:
        get:
          summary: Search function
          operationId: searchAction
          responses:
            '200':
              description: OK
    EOF
    
      }
    }
    resource "gcp_diagflow_generator" "generator_with_tools" {
      lifecycle {
        create_before_destroy = true
      }
      location    = "global"
      description = "A generator with tools and free form context."
      tools       = [gcp_diagflow_tool.test_tool.name]
      free_form_context = {
        text = "Use the search tool to answer the user's query."
      }
      trigger_event = "MANUAL_CALL"
    }
    

    Create Generator Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Generator(name: string, args: GeneratorArgs, opts?: CustomResourceOptions);
    @overload
    def Generator(resource_name: str,
                  args: GeneratorArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Generator(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  location: Optional[str] = None,
                  agent_coaching_context: Optional[GeneratorAgentCoachingContextArgs] = None,
                  deletion_policy: Optional[str] = None,
                  description: Optional[str] = None,
                  free_form_context: Optional[GeneratorFreeFormContextArgs] = None,
                  generator_id: Optional[str] = None,
                  inference_parameter: Optional[GeneratorInferenceParameterArgs] = None,
                  project: Optional[str] = None,
                  published_model: Optional[str] = None,
                  summarization_context: Optional[GeneratorSummarizationContextArgs] = None,
                  tools: Optional[Sequence[str]] = None,
                  trigger_event: Optional[str] = None)
    func NewGenerator(ctx *Context, name string, args GeneratorArgs, opts ...ResourceOption) (*Generator, error)
    public Generator(string name, GeneratorArgs args, CustomResourceOptions? opts = null)
    public Generator(String name, GeneratorArgs args)
    public Generator(String name, GeneratorArgs args, CustomResourceOptions options)
    
    type: gcp:diagflow:Generator
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "gcp_diagflow_generator" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GeneratorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GeneratorArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GeneratorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GeneratorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GeneratorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var generatorResource = new Gcp.Diagflow.Generator("generatorResource", new()
    {
        Location = "string",
        AgentCoachingContext = new Gcp.Diagflow.Inputs.GeneratorAgentCoachingContextArgs
        {
            Instructions = new[]
            {
                new Gcp.Diagflow.Inputs.GeneratorAgentCoachingContextInstructionArgs
                {
                    AgentAction = "string",
                    Condition = "string",
                    DisplayDetails = "string",
                    DisplayName = "string",
                    SystemAction = "string",
                    TriggeringEvent = "string",
                },
            },
            OutputLanguageCode = "string",
            OverarchingGuidance = "string",
            Version = "string",
        },
        DeletionPolicy = "string",
        Description = "string",
        FreeFormContext = new Gcp.Diagflow.Inputs.GeneratorFreeFormContextArgs
        {
            Text = "string",
        },
        GeneratorId = "string",
        InferenceParameter = new Gcp.Diagflow.Inputs.GeneratorInferenceParameterArgs
        {
            MaxOutputTokens = 0,
            Temperature = 0.0,
            TopK = 0,
            TopP = 0.0,
        },
        Project = "string",
        PublishedModel = "string",
        SummarizationContext = new Gcp.Diagflow.Inputs.GeneratorSummarizationContextArgs
        {
            FewShotExamples = new[]
            {
                new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleArgs
                {
                    Output = new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleOutputArgs
                    {
                        SummarySuggestion = new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionArgs
                        {
                            SummarySections = new[]
                            {
                                new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionSummarySectionArgs
                                {
                                    Section = "string",
                                    Summary = "string",
                                },
                            },
                        },
                        ToolCallInfos = new[]
                        {
                            new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleOutputToolCallInfoArgs
                            {
                                ToolCall = new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallArgs
                                {
                                    Action = "string",
                                    Tool = "string",
                                },
                                ToolCallResult = new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultArgs
                                {
                                    Action = "string",
                                    Error = new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultErrorArgs
                                    {
                                        Message = "string",
                                        Retryable = false,
                                    },
                                },
                            },
                        },
                    },
                    ConversationContext = new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleConversationContextArgs
                    {
                        MessageEntries = new[]
                        {
                            new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleConversationContextMessageEntryArgs
                            {
                                CreateTime = "string",
                                LanguageCode = "string",
                                Role = "string",
                                Text = "string",
                            },
                        },
                    },
                    ExtraInfo = 
                    {
                        { "string", "string" },
                    },
                    SummarizationSectionList = new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleSummarizationSectionListArgs
                    {
                        SummarizationSections = new[]
                        {
                            new Gcp.Diagflow.Inputs.GeneratorSummarizationContextFewShotExampleSummarizationSectionListSummarizationSectionArgs
                            {
                                Definition = "string",
                                Key = "string",
                                Type = "string",
                            },
                        },
                    },
                },
            },
            OutputLanguageCode = "string",
            SummarizationSections = new[]
            {
                new Gcp.Diagflow.Inputs.GeneratorSummarizationContextSummarizationSectionArgs
                {
                    Definition = "string",
                    Key = "string",
                    Type = "string",
                },
            },
            Version = "string",
        },
        Tools = new[]
        {
            "string",
        },
        TriggerEvent = "string",
    });
    
    example, err := diagflow.NewGenerator(ctx, "generatorResource", &diagflow.GeneratorArgs{
    	Location: pulumi.String("string"),
    	AgentCoachingContext: &diagflow.GeneratorAgentCoachingContextArgs{
    		Instructions: diagflow.GeneratorAgentCoachingContextInstructionArray{
    			&diagflow.GeneratorAgentCoachingContextInstructionArgs{
    				AgentAction:     pulumi.String("string"),
    				Condition:       pulumi.String("string"),
    				DisplayDetails:  pulumi.String("string"),
    				DisplayName:     pulumi.String("string"),
    				SystemAction:    pulumi.String("string"),
    				TriggeringEvent: pulumi.String("string"),
    			},
    		},
    		OutputLanguageCode:  pulumi.String("string"),
    		OverarchingGuidance: pulumi.String("string"),
    		Version:             pulumi.String("string"),
    	},
    	DeletionPolicy: pulumi.String("string"),
    	Description:    pulumi.String("string"),
    	FreeFormContext: &diagflow.GeneratorFreeFormContextArgs{
    		Text: pulumi.String("string"),
    	},
    	GeneratorId: pulumi.String("string"),
    	InferenceParameter: &diagflow.GeneratorInferenceParameterArgs{
    		MaxOutputTokens: pulumi.Int(0),
    		Temperature:     pulumi.Float64(0),
    		TopK:            pulumi.Int(0),
    		TopP:            pulumi.Float64(0),
    	},
    	Project:        pulumi.String("string"),
    	PublishedModel: pulumi.String("string"),
    	SummarizationContext: &diagflow.GeneratorSummarizationContextArgs{
    		FewShotExamples: diagflow.GeneratorSummarizationContextFewShotExampleArray{
    			&diagflow.GeneratorSummarizationContextFewShotExampleArgs{
    				Output: &diagflow.GeneratorSummarizationContextFewShotExampleOutputTypeArgs{
    					SummarySuggestion: &diagflow.GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionArgs{
    						SummarySections: diagflow.GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionSummarySectionArray{
    							&diagflow.GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionSummarySectionArgs{
    								Section: pulumi.String("string"),
    								Summary: pulumi.String("string"),
    							},
    						},
    					},
    					ToolCallInfos: diagflow.GeneratorSummarizationContextFewShotExampleOutputToolCallInfoArray{
    						&diagflow.GeneratorSummarizationContextFewShotExampleOutputToolCallInfoArgs{
    							ToolCall: &diagflow.GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallArgs{
    								Action: pulumi.String("string"),
    								Tool:   pulumi.String("string"),
    							},
    							ToolCallResult: &diagflow.GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultArgs{
    								Action: pulumi.String("string"),
    								Error: &diagflow.GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultErrorArgs{
    									Message:   pulumi.String("string"),
    									Retryable: pulumi.Bool(false),
    								},
    							},
    						},
    					},
    				},
    				ConversationContext: &diagflow.GeneratorSummarizationContextFewShotExampleConversationContextArgs{
    					MessageEntries: diagflow.GeneratorSummarizationContextFewShotExampleConversationContextMessageEntryArray{
    						&diagflow.GeneratorSummarizationContextFewShotExampleConversationContextMessageEntryArgs{
    							CreateTime:   pulumi.String("string"),
    							LanguageCode: pulumi.String("string"),
    							Role:         pulumi.String("string"),
    							Text:         pulumi.String("string"),
    						},
    					},
    				},
    				ExtraInfo: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				SummarizationSectionList: &diagflow.GeneratorSummarizationContextFewShotExampleSummarizationSectionListArgs{
    					SummarizationSections: diagflow.GeneratorSummarizationContextFewShotExampleSummarizationSectionListSummarizationSectionArray{
    						&diagflow.GeneratorSummarizationContextFewShotExampleSummarizationSectionListSummarizationSectionArgs{
    							Definition: pulumi.String("string"),
    							Key:        pulumi.String("string"),
    							Type:       pulumi.String("string"),
    						},
    					},
    				},
    			},
    		},
    		OutputLanguageCode: pulumi.String("string"),
    		SummarizationSections: diagflow.GeneratorSummarizationContextSummarizationSectionArray{
    			&diagflow.GeneratorSummarizationContextSummarizationSectionArgs{
    				Definition: pulumi.String("string"),
    				Key:        pulumi.String("string"),
    				Type:       pulumi.String("string"),
    			},
    		},
    		Version: pulumi.String("string"),
    	},
    	Tools: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TriggerEvent: pulumi.String("string"),
    })
    
    resource "gcp_diagflow_generator" "generatorResource" {
      lifecycle {
        create_before_destroy = true
      }
      location = "string"
      agent_coaching_context = {
        instructions = [{
          agent_action     = "string"
          condition        = "string"
          display_details  = "string"
          display_name     = "string"
          system_action    = "string"
          triggering_event = "string"
        }]
        output_language_code = "string"
        overarching_guidance = "string"
        version              = "string"
      }
      deletion_policy = "string"
      description     = "string"
      free_form_context = {
        text = "string"
      }
      generator_id = "string"
      inference_parameter = {
        max_output_tokens = 0
        temperature       = 0
        top_k             = 0
        top_p             = 0
      }
      project         = "string"
      published_model = "string"
      summarization_context = {
        few_shot_examples = [{
          output = {
            summary_suggestion = {
              summary_sections = [{
                section = "string"
                summary = "string"
              }]
            }
            tool_call_infos = [{
              tool_call = {
                action = "string"
                tool   = "string"
              }
              tool_call_result = {
                action = "string"
                error = {
                  message   = "string"
                  retryable = false
                }
              }
            }]
          }
          conversation_context = {
            message_entries = [{
              create_time   = "string"
              language_code = "string"
              role          = "string"
              text          = "string"
            }]
          }
          extra_info = {
            "string" = "string"
          }
          summarization_section_list = {
            summarization_sections = [{
              definition = "string"
              key        = "string"
              type       = "string"
            }]
          }
        }]
        output_language_code = "string"
        summarization_sections = [{
          definition = "string"
          key        = "string"
          type       = "string"
        }]
        version = "string"
      }
      tools         = ["string"]
      trigger_event = "string"
    }
    
    var generatorResource = new Generator("generatorResource", GeneratorArgs.builder()
        .location("string")
        .agentCoachingContext(GeneratorAgentCoachingContextArgs.builder()
            .instructions(GeneratorAgentCoachingContextInstructionArgs.builder()
                .agentAction("string")
                .condition("string")
                .displayDetails("string")
                .displayName("string")
                .systemAction("string")
                .triggeringEvent("string")
                .build())
            .outputLanguageCode("string")
            .overarchingGuidance("string")
            .version("string")
            .build())
        .deletionPolicy("string")
        .description("string")
        .freeFormContext(GeneratorFreeFormContextArgs.builder()
            .text("string")
            .build())
        .generatorId("string")
        .inferenceParameter(GeneratorInferenceParameterArgs.builder()
            .maxOutputTokens(0)
            .temperature(0.0)
            .topK(0)
            .topP(0.0)
            .build())
        .project("string")
        .publishedModel("string")
        .summarizationContext(GeneratorSummarizationContextArgs.builder()
            .fewShotExamples(GeneratorSummarizationContextFewShotExampleArgs.builder()
                .output(GeneratorSummarizationContextFewShotExampleOutputArgs.builder()
                    .summarySuggestion(GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionArgs.builder()
                        .summarySections(GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionSummarySectionArgs.builder()
                            .section("string")
                            .summary("string")
                            .build())
                        .build())
                    .toolCallInfos(GeneratorSummarizationContextFewShotExampleOutputToolCallInfoArgs.builder()
                        .toolCall(GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallArgs.builder()
                            .action("string")
                            .tool("string")
                            .build())
                        .toolCallResult(GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultArgs.builder()
                            .action("string")
                            .error(GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultErrorArgs.builder()
                                .message("string")
                                .retryable(false)
                                .build())
                            .build())
                        .build())
                    .build())
                .conversationContext(GeneratorSummarizationContextFewShotExampleConversationContextArgs.builder()
                    .messageEntries(GeneratorSummarizationContextFewShotExampleConversationContextMessageEntryArgs.builder()
                        .createTime("string")
                        .languageCode("string")
                        .role("string")
                        .text("string")
                        .build())
                    .build())
                .extraInfo(Map.of("string", "string"))
                .summarizationSectionList(GeneratorSummarizationContextFewShotExampleSummarizationSectionListArgs.builder()
                    .summarizationSections(GeneratorSummarizationContextFewShotExampleSummarizationSectionListSummarizationSectionArgs.builder()
                        .definition("string")
                        .key("string")
                        .type("string")
                        .build())
                    .build())
                .build())
            .outputLanguageCode("string")
            .summarizationSections(GeneratorSummarizationContextSummarizationSectionArgs.builder()
                .definition("string")
                .key("string")
                .type("string")
                .build())
            .version("string")
            .build())
        .tools("string")
        .triggerEvent("string")
        .build());
    
    generator_resource = gcp.diagflow.Generator("generatorResource",
        location="string",
        agent_coaching_context={
            "instructions": [{
                "agent_action": "string",
                "condition": "string",
                "display_details": "string",
                "display_name": "string",
                "system_action": "string",
                "triggering_event": "string",
            }],
            "output_language_code": "string",
            "overarching_guidance": "string",
            "version": "string",
        },
        deletion_policy="string",
        description="string",
        free_form_context={
            "text": "string",
        },
        generator_id="string",
        inference_parameter={
            "max_output_tokens": 0,
            "temperature": float(0),
            "top_k": 0,
            "top_p": float(0),
        },
        project="string",
        published_model="string",
        summarization_context={
            "few_shot_examples": [{
                "output": {
                    "summary_suggestion": {
                        "summary_sections": [{
                            "section": "string",
                            "summary": "string",
                        }],
                    },
                    "tool_call_infos": [{
                        "tool_call": {
                            "action": "string",
                            "tool": "string",
                        },
                        "tool_call_result": {
                            "action": "string",
                            "error": {
                                "message": "string",
                                "retryable": False,
                            },
                        },
                    }],
                },
                "conversation_context": {
                    "message_entries": [{
                        "create_time": "string",
                        "language_code": "string",
                        "role": "string",
                        "text": "string",
                    }],
                },
                "extra_info": {
                    "string": "string",
                },
                "summarization_section_list": {
                    "summarization_sections": [{
                        "definition": "string",
                        "key": "string",
                        "type": "string",
                    }],
                },
            }],
            "output_language_code": "string",
            "summarization_sections": [{
                "definition": "string",
                "key": "string",
                "type": "string",
            }],
            "version": "string",
        },
        tools=["string"],
        trigger_event="string")
    
    const generatorResource = new gcp.diagflow.Generator("generatorResource", {
        location: "string",
        agentCoachingContext: {
            instructions: [{
                agentAction: "string",
                condition: "string",
                displayDetails: "string",
                displayName: "string",
                systemAction: "string",
                triggeringEvent: "string",
            }],
            outputLanguageCode: "string",
            overarchingGuidance: "string",
            version: "string",
        },
        deletionPolicy: "string",
        description: "string",
        freeFormContext: {
            text: "string",
        },
        generatorId: "string",
        inferenceParameter: {
            maxOutputTokens: 0,
            temperature: 0,
            topK: 0,
            topP: 0,
        },
        project: "string",
        publishedModel: "string",
        summarizationContext: {
            fewShotExamples: [{
                output: {
                    summarySuggestion: {
                        summarySections: [{
                            section: "string",
                            summary: "string",
                        }],
                    },
                    toolCallInfos: [{
                        toolCall: {
                            action: "string",
                            tool: "string",
                        },
                        toolCallResult: {
                            action: "string",
                            error: {
                                message: "string",
                                retryable: false,
                            },
                        },
                    }],
                },
                conversationContext: {
                    messageEntries: [{
                        createTime: "string",
                        languageCode: "string",
                        role: "string",
                        text: "string",
                    }],
                },
                extraInfo: {
                    string: "string",
                },
                summarizationSectionList: {
                    summarizationSections: [{
                        definition: "string",
                        key: "string",
                        type: "string",
                    }],
                },
            }],
            outputLanguageCode: "string",
            summarizationSections: [{
                definition: "string",
                key: "string",
                type: "string",
            }],
            version: "string",
        },
        tools: ["string"],
        triggerEvent: "string",
    });
    
    type: gcp:diagflow:Generator
    properties:
        agentCoachingContext:
            instructions:
                - agentAction: string
                  condition: string
                  displayDetails: string
                  displayName: string
                  systemAction: string
                  triggeringEvent: string
            outputLanguageCode: string
            overarchingGuidance: string
            version: string
        deletionPolicy: string
        description: string
        freeFormContext:
            text: string
        generatorId: string
        inferenceParameter:
            maxOutputTokens: 0
            temperature: 0
            topK: 0
            topP: 0
        location: string
        project: string
        publishedModel: string
        summarizationContext:
            fewShotExamples:
                - conversationContext:
                    messageEntries:
                        - createTime: string
                          languageCode: string
                          role: string
                          text: string
                  extraInfo:
                    string: string
                  output:
                    summarySuggestion:
                        summarySections:
                            - section: string
                              summary: string
                    toolCallInfos:
                        - toolCall:
                            action: string
                            tool: string
                          toolCallResult:
                            action: string
                            error:
                                message: string
                                retryable: false
                  summarizationSectionList:
                    summarizationSections:
                        - definition: string
                          key: string
                          type: string
            outputLanguageCode: string
            summarizationSections:
                - definition: string
                  key: string
                  type: string
            version: string
        tools:
            - string
        triggerEvent: string
    

    Generator Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Generator resource accepts the following input properties:

    Location string
    desc
    AgentCoachingContext GeneratorAgentCoachingContext
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    Optional. Human readable description of the generator.
    FreeFormContext GeneratorFreeFormContext
    Input of free form generator to LLM. Structure is documented below.
    GeneratorId string
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    InferenceParameter GeneratorInferenceParameter
    Optional. Inference parameters for this generator. Structure is documented below.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PublishedModel string
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    SummarizationContext GeneratorSummarizationContext
    Input of prebuilt Summarization feature. Structure is documented below.
    Tools List<string>
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    TriggerEvent string
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    Location string
    desc
    AgentCoachingContext GeneratorAgentCoachingContextArgs
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    Optional. Human readable description of the generator.
    FreeFormContext GeneratorFreeFormContextArgs
    Input of free form generator to LLM. Structure is documented below.
    GeneratorId string
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    InferenceParameter GeneratorInferenceParameterArgs
    Optional. Inference parameters for this generator. Structure is documented below.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PublishedModel string
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    SummarizationContext GeneratorSummarizationContextArgs
    Input of prebuilt Summarization feature. Structure is documented below.
    Tools []string
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    TriggerEvent string
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    location string
    desc
    agent_coaching_context object
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    Optional. Human readable description of the generator.
    free_form_context object
    Input of free form generator to LLM. Structure is documented below.
    generator_id string
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    inference_parameter object
    Optional. Inference parameters for this generator. Structure is documented below.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    published_model string
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    summarization_context object
    Input of prebuilt Summarization feature. Structure is documented below.
    tools list(string)
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    trigger_event string
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    location String
    desc
    agentCoachingContext GeneratorAgentCoachingContext
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    Optional. Human readable description of the generator.
    freeFormContext GeneratorFreeFormContext
    Input of free form generator to LLM. Structure is documented below.
    generatorId String
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    inferenceParameter GeneratorInferenceParameter
    Optional. Inference parameters for this generator. Structure is documented below.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    publishedModel String
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    summarizationContext GeneratorSummarizationContext
    Input of prebuilt Summarization feature. Structure is documented below.
    tools List<String>
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    triggerEvent String
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    location string
    desc
    agentCoachingContext GeneratorAgentCoachingContext
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    Optional. Human readable description of the generator.
    freeFormContext GeneratorFreeFormContext
    Input of free form generator to LLM. Structure is documented below.
    generatorId string
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    inferenceParameter GeneratorInferenceParameter
    Optional. Inference parameters for this generator. Structure is documented below.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    publishedModel string
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    summarizationContext GeneratorSummarizationContext
    Input of prebuilt Summarization feature. Structure is documented below.
    tools string[]
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    triggerEvent string
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    location str
    desc
    agent_coaching_context GeneratorAgentCoachingContextArgs
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description str
    Optional. Human readable description of the generator.
    free_form_context GeneratorFreeFormContextArgs
    Input of free form generator to LLM. Structure is documented below.
    generator_id str
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    inference_parameter GeneratorInferenceParameterArgs
    Optional. Inference parameters for this generator. Structure is documented below.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    published_model str
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    summarization_context GeneratorSummarizationContextArgs
    Input of prebuilt Summarization feature. Structure is documented below.
    tools Sequence[str]
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    trigger_event str
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    location String
    desc
    agentCoachingContext Property Map
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    Optional. Human readable description of the generator.
    freeFormContext Property Map
    Input of free form generator to LLM. Structure is documented below.
    generatorId String
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    inferenceParameter Property Map
    Optional. Inference parameters for this generator. Structure is documented below.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    publishedModel String
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    summarizationContext Property Map
    Input of prebuilt Summarization feature. Structure is documented below.
    tools List<String>
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    triggerEvent String
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Generator resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the generator.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the generator.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name of the generator.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the generator.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name of the generator.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The resource name of the generator.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the generator.

    Look up Existing Generator Resource

    Get an existing Generator resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: GeneratorState, opts?: CustomResourceOptions): Generator
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            agent_coaching_context: Optional[GeneratorAgentCoachingContextArgs] = None,
            deletion_policy: Optional[str] = None,
            description: Optional[str] = None,
            free_form_context: Optional[GeneratorFreeFormContextArgs] = None,
            generator_id: Optional[str] = None,
            inference_parameter: Optional[GeneratorInferenceParameterArgs] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            published_model: Optional[str] = None,
            summarization_context: Optional[GeneratorSummarizationContextArgs] = None,
            tools: Optional[Sequence[str]] = None,
            trigger_event: Optional[str] = None) -> Generator
    func GetGenerator(ctx *Context, name string, id IDInput, state *GeneratorState, opts ...ResourceOption) (*Generator, error)
    public static Generator Get(string name, Input<string> id, GeneratorState? state, CustomResourceOptions? opts = null)
    public static Generator get(String name, Output<String> id, GeneratorState state, CustomResourceOptions options)
    resources:  _:    type: gcp:diagflow:Generator    get:      id: ${id}
    import {
      to = gcp_diagflow_generator.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AgentCoachingContext GeneratorAgentCoachingContext
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    Optional. Human readable description of the generator.
    FreeFormContext GeneratorFreeFormContext
    Input of free form generator to LLM. Structure is documented below.
    GeneratorId string
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    InferenceParameter GeneratorInferenceParameter
    Optional. Inference parameters for this generator. Structure is documented below.
    Location string
    desc
    Name string
    The resource name of the generator.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PublishedModel string
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    SummarizationContext GeneratorSummarizationContext
    Input of prebuilt Summarization feature. Structure is documented below.
    Tools List<string>
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    TriggerEvent string
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    AgentCoachingContext GeneratorAgentCoachingContextArgs
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    Description string
    Optional. Human readable description of the generator.
    FreeFormContext GeneratorFreeFormContextArgs
    Input of free form generator to LLM. Structure is documented below.
    GeneratorId string
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    InferenceParameter GeneratorInferenceParameterArgs
    Optional. Inference parameters for this generator. Structure is documented below.
    Location string
    desc
    Name string
    The resource name of the generator.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PublishedModel string
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    SummarizationContext GeneratorSummarizationContextArgs
    Input of prebuilt Summarization feature. Structure is documented below.
    Tools []string
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    TriggerEvent string
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    agent_coaching_context object
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    Optional. Human readable description of the generator.
    free_form_context object
    Input of free form generator to LLM. Structure is documented below.
    generator_id string
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    inference_parameter object
    Optional. Inference parameters for this generator. Structure is documented below.
    location string
    desc
    name string
    The resource name of the generator.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    published_model string
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    summarization_context object
    Input of prebuilt Summarization feature. Structure is documented below.
    tools list(string)
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    trigger_event string
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    agentCoachingContext GeneratorAgentCoachingContext
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    Optional. Human readable description of the generator.
    freeFormContext GeneratorFreeFormContext
    Input of free form generator to LLM. Structure is documented below.
    generatorId String
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    inferenceParameter GeneratorInferenceParameter
    Optional. Inference parameters for this generator. Structure is documented below.
    location String
    desc
    name String
    The resource name of the generator.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    publishedModel String
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    summarizationContext GeneratorSummarizationContext
    Input of prebuilt Summarization feature. Structure is documented below.
    tools List<String>
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    triggerEvent String
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    agentCoachingContext GeneratorAgentCoachingContext
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description string
    Optional. Human readable description of the generator.
    freeFormContext GeneratorFreeFormContext
    Input of free form generator to LLM. Structure is documented below.
    generatorId string
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    inferenceParameter GeneratorInferenceParameter
    Optional. Inference parameters for this generator. Structure is documented below.
    location string
    desc
    name string
    The resource name of the generator.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    publishedModel string
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    summarizationContext GeneratorSummarizationContext
    Input of prebuilt Summarization feature. Structure is documented below.
    tools string[]
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    triggerEvent string
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    agent_coaching_context GeneratorAgentCoachingContextArgs
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description str
    Optional. Human readable description of the generator.
    free_form_context GeneratorFreeFormContextArgs
    Input of free form generator to LLM. Structure is documented below.
    generator_id str
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    inference_parameter GeneratorInferenceParameterArgs
    Optional. Inference parameters for this generator. Structure is documented below.
    location str
    desc
    name str
    The resource name of the generator.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    published_model str
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    summarization_context GeneratorSummarizationContextArgs
    Input of prebuilt Summarization feature. Structure is documented below.
    tools Sequence[str]
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    trigger_event str
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.
    agentCoachingContext Property Map
    Input of prebuilt Agent Coaching feature. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    description String
    Optional. Human readable description of the generator.
    freeFormContext Property Map
    Input of free form generator to LLM. Structure is documented below.
    generatorId String
    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.
    inferenceParameter Property Map
    Optional. Inference parameters for this generator. Structure is documented below.
    location String
    desc
    name String
    The resource name of the generator.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    publishedModel String
    Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: text-bison * To use a stable model version, specify the version number as well. Example: text-bison@002.
    summarizationContext Property Map
    Input of prebuilt Summarization feature. Structure is documented below.
    tools List<String>
    Optional. Resource names of the tools that the generator can choose from. Format: projects/<Project ID>/locations/<Location ID>/tools/<tool ID>.
    triggerEvent String
    Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE.

    Supporting Types

    GeneratorAgentCoachingContext, GeneratorAgentCoachingContextArgs

    Instructions List<GeneratorAgentCoachingContextInstruction>
    Optional. Customized instructions for agent coaching. Structure is documented below.
    OutputLanguageCode string
    Optional. Output language code.
    OverarchingGuidance string
    Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
    Version string
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["2.5"].
    Instructions []GeneratorAgentCoachingContextInstruction
    Optional. Customized instructions for agent coaching. Structure is documented below.
    OutputLanguageCode string
    Optional. Output language code.
    OverarchingGuidance string
    Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
    Version string
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["2.5"].
    instructions list(object)
    Optional. Customized instructions for agent coaching. Structure is documented below.
    output_language_code string
    Optional. Output language code.
    overarching_guidance string
    Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
    version string
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["2.5"].
    instructions List<GeneratorAgentCoachingContextInstruction>
    Optional. Customized instructions for agent coaching. Structure is documented below.
    outputLanguageCode String
    Optional. Output language code.
    overarchingGuidance String
    Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
    version String
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["2.5"].
    instructions GeneratorAgentCoachingContextInstruction[]
    Optional. Customized instructions for agent coaching. Structure is documented below.
    outputLanguageCode string
    Optional. Output language code.
    overarchingGuidance string
    Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
    version string
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["2.5"].
    instructions Sequence[GeneratorAgentCoachingContextInstruction]
    Optional. Customized instructions for agent coaching. Structure is documented below.
    output_language_code str
    Optional. Output language code.
    overarching_guidance str
    Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
    version str
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["2.5"].
    instructions List<Property Map>
    Optional. Customized instructions for agent coaching. Structure is documented below.
    outputLanguageCode String
    Optional. Output language code.
    overarchingGuidance String
    Optional. The overarching guidance for the agent coaching. This should be set only for v1.5 and later versions.
    version String
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["2.5"].

    GeneratorAgentCoachingContextInstruction, GeneratorAgentCoachingContextInstructionArgs

    AgentAction string
    Optional. The action that human agent should take.
    Condition string
    Optional. The condition of the instruction.
    DisplayDetails string
    Optional. The detailed description of this instruction.
    DisplayName string
    Optional. Display name for the instruction.
    SystemAction string
    Optional. The action that system should take.
    TriggeringEvent string
    Optional. The trigger event of the instruction. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE, TOOL_CALL_COMPLETION.
    AgentAction string
    Optional. The action that human agent should take.
    Condition string
    Optional. The condition of the instruction.
    DisplayDetails string
    Optional. The detailed description of this instruction.
    DisplayName string
    Optional. Display name for the instruction.
    SystemAction string
    Optional. The action that system should take.
    TriggeringEvent string
    Optional. The trigger event of the instruction. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE, TOOL_CALL_COMPLETION.
    agent_action string
    Optional. The action that human agent should take.
    condition string
    Optional. The condition of the instruction.
    display_details string
    Optional. The detailed description of this instruction.
    display_name string
    Optional. Display name for the instruction.
    system_action string
    Optional. The action that system should take.
    triggering_event string
    Optional. The trigger event of the instruction. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE, TOOL_CALL_COMPLETION.
    agentAction String
    Optional. The action that human agent should take.
    condition String
    Optional. The condition of the instruction.
    displayDetails String
    Optional. The detailed description of this instruction.
    displayName String
    Optional. Display name for the instruction.
    systemAction String
    Optional. The action that system should take.
    triggeringEvent String
    Optional. The trigger event of the instruction. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE, TOOL_CALL_COMPLETION.
    agentAction string
    Optional. The action that human agent should take.
    condition string
    Optional. The condition of the instruction.
    displayDetails string
    Optional. The detailed description of this instruction.
    displayName string
    Optional. Display name for the instruction.
    systemAction string
    Optional. The action that system should take.
    triggeringEvent string
    Optional. The trigger event of the instruction. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE, TOOL_CALL_COMPLETION.
    agent_action str
    Optional. The action that human agent should take.
    condition str
    Optional. The condition of the instruction.
    display_details str
    Optional. The detailed description of this instruction.
    display_name str
    Optional. Display name for the instruction.
    system_action str
    Optional. The action that system should take.
    triggering_event str
    Optional. The trigger event of the instruction. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE, TOOL_CALL_COMPLETION.
    agentAction String
    Optional. The action that human agent should take.
    condition String
    Optional. The condition of the instruction.
    displayDetails String
    Optional. The detailed description of this instruction.
    displayName String
    Optional. Display name for the instruction.
    systemAction String
    Optional. The action that system should take.
    triggeringEvent String
    Optional. The trigger event of the instruction. Possible values are: END_OF_UTTERANCE, MANUAL_CALL, CUSTOMER_MESSAGE, AGENT_MESSAGE, TOOL_CALL_COMPLETION.

    GeneratorFreeFormContext, GeneratorFreeFormContextArgs

    Text string
    Optional. Free form text input to LLM.
    Text string
    Optional. Free form text input to LLM.
    text string
    Optional. Free form text input to LLM.
    text String
    Optional. Free form text input to LLM.
    text string
    Optional. Free form text input to LLM.
    text str
    Optional. Free form text input to LLM.
    text String
    Optional. Free form text input to LLM.

    GeneratorInferenceParameter, GeneratorInferenceParameterArgs

    MaxOutputTokens int
    Optional. Maximum number of the output tokens for the generator.
    Temperature double
    Optional. Controls the randomness of LLM predictions. Low temperature = less random. High temperature = more random. If unset (or 0), uses a default value of 0.
    TopK int
    Optional. Top-k changes how the model selects tokens for output. A top-k of 1 means the selected token is the most probable among all tokens in the model's vocabulary (also called greedy decoding), while a top-k of 3 means that the next token is selected from among the 3 most probable tokens (using temperature). For each token selection step, the top K tokens with the highest probabilities are sampled. Then tokens are further filtered based on topP with the final token selected using temperature sampling. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [1, 40], default to 40.
    TopP double
    Optional. Top-p changes how the model selects tokens for output. Tokens are selected from most K (see topK parameter) probable to least until the sum of their probabilities equals the top-p value. For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the top-p value is 0.5, then the model will select either A or B as the next token (using temperature) and doesn't consider C. The default top-p value is 0.95. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [0.0, 1.0], default to 0.95.
    MaxOutputTokens int
    Optional. Maximum number of the output tokens for the generator.
    Temperature float64
    Optional. Controls the randomness of LLM predictions. Low temperature = less random. High temperature = more random. If unset (or 0), uses a default value of 0.
    TopK int
    Optional. Top-k changes how the model selects tokens for output. A top-k of 1 means the selected token is the most probable among all tokens in the model's vocabulary (also called greedy decoding), while a top-k of 3 means that the next token is selected from among the 3 most probable tokens (using temperature). For each token selection step, the top K tokens with the highest probabilities are sampled. Then tokens are further filtered based on topP with the final token selected using temperature sampling. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [1, 40], default to 40.
    TopP float64
    Optional. Top-p changes how the model selects tokens for output. Tokens are selected from most K (see topK parameter) probable to least until the sum of their probabilities equals the top-p value. For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the top-p value is 0.5, then the model will select either A or B as the next token (using temperature) and doesn't consider C. The default top-p value is 0.95. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [0.0, 1.0], default to 0.95.
    max_output_tokens number
    Optional. Maximum number of the output tokens for the generator.
    temperature number
    Optional. Controls the randomness of LLM predictions. Low temperature = less random. High temperature = more random. If unset (or 0), uses a default value of 0.
    top_k number
    Optional. Top-k changes how the model selects tokens for output. A top-k of 1 means the selected token is the most probable among all tokens in the model's vocabulary (also called greedy decoding), while a top-k of 3 means that the next token is selected from among the 3 most probable tokens (using temperature). For each token selection step, the top K tokens with the highest probabilities are sampled. Then tokens are further filtered based on topP with the final token selected using temperature sampling. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [1, 40], default to 40.
    top_p number
    Optional. Top-p changes how the model selects tokens for output. Tokens are selected from most K (see topK parameter) probable to least until the sum of their probabilities equals the top-p value. For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the top-p value is 0.5, then the model will select either A or B as the next token (using temperature) and doesn't consider C. The default top-p value is 0.95. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [0.0, 1.0], default to 0.95.
    maxOutputTokens Integer
    Optional. Maximum number of the output tokens for the generator.
    temperature Double
    Optional. Controls the randomness of LLM predictions. Low temperature = less random. High temperature = more random. If unset (or 0), uses a default value of 0.
    topK Integer
    Optional. Top-k changes how the model selects tokens for output. A top-k of 1 means the selected token is the most probable among all tokens in the model's vocabulary (also called greedy decoding), while a top-k of 3 means that the next token is selected from among the 3 most probable tokens (using temperature). For each token selection step, the top K tokens with the highest probabilities are sampled. Then tokens are further filtered based on topP with the final token selected using temperature sampling. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [1, 40], default to 40.
    topP Double
    Optional. Top-p changes how the model selects tokens for output. Tokens are selected from most K (see topK parameter) probable to least until the sum of their probabilities equals the top-p value. For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the top-p value is 0.5, then the model will select either A or B as the next token (using temperature) and doesn't consider C. The default top-p value is 0.95. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [0.0, 1.0], default to 0.95.
    maxOutputTokens number
    Optional. Maximum number of the output tokens for the generator.
    temperature number
    Optional. Controls the randomness of LLM predictions. Low temperature = less random. High temperature = more random. If unset (or 0), uses a default value of 0.
    topK number
    Optional. Top-k changes how the model selects tokens for output. A top-k of 1 means the selected token is the most probable among all tokens in the model's vocabulary (also called greedy decoding), while a top-k of 3 means that the next token is selected from among the 3 most probable tokens (using temperature). For each token selection step, the top K tokens with the highest probabilities are sampled. Then tokens are further filtered based on topP with the final token selected using temperature sampling. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [1, 40], default to 40.
    topP number
    Optional. Top-p changes how the model selects tokens for output. Tokens are selected from most K (see topK parameter) probable to least until the sum of their probabilities equals the top-p value. For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the top-p value is 0.5, then the model will select either A or B as the next token (using temperature) and doesn't consider C. The default top-p value is 0.95. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [0.0, 1.0], default to 0.95.
    max_output_tokens int
    Optional. Maximum number of the output tokens for the generator.
    temperature float
    Optional. Controls the randomness of LLM predictions. Low temperature = less random. High temperature = more random. If unset (or 0), uses a default value of 0.
    top_k int
    Optional. Top-k changes how the model selects tokens for output. A top-k of 1 means the selected token is the most probable among all tokens in the model's vocabulary (also called greedy decoding), while a top-k of 3 means that the next token is selected from among the 3 most probable tokens (using temperature). For each token selection step, the top K tokens with the highest probabilities are sampled. Then tokens are further filtered based on topP with the final token selected using temperature sampling. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [1, 40], default to 40.
    top_p float
    Optional. Top-p changes how the model selects tokens for output. Tokens are selected from most K (see topK parameter) probable to least until the sum of their probabilities equals the top-p value. For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the top-p value is 0.5, then the model will select either A or B as the next token (using temperature) and doesn't consider C. The default top-p value is 0.95. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [0.0, 1.0], default to 0.95.
    maxOutputTokens Number
    Optional. Maximum number of the output tokens for the generator.
    temperature Number
    Optional. Controls the randomness of LLM predictions. Low temperature = less random. High temperature = more random. If unset (or 0), uses a default value of 0.
    topK Number
    Optional. Top-k changes how the model selects tokens for output. A top-k of 1 means the selected token is the most probable among all tokens in the model's vocabulary (also called greedy decoding), while a top-k of 3 means that the next token is selected from among the 3 most probable tokens (using temperature). For each token selection step, the top K tokens with the highest probabilities are sampled. Then tokens are further filtered based on topP with the final token selected using temperature sampling. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [1, 40], default to 40.
    topP Number
    Optional. Top-p changes how the model selects tokens for output. Tokens are selected from most K (see topK parameter) probable to least until the sum of their probabilities equals the top-p value. For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the top-p value is 0.5, then the model will select either A or B as the next token (using temperature) and doesn't consider C. The default top-p value is 0.95. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [0.0, 1.0], default to 0.95.

    GeneratorSummarizationContext, GeneratorSummarizationContextArgs

    FewShotExamples List<GeneratorSummarizationContextFewShotExample>
    Optional. List of few shot examples. Structure is documented below.
    OutputLanguageCode string
    Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.
    SummarizationSections List<GeneratorSummarizationContextSummarizationSection>
    Optional. List of sections. Note it contains both predefined section sand customer defined sections. Structure is documented below.
    Version string
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["5.0", "6.0"].
    FewShotExamples []GeneratorSummarizationContextFewShotExample
    Optional. List of few shot examples. Structure is documented below.
    OutputLanguageCode string
    Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.
    SummarizationSections []GeneratorSummarizationContextSummarizationSection
    Optional. List of sections. Note it contains both predefined section sand customer defined sections. Structure is documented below.
    Version string
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["5.0", "6.0"].
    few_shot_examples list(object)
    Optional. List of few shot examples. Structure is documented below.
    output_language_code string
    Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.
    summarization_sections list(object)
    Optional. List of sections. Note it contains both predefined section sand customer defined sections. Structure is documented below.
    version string
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["5.0", "6.0"].
    fewShotExamples List<GeneratorSummarizationContextFewShotExample>
    Optional. List of few shot examples. Structure is documented below.
    outputLanguageCode String
    Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.
    summarizationSections List<GeneratorSummarizationContextSummarizationSection>
    Optional. List of sections. Note it contains both predefined section sand customer defined sections. Structure is documented below.
    version String
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["5.0", "6.0"].
    fewShotExamples GeneratorSummarizationContextFewShotExample[]
    Optional. List of few shot examples. Structure is documented below.
    outputLanguageCode string
    Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.
    summarizationSections GeneratorSummarizationContextSummarizationSection[]
    Optional. List of sections. Note it contains both predefined section sand customer defined sections. Structure is documented below.
    version string
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["5.0", "6.0"].
    few_shot_examples Sequence[GeneratorSummarizationContextFewShotExample]
    Optional. List of few shot examples. Structure is documented below.
    output_language_code str
    Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.
    summarization_sections Sequence[GeneratorSummarizationContextSummarizationSection]
    Optional. List of sections. Note it contains both predefined section sand customer defined sections. Structure is documented below.
    version str
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["5.0", "6.0"].
    fewShotExamples List<Property Map>
    Optional. List of few shot examples. Structure is documented below.
    outputLanguageCode String
    Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.
    summarizationSections List<Property Map>
    Optional. List of sections. Note it contains both predefined section sand customer defined sections. Structure is documented below.
    version String
    Optional. Version of the feature. If not set, default to latest version. Current candidates are ["5.0", "6.0"].

    GeneratorSummarizationContextFewShotExample, GeneratorSummarizationContextFewShotExampleArgs

    Output GeneratorSummarizationContextFewShotExampleOutput
    Required. Example output of the model. Structure is documented below.
    ConversationContext GeneratorSummarizationContextFewShotExampleConversationContext
    Optional. Conversation transcripts. Structure is documented below.
    ExtraInfo Dictionary<string, string>
    Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
    SummarizationSectionList GeneratorSummarizationContextFewShotExampleSummarizationSectionList
    Summarization sections. Structure is documented below.
    Output GeneratorSummarizationContextFewShotExampleOutputType
    Required. Example output of the model. Structure is documented below.
    ConversationContext GeneratorSummarizationContextFewShotExampleConversationContext
    Optional. Conversation transcripts. Structure is documented below.
    ExtraInfo map[string]string
    Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
    SummarizationSectionList GeneratorSummarizationContextFewShotExampleSummarizationSectionList
    Summarization sections. Structure is documented below.
    output object
    Required. Example output of the model. Structure is documented below.
    conversation_context object
    Optional. Conversation transcripts. Structure is documented below.
    extra_info map(string)
    Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
    summarization_section_list object
    Summarization sections. Structure is documented below.
    output GeneratorSummarizationContextFewShotExampleOutput
    Required. Example output of the model. Structure is documented below.
    conversationContext GeneratorSummarizationContextFewShotExampleConversationContext
    Optional. Conversation transcripts. Structure is documented below.
    extraInfo Map<String,String>
    Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
    summarizationSectionList GeneratorSummarizationContextFewShotExampleSummarizationSectionList
    Summarization sections. Structure is documented below.
    output GeneratorSummarizationContextFewShotExampleOutput
    Required. Example output of the model. Structure is documented below.
    conversationContext GeneratorSummarizationContextFewShotExampleConversationContext
    Optional. Conversation transcripts. Structure is documented below.
    extraInfo {[key: string]: string}
    Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
    summarizationSectionList GeneratorSummarizationContextFewShotExampleSummarizationSectionList
    Summarization sections. Structure is documented below.
    output GeneratorSummarizationContextFewShotExampleOutput
    Required. Example output of the model. Structure is documented below.
    conversation_context GeneratorSummarizationContextFewShotExampleConversationContext
    Optional. Conversation transcripts. Structure is documented below.
    extra_info Mapping[str, str]
    Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
    summarization_section_list GeneratorSummarizationContextFewShotExampleSummarizationSectionList
    Summarization sections. Structure is documented below.
    output Property Map
    Required. Example output of the model. Structure is documented below.
    conversationContext Property Map
    Optional. Conversation transcripts. Structure is documented below.
    extraInfo Map<String>
    Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains "@price", and ingested data has <"price", "10">
    summarizationSectionList Property Map
    Summarization sections. Structure is documented below.

    GeneratorSummarizationContextFewShotExampleConversationContext, GeneratorSummarizationContextFewShotExampleConversationContextArgs

    MessageEntries List<GeneratorSummarizationContextFewShotExampleConversationContextMessageEntry>
    Optional. List of message transcripts in the conversation. Structure is documented below.
    MessageEntries []GeneratorSummarizationContextFewShotExampleConversationContextMessageEntry
    Optional. List of message transcripts in the conversation. Structure is documented below.
    message_entries list(object)
    Optional. List of message transcripts in the conversation. Structure is documented below.
    messageEntries List<GeneratorSummarizationContextFewShotExampleConversationContextMessageEntry>
    Optional. List of message transcripts in the conversation. Structure is documented below.
    messageEntries GeneratorSummarizationContextFewShotExampleConversationContextMessageEntry[]
    Optional. List of message transcripts in the conversation. Structure is documented below.
    message_entries Sequence[GeneratorSummarizationContextFewShotExampleConversationContextMessageEntry]
    Optional. List of message transcripts in the conversation. Structure is documented below.
    messageEntries List<Property Map>
    Optional. List of message transcripts in the conversation. Structure is documented below.

    GeneratorSummarizationContextFewShotExampleConversationContextMessageEntry, GeneratorSummarizationContextFewShotExampleConversationContextMessageEntryArgs

    CreateTime string
    Optional. Create time of the message entry.
    LanguageCode string
    Optional. The language of the text.
    Role string
    Optional. Participant role of the message. Possible values are: HUMAN_AGENT, AUTOMATED_AGENT, END_USER.
    Text string
    Optional. Transcript content of the message.
    CreateTime string
    Optional. Create time of the message entry.
    LanguageCode string
    Optional. The language of the text.
    Role string
    Optional. Participant role of the message. Possible values are: HUMAN_AGENT, AUTOMATED_AGENT, END_USER.
    Text string
    Optional. Transcript content of the message.
    create_time string
    Optional. Create time of the message entry.
    language_code string
    Optional. The language of the text.
    role string
    Optional. Participant role of the message. Possible values are: HUMAN_AGENT, AUTOMATED_AGENT, END_USER.
    text string
    Optional. Transcript content of the message.
    createTime String
    Optional. Create time of the message entry.
    languageCode String
    Optional. The language of the text.
    role String
    Optional. Participant role of the message. Possible values are: HUMAN_AGENT, AUTOMATED_AGENT, END_USER.
    text String
    Optional. Transcript content of the message.
    createTime string
    Optional. Create time of the message entry.
    languageCode string
    Optional. The language of the text.
    role string
    Optional. Participant role of the message. Possible values are: HUMAN_AGENT, AUTOMATED_AGENT, END_USER.
    text string
    Optional. Transcript content of the message.
    create_time str
    Optional. Create time of the message entry.
    language_code str
    Optional. The language of the text.
    role str
    Optional. Participant role of the message. Possible values are: HUMAN_AGENT, AUTOMATED_AGENT, END_USER.
    text str
    Optional. Transcript content of the message.
    createTime String
    Optional. Create time of the message entry.
    languageCode String
    Optional. The language of the text.
    role String
    Optional. Participant role of the message. Possible values are: HUMAN_AGENT, AUTOMATED_AGENT, END_USER.
    text String
    Optional. Transcript content of the message.

    GeneratorSummarizationContextFewShotExampleOutput, GeneratorSummarizationContextFewShotExampleOutputArgs

    SummarySuggestion GeneratorSummarizationContextFewShotExampleOutputSummarySuggestion
    Optional. Suggested summary. Structure is documented below.
    ToolCallInfos List<GeneratorSummarizationContextFewShotExampleOutputToolCallInfo>
    List of request and response for tool calls executed. Structure is documented below.
    SummarySuggestion GeneratorSummarizationContextFewShotExampleOutputSummarySuggestion
    Optional. Suggested summary. Structure is documented below.
    ToolCallInfos []GeneratorSummarizationContextFewShotExampleOutputToolCallInfo
    List of request and response for tool calls executed. Structure is documented below.
    summary_suggestion object
    Optional. Suggested summary. Structure is documented below.
    tool_call_infos list(object)
    List of request and response for tool calls executed. Structure is documented below.
    summarySuggestion GeneratorSummarizationContextFewShotExampleOutputSummarySuggestion
    Optional. Suggested summary. Structure is documented below.
    toolCallInfos List<GeneratorSummarizationContextFewShotExampleOutputToolCallInfo>
    List of request and response for tool calls executed. Structure is documented below.
    summarySuggestion GeneratorSummarizationContextFewShotExampleOutputSummarySuggestion
    Optional. Suggested summary. Structure is documented below.
    toolCallInfos GeneratorSummarizationContextFewShotExampleOutputToolCallInfo[]
    List of request and response for tool calls executed. Structure is documented below.
    summary_suggestion GeneratorSummarizationContextFewShotExampleOutputSummarySuggestion
    Optional. Suggested summary. Structure is documented below.
    tool_call_infos Sequence[GeneratorSummarizationContextFewShotExampleOutputToolCallInfo]
    List of request and response for tool calls executed. Structure is documented below.
    summarySuggestion Property Map
    Optional. Suggested summary. Structure is documented below.
    toolCallInfos List<Property Map>
    List of request and response for tool calls executed. Structure is documented below.

    GeneratorSummarizationContextFewShotExampleOutputSummarySuggestion, GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionArgs

    SummarySections List<GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionSummarySection>
    Required. All the parts of generated summary. Structure is documented below.
    SummarySections []GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionSummarySection
    Required. All the parts of generated summary. Structure is documented below.
    summary_sections list(object)
    Required. All the parts of generated summary. Structure is documented below.
    summarySections List<GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionSummarySection>
    Required. All the parts of generated summary. Structure is documented below.
    summarySections GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionSummarySection[]
    Required. All the parts of generated summary. Structure is documented below.
    summary_sections Sequence[GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionSummarySection]
    Required. All the parts of generated summary. Structure is documented below.
    summarySections List<Property Map>
    Required. All the parts of generated summary. Structure is documented below.

    GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionSummarySection, GeneratorSummarizationContextFewShotExampleOutputSummarySuggestionSummarySectionArgs

    Section string
    Required. Name of the section.
    Summary string
    Required. Summary text for the section.
    Section string
    Required. Name of the section.
    Summary string
    Required. Summary text for the section.
    section string
    Required. Name of the section.
    summary string
    Required. Summary text for the section.
    section String
    Required. Name of the section.
    summary String
    Required. Summary text for the section.
    section string
    Required. Name of the section.
    summary string
    Required. Summary text for the section.
    section str
    Required. Name of the section.
    summary str
    Required. Summary text for the section.
    section String
    Required. Name of the section.
    summary String
    Required. Summary text for the section.

    GeneratorSummarizationContextFewShotExampleOutputToolCallInfo, GeneratorSummarizationContextFewShotExampleOutputToolCallInfoArgs

    ToolCall GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCall
    Request for a tool call. Structure is documented below.
    ToolCallResult GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResult
    Response for a tool call. Structure is documented below.
    ToolCall GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCall
    Request for a tool call. Structure is documented below.
    ToolCallResult GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResult
    Response for a tool call. Structure is documented below.
    tool_call object
    Request for a tool call. Structure is documented below.
    tool_call_result object
    Response for a tool call. Structure is documented below.
    toolCall GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCall
    Request for a tool call. Structure is documented below.
    toolCallResult GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResult
    Response for a tool call. Structure is documented below.
    toolCall GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCall
    Request for a tool call. Structure is documented below.
    toolCallResult GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResult
    Response for a tool call. Structure is documented below.
    tool_call GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCall
    Request for a tool call. Structure is documented below.
    tool_call_result GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResult
    Response for a tool call. Structure is documented below.
    toolCall Property Map
    Request for a tool call. Structure is documented below.
    toolCallResult Property Map
    Response for a tool call. Structure is documented below.

    GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCall, GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallArgs

    Action string
    The name of the tool's action associated with this call.
    Tool string
    The tool associated with this call.
    Action string
    The name of the tool's action associated with this call.
    Tool string
    The tool associated with this call.
    action string
    The name of the tool's action associated with this call.
    tool string
    The tool associated with this call.
    action String
    The name of the tool's action associated with this call.
    tool String
    The tool associated with this call.
    action string
    The name of the tool's action associated with this call.
    tool string
    The tool associated with this call.
    action str
    The name of the tool's action associated with this call.
    tool str
    The tool associated with this call.
    action String
    The name of the tool's action associated with this call.
    tool String
    The tool associated with this call.

    GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResult, GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultArgs

    Action string
    The name of the tool's action associated with this call.
    Error GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultError
    An error produced by the tool call. Structure is documented below.
    Action string
    The name of the tool's action associated with this call.
    Error GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultError
    An error produced by the tool call. Structure is documented below.
    action string
    The name of the tool's action associated with this call.
    error object
    An error produced by the tool call. Structure is documented below.
    action String
    The name of the tool's action associated with this call.
    error GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultError
    An error produced by the tool call. Structure is documented below.
    action string
    The name of the tool's action associated with this call.
    error GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultError
    An error produced by the tool call. Structure is documented below.
    action str
    The name of the tool's action associated with this call.
    error GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultError
    An error produced by the tool call. Structure is documented below.
    action String
    The name of the tool's action associated with this call.
    error Property Map
    An error produced by the tool call. Structure is documented below.

    GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultError, GeneratorSummarizationContextFewShotExampleOutputToolCallInfoToolCallResultErrorArgs

    Message string
    The error message of the function.
    Retryable bool
    Specifies whether the tool call is retryable.
    Message string
    The error message of the function.
    Retryable bool
    Specifies whether the tool call is retryable.
    message string
    The error message of the function.
    retryable bool
    Specifies whether the tool call is retryable.
    message String
    The error message of the function.
    retryable Boolean
    Specifies whether the tool call is retryable.
    message string
    The error message of the function.
    retryable boolean
    Specifies whether the tool call is retryable.
    message str
    The error message of the function.
    retryable bool
    Specifies whether the tool call is retryable.
    message String
    The error message of the function.
    retryable Boolean
    Specifies whether the tool call is retryable.

    GeneratorSummarizationContextFewShotExampleSummarizationSectionList, GeneratorSummarizationContextFewShotExampleSummarizationSectionListArgs

    summarization_sections list(object)
    Optional. Summarization sections. Structure is documented below.
    summarizationSections List<Property Map>
    Optional. Summarization sections. Structure is documented below.

    GeneratorSummarizationContextFewShotExampleSummarizationSectionListSummarizationSection, GeneratorSummarizationContextFewShotExampleSummarizationSectionListSummarizationSectionArgs

    Definition string
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    Key string
    Optional. Name of the section, for example, "situation".
    Type string
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    Definition string
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    Key string
    Optional. Name of the section, for example, "situation".
    Type string
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    definition string
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    key string
    Optional. Name of the section, for example, "situation".
    type string
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    definition String
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    key String
    Optional. Name of the section, for example, "situation".
    type String
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    definition string
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    key string
    Optional. Name of the section, for example, "situation".
    type string
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    definition str
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    key str
    Optional. Name of the section, for example, "situation".
    type str
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    definition String
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    key String
    Optional. Name of the section, for example, "situation".
    type String
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.

    GeneratorSummarizationContextSummarizationSection, GeneratorSummarizationContextSummarizationSectionArgs

    Definition string
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    Key string
    Optional. Name of the section, for example, "situation".
    Type string
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    Definition string
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    Key string
    Optional. Name of the section, for example, "situation".
    Type string
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    definition string
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    key string
    Optional. Name of the section, for example, "situation".
    type string
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    definition String
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    key String
    Optional. Name of the section, for example, "situation".
    type String
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    definition string
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    key string
    Optional. Name of the section, for example, "situation".
    type string
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    definition str
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    key str
    Optional. Name of the section, for example, "situation".
    type str
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.
    definition String
    Optional. Definition of the section, for example, "what the customer needs help with or has question about."
    key String
    Optional. Name of the section, for example, "situation".
    type String
    Optional. Type of the summarization section. Possible values are: SITUATION, ACTION, RESOLUTION, REASON_FOR_CANCELLATION, CUSTOMER_SATISFACTION, ENTITIES, CUSTOMER_DEFINED, SITUATION_CONCISE, ACTION_CONCISE.

    Import

    Generator can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/generators/{{name}}
    • {{project}}/{{location}}/{{name}}
    • {{location}}/{{name}}

    When using the pulumi import command, Generator can be imported using one of the formats above. For example:

    $ pulumi import gcp:diagflow/generator:Generator default projects/{{project}}/locations/{{location}}/generators/{{name}}
    $ pulumi import gcp:diagflow/generator:Generator default {{project}}/{{location}}/{{name}}
    $ pulumi import gcp:diagflow/generator:Generator default {{location}}/{{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v10.2.0
    published on Tuesday, Oct 20, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial