From c3f139020e619a718395074cd771f232c7bb572e Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Thu, 23 Apr 2026 18:21:33 -0700 Subject: [PATCH] Regenerate developerknowledge client --- src/DeveloperKnowledge.php | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/src/DeveloperKnowledge.php b/src/DeveloperKnowledge.php index 68af79ecd5..9f9e61eec6 100644 --- a/src/DeveloperKnowledge.php +++ b/src/DeveloperKnowledge.php @@ -20,7 +20,7 @@ use Google\Client; /** - * Service definition for DeveloperKnowledge (v1alpha). + * Service definition for DeveloperKnowledge (v1). * *

* The Developer Knowledge API provides access to Google's developer knowledge.

@@ -39,7 +39,6 @@ class DeveloperKnowledge extends \Google\Service "https://www.googleapis.com/auth/cloud-platform"; public $documents; - public $v1alpha; public $rootUrlTemplate; /** @@ -56,7 +55,7 @@ public function __construct($clientOrConfig = [], $rootUrl = null) $this->rootUrlTemplate = $rootUrl ?: 'https://developerknowledge.UNIVERSE_DOMAIN/'; $this->servicePath = ''; $this->batchPath = 'batch'; - $this->version = 'v1alpha'; + $this->version = 'v1'; $this->serviceName = 'developerknowledge'; $this->documents = new DeveloperKnowledge\Resource\Documents( @@ -66,7 +65,7 @@ public function __construct($clientOrConfig = [], $rootUrl = null) [ 'methods' => [ 'batchGet' => [ - 'path' => 'v1alpha/documents:batchGet', + 'path' => 'v1/documents:batchGet', 'httpMethod' => 'GET', 'parameters' => [ 'names' => [ @@ -80,7 +79,7 @@ public function __construct($clientOrConfig = [], $rootUrl = null) ], ], ],'get' => [ - 'path' => 'v1alpha/{+name}', + 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ @@ -94,7 +93,7 @@ public function __construct($clientOrConfig = [], $rootUrl = null) ], ], ],'searchDocumentChunks' => [ - 'path' => 'v1alpha/documents:searchDocumentChunks', + 'path' => 'v1/documents:searchDocumentChunks', 'httpMethod' => 'GET', 'parameters' => [ 'filter' => [ @@ -118,20 +117,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null) ] ] ); - $this->v1alpha = new DeveloperKnowledge\Resource\V1alpha( - $this, - $this->serviceName, - 'v1alpha', - [ - 'methods' => [ - 'answerQuery' => [ - 'path' => 'v1alpha:answerQuery', - 'httpMethod' => 'POST', - 'parameters' => [], - ], - ] - ] - ); } }