Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.discoveryengine/v1beta.Conversation
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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=[{
        "reply": {
            "references": [{
                "anchor_text": "string",
                "end": 0,
                "start": 0,
                "uri": "string",
            }],
            "summary": {
                "safety_attributes": {
                    "categories": ["string"],
                    "scores": [0],
                },
                "summary_skipped_reasons": [google_native.discoveryengine.v1beta.GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummarySkippedReasonsItem.SUMMARY_SKIPPED_REASON_UNSPECIFIED],
                "summary_text": "string",
            },
        },
        "user_input": {
            "context": {
                "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Conversation resource accepts the following input properties:
- CollectionId string
- DataStore stringId 
- Location string
- Messages
List<Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Conversation Message> 
- Conversation messages.
- Name string
- Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- Project string
- State
Pulumi.Google Native. Discovery Engine. V1Beta. Conversation State 
- The state of the Conversation.
- UserPseudo stringId 
- A unique identifier for tracking users.
- CollectionId string
- DataStore stringId 
- Location string
- Messages
[]GoogleCloud Discoveryengine V1beta Conversation Message Args 
- Conversation messages.
- Name string
- Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- Project string
- State
ConversationState Enum 
- The state of the Conversation.
- UserPseudo stringId 
- A unique identifier for tracking users.
- collectionId String
- dataStore StringId 
- location String
- messages
List<GoogleCloud Discoveryengine V1beta Conversation Message> 
- Conversation messages.
- name String
- Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- project String
- state
ConversationState 
- The state of the Conversation.
- userPseudo StringId 
- A unique identifier for tracking users.
- collectionId string
- dataStore stringId 
- location string
- messages
GoogleCloud Discoveryengine V1beta Conversation Message[] 
- Conversation messages.
- name string
- Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- project string
- state
ConversationState 
- The state of the Conversation.
- userPseudo stringId 
- A unique identifier for tracking users.
- collection_id str
- data_store_ strid 
- location str
- messages
Sequence[GoogleCloud Discoveryengine V1beta Conversation Message Args] 
- 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_ strid 
- A unique identifier for tracking users.
- collectionId String
- dataStore StringId 
- 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.
- userPseudo StringId 
- 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:
- 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.
Supporting Types
ConversationState, ConversationStateArgs    
- StateUnspecified 
- STATE_UNSPECIFIEDUnknown.
- InProgress 
- IN_PROGRESSConversation is currently open.
- Completed
- COMPLETEDConversation has been completed.
- ConversationState State Unspecified 
- STATE_UNSPECIFIEDUnknown.
- ConversationState In Progress 
- IN_PROGRESSConversation is currently open.
- ConversationState Completed 
- 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
GoogleCloud Discoveryengine V1beta Reply 
- Search reply.
- UserInput GoogleCloud Discoveryengine V1beta Text Input 
- User text input.
- reply
GoogleCloud Discoveryengine V1beta Reply 
- Search reply.
- userInput GoogleCloud Discoveryengine V1beta Text Input 
- User text input.
- reply
GoogleCloud Discoveryengine V1beta Reply 
- Search reply.
- userInput GoogleCloud Discoveryengine V1beta Text Input 
- User text input.
- reply
GoogleCloud Discoveryengine V1beta Reply 
- Search reply.
- user_input GoogleCloud Discoveryengine V1beta Text Input 
- User text input.
- reply Property Map
- Search reply.
- userInput Property Map
- User text input.
GoogleCloudDiscoveryengineV1betaConversationMessageResponse, GoogleCloudDiscoveryengineV1betaConversationMessageResponseArgs              
- CreateTime string
- Message creation timestamp.
- Reply
Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Reply Response 
- Search reply.
- UserInput Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Text Input Response 
- User text input.
- CreateTime string
- Message creation timestamp.
- Reply
GoogleCloud Discoveryengine V1beta Reply Response 
- Search reply.
- UserInput GoogleCloud Discoveryengine V1beta Text Input Response 
- User text input.
- createTime String
- Message creation timestamp.
- reply
GoogleCloud Discoveryengine V1beta Reply Response 
- Search reply.
- userInput GoogleCloud Discoveryengine V1beta Text Input Response 
- User text input.
- createTime string
- Message creation timestamp.
- reply
GoogleCloud Discoveryengine V1beta Reply Response 
- Search reply.
- userInput GoogleCloud Discoveryengine V1beta Text Input Response 
- User text input.
- create_time str
- Message creation timestamp.
- reply
GoogleCloud Discoveryengine V1beta Reply Response 
- Search reply.
- user_input GoogleCloud Discoveryengine V1beta Text Input Response 
- User text input.
- createTime String
- Message creation timestamp.
- reply Property Map
- Search reply.
- userInput Property Map
- User text input.
GoogleCloudDiscoveryengineV1betaReply, GoogleCloudDiscoveryengineV1betaReplyArgs          
- References
List<Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Reply Reference> 
- References in the reply.
- Reply string
- DEPRECATED: use summaryinstead. Text reply.
- Summary
Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Search Response Summary 
- Summary based on search results.
- References
[]GoogleCloud Discoveryengine V1beta Reply Reference 
- References in the reply.
- Reply string
- DEPRECATED: use summaryinstead. Text reply.
- Summary
GoogleCloud Discoveryengine V1beta Search Response Summary 
- Summary based on search results.
- references
List<GoogleCloud Discoveryengine V1beta Reply Reference> 
- References in the reply.
- reply String
- DEPRECATED: use summaryinstead. Text reply.
- summary
GoogleCloud Discoveryengine V1beta Search Response Summary 
- Summary based on search results.
- references
GoogleCloud Discoveryengine V1beta Reply Reference[] 
- References in the reply.
- reply string
- DEPRECATED: use summaryinstead. Text reply.
- summary
GoogleCloud Discoveryengine V1beta Search Response Summary 
- Summary based on search results.
- references
Sequence[GoogleCloud Discoveryengine V1beta Reply Reference] 
- References in the reply.
- reply str
- DEPRECATED: use summaryinstead. Text reply.
- summary
GoogleCloud Discoveryengine V1beta Search Response Summary 
- Summary based on search results.
- references List<Property Map>
- References in the reply.
- reply String
- DEPRECATED: use summaryinstead. 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.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Reply Reference Response> 
- References in the reply.
- Reply string
- DEPRECATED: use summaryinstead. Text reply.
- Summary
Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Search Response Summary Response 
- Summary based on search results.
- References
[]GoogleCloud Discoveryengine V1beta Reply Reference Response 
- References in the reply.
- Reply string
- DEPRECATED: use summaryinstead. Text reply.
- Summary
GoogleCloud Discoveryengine V1beta Search Response Summary Response 
- Summary based on search results.
- references
List<GoogleCloud Discoveryengine V1beta Reply Reference Response> 
- References in the reply.
- reply String
- DEPRECATED: use summaryinstead. Text reply.
- summary
GoogleCloud Discoveryengine V1beta Search Response Summary Response 
- Summary based on search results.
- references
GoogleCloud Discoveryengine V1beta Reply Reference Response[] 
- References in the reply.
- reply string
- DEPRECATED: use summaryinstead. Text reply.
- summary
GoogleCloud Discoveryengine V1beta Search Response Summary Response 
- Summary based on search results.
- references
Sequence[GoogleCloud Discoveryengine V1beta Reply Reference Response] 
- References in the reply.
- reply str
- DEPRECATED: use summaryinstead. Text reply.
- summary
GoogleCloud Discoveryengine V1beta Search Response Summary Response 
- Summary based on search results.
- references List<Property Map>
- References in the reply.
- reply String
- DEPRECATED: use summaryinstead. Text reply.
- summary Property Map
- Summary based on search results.
GoogleCloudDiscoveryengineV1betaSearchResponseSummary, GoogleCloudDiscoveryengineV1betaSearchResponseSummaryArgs              
- SafetyAttributes Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Search Response Summary Safety Attributes 
- A collection of Safety Attribute categories and their associated confidence scores.
- SummarySkipped List<Pulumi.Reasons Google Native. Discovery Engine. V1Beta. Google Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item> 
- 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 GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes 
- A collection of Safety Attribute categories and their associated confidence scores.
- SummarySkipped []GoogleReasons Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item 
- 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 GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes 
- A collection of Safety Attribute categories and their associated confidence scores.
- summarySkipped List<GoogleReasons Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item> 
- 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 GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes 
- A collection of Safety Attribute categories and their associated confidence scores.
- summarySkipped GoogleReasons Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item[] 
- 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 GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes 
- A collection of Safety Attribute categories and their associated confidence scores.
- summary_skipped_ Sequence[Googlereasons Cloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item] 
- 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.
- summarySkipped 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">Reasons 
- 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.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Search Response Summary Safety Attributes Response 
- A collection of Safety Attribute categories and their associated confidence scores.
- SummarySkipped List<string>Reasons 
- 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 GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes Response 
- A collection of Safety Attribute categories and their associated confidence scores.
- SummarySkipped []stringReasons 
- 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 GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes Response 
- A collection of Safety Attribute categories and their associated confidence scores.
- summarySkipped List<String>Reasons 
- 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 GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes Response 
- A collection of Safety Attribute categories and their associated confidence scores.
- summarySkipped string[]Reasons 
- 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 GoogleCloud Discoveryengine V1beta Search Response Summary Safety Attributes Response 
- A collection of Safety Attribute categories and their associated confidence scores.
- summary_skipped_ Sequence[str]reasons 
- 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.
- summarySkipped List<String>Reasons 
- 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                      
- SummarySkipped Reason Unspecified 
- SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
- AdversarialQuery Ignored 
- ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to true.
- NonSummary 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.
- OutOf 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.
- PotentialPolicy 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.
- LlmAddon Not Enabled 
- LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
- GoogleCloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item Summary Skipped Reason Unspecified 
- SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
- GoogleCloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item Adversarial Query Ignored 
- ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to true.
- GoogleCloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item 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.
- GoogleCloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item 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.
- GoogleCloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item 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.
- GoogleCloud Discoveryengine V1beta Search Response Summary Summary Skipped Reasons Item Llm Addon Not Enabled 
- LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
- SummarySkipped Reason Unspecified 
- SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
- AdversarialQuery Ignored 
- ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to true.
- NonSummary 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.
- OutOf 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.
- PotentialPolicy 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.
- LlmAddon Not Enabled 
- LLM_ADDON_NOT_ENABLEDThe LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.
- SummarySkipped Reason Unspecified 
- SUMMARY_SKIPPED_REASON_UNSPECIFIEDDefault value. The summary skipped reason is not specified.
- AdversarialQuery Ignored 
- ADVERSARIAL_QUERY_IGNOREDThe adversarial query ignored case. Only populated when SummarySpec.ignore_adversarial_query is set to true.
- NonSummary 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.
- OutOf 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.
- PotentialPolicy 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.
- LlmAddon 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.
- "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
Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Conversation Context 
- Conversation context of the input.
- Input string
- Text input.
- Context
GoogleCloud Discoveryengine V1beta Conversation Context 
- Conversation context of the input.
- Input string
- Text input.
- context
GoogleCloud Discoveryengine V1beta Conversation Context 
- Conversation context of the input.
- input String
- Text input.
- context
GoogleCloud Discoveryengine V1beta Conversation Context 
- Conversation context of the input.
- input string
- Text input.
- context
GoogleCloud Discoveryengine V1beta Conversation Context 
- Conversation context of the input.
- input str
- Text input.
- context Property Map
- Conversation context of the input.
- input String
- Text input.
GoogleCloudDiscoveryengineV1betaTextInputResponse, GoogleCloudDiscoveryengineV1betaTextInputResponseArgs              
- Context
Pulumi.Google Native. Discovery Engine. V1Beta. Inputs. Google Cloud Discoveryengine V1beta Conversation Context Response 
- Conversation context of the input.
- Input string
- Text input.
- Context
GoogleCloud Discoveryengine V1beta Conversation Context Response 
- Conversation context of the input.
- Input string
- Text input.
- context
GoogleCloud Discoveryengine V1beta Conversation Context Response 
- Conversation context of the input.
- input String
- Text input.
- context
GoogleCloud Discoveryengine V1beta Conversation Context Response 
- Conversation context of the input.
- input string
- Text input.
- context
GoogleCloud Discoveryengine V1beta Conversation Context Response 
- 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 Cloud Native is in preview. Google Cloud Classic is fully supported.