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/v1alpha.getConversation
Explore with Pulumi AI
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
Gets a Conversation.
Using getConversation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConversation(args: GetConversationArgs, opts?: InvokeOptions): Promise<GetConversationResult>
function getConversationOutput(args: GetConversationOutputArgs, opts?: InvokeOptions): Output<GetConversationResult>
def get_conversation(collection_id: Optional[str] = None,
conversation_id: Optional[str] = None,
data_store_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConversationResult
def get_conversation_output(collection_id: Optional[pulumi.Input[str]] = None,
conversation_id: Optional[pulumi.Input[str]] = None,
data_store_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConversationResult]
func LookupConversation(ctx *Context, args *LookupConversationArgs, opts ...InvokeOption) (*LookupConversationResult, error)
func LookupConversationOutput(ctx *Context, args *LookupConversationOutputArgs, opts ...InvokeOption) LookupConversationResultOutput
> Note: This function is named LookupConversation
in the Go SDK.
public static class GetConversation
{
public static Task<GetConversationResult> InvokeAsync(GetConversationArgs args, InvokeOptions? opts = null)
public static Output<GetConversationResult> Invoke(GetConversationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConversationResult> getConversation(GetConversationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:discoveryengine/v1alpha:getConversation
arguments:
# arguments dictionary
The following arguments are supported:
- Collection
Id string - Conversation
Id string - Data
Store stringId - Location string
- Project string
- Collection
Id string - Conversation
Id string - Data
Store stringId - Location string
- Project string
- collection
Id String - conversation
Id String - data
Store StringId - location String
- project String
- collection
Id string - conversation
Id string - data
Store stringId - location string
- project string
- collection_
id str - conversation_
id str - data_
store_ strid - location str
- project str
- collection
Id String - conversation
Id String - data
Store StringId - location String
- project String
getConversation Result
The following output properties are available:
- End
Time string - The time the conversation finished.
- Messages
List<Pulumi.
Google Native. Discovery Engine. V1Alpha. Outputs. Google Cloud Discoveryengine V1alpha Conversation Message Response> - Conversation messages.
- Name string
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- Start
Time string - The time the conversation started.
- State string
- The state of the Conversation.
- User
Pseudo stringId - A unique identifier for tracking users.
- End
Time string - The time the conversation finished.
- Messages
[]Google
Cloud Discoveryengine V1alpha Conversation Message Response - Conversation messages.
- Name string
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- Start
Time string - The time the conversation started.
- State string
- The state of the Conversation.
- User
Pseudo stringId - A unique identifier for tracking users.
- end
Time String - The time the conversation finished.
- messages
List<Google
Cloud Discoveryengine V1alpha Conversation Message Response> - Conversation messages.
- name String
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- start
Time String - The time the conversation started.
- state String
- The state of the Conversation.
- user
Pseudo StringId - A unique identifier for tracking users.
- end
Time string - The time the conversation finished.
- messages
Google
Cloud Discoveryengine V1alpha Conversation Message Response[] - Conversation messages.
- name string
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- start
Time string - The time the conversation started.
- state string
- The state of the Conversation.
- user
Pseudo stringId - A unique identifier for tracking users.
- end_
time str - The time the conversation finished.
- messages
Sequence[Google
Cloud Discoveryengine V1alpha Conversation Message Response] - Conversation messages.
- name str
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- start_
time str - The time the conversation started.
- state str
- The state of the Conversation.
- user_
pseudo_ strid - A unique identifier for tracking users.
- end
Time String - The time the conversation finished.
- messages List<Property Map>
- Conversation messages.
- name String
- Immutable. Fully qualified name
project/*/locations/global/collections/{collection}/dataStore/*/conversations/*
- start
Time String - The time the conversation started.
- state String
- The state of the Conversation.
- user
Pseudo StringId - A unique identifier for tracking users.
Supporting Types
GoogleCloudDiscoveryengineV1alphaConversationContextResponse
- Active
Document string - The current active document the user opened. It contains the document resource reference.
- Context
Documents List<string> - The current list of documents the user is seeing. It contains the document resource references.
- Active
Document string - The current active document the user opened. It contains the document resource reference.
- Context
Documents []string - The current list of documents the user is seeing. It contains the document resource references.
- active
Document String - The current active document the user opened. It contains the document resource reference.
- context
Documents List<String> - The current list of documents the user is seeing. It contains the document resource references.
- active
Document string - The current active document the user opened. It contains the document resource reference.
- context
Documents 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.
- active
Document String - The current active document the user opened. It contains the document resource reference.
- context
Documents List<String> - The current list of documents the user is seeing. It contains the document resource references.
GoogleCloudDiscoveryengineV1alphaConversationMessageResponse
- Create
Time string - Message creation timestamp.
- Reply
Pulumi.
Google Native. Discovery Engine. V1Alpha. Inputs. Google Cloud Discoveryengine V1alpha Reply Response - Search reply.
- User
Input Pulumi.Google Native. Discovery Engine. V1Alpha. Inputs. Google Cloud Discoveryengine V1alpha Text Input Response - User text input.
- Create
Time string - Message creation timestamp.
- Reply
Google
Cloud Discoveryengine V1alpha Reply Response - Search reply.
- User
Input GoogleCloud Discoveryengine V1alpha Text Input Response - User text input.
- create
Time String - Message creation timestamp.
- reply
Google
Cloud Discoveryengine V1alpha Reply Response - Search reply.
- user
Input GoogleCloud Discoveryengine V1alpha Text Input Response - User text input.
- create
Time string - Message creation timestamp.
- reply
Google
Cloud Discoveryengine V1alpha Reply Response - Search reply.
- user
Input GoogleCloud Discoveryengine V1alpha Text Input Response - User text input.
- create_
time str - Message creation timestamp.
- reply
Google
Cloud Discoveryengine V1alpha Reply Response - Search reply.
- user_
input GoogleCloud Discoveryengine V1alpha Text Input Response - User text input.
- create
Time String - Message creation timestamp.
- reply Property Map
- Search reply.
- user
Input Property Map - User text input.
GoogleCloudDiscoveryengineV1alphaReplyReferenceResponse
- Anchor
Text string - Anchor text.
- End int
- Anchor text end index.
- Start int
- Anchor text start index.
- Uri string
- URI link reference.
- Anchor
Text string - Anchor text.
- End int
- Anchor text end index.
- Start int
- Anchor text start index.
- Uri string
- URI link reference.
- anchor
Text String - Anchor text.
- end Integer
- Anchor text end index.
- start Integer
- Anchor text start index.
- uri String
- URI link reference.
- anchor
Text 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.
- anchor
Text String - Anchor text.
- end Number
- Anchor text end index.
- start Number
- Anchor text start index.
- uri String
- URI link reference.
GoogleCloudDiscoveryengineV1alphaReplyResponse
- References
List<Pulumi.
Google Native. Discovery Engine. V1Alpha. Inputs. Google Cloud Discoveryengine V1alpha Reply Reference Response> - References in the reply.
- Reply string
- DEPRECATED: use
summary
instead. Text reply. - Summary
Pulumi.
Google Native. Discovery Engine. V1Alpha. Inputs. Google Cloud Discoveryengine V1alpha Search Response Summary Response - Summary based on search results.
- References
[]Google
Cloud Discoveryengine V1alpha Reply Reference Response - References in the reply.
- Reply string
- DEPRECATED: use
summary
instead. Text reply. - Summary
Google
Cloud Discoveryengine V1alpha Search Response Summary Response - Summary based on search results.
- references
List<Google
Cloud Discoveryengine V1alpha Reply Reference Response> - References in the reply.
- reply String
- DEPRECATED: use
summary
instead. Text reply. - summary
Google
Cloud Discoveryengine V1alpha Search Response Summary Response - Summary based on search results.
- references
Google
Cloud Discoveryengine V1alpha Reply Reference Response[] - References in the reply.
- reply string
- DEPRECATED: use
summary
instead. Text reply. - summary
Google
Cloud Discoveryengine V1alpha Search Response Summary Response - Summary based on search results.
- references
Sequence[Google
Cloud Discoveryengine V1alpha Reply Reference Response] - References in the reply.
- reply str
- DEPRECATED: use
summary
instead. Text reply. - summary
Google
Cloud Discoveryengine V1alpha Search Response Summary Response - Summary based on search results.
- references List<Property Map>
- References in the reply.
- reply String
- DEPRECATED: use
summary
instead. Text reply. - summary Property Map
- Summary based on search results.
GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryResponse
- Safety
Attributes Pulumi.Google Native. Discovery Engine. V1Alpha. Inputs. Google Cloud Discoveryengine V1alpha Search Response Summary Safety Attributes Response - A collection of Safety Attribute categories and their associated confidence scores.
- Summary
Skipped List<string>Reasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- Summary
Text string - The summary content.
- Safety
Attributes GoogleCloud Discoveryengine V1alpha Search Response Summary Safety Attributes Response - A collection of Safety Attribute categories and their associated confidence scores.
- Summary
Skipped []stringReasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- Summary
Text string - The summary content.
- safety
Attributes GoogleCloud Discoveryengine V1alpha Search Response Summary Safety Attributes Response - A collection of Safety Attribute categories and their associated confidence scores.
- summary
Skipped List<String>Reasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- summary
Text String - The summary content.
- safety
Attributes GoogleCloud Discoveryengine V1alpha Search Response Summary Safety Attributes Response - A collection of Safety Attribute categories and their associated confidence scores.
- summary
Skipped string[]Reasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- summary
Text string - The summary content.
- safety_
attributes GoogleCloud Discoveryengine V1alpha 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.
- safety
Attributes Property Map - A collection of Safety Attribute categories and their associated confidence scores.
- summary
Skipped List<String>Reasons - Additional summary-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.
- summary
Text String - The summary content.
GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySafetyAttributesResponse
- 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.
GoogleCloudDiscoveryengineV1alphaTextInputResponse
- Context
Pulumi.
Google Native. Discovery Engine. V1Alpha. Inputs. Google Cloud Discoveryengine V1alpha Conversation Context Response - Conversation context of the input.
- Input string
- Text input.
- Context
Google
Cloud Discoveryengine V1alpha Conversation Context Response - Conversation context of the input.
- Input string
- Text input.
- context
Google
Cloud Discoveryengine V1alpha Conversation Context Response - Conversation context of the input.
- input String
- Text input.
- context
Google
Cloud Discoveryengine V1alpha Conversation Context Response - Conversation context of the input.
- input string
- Text input.
- context
Google
Cloud Discoveryengine V1alpha 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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi