Skip to content

Commit 8073e7f

Browse files
1 parent f3d3b59 commit 8073e7f

1 file changed

Lines changed: 5 additions & 20 deletions

File tree

src/DeveloperKnowledge.php

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
use Google\Client;
2121

2222
/**
23-
* Service definition for DeveloperKnowledge (v1alpha).
23+
* Service definition for DeveloperKnowledge (v1).
2424
*
2525
* <p>
2626
* The Developer Knowledge API provides access to Google's developer knowledge.</p>
@@ -39,7 +39,6 @@ class DeveloperKnowledge extends \Google\Service
3939
"https://www.googleapis.com/auth/cloud-platform";
4040

4141
public $documents;
42-
public $v1alpha;
4342
public $rootUrlTemplate;
4443

4544
/**
@@ -56,7 +55,7 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
5655
$this->rootUrlTemplate = $rootUrl ?: 'https://developerknowledge.UNIVERSE_DOMAIN/';
5756
$this->servicePath = '';
5857
$this->batchPath = 'batch';
59-
$this->version = 'v1alpha';
58+
$this->version = 'v1';
6059
$this->serviceName = 'developerknowledge';
6160

6261
$this->documents = new DeveloperKnowledge\Resource\Documents(
@@ -66,7 +65,7 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
6665
[
6766
'methods' => [
6867
'batchGet' => [
69-
'path' => 'v1alpha/documents:batchGet',
68+
'path' => 'v1/documents:batchGet',
7069
'httpMethod' => 'GET',
7170
'parameters' => [
7271
'names' => [
@@ -80,7 +79,7 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
8079
],
8180
],
8281
],'get' => [
83-
'path' => 'v1alpha/{+name}',
82+
'path' => 'v1/{+name}',
8483
'httpMethod' => 'GET',
8584
'parameters' => [
8685
'name' => [
@@ -94,7 +93,7 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
9493
],
9594
],
9695
],'searchDocumentChunks' => [
97-
'path' => 'v1alpha/documents:searchDocumentChunks',
96+
'path' => 'v1/documents:searchDocumentChunks',
9897
'httpMethod' => 'GET',
9998
'parameters' => [
10099
'filter' => [
@@ -118,20 +117,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
118117
]
119118
]
120119
);
121-
$this->v1alpha = new DeveloperKnowledge\Resource\V1alpha(
122-
$this,
123-
$this->serviceName,
124-
'v1alpha',
125-
[
126-
'methods' => [
127-
'answerQuery' => [
128-
'path' => 'v1alpha:answerQuery',
129-
'httpMethod' => 'POST',
130-
'parameters' => [],
131-
],
132-
]
133-
]
134-
);
135120
}
136121
}
137122

0 commit comments

Comments
 (0)