diff --git a/samples/V2/AgentsClient/set_agent.php b/samples/V2/AgentsClient/set_agent.php index 6915876..900a1be 100644 --- a/samples/V2/AgentsClient/set_agent.php +++ b/samples/V2/AgentsClient/set_agent.php @@ -56,7 +56,7 @@ function set_agent_sample( // Create a client. $agentsClient = new AgentsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $agent = (new Agent()) ->setParent($formattedAgentParent) ->setDisplayName($agentDisplayName) diff --git a/samples/V2/AnswerRecordsClient/update_answer_record.php b/samples/V2/AnswerRecordsClient/update_answer_record.php index b73dc61..d166584 100644 --- a/samples/V2/AnswerRecordsClient/update_answer_record.php +++ b/samples/V2/AnswerRecordsClient/update_answer_record.php @@ -43,7 +43,7 @@ function update_answer_record_sample(): void // Create a client. $answerRecordsClient = new AnswerRecordsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $answerRecordAnswerFeedback = new AnswerFeedback(); $answerRecord = (new AnswerRecord()) ->setAnswerFeedback($answerRecordAnswerFeedback); diff --git a/samples/V2/ContextsClient/create_context.php b/samples/V2/ContextsClient/create_context.php index dded1c3..3e463e6 100644 --- a/samples/V2/ContextsClient/create_context.php +++ b/samples/V2/ContextsClient/create_context.php @@ -62,7 +62,7 @@ function create_context_sample(string $formattedParent, string $contextName): vo // Create a client. $contextsClient = new ContextsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $context = (new Context()) ->setName($contextName); diff --git a/samples/V2/ContextsClient/update_context.php b/samples/V2/ContextsClient/update_context.php index a27fc4a..8b43f83 100644 --- a/samples/V2/ContextsClient/update_context.php +++ b/samples/V2/ContextsClient/update_context.php @@ -53,7 +53,7 @@ function update_context_sample(string $contextName): void // Create a client. $contextsClient = new ContextsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $context = (new Context()) ->setName($contextName); diff --git a/samples/V2/ConversationDatasetsClient/create_conversation_dataset.php b/samples/V2/ConversationDatasetsClient/create_conversation_dataset.php index 0ada944..c980592 100644 --- a/samples/V2/ConversationDatasetsClient/create_conversation_dataset.php +++ b/samples/V2/ConversationDatasetsClient/create_conversation_dataset.php @@ -52,7 +52,7 @@ function create_conversation_dataset_sample( // Create a client. $conversationDatasetsClient = new ConversationDatasetsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $conversationDataset = (new ConversationDataset()) ->setDisplayName($conversationDatasetDisplayName); diff --git a/samples/V2/ConversationDatasetsClient/import_conversation_data.php b/samples/V2/ConversationDatasetsClient/import_conversation_data.php index 5aa8fd1..e0b8f76 100644 --- a/samples/V2/ConversationDatasetsClient/import_conversation_data.php +++ b/samples/V2/ConversationDatasetsClient/import_conversation_data.php @@ -54,7 +54,7 @@ function import_conversation_data_sample(string $formattedName): void // Create a client. $conversationDatasetsClient = new ConversationDatasetsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $inputConfig = new InputConfig(); // Call the API and handle any network failures. diff --git a/samples/V2/ConversationModelsClient/create_conversation_model.php b/samples/V2/ConversationModelsClient/create_conversation_model.php index 493ac0a..3d47ec9 100644 --- a/samples/V2/ConversationModelsClient/create_conversation_model.php +++ b/samples/V2/ConversationModelsClient/create_conversation_model.php @@ -56,7 +56,7 @@ function create_conversation_model_sample( // Create a client. $conversationModelsClient = new ConversationModelsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $inputDataset = (new InputDataset()) ->setDataset($formattedConversationModelDatasetsDataset); $conversationModelDatasets = [$inputDataset,]; diff --git a/samples/V2/ConversationModelsClient/create_conversation_model_evaluation.php b/samples/V2/ConversationModelsClient/create_conversation_model_evaluation.php index c4d7ee9..cd2daf2 100644 --- a/samples/V2/ConversationModelsClient/create_conversation_model_evaluation.php +++ b/samples/V2/ConversationModelsClient/create_conversation_model_evaluation.php @@ -42,7 +42,7 @@ function create_conversation_model_evaluation_sample(string $formattedParent): v // Create a client. $conversationModelsClient = new ConversationModelsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $conversationModelEvaluation = new ConversationModelEvaluation(); // Call the API and handle any network failures. diff --git a/samples/V2/ConversationProfilesClient/create_conversation_profile.php b/samples/V2/ConversationProfilesClient/create_conversation_profile.php index 54e4f47..b4a7bef 100644 --- a/samples/V2/ConversationProfilesClient/create_conversation_profile.php +++ b/samples/V2/ConversationProfilesClient/create_conversation_profile.php @@ -47,7 +47,7 @@ function create_conversation_profile_sample( // Create a client. $conversationProfilesClient = new ConversationProfilesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $conversationProfile = (new ConversationProfile()) ->setDisplayName($conversationProfileDisplayName); diff --git a/samples/V2/ConversationProfilesClient/set_suggestion_feature_config.php b/samples/V2/ConversationProfilesClient/set_suggestion_feature_config.php index 45c62cb..5fee12f 100644 --- a/samples/V2/ConversationProfilesClient/set_suggestion_feature_config.php +++ b/samples/V2/ConversationProfilesClient/set_suggestion_feature_config.php @@ -64,7 +64,7 @@ function set_suggestion_feature_config_sample( // Create a client. $conversationProfilesClient = new ConversationProfilesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $suggestionFeatureConfig = new SuggestionFeatureConfig(); // Call the API and handle any network failures. diff --git a/samples/V2/ConversationProfilesClient/update_conversation_profile.php b/samples/V2/ConversationProfilesClient/update_conversation_profile.php index 29c8576..476eadc 100644 --- a/samples/V2/ConversationProfilesClient/update_conversation_profile.php +++ b/samples/V2/ConversationProfilesClient/update_conversation_profile.php @@ -43,7 +43,7 @@ function update_conversation_profile_sample(string $conversationProfileDisplayNa // Create a client. $conversationProfilesClient = new ConversationProfilesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $conversationProfile = (new ConversationProfile()) ->setDisplayName($conversationProfileDisplayName); $updateMask = new FieldMask(); diff --git a/samples/V2/ConversationsClient/create_conversation.php b/samples/V2/ConversationsClient/create_conversation.php index 87fe1a9..eeab825 100644 --- a/samples/V2/ConversationsClient/create_conversation.php +++ b/samples/V2/ConversationsClient/create_conversation.php @@ -66,7 +66,7 @@ function create_conversation_sample( // Create a client. $conversationsClient = new ConversationsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $conversation = (new Conversation()) ->setConversationProfile($formattedConversationConversationProfile); diff --git a/samples/V2/DocumentsClient/create_document.php b/samples/V2/DocumentsClient/create_document.php index 3c52f39..d2d5acd 100644 --- a/samples/V2/DocumentsClient/create_document.php +++ b/samples/V2/DocumentsClient/create_document.php @@ -59,7 +59,7 @@ function create_document_sample( // Create a client. $documentsClient = new DocumentsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $documentKnowledgeTypes = [$documentKnowledgeTypesElement,]; $document = (new Document()) ->setDisplayName($documentDisplayName) diff --git a/samples/V2/DocumentsClient/import_documents.php b/samples/V2/DocumentsClient/import_documents.php index 3ecda6d..2cd4190 100644 --- a/samples/V2/DocumentsClient/import_documents.php +++ b/samples/V2/DocumentsClient/import_documents.php @@ -60,7 +60,7 @@ function import_documents_sample( // Create a client. $documentsClient = new DocumentsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $documentTemplateKnowledgeTypes = [$documentTemplateKnowledgeTypesElement,]; $documentTemplate = (new ImportDocumentTemplate()) ->setMimeType($documentTemplateMimeType) diff --git a/samples/V2/DocumentsClient/update_document.php b/samples/V2/DocumentsClient/update_document.php index 8975602..e8eba46 100644 --- a/samples/V2/DocumentsClient/update_document.php +++ b/samples/V2/DocumentsClient/update_document.php @@ -54,7 +54,7 @@ function update_document_sample( // Create a client. $documentsClient = new DocumentsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $documentKnowledgeTypes = [$documentKnowledgeTypesElement,]; $document = (new Document()) ->setDisplayName($documentDisplayName) diff --git a/samples/V2/EntityTypesClient/batch_create_entities.php b/samples/V2/EntityTypesClient/batch_create_entities.php index 1d7e21a..c8f11d2 100644 --- a/samples/V2/EntityTypesClient/batch_create_entities.php +++ b/samples/V2/EntityTypesClient/batch_create_entities.php @@ -76,7 +76,7 @@ function batch_create_entities_sample( // Create a client. $entityTypesClient = new EntityTypesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $entitiesSynonyms = [$entitiesSynonymsElement,]; $entity = (new Entity()) ->setValue($entitiesValue) diff --git a/samples/V2/EntityTypesClient/batch_delete_entities.php b/samples/V2/EntityTypesClient/batch_delete_entities.php index 2d72c8d..ca846f8 100644 --- a/samples/V2/EntityTypesClient/batch_delete_entities.php +++ b/samples/V2/EntityTypesClient/batch_delete_entities.php @@ -56,7 +56,7 @@ function batch_delete_entities_sample(string $formattedParent, string $entityVal // Create a client. $entityTypesClient = new EntityTypesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $entityValues = [$entityValuesElement,]; // Call the API and handle any network failures. diff --git a/samples/V2/EntityTypesClient/batch_delete_entity_types.php b/samples/V2/EntityTypesClient/batch_delete_entity_types.php index 364afce..4dd8be9 100644 --- a/samples/V2/EntityTypesClient/batch_delete_entity_types.php +++ b/samples/V2/EntityTypesClient/batch_delete_entity_types.php @@ -57,7 +57,7 @@ function batch_delete_entity_types_sample( // Create a client. $entityTypesClient = new EntityTypesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $entityTypeNames = [$entityTypeNamesElement,]; // Call the API and handle any network failures. diff --git a/samples/V2/EntityTypesClient/batch_update_entities.php b/samples/V2/EntityTypesClient/batch_update_entities.php index 325d5d1..cb665d3 100644 --- a/samples/V2/EntityTypesClient/batch_update_entities.php +++ b/samples/V2/EntityTypesClient/batch_update_entities.php @@ -79,7 +79,7 @@ function batch_update_entities_sample( // Create a client. $entityTypesClient = new EntityTypesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $entitiesSynonyms = [$entitiesSynonymsElement,]; $entity = (new Entity()) ->setValue($entitiesValue) diff --git a/samples/V2/EntityTypesClient/create_entity_type.php b/samples/V2/EntityTypesClient/create_entity_type.php index 17ca4d9..d2a328c 100644 --- a/samples/V2/EntityTypesClient/create_entity_type.php +++ b/samples/V2/EntityTypesClient/create_entity_type.php @@ -49,7 +49,7 @@ function create_entity_type_sample( // Create a client. $entityTypesClient = new EntityTypesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $entityType = (new EntityType()) ->setDisplayName($entityTypeDisplayName) ->setKind($entityTypeKind); diff --git a/samples/V2/EntityTypesClient/update_entity_type.php b/samples/V2/EntityTypesClient/update_entity_type.php index db12f21..3b12c3c 100644 --- a/samples/V2/EntityTypesClient/update_entity_type.php +++ b/samples/V2/EntityTypesClient/update_entity_type.php @@ -43,7 +43,7 @@ function update_entity_type_sample(string $entityTypeDisplayName, int $entityTyp // Create a client. $entityTypesClient = new EntityTypesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $entityType = (new EntityType()) ->setDisplayName($entityTypeDisplayName) ->setKind($entityTypeKind); diff --git a/samples/V2/EnvironmentsClient/create_environment.php b/samples/V2/EnvironmentsClient/create_environment.php index 8258ee5..ef88cf6 100644 --- a/samples/V2/EnvironmentsClient/create_environment.php +++ b/samples/V2/EnvironmentsClient/create_environment.php @@ -43,7 +43,7 @@ function create_environment_sample(string $formattedParent, string $environmentI // Create a client. $environmentsClient = new EnvironmentsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $environment = new Environment(); // Call the API and handle any network failures. diff --git a/samples/V2/EnvironmentsClient/update_environment.php b/samples/V2/EnvironmentsClient/update_environment.php index 452031a..b9e3d37 100644 --- a/samples/V2/EnvironmentsClient/update_environment.php +++ b/samples/V2/EnvironmentsClient/update_environment.php @@ -53,7 +53,7 @@ function update_environment_sample(): void // Create a client. $environmentsClient = new EnvironmentsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $environment = new Environment(); $updateMask = new FieldMask(); diff --git a/samples/V2/FulfillmentsClient/update_fulfillment.php b/samples/V2/FulfillmentsClient/update_fulfillment.php index d781616..321cb69 100644 --- a/samples/V2/FulfillmentsClient/update_fulfillment.php +++ b/samples/V2/FulfillmentsClient/update_fulfillment.php @@ -44,7 +44,7 @@ function update_fulfillment_sample(string $fulfillmentName): void // Create a client. $fulfillmentsClient = new FulfillmentsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $fulfillment = (new Fulfillment()) ->setName($fulfillmentName); $updateMask = new FieldMask(); diff --git a/samples/V2/IntentsClient/batch_delete_intents.php b/samples/V2/IntentsClient/batch_delete_intents.php index 72fa04f..87faa75 100644 --- a/samples/V2/IntentsClient/batch_delete_intents.php +++ b/samples/V2/IntentsClient/batch_delete_intents.php @@ -55,7 +55,7 @@ function batch_delete_intents_sample(string $formattedParent, string $intentsDis // Create a client. $intentsClient = new IntentsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $intent = (new Intent()) ->setDisplayName($intentsDisplayName); $intents = [$intent,]; diff --git a/samples/V2/IntentsClient/create_intent.php b/samples/V2/IntentsClient/create_intent.php index dd810b1..62e495f 100644 --- a/samples/V2/IntentsClient/create_intent.php +++ b/samples/V2/IntentsClient/create_intent.php @@ -44,7 +44,7 @@ function create_intent_sample(string $formattedParent, string $intentDisplayName // Create a client. $intentsClient = new IntentsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $intent = (new Intent()) ->setDisplayName($intentDisplayName); diff --git a/samples/V2/IntentsClient/update_intent.php b/samples/V2/IntentsClient/update_intent.php index 3ef1890..25c3146 100644 --- a/samples/V2/IntentsClient/update_intent.php +++ b/samples/V2/IntentsClient/update_intent.php @@ -41,7 +41,7 @@ function update_intent_sample(string $intentDisplayName): void // Create a client. $intentsClient = new IntentsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $intent = (new Intent()) ->setDisplayName($intentDisplayName); diff --git a/samples/V2/KnowledgeBasesClient/create_knowledge_base.php b/samples/V2/KnowledgeBasesClient/create_knowledge_base.php index 4895f75..085658d 100644 --- a/samples/V2/KnowledgeBasesClient/create_knowledge_base.php +++ b/samples/V2/KnowledgeBasesClient/create_knowledge_base.php @@ -43,7 +43,7 @@ function create_knowledge_base_sample( // Create a client. $knowledgeBasesClient = new KnowledgeBasesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $knowledgeBase = (new KnowledgeBase()) ->setDisplayName($knowledgeBaseDisplayName); diff --git a/samples/V2/KnowledgeBasesClient/update_knowledge_base.php b/samples/V2/KnowledgeBasesClient/update_knowledge_base.php index b7c6b9f..e56f306 100644 --- a/samples/V2/KnowledgeBasesClient/update_knowledge_base.php +++ b/samples/V2/KnowledgeBasesClient/update_knowledge_base.php @@ -38,7 +38,7 @@ function update_knowledge_base_sample(string $knowledgeBaseDisplayName): void // Create a client. $knowledgeBasesClient = new KnowledgeBasesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $knowledgeBase = (new KnowledgeBase()) ->setDisplayName($knowledgeBaseDisplayName); diff --git a/samples/V2/ParticipantsClient/create_participant.php b/samples/V2/ParticipantsClient/create_participant.php index a747953..c5f57b9 100644 --- a/samples/V2/ParticipantsClient/create_participant.php +++ b/samples/V2/ParticipantsClient/create_participant.php @@ -40,7 +40,7 @@ function create_participant_sample(string $formattedParent): void // Create a client. $participantsClient = new ParticipantsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $participant = new Participant(); // Call the API and handle any network failures. diff --git a/samples/V2/ParticipantsClient/streaming_analyze_content.php b/samples/V2/ParticipantsClient/streaming_analyze_content.php index bd81bc7..2a8ab93 100644 --- a/samples/V2/ParticipantsClient/streaming_analyze_content.php +++ b/samples/V2/ParticipantsClient/streaming_analyze_content.php @@ -56,7 +56,7 @@ function streaming_analyze_content_sample(string $formattedParticipant): void // Create a client. $participantsClient = new ParticipantsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $request = (new StreamingAnalyzeContentRequest()) ->setParticipant($formattedParticipant); diff --git a/samples/V2/ParticipantsClient/update_participant.php b/samples/V2/ParticipantsClient/update_participant.php index c3869dd..99bb475 100644 --- a/samples/V2/ParticipantsClient/update_participant.php +++ b/samples/V2/ParticipantsClient/update_participant.php @@ -42,7 +42,7 @@ function update_participant_sample(): void // Create a client. $participantsClient = new ParticipantsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $participant = new Participant(); $updateMask = new FieldMask(); diff --git a/samples/V2/SessionEntityTypesClient/create_session_entity_type.php b/samples/V2/SessionEntityTypesClient/create_session_entity_type.php index ac9c709..a7caeb8 100644 --- a/samples/V2/SessionEntityTypesClient/create_session_entity_type.php +++ b/samples/V2/SessionEntityTypesClient/create_session_entity_type.php @@ -88,7 +88,7 @@ function create_session_entity_type_sample( // Create a client. $sessionEntityTypesClient = new SessionEntityTypesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $sessionEntityTypeEntitiesSynonyms = [$sessionEntityTypeEntitiesSynonymsElement,]; $entity = (new Entity()) ->setValue($sessionEntityTypeEntitiesValue) diff --git a/samples/V2/SessionEntityTypesClient/update_session_entity_type.php b/samples/V2/SessionEntityTypesClient/update_session_entity_type.php index 33eeb25..c9edf48 100644 --- a/samples/V2/SessionEntityTypesClient/update_session_entity_type.php +++ b/samples/V2/SessionEntityTypesClient/update_session_entity_type.php @@ -77,7 +77,7 @@ function update_session_entity_type_sample( // Create a client. $sessionEntityTypesClient = new SessionEntityTypesClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $sessionEntityTypeEntitiesSynonyms = [$sessionEntityTypeEntitiesSynonymsElement,]; $entity = (new Entity()) ->setValue($sessionEntityTypeEntitiesValue) diff --git a/samples/V2/SessionsClient/detect_intent.php b/samples/V2/SessionsClient/detect_intent.php index 7e99b02..c10c80c 100644 --- a/samples/V2/SessionsClient/detect_intent.php +++ b/samples/V2/SessionsClient/detect_intent.php @@ -69,7 +69,7 @@ function detect_intent_sample(string $formattedSession): void // Create a client. $sessionsClient = new SessionsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $queryInput = new QueryInput(); // Call the API and handle any network failures. diff --git a/samples/V2/SessionsClient/streaming_detect_intent.php b/samples/V2/SessionsClient/streaming_detect_intent.php index 892b933..a53b66d 100644 --- a/samples/V2/SessionsClient/streaming_detect_intent.php +++ b/samples/V2/SessionsClient/streaming_detect_intent.php @@ -70,7 +70,7 @@ function streaming_detect_intent_sample(string $formattedSession): void // Create a client. $sessionsClient = new SessionsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $queryInput = new QueryInput(); $request = (new StreamingDetectIntentRequest()) ->setSession($formattedSession) diff --git a/samples/V2/VersionsClient/create_version.php b/samples/V2/VersionsClient/create_version.php index 53af59f..ba59318 100644 --- a/samples/V2/VersionsClient/create_version.php +++ b/samples/V2/VersionsClient/create_version.php @@ -44,7 +44,7 @@ function create_version_sample(string $formattedParent): void // Create a client. $versionsClient = new VersionsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $version = new Version(); // Call the API and handle any network failures. diff --git a/samples/V2/VersionsClient/update_version.php b/samples/V2/VersionsClient/update_version.php index 44adfd1..0793cc8 100644 --- a/samples/V2/VersionsClient/update_version.php +++ b/samples/V2/VersionsClient/update_version.php @@ -46,7 +46,7 @@ function update_version_sample(): void // Create a client. $versionsClient = new VersionsClient(); - // Prepare the request message. + // Prepare any non-scalar elements to be passed along with the request. $version = new Version(); $updateMask = new FieldMask();