Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Nov 11, 2024
1 parent 8849adc commit 28746be
Show file tree
Hide file tree
Showing 720 changed files with 479 additions and 145,204 deletions.
Binary file modified Dialogflow/metadata/V2/Conversation.php
Binary file not shown.
64 changes: 64 additions & 0 deletions Dialogflow/src/V2/Client/ConversationsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,27 @@ public static function conversationProfileName(string $project, string $conversa
]);
}

/**
* Formats a string containing the fully-qualified path to represent a data_store
* resource.
*
* @param string $project
* @param string $location
* @param string $collection
* @param string $dataStore
*
* @return string The formatted data_store resource.
*/
public static function dataStoreName(string $project, string $location, string $collection, string $dataStore): string
{
return self::getPathTemplate('dataStore')->render([
'project' => $project,
'location' => $location,
'collection' => $collection,
'data_store' => $dataStore,
]);
}

/**
* Formats a string containing the fully-qualified path to represent a document
* resource.
Expand Down Expand Up @@ -475,6 +496,27 @@ public static function projectLocationAgentName(string $project, string $locatio
]);
}

/**
* Formats a string containing the fully-qualified path to represent a
* project_location_collection_data_store resource.
*
* @param string $project
* @param string $location
* @param string $collection
* @param string $dataStore
*
* @return string The formatted project_location_collection_data_store resource.
*/
public static function projectLocationCollectionDataStoreName(string $project, string $location, string $collection, string $dataStore): string
{
return self::getPathTemplate('projectLocationCollectionDataStore')->render([
'project' => $project,
'location' => $location,
'collection' => $collection,
'data_store' => $dataStore,
]);
}

/**
* Formats a string containing the fully-qualified path to represent a
* project_location_conversation resource.
Expand Down Expand Up @@ -553,6 +595,25 @@ public static function projectLocationConversationProfileName(string $project, s
]);
}

/**
* Formats a string containing the fully-qualified path to represent a
* project_location_data_store resource.
*
* @param string $project
* @param string $location
* @param string $dataStore
*
* @return string The formatted project_location_data_store resource.
*/
public static function projectLocationDataStoreName(string $project, string $location, string $dataStore): string
{
return self::getPathTemplate('projectLocationDataStore')->render([
'project' => $project,
'location' => $location,
'data_store' => $dataStore,
]);
}

/**
* Formats a string containing the fully-qualified path to represent a
* project_location_knowledge_base resource.
Expand Down Expand Up @@ -602,6 +663,7 @@ public static function projectLocationKnowledgeBaseDocumentName(string $project,
* - conversation: projects/{project}/conversations/{conversation}
* - conversationModel: projects/{project}/locations/{location}/conversationModels/{conversation_model}
* - conversationProfile: projects/{project}/conversationProfiles/{conversation_profile}
* - dataStore: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
* - document: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
* - generator: projects/{project}/locations/{location}/generators/{generator}
* - knowledgeBase: projects/{project}/knowledgeBases/{knowledge_base}
Expand All @@ -617,10 +679,12 @@ public static function projectLocationKnowledgeBaseDocumentName(string $project,
* - projectKnowledgeBase: projects/{project}/knowledgeBases/{knowledge_base}
* - projectKnowledgeBaseDocument: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
* - projectLocationAgent: projects/{project}/locations/{location}/agent
* - projectLocationCollectionDataStore: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
* - projectLocationConversation: projects/{project}/locations/{location}/conversations/{conversation}
* - projectLocationConversationMessage: projects/{project}/locations/{location}/conversations/{conversation}/messages/{message}
* - projectLocationConversationModel: projects/{project}/locations/{location}/conversationModels/{conversation_model}
* - projectLocationConversationProfile: projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}
* - projectLocationDataStore: projects/{project}/locations/{location}/dataStores/{data_store}
* - projectLocationKnowledgeBase: projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}
* - projectLocationKnowledgeBaseDocument: projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}/documents/{document}
*
Expand Down
16 changes: 8 additions & 8 deletions Dialogflow/src/V2/CreateConversationRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Dialogflow/src/V2/FewShotExample.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 28746be

Please sign in to comment.