Skip to content

Commit b2f04ec

Browse files
Regenerate aiplatform client
1 parent c9fa9d7 commit b2f04ec

File tree

46 files changed

+2184
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2184
-20
lines changed

src/Aiplatform.php

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ class Aiplatform extends \Google\Service
4242
const CLOUD_PLATFORM_READ_ONLY =
4343
"https://www.googleapis.com/auth/cloud-platform.read-only";
4444

45+
public $batchPredictionJobs;
4546
public $datasets;
4647
public $datasets_datasetVersions;
4748
public $endpoints;
49+
public $endpoints_chat;
4850
public $media;
4951
public $projects;
5052
public $projects_locations;
@@ -127,6 +129,7 @@ class Aiplatform extends \Google\Service
127129
public $projects_locations_ragCorpora_operations;
128130
public $projects_locations_ragCorpora_ragFiles;
129131
public $projects_locations_ragCorpora_ragFiles_operations;
132+
public $projects_locations_ragEngineConfig_operations;
130133
public $projects_locations_reasoningEngines;
131134
public $projects_locations_reasoningEngines_operations;
132135
public $projects_locations_schedules;
@@ -169,6 +172,60 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
169172
$this->version = 'v1';
170173
$this->serviceName = 'aiplatform';
171174

175+
$this->batchPredictionJobs = new Aiplatform\Resource\BatchPredictionJobs(
176+
$this,
177+
$this->serviceName,
178+
'batchPredictionJobs',
179+
[
180+
'methods' => [
181+
'create' => [
182+
'path' => 'v1/batchPredictionJobs',
183+
'httpMethod' => 'POST',
184+
'parameters' => [
185+
'parent' => [
186+
'location' => 'query',
187+
'type' => 'string',
188+
],
189+
],
190+
],'get' => [
191+
'path' => 'v1/{+name}',
192+
'httpMethod' => 'GET',
193+
'parameters' => [
194+
'name' => [
195+
'location' => 'path',
196+
'type' => 'string',
197+
'required' => true,
198+
],
199+
],
200+
],'list' => [
201+
'path' => 'v1/batchPredictionJobs',
202+
'httpMethod' => 'GET',
203+
'parameters' => [
204+
'filter' => [
205+
'location' => 'query',
206+
'type' => 'string',
207+
],
208+
'pageSize' => [
209+
'location' => 'query',
210+
'type' => 'integer',
211+
],
212+
'pageToken' => [
213+
'location' => 'query',
214+
'type' => 'string',
215+
],
216+
'parent' => [
217+
'location' => 'query',
218+
'type' => 'string',
219+
],
220+
'readMask' => [
221+
'location' => 'query',
222+
'type' => 'string',
223+
],
224+
],
225+
],
226+
]
227+
]
228+
);
172229
$this->datasets = new Aiplatform\Resource\Datasets(
173230
$this,
174231
$this->serviceName,
@@ -413,6 +470,26 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
413470
]
414471
]
415472
);
473+
$this->endpoints_chat = new Aiplatform\Resource\EndpointsChat(
474+
$this,
475+
$this->serviceName,
476+
'chat',
477+
[
478+
'methods' => [
479+
'completions' => [
480+
'path' => 'v1/{+endpoint}/chat/completions',
481+
'httpMethod' => 'POST',
482+
'parameters' => [
483+
'endpoint' => [
484+
'location' => 'path',
485+
'type' => 'string',
486+
'required' => true,
487+
],
488+
],
489+
],
490+
]
491+
]
492+
);
416493
$this->media = new Aiplatform\Resource\Media(
417494
$this,
418495
$this->serviceName,
@@ -7428,6 +7505,82 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
74287505
]
74297506
]
74307507
);
7508+
$this->projects_locations_ragEngineConfig_operations = new Aiplatform\Resource\ProjectsLocationsRagEngineConfigOperations(
7509+
$this,
7510+
$this->serviceName,
7511+
'operations',
7512+
[
7513+
'methods' => [
7514+
'cancel' => [
7515+
'path' => 'v1/{+name}:cancel',
7516+
'httpMethod' => 'POST',
7517+
'parameters' => [
7518+
'name' => [
7519+
'location' => 'path',
7520+
'type' => 'string',
7521+
'required' => true,
7522+
],
7523+
],
7524+
],'delete' => [
7525+
'path' => 'v1/{+name}',
7526+
'httpMethod' => 'DELETE',
7527+
'parameters' => [
7528+
'name' => [
7529+
'location' => 'path',
7530+
'type' => 'string',
7531+
'required' => true,
7532+
],
7533+
],
7534+
],'get' => [
7535+
'path' => 'v1/{+name}',
7536+
'httpMethod' => 'GET',
7537+
'parameters' => [
7538+
'name' => [
7539+
'location' => 'path',
7540+
'type' => 'string',
7541+
'required' => true,
7542+
],
7543+
],
7544+
],'list' => [
7545+
'path' => 'v1/{+name}/operations',
7546+
'httpMethod' => 'GET',
7547+
'parameters' => [
7548+
'name' => [
7549+
'location' => 'path',
7550+
'type' => 'string',
7551+
'required' => true,
7552+
],
7553+
'filter' => [
7554+
'location' => 'query',
7555+
'type' => 'string',
7556+
],
7557+
'pageSize' => [
7558+
'location' => 'query',
7559+
'type' => 'integer',
7560+
],
7561+
'pageToken' => [
7562+
'location' => 'query',
7563+
'type' => 'string',
7564+
],
7565+
],
7566+
],'wait' => [
7567+
'path' => 'v1/{+name}:wait',
7568+
'httpMethod' => 'POST',
7569+
'parameters' => [
7570+
'name' => [
7571+
'location' => 'path',
7572+
'type' => 'string',
7573+
'required' => true,
7574+
],
7575+
'timeout' => [
7576+
'location' => 'query',
7577+
'type' => 'string',
7578+
],
7579+
],
7580+
],
7581+
]
7582+
]
7583+
);
74317584
$this->projects_locations_reasoningEngines = new Aiplatform\Resource\ProjectsLocationsReasoningEngines(
74327585
$this,
74337586
$this->serviceName,

src/Aiplatform/GoogleCloudAiplatformV1ApiAuthApiKeyConfig.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ class GoogleCloudAiplatformV1ApiAuthApiKeyConfig extends \Google\Model
2323
* @var string
2424
*/
2525
public $apiKeySecretVersion;
26+
/**
27+
* @var string
28+
*/
29+
public $apiKeyString;
2630

2731
/**
2832
* @param string
@@ -38,6 +42,20 @@ public function getApiKeySecretVersion()
3842
{
3943
return $this->apiKeySecretVersion;
4044
}
45+
/**
46+
* @param string
47+
*/
48+
public function setApiKeyString($apiKeyString)
49+
{
50+
$this->apiKeyString = $apiKeyString;
51+
}
52+
/**
53+
* @return string
54+
*/
55+
public function getApiKeyString()
56+
{
57+
return $this->apiKeyString;
58+
}
4159
}
4260

4361
// Adding a class alias for backwards compatibility with the previous class name.
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Aiplatform;
19+
20+
class GoogleCloudAiplatformV1AuthConfig extends \Google\Model
21+
{
22+
protected $apiKeyConfigType = GoogleCloudAiplatformV1AuthConfigApiKeyConfig::class;
23+
protected $apiKeyConfigDataType = '';
24+
/**
25+
* @var string
26+
*/
27+
public $authType;
28+
protected $googleServiceAccountConfigType = GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig::class;
29+
protected $googleServiceAccountConfigDataType = '';
30+
protected $httpBasicAuthConfigType = GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig::class;
31+
protected $httpBasicAuthConfigDataType = '';
32+
protected $oauthConfigType = GoogleCloudAiplatformV1AuthConfigOauthConfig::class;
33+
protected $oauthConfigDataType = '';
34+
protected $oidcConfigType = GoogleCloudAiplatformV1AuthConfigOidcConfig::class;
35+
protected $oidcConfigDataType = '';
36+
37+
/**
38+
* @param GoogleCloudAiplatformV1AuthConfigApiKeyConfig
39+
*/
40+
public function setApiKeyConfig(GoogleCloudAiplatformV1AuthConfigApiKeyConfig $apiKeyConfig)
41+
{
42+
$this->apiKeyConfig = $apiKeyConfig;
43+
}
44+
/**
45+
* @return GoogleCloudAiplatformV1AuthConfigApiKeyConfig
46+
*/
47+
public function getApiKeyConfig()
48+
{
49+
return $this->apiKeyConfig;
50+
}
51+
/**
52+
* @param string
53+
*/
54+
public function setAuthType($authType)
55+
{
56+
$this->authType = $authType;
57+
}
58+
/**
59+
* @return string
60+
*/
61+
public function getAuthType()
62+
{
63+
return $this->authType;
64+
}
65+
/**
66+
* @param GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig
67+
*/
68+
public function setGoogleServiceAccountConfig(GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig $googleServiceAccountConfig)
69+
{
70+
$this->googleServiceAccountConfig = $googleServiceAccountConfig;
71+
}
72+
/**
73+
* @return GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig
74+
*/
75+
public function getGoogleServiceAccountConfig()
76+
{
77+
return $this->googleServiceAccountConfig;
78+
}
79+
/**
80+
* @param GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig
81+
*/
82+
public function setHttpBasicAuthConfig(GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig $httpBasicAuthConfig)
83+
{
84+
$this->httpBasicAuthConfig = $httpBasicAuthConfig;
85+
}
86+
/**
87+
* @return GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig
88+
*/
89+
public function getHttpBasicAuthConfig()
90+
{
91+
return $this->httpBasicAuthConfig;
92+
}
93+
/**
94+
* @param GoogleCloudAiplatformV1AuthConfigOauthConfig
95+
*/
96+
public function setOauthConfig(GoogleCloudAiplatformV1AuthConfigOauthConfig $oauthConfig)
97+
{
98+
$this->oauthConfig = $oauthConfig;
99+
}
100+
/**
101+
* @return GoogleCloudAiplatformV1AuthConfigOauthConfig
102+
*/
103+
public function getOauthConfig()
104+
{
105+
return $this->oauthConfig;
106+
}
107+
/**
108+
* @param GoogleCloudAiplatformV1AuthConfigOidcConfig
109+
*/
110+
public function setOidcConfig(GoogleCloudAiplatformV1AuthConfigOidcConfig $oidcConfig)
111+
{
112+
$this->oidcConfig = $oidcConfig;
113+
}
114+
/**
115+
* @return GoogleCloudAiplatformV1AuthConfigOidcConfig
116+
*/
117+
public function getOidcConfig()
118+
{
119+
return $this->oidcConfig;
120+
}
121+
}
122+
123+
// Adding a class alias for backwards compatibility with the previous class name.
124+
class_alias(GoogleCloudAiplatformV1AuthConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AuthConfig');

0 commit comments

Comments
 (0)