1. Packages
  2. Google Cloud Native
  3. API Docs
  4. discoveryengine
  5. discoveryengine/v1beta
  6. Conversation

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.discoveryengine/v1beta.Conversation

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned. Auto-naming is currently not supported for this resource.

    Create Conversation Resource

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

    Constructor syntax

    new Conversation(name: string, args: ConversationArgs, opts?: CustomResourceOptions);
    @overload
    def Conversation(resource_name: str,
                     args: ConversationArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def Conversation(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     collection_id: Optional[str] = None,
                     data_store_id: Optional[str] = None,
                     location: Optional[str] = None,
                     messages: Optional[Sequence[GoogleCloudDiscoveryengineV1betaConversationMessageArgs]] = None,
                     name: Optional[str] = None,
                     project: Optional[str] = None,
                     state: Optional[ConversationState] = None,
                     user_pseudo_id: Optional[str] = None)
    func NewConversation(ctx *Context, name string, args ConversationArgs, opts ...ResourceOption) (*Conversation, error)
    public Conversation(string name, ConversationArgs args, CustomResourceOptions? opts = null)
    public Conversation(String name, ConversationArgs args)
    public Conversation(String name, ConversationArgs args, CustomResourceOptions options)
    
    type: google-native:discoveryengine/v1beta:Conversation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConversationArgs
    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 ConversationArgs
    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 ConversationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConversationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConversationArgs
    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 exampleconversationResourceResourceFromDiscoveryenginev1beta = new GoogleNative.DiscoveryEngine.V1Beta.Conversation("exampleconversationResourceResourceFromDiscoveryenginev1beta", new()
    {
        CollectionId = "string",
        DataStoreId = "string",
        Location = "string",
        Messages = new[]
        {
            new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaConversationMessageArgs
            {
                Reply = new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaReplyArgs
                {
                    References = new[]
                    {
                        new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaReplyReferenceArgs
                        {
                            AnchorText = "string",
                            End = 0,
                            Start = 0,
                            Uri = "string",
                        },
                    },
                    Summary = new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaSearchResponseSummaryArgs
                    {
                        SafetyAttributes = new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesArgs
                        {
                            Categories = new[]
                            {
                                "string",
                            },
                            Scores = new[]
                            {
                                0,
                            },
                        },
                        SummarySkippedReasons = new[]
                        {
                            GoogleNative.DiscoveryEngine.V1Beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem.SummarySkippedReasonUnspecified,
                        },
                        SummaryText = "string",
                    },
                },
                UserInput = new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaTextInputArgs
                {
                    Context = new GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaConversationContextArgs
                    {
                        ActiveDocument = "string",
                        ContextDocuments = new[]
                        {
                            "string",
                        },
                    },
                    Input = "string",
                },
            },
        },
        Name = "string",
        Project = "string",
        State = GoogleNative.DiscoveryEngine.V1Beta.ConversationState.StateUnspecified,
        UserPseudoId = "string",
    });
    
    example, err := discoveryenginev1beta.NewConversation(ctx, "exampleconversationResourceResourceFromDiscoveryenginev1beta", &discoveryenginev1beta.ConversationArgs{
    	CollectionId: pulumi.String("string"),
    	DataStoreId:  pulumi.String("string"),
    	Location:     pulumi.String("string"),
    	Messages: discoveryengine.GoogleCloudDiscoveryengineV1betaConversationMessageArray{
    		&discoveryengine.GoogleCloudDiscoveryengineV1betaConversationMessageArgs{
    			Reply: &discoveryengine.GoogleCloudDiscoveryengineV1betaReplyArgs{
    				References: discoveryengine.GoogleCloudDiscoveryengineV1betaReplyReferenceArray{
    					&discoveryengine.GoogleCloudDiscoveryengineV1betaReplyReferenceArgs{
    						AnchorText: pulumi.String("string"),
    						End:        pulumi.Int(0),
    						Start:      pulumi.Int(0),
    						Uri:        pulumi.String("string"),
    					},
    				},
    				Summary: &discoveryengine.GoogleCloudDiscoveryengineV1betaSearchResponseSummaryArgs{
    					SafetyAttributes: &discoveryengine.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesArgs{
    						Categories: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Scores: pulumi.Float64Array{
    							pulumi.Float64(0),
    						},
    					},
    					SummarySkippedReasons: discoveryengine.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemArray{
    						discoveryenginev1beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemSummarySkippedReasonUnspecified,
    					},
    					SummaryText: pulumi.String("string"),
    				},
    			},
    			UserInput: &discoveryengine.GoogleCloudDiscoveryengineV1betaTextInputArgs{
    				Context: &discoveryengine.GoogleCloudDiscoveryengineV1betaConversationContextArgs{
    					ActiveDocument: pulumi.String("string"),
    					ContextDocuments: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    				Input: pulumi.String("string"),
    			},
    		},
    	},
    	Name:         pulumi.String("string"),
    	Project:      pulumi.String("string"),
    	State:        discoveryenginev1beta.ConversationStateStateUnspecified,
    	UserPseudoId: pulumi.String("string"),
    })
    
    var exampleconversationResourceResourceFromDiscoveryenginev1beta = new Conversation("exampleconversationResourceResourceFromDiscoveryenginev1beta", ConversationArgs.builder()
        .collectionId("string")
        .dataStoreId("string")
        .location("string")
        .messages(GoogleCloudDiscoveryengineV1betaConversationMessageArgs.builder()
            .reply(GoogleCloudDiscoveryengineV1betaReplyArgs.builder()
                .references(GoogleCloudDiscoveryengineV1betaReplyReferenceArgs.builder()
                    .anchorText("string")
                    .end(0)
                    .start(0)
                    .uri("string")
                    .build())
                .summary(GoogleCloudDiscoveryengineV1betaSearchResponseSummaryArgs.builder()
                    .safetyAttributes(GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesArgs.builder()
                        .categories("string")
                        .scores(0)
                        .build())
                    .summarySkippedReasons("SUMMARY_SKIPPED_REASON_UNSPECIFIED")
                    .summaryText("string")
                    .build())
                .build())
            .userInput(GoogleCloudDiscoveryengineV1betaTextInputArgs.builder()
                .context(GoogleCloudDiscoveryengineV1betaConversationContextArgs.builder()
                    .activeDocument("string")
                    .contextDocuments("string")
                    .build())
                .input("string")
                .build())
            .build())
        .name("string")
        .project("string")
        .state("STATE_UNSPECIFIED")
        .userPseudoId("string")
        .build());
    
    exampleconversation_resource_resource_from_discoveryenginev1beta = google_native.discoveryengine.v1beta.Conversation("exampleconversationResourceResourceFromDiscoveryenginev1beta",
        collection_id="string",
        data_store_id="string",
        location="string",
        messages=[google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaConversationMessageArgs(
            reply=google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaReplyArgs(
                references=[google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaReplyReferenceArgs(
                    anchor_text="string",
                    end=0,
                    start=0,
                    uri="string",
                )],
                summary=google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummaryArgs(
                    safety_attributes=google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesArgs(
                        categories=["string"],
                        scores=[0],
                    ),
                    summary_skipped_reasons=[google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem.SUMMARY_SKIPPED_REASON_UNSPECIFIED],
                    summary_text="string",
                ),
            ),
            user_input=google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaTextInputArgs(
                context=google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaConversationContextArgs(
                    active_document="string",
                    context_documents=["string"],
                ),
                input="string",
            ),
        )],
        name="string",
        project="string",
        state=google_native.discoveryengine.v1beta.ConversationState.STATE_UNSPECIFIED,
        user_pseudo_id="string")
    
    const exampleconversationResourceResourceFromDiscoveryenginev1beta = new google_native.discoveryengine.v1beta.Conversation("exampleconversationResourceResourceFromDiscoveryenginev1beta", {
        collectionId: "string",
        dataStoreId: "string",
        location: "string",
        messages: [{
            reply: {
                references: [{
                    anchorText: "string",
                    end: 0,
                    start: 0,
                    uri: "string",
                }],
                summary: {
                    safetyAttributes: {
                        categories: ["string"],
                        scores: [0],
                    },
                    summarySkippedReasons: [google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem.SummarySkippedReasonUnspecified],
                    summaryText: "string",
                },
            },
            userInput: {
                context: {
                    activeDocument: "string",
                    contextDocuments: ["string"],
                },
                input: "string",
            },
        }],
        name: "string",
        project: "string",
        state: google_native.discoveryengine.v1beta.ConversationState.StateUnspecified,
        userPseudoId: "string",
    });
    
    type: google-native:discoveryengine/v1beta:Conversation
    properties:
        collectionId: string
        dataStoreId: string
        location: string
        messages:
            - reply:
                references:
                    - anchorText: string
                      end: 0
                      start: 0
                      uri: string
                summary:
                    safetyAttributes:
                        categories:
                            - string
                        scores:
                            - 0
                    summarySkippedReasons:
                        - SUMMARY_SKIPPED_REASON_UNSPECIFIED
                    summaryText: string
              userInput:
                context:
                    activeDocument: string
                    contextDocuments:
                        - string
                input: string
        name: string
        project: string
        state: STATE_UNSPECIFIED
        userPseudoId: string
    

    Conversation Resource Properties

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

    Inputs

    The Conversation resource accepts the following input properties:

    CollectionId string
    DataStoreId string
    Location string
    Messages List<Pulumi.GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaConversationMessage>
    Conversation messages.
    Name string
    Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
    Project string
    State Pulumi.GoogleNative.DiscoveryEngine.V1Beta.ConversationState
    The state of the Conversation.
    UserPseudoId string
    A unique identifier for tracking users.
    CollectionId string
    DataStoreId string
    Location string
    Messages []GoogleCloudDiscoveryengineV1betaConversationMessageArgs
    Conversation messages.
    Name string
    Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
    Project string
    State ConversationStateEnum
    The state of the Conversation.
    UserPseudoId string
    A unique identifier for tracking users.
    collectionId String
    dataStoreId String
    location String
    messages List<GoogleCloudDiscoveryengineV1betaConversationMessage>
    Conversation messages.
    name String
    Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
    project String
    state ConversationState
    The state of the Conversation.
    userPseudoId String
    A unique identifier for tracking users.
    collectionId string
    dataStoreId string
    location string
    messages GoogleCloudDiscoveryengineV1betaConversationMessage[]
    Conversation messages.
    name string
    Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
    project string
    state ConversationState
    The state of the Conversation.
    userPseudoId string
    A unique identifier for tracking users.
    collection_id str
    data_store_id str
    location str
    messages Sequence[GoogleCloudDiscoveryengineV1betaConversationMessageArgs]
    Conversation messages.
    name str
    Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
    project str
    state ConversationState
    The state of the Conversation.
    user_pseudo_id str
    A unique identifier for tracking users.
    collectionId String
    dataStoreId String
    location String
    messages List<Property Map>
    Conversation messages.
    name String
    Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
    project String
    state "STATE_UNSPECIFIED" | "IN_PROGRESS" | "COMPLETED"
    The state of the Conversation.
    userPseudoId String
    A unique identifier for tracking users.

    Outputs

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

    EndTime string
    The time the conversation finished.
    Id string
    The provider-assigned unique ID for this managed resource.
    StartTime string
    The time the conversation started.
    EndTime string
    The time the conversation finished.
    Id string
    The provider-assigned unique ID for this managed resource.
    StartTime string
    The time the conversation started.
    endTime String
    The time the conversation finished.
    id String
    The provider-assigned unique ID for this managed resource.
    startTime String
    The time the conversation started.
    endTime string
    The time the conversation finished.
    id string
    The provider-assigned unique ID for this managed resource.
    startTime string
    The time the conversation started.
    end_time str
    The time the conversation finished.
    id str
    The provider-assigned unique ID for this managed resource.
    start_time str
    The time the conversation started.
    endTime String
    The time the conversation finished.
    id String
    The provider-assigned unique ID for this managed resource.
    startTime String
    The time the conversation started.

    Supporting Types

    ConversationState, ConversationStateArgs

    StateUnspecified
    STATE_UNSPECIFIEDUnknown.
    InProgress
    IN_PROGRESSConversation is currently open.
    Completed
    COMPLETEDConversation has been completed.
    ConversationStateStateUnspecified
    STATE_UNSPECIFIEDUnknown.
    ConversationStateInProgress
    IN_PROGRESSConversation is currently open.
    ConversationStateCompleted
    COMPLETEDConversation has been completed.
    StateUnspecified
    STATE_UNSPECIFIEDUnknown.
    InProgress
    IN_PROGRESSConversation is currently open.
    Completed
    COMPLETEDConversation has been completed.
    StateUnspecified
    STATE_UNSPECIFIEDUnknown.
    InProgress
    IN_PROGRESSConversation is currently open.
    Completed
    COMPLETEDConversation has been completed.
    STATE_UNSPECIFIED
    STATE_UNSPECIFIEDUnknown.
    IN_PROGRESS
    IN_PROGRESSConversation is currently open.
    COMPLETED
    COMPLETEDConversation has been completed.
    "STATE_UNSPECIFIED"
    STATE_UNSPECIFIEDUnknown.
    "IN_PROGRESS"
    IN_PROGRESSConversation is currently open.
    "COMPLETED"
    COMPLETEDConversation has been completed.

    GoogleCloudDiscoveryengineV1betaConversationContext, GoogleCloudDiscoveryengineV1betaConversationContextArgs

    ActiveDocument string
    The current active document the user opened. It contains the document resource reference.
    ContextDocuments List<string>
    The current list of documents the user is seeing. It contains the document resource references.
    ActiveDocument string
    The current active document the user opened. It contains the document resource reference.
    ContextDocuments []string
    The current list of documents the user is seeing. It contains the document resource references.
    activeDocument String
    The current active document the user opened. It contains the document resource reference.
    contextDocuments List<String>
    The current list of documents the user is seeing. It contains the document resource references.
    activeDocument string
    The current active document the user opened. It contains the document resource reference.
    contextDocuments string[]
    The current list of documents the user is seeing. It contains the document resource references.
    active_document str
    The current active document the user opened. It contains the document resource reference.
    context_documents Sequence[str]
    The current list of documents the user is seeing. It contains the document resource references.
    activeDocument String
    The current active document the user opened. It contains the document resource reference.
    contextDocuments List<String>
    The current list of documents the user is seeing. It contains the document resource references.

    GoogleCloudDiscoveryengineV1betaConversationContextResponse, GoogleCloudDiscoveryengineV1betaConversationContextResponseArgs

    ActiveDocument string
    The current active document the user opened. It contains the document resource reference.
    ContextDocuments List<string>
    The current list of documents the user is seeing. It contains the document resource references.
    ActiveDocument string
    The current active document the user opened. It contains the document resource reference.
    ContextDocuments []string
    The current list of documents the user is seeing. It contains the document resource references.
    activeDocument String
    The current active document the user opened. It contains the document resource reference.
    contextDocuments List<String>
    The current list of documents the user is seeing. It contains the document resource references.
    activeDocument string
    The current active document the user opened. It contains the document resource reference.
    contextDocuments string[]
    The current list of documents the user is seeing. It contains the document resource references.
    active_document str
    The current active document the user opened. It contains the document resource reference.
    context_documents Sequence[str]
    The current list of documents the user is seeing. It contains the document resource references.
    activeDocument String
    The current active document the user opened. It contains the document resource reference.
    contextDocuments List<String>
    The current list of documents the user is seeing. It contains the document resource references.

    GoogleCloudDiscoveryengineV1betaConversationMessage, GoogleCloudDiscoveryengineV1betaConversationMessageArgs

    reply Property Map
    Search reply.
    userInput Property Map
    User text input.

    GoogleCloudDiscoveryengineV1betaConversationMessageResponse, GoogleCloudDiscoveryengineV1betaConversationMessageResponseArgs

    createTime String
    Message creation timestamp.
    reply Property Map
    Search reply.
    userInput Property Map
    User text input.

    GoogleCloudDiscoveryengineV1betaReply, GoogleCloudDiscoveryengineV1betaReplyArgs

    References List<Pulumi.GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaReplyReference>
    References in the reply.
    Reply string
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    Summary Pulumi.GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaSearchResponseSummary
    Summary based on search results.
    References []GoogleCloudDiscoveryengineV1betaReplyReference
    References in the reply.
    Reply string
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    Summary GoogleCloudDiscoveryengineV1betaSearchResponseSummary
    Summary based on search results.
    references List<GoogleCloudDiscoveryengineV1betaReplyReference>
    References in the reply.
    reply String
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    summary GoogleCloudDiscoveryengineV1betaSearchResponseSummary
    Summary based on search results.
    references GoogleCloudDiscoveryengineV1betaReplyReference[]
    References in the reply.
    reply string
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    summary GoogleCloudDiscoveryengineV1betaSearchResponseSummary
    Summary based on search results.
    references Sequence[GoogleCloudDiscoveryengineV1betaReplyReference]
    References in the reply.
    reply str
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    summary GoogleCloudDiscoveryengineV1betaSearchResponseSummary
    Summary based on search results.
    references List<Property Map>
    References in the reply.
    reply String
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    summary Property Map
    Summary based on search results.

    GoogleCloudDiscoveryengineV1betaReplyReference, GoogleCloudDiscoveryengineV1betaReplyReferenceArgs

    AnchorText string
    Anchor text.
    End int
    Anchor text end index.
    Start int
    Anchor text start index.
    Uri string
    URI link reference.
    AnchorText string
    Anchor text.
    End int
    Anchor text end index.
    Start int
    Anchor text start index.
    Uri string
    URI link reference.
    anchorText String
    Anchor text.
    end Integer
    Anchor text end index.
    start Integer
    Anchor text start index.
    uri String
    URI link reference.
    anchorText string
    Anchor text.
    end number
    Anchor text end index.
    start number
    Anchor text start index.
    uri string
    URI link reference.
    anchor_text str
    Anchor text.
    end int
    Anchor text end index.
    start int
    Anchor text start index.
    uri str
    URI link reference.
    anchorText String
    Anchor text.
    end Number
    Anchor text end index.
    start Number
    Anchor text start index.
    uri String
    URI link reference.

    GoogleCloudDiscoveryengineV1betaReplyReferenceResponse, GoogleCloudDiscoveryengineV1betaReplyReferenceResponseArgs

    AnchorText string
    Anchor text.
    End int
    Anchor text end index.
    Start int
    Anchor text start index.
    Uri string
    URI link reference.
    AnchorText string
    Anchor text.
    End int
    Anchor text end index.
    Start int
    Anchor text start index.
    Uri string
    URI link reference.
    anchorText String
    Anchor text.
    end Integer
    Anchor text end index.
    start Integer
    Anchor text start index.
    uri String
    URI link reference.
    anchorText string
    Anchor text.
    end number
    Anchor text end index.
    start number
    Anchor text start index.
    uri string
    URI link reference.
    anchor_text str
    Anchor text.
    end int
    Anchor text end index.
    start int
    Anchor text start index.
    uri str
    URI link reference.
    anchorText String
    Anchor text.
    end Number
    Anchor text end index.
    start Number
    Anchor text start index.
    uri String
    URI link reference.

    GoogleCloudDiscoveryengineV1betaReplyResponse, GoogleCloudDiscoveryengineV1betaReplyResponseArgs

    References List<Pulumi.GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaReplyReferenceResponse>
    References in the reply.
    Reply string
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    Summary Pulumi.GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaSearchResponseSummaryResponse
    Summary based on search results.
    References []GoogleCloudDiscoveryengineV1betaReplyReferenceResponse
    References in the reply.
    Reply string
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    Summary GoogleCloudDiscoveryengineV1betaSearchResponseSummaryResponse
    Summary based on search results.
    references List<GoogleCloudDiscoveryengineV1betaReplyReferenceResponse>
    References in the reply.
    reply String
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    summary GoogleCloudDiscoveryengineV1betaSearchResponseSummaryResponse
    Summary based on search results.
    references GoogleCloudDiscoveryengineV1betaReplyReferenceResponse[]
    References in the reply.
    reply string
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    summary GoogleCloudDiscoveryengineV1betaSearchResponseSummaryResponse
    Summary based on search results.
    references Sequence[GoogleCloudDiscoveryengineV1betaReplyReferenceResponse]
    References in the reply.
    reply str
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    summary GoogleCloudDiscoveryengineV1betaSearchResponseSummaryResponse
    Summary based on search results.
    references List<Property Map>
    References in the reply.
    reply String
    DEPRECATED: use summary instead. Text reply.

    Deprecated: DEPRECATED: use summary instead. Text reply.

    summary Property Map
    Summary based on search results.

    GoogleCloudDiscoveryengineV1betaSearchResponseSummary, GoogleCloudDiscoveryengineV1betaSearchResponseSummaryArgs

    SafetyAttributes Pulumi.GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
    A collection of Safety Attribute categories and their associated confidence scores.
    SummarySkippedReasons List<Pulumi.GoogleNative.DiscoveryEngine.V1Beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem>
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    SummaryText string
    The summary content.
    SafetyAttributes GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
    A collection of Safety Attribute categories and their associated confidence scores.
    SummarySkippedReasons []GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    SummaryText string
    The summary content.
    safetyAttributes GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
    A collection of Safety Attribute categories and their associated confidence scores.
    summarySkippedReasons List<GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem>
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    summaryText String
    The summary content.
    safetyAttributes GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
    A collection of Safety Attribute categories and their associated confidence scores.
    summarySkippedReasons GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem[]
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    summaryText string
    The summary content.
    safety_attributes GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
    A collection of Safety Attribute categories and their associated confidence scores.
    summary_skipped_reasons Sequence[GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem]
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    summary_text str
    The summary content.
    safetyAttributes Property Map
    A collection of Safety Attribute categories and their associated confidence scores.
    summarySkippedReasons List<"SUMMARY_SKIPPED_REASON_UNSPECIFIED" | "ADVERSARIAL_QUERY_IGNORED" | "NON_SUMMARY_SEEKING_QUERY_IGNORED" | "OUT_OF_DOMAIN_QUERY_IGNORED" | "POTENTIAL_POLICY_VIOLATION" | "LLM_ADDON_NOT_ENABLED">
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    summaryText String
    The summary content.

    GoogleCloudDiscoveryengineV1betaSearchResponseSummaryResponse, GoogleCloudDiscoveryengineV1betaSearchResponseSummaryResponseArgs

    SafetyAttributes Pulumi.GoogleNative.DiscoveryEngine.V1Beta.Inputs.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesResponse
    A collection of Safety Attribute categories and their associated confidence scores.
    SummarySkippedReasons List<string>
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    SummaryText string
    The summary content.
    SafetyAttributes GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesResponse
    A collection of Safety Attribute categories and their associated confidence scores.
    SummarySkippedReasons []string
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    SummaryText string
    The summary content.
    safetyAttributes GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesResponse
    A collection of Safety Attribute categories and their associated confidence scores.
    summarySkippedReasons List<String>
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    summaryText String
    The summary content.
    safetyAttributes GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesResponse
    A collection of Safety Attribute categories and their associated confidence scores.
    summarySkippedReasons string[]
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    summaryText string
    The summary content.
    safety_attributes GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesResponse
    A collection of Safety Attribute categories and their associated confidence scores.
    summary_skipped_reasons Sequence[str]
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    summary_text str
    The summary content.
    safetyAttributes Property Map
    A collection of Safety Attribute categories and their associated confidence scores.
    summarySkippedReasons List<String>
    Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
    summaryText String
    The summary content.

    GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes, GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesArgs

    Categories List<string>
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    Scores List<double>
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
    Categories []string
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    Scores []float64
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
    categories List<String>
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    scores List<Double>
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
    categories string[]
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    scores number[]
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
    categories Sequence[str]
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    scores Sequence[float]
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
    categories List<String>
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    scores List<Number>
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.

    GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesResponse, GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributesResponseArgs

    Categories List<string>
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    Scores List<double>
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
    Categories []string
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    Scores []float64
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
    categories List<String>
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    scores List<Double>
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
    categories string[]
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    scores number[]
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
    categories Sequence[str]
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    scores Sequence[float]
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
    categories List<String>
    The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
    scores List<Number>
    The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.

    GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem, GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemArgs

    SummarySkippedReasonUnspecified
    SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
    AdversarialQueryIgnored
    ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to true.
    NonSummarySeekingQueryIgnored
    NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to true.
    OutOfDomainQueryIgnored
    OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
    PotentialPolicyViolation
    POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
    LlmAddonNotEnabled
    LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
    GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemSummarySkippedReasonUnspecified
    SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
    GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemAdversarialQueryIgnored
    ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to true.
    GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemNonSummarySeekingQueryIgnored
    NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to true.
    GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemOutOfDomainQueryIgnored
    OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
    GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemPotentialPolicyViolation
    POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
    GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItemLlmAddonNotEnabled
    LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
    SummarySkippedReasonUnspecified
    SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
    AdversarialQueryIgnored
    ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to true.
    NonSummarySeekingQueryIgnored
    NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to true.
    OutOfDomainQueryIgnored
    OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
    PotentialPolicyViolation
    POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
    LlmAddonNotEnabled
    LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
    SummarySkippedReasonUnspecified
    SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
    AdversarialQueryIgnored
    ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to true.
    NonSummarySeekingQueryIgnored
    NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to true.
    OutOfDomainQueryIgnored
    OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
    PotentialPolicyViolation
    POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
    LlmAddonNotEnabled
    LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
    SUMMARY_SKIPPED_REASON_UNSPECIFIED
    SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
    ADVERSARIAL_QUERY_IGNORED
    ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to true.
    NON_SUMMARY_SEEKING_QUERY_IGNORED
    NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to true.
    OUT_OF_DOMAIN_QUERY_IGNORED
    OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
    POTENTIAL_POLICY_VIOLATION
    POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
    LLM_ADDON_NOT_ENABLED
    LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
    "SUMMARY_SKIPPED_REASON_UNSPECIFIED"
    SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
    "ADVERSARIAL_QUERY_IGNORED"
    ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to true.
    "NON_SUMMARY_SEEKING_QUERY_IGNORED"
    NON_SUMMARY_SEEKING_QUERY_IGNOREDThe non-summary seeking query ignored case. Only populated when SummarySpec.ignore_non_summary_seeking_query is set to true.
    "OUT_OF_DOMAIN_QUERY_IGNORED"
    OUT_OF_DOMAIN_QUERY_IGNOREDThe out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.
    "POTENTIAL_POLICY_VIOLATION"
    POTENTIAL_POLICY_VIOLATIONThe potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.
    "LLM_ADDON_NOT_ENABLED"
    LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.

    GoogleCloudDiscoveryengineV1betaTextInput, GoogleCloudDiscoveryengineV1betaTextInputArgs

    Context GoogleCloudDiscoveryengineV1betaConversationContext
    Conversation context of the input.
    Input string
    Text input.
    context GoogleCloudDiscoveryengineV1betaConversationContext
    Conversation context of the input.
    input String
    Text input.
    context GoogleCloudDiscoveryengineV1betaConversationContext
    Conversation context of the input.
    input string
    Text input.
    context GoogleCloudDiscoveryengineV1betaConversationContext
    Conversation context of the input.
    input str
    Text input.
    context Property Map
    Conversation context of the input.
    input String
    Text input.

    GoogleCloudDiscoveryengineV1betaTextInputResponse, GoogleCloudDiscoveryengineV1betaTextInputResponseArgs

    Context GoogleCloudDiscoveryengineV1betaConversationContextResponse
    Conversation context of the input.
    Input string
    Text input.
    context GoogleCloudDiscoveryengineV1betaConversationContextResponse
    Conversation context of the input.
    input String
    Text input.
    context GoogleCloudDiscoveryengineV1betaConversationContextResponse
    Conversation context of the input.
    input string
    Text input.
    context GoogleCloudDiscoveryengineV1betaConversationContextResponse
    Conversation context of the input.
    input str
    Text input.
    context Property Map
    Conversation context of the input.
    input String
    Text input.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi