import * as pulumi from "@pulumi/pulumi"; /** * Creates a new participant in a conversation. */ export declare class ConversationParticipant extends pulumi.CustomResource { /** * Get an existing ConversationParticipant resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ConversationParticipant; /** * Returns true if the given object is an instance of ConversationParticipant. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ConversationParticipant; /** * Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`. */ readonly name: pulumi.Output; /** * Optional. Obfuscated user id that should be associated with the created participant. You can specify a user id as follows: 1. If you set this field in CreateParticipantRequest or UpdateParticipantRequest, Dialogflow adds the obfuscated user id with the participant. 2. If you set this field in AnalyzeContent or StreamingAnalyzeContent, Dialogflow will update Participant.obfuscated_external_user_id. Dialogflow uses this user id for following purposes: 1) Billing and measurement. If user with the same obfuscated_external_user_id is created in a later conversation, dialogflow will know it's the same user. 2) Agent assist suggestion personalization. For example, Dialogflow can use it to provide personalized smart reply suggestions for this user. Note: * Please never pass raw user ids to Dialogflow. Always obfuscate your user id first. * Dialogflow only accepts a UTF-8 encoded string, e.g., a hex digest of a hash function like SHA-512. * The length of the user id must be <= 256 characters. */ readonly obfuscatedExternalUserId: pulumi.Output; /** * Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable. */ readonly role: pulumi.Output; /** * Create a ConversationParticipant resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ConversationParticipantArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ConversationParticipant resource. */ export interface ConversationParticipantArgs { readonly conversationsId: pulumi.Input; readonly locationsId: pulumi.Input; /** * Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`. */ readonly name?: pulumi.Input; /** * Optional. Obfuscated user id that should be associated with the created participant. You can specify a user id as follows: 1. If you set this field in CreateParticipantRequest or UpdateParticipantRequest, Dialogflow adds the obfuscated user id with the participant. 2. If you set this field in AnalyzeContent or StreamingAnalyzeContent, Dialogflow will update Participant.obfuscated_external_user_id. Dialogflow uses this user id for following purposes: 1) Billing and measurement. If user with the same obfuscated_external_user_id is created in a later conversation, dialogflow will know it's the same user. 2) Agent assist suggestion personalization. For example, Dialogflow can use it to provide personalized smart reply suggestions for this user. Note: * Please never pass raw user ids to Dialogflow. Always obfuscate your user id first. * Dialogflow only accepts a UTF-8 encoded string, e.g., a hex digest of a hash function like SHA-512. * The length of the user id must be <= 256 characters. */ readonly obfuscatedExternalUserId?: pulumi.Input; readonly participantsId: pulumi.Input; readonly projectsId: pulumi.Input; /** * Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable. */ readonly role?: pulumi.Input; }