/// <summary>Snippet for AnalyzeContent</summary>
 public void AnalyzeContent2ResourceNames()
 {
     // Snippet: AnalyzeContent(ParticipantName, EventInput, CallSettings)
     // Create client
     ParticipantsClient participantsClient = ParticipantsClient.Create();
     // Initialize request argument(s)
     ParticipantName participant = ParticipantName.FromProjectConversationParticipant("[PROJECT]", "[CONVERSATION]", "[PARTICIPANT]");
     EventInput      eventInput  = new EventInput();
     // Make the request
     AnalyzeContentResponse response = participantsClient.AnalyzeContent(participant, eventInput);
     // End snippet
 }
 /// <summary>Snippet for AnalyzeContent</summary>
 public void AnalyzeContent2()
 {
     // Snippet: AnalyzeContent(string, EventInput, CallSettings)
     // Create client
     ParticipantsClient participantsClient = ParticipantsClient.Create();
     // Initialize request argument(s)
     string     participant = "projects/[PROJECT]/conversations/[CONVERSATION]/participants/[PARTICIPANT]";
     EventInput eventInput  = new EventInput();
     // Make the request
     AnalyzeContentResponse response = participantsClient.AnalyzeContent(participant, eventInput);
     // End snippet
 }
        /// <summary>Snippet for AnalyzeContentAsync</summary>
        public async Task AnalyzeContent2ResourceNamesAsync()
        {
            // Snippet: AnalyzeContentAsync(ParticipantName, EventInput, CallSettings)
            // Additional: AnalyzeContentAsync(ParticipantName, EventInput, CancellationToken)
            // Create client
            ParticipantsClient participantsClient = await ParticipantsClient.CreateAsync();

            // Initialize request argument(s)
            ParticipantName participant = ParticipantName.FromProjectConversationParticipant("[PROJECT]", "[CONVERSATION]", "[PARTICIPANT]");
            EventInput      eventInput  = new EventInput();
            // Make the request
            AnalyzeContentResponse response = await participantsClient.AnalyzeContentAsync(participant, eventInput);

            // End snippet
        }
        /// <summary>Snippet for AnalyzeContentAsync</summary>
        public async Task AnalyzeContent2Async()
        {
            // Snippet: AnalyzeContentAsync(string, EventInput, CallSettings)
            // Additional: AnalyzeContentAsync(string, EventInput, CancellationToken)
            // Create client
            ParticipantsClient participantsClient = await ParticipantsClient.CreateAsync();

            // Initialize request argument(s)
            string     participant = "projects/[PROJECT]/conversations/[CONVERSATION]/participants/[PARTICIPANT]";
            EventInput eventInput  = new EventInput();
            // Make the request
            AnalyzeContentResponse response = await participantsClient.AnalyzeContentAsync(participant, eventInput);

            // End snippet
        }
 /// <summary>Snippet for AnalyzeContent</summary>
 public void AnalyzeContentRequestObject()
 {
     // Snippet: AnalyzeContent(AnalyzeContentRequest, CallSettings)
     // Create client
     ParticipantsClient participantsClient = ParticipantsClient.Create();
     // Initialize request argument(s)
     AnalyzeContentRequest request = new AnalyzeContentRequest
     {
         ParticipantAsParticipantName = ParticipantName.FromProjectConversationParticipant("[PROJECT]", "[CONVERSATION]", "[PARTICIPANT]"),
         ReplyAudioConfig             = new OutputAudioConfig(),
         TextInput   = new TextInput(),
         QueryParams = new QueryParameters(),
         RequestId   = "",
     };
     // Make the request
     AnalyzeContentResponse response = participantsClient.AnalyzeContent(request);
     // End snippet
 }