Skip to content

Commit 00d79eb

Browse files
Regenerate aiplatform client (#6572)
1 parent cd3d9a2 commit 00d79eb

52 files changed

Lines changed: 2706 additions & 20 deletions

File tree

Some content is hidden

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

src/Aiplatform.php

Lines changed: 292 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;
@@ -150,6 +153,7 @@ class Aiplatform extends \Google\Service
150153
public $projects_locations_tuningJobs;
151154
public $projects_locations_tuningJobs_operations;
152155
public $publishers_models;
156+
public $reasoningEngines;
153157
public $rootUrlTemplate;
154158

155159
/**
@@ -169,6 +173,60 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
169173
$this->version = 'v1';
170174
$this->serviceName = 'aiplatform';
171175

176+
$this->batchPredictionJobs = new Aiplatform\Resource\BatchPredictionJobs(
177+
$this,
178+
$this->serviceName,
179+
'batchPredictionJobs',
180+
[
181+
'methods' => [
182+
'create' => [
183+
'path' => 'v1/batchPredictionJobs',
184+
'httpMethod' => 'POST',
185+
'parameters' => [
186+
'parent' => [
187+
'location' => 'query',
188+
'type' => 'string',
189+
],
190+
],
191+
],'get' => [
192+
'path' => 'v1/{+name}',
193+
'httpMethod' => 'GET',
194+
'parameters' => [
195+
'name' => [
196+
'location' => 'path',
197+
'type' => 'string',
198+
'required' => true,
199+
],
200+
],
201+
],'list' => [
202+
'path' => 'v1/batchPredictionJobs',
203+
'httpMethod' => 'GET',
204+
'parameters' => [
205+
'filter' => [
206+
'location' => 'query',
207+
'type' => 'string',
208+
],
209+
'pageSize' => [
210+
'location' => 'query',
211+
'type' => 'integer',
212+
],
213+
'pageToken' => [
214+
'location' => 'query',
215+
'type' => 'string',
216+
],
217+
'parent' => [
218+
'location' => 'query',
219+
'type' => 'string',
220+
],
221+
'readMask' => [
222+
'location' => 'query',
223+
'type' => 'string',
224+
],
225+
],
226+
],
227+
]
228+
]
229+
);
172230
$this->datasets = new Aiplatform\Resource\Datasets(
173231
$this,
174232
$this->serviceName,
@@ -379,6 +437,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
379437
'required' => true,
380438
],
381439
],
440+
],'fetchPredictOperation' => [
441+
'path' => 'v1/{+endpoint}:fetchPredictOperation',
442+
'httpMethod' => 'POST',
443+
'parameters' => [
444+
'endpoint' => [
445+
'location' => 'path',
446+
'type' => 'string',
447+
'required' => true,
448+
],
449+
],
382450
],'generateContent' => [
383451
'path' => 'v1/{+model}:generateContent',
384452
'httpMethod' => 'POST',
@@ -399,6 +467,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
399467
'required' => true,
400468
],
401469
],
470+
],'predictLongRunning' => [
471+
'path' => 'v1/{+endpoint}:predictLongRunning',
472+
'httpMethod' => 'POST',
473+
'parameters' => [
474+
'endpoint' => [
475+
'location' => 'path',
476+
'type' => 'string',
477+
'required' => true,
478+
],
479+
],
402480
],'streamGenerateContent' => [
403481
'path' => 'v1/{+model}:streamGenerateContent',
404482
'httpMethod' => 'POST',
@@ -413,6 +491,26 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
413491
]
414492
]
415493
);
494+
$this->endpoints_chat = new Aiplatform\Resource\EndpointsChat(
495+
$this,
496+
$this->serviceName,
497+
'chat',
498+
[
499+
'methods' => [
500+
'completions' => [
501+
'path' => 'v1/{+endpoint}/chat/completions',
502+
'httpMethod' => 'POST',
503+
'parameters' => [
504+
'endpoint' => [
505+
'location' => 'path',
506+
'type' => 'string',
507+
'required' => true,
508+
],
509+
],
510+
],
511+
]
512+
]
513+
);
416514
$this->media = new Aiplatform\Resource\Media(
417515
$this,
418516
$this->serviceName,
@@ -7428,6 +7526,82 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
74287526
]
74297527
]
74307528
);
7529+
$this->projects_locations_ragEngineConfig_operations = new Aiplatform\Resource\ProjectsLocationsRagEngineConfigOperations(
7530+
$this,
7531+
$this->serviceName,
7532+
'operations',
7533+
[
7534+
'methods' => [
7535+
'cancel' => [
7536+
'path' => 'v1/{+name}:cancel',
7537+
'httpMethod' => 'POST',
7538+
'parameters' => [
7539+
'name' => [
7540+
'location' => 'path',
7541+
'type' => 'string',
7542+
'required' => true,
7543+
],
7544+
],
7545+
],'delete' => [
7546+
'path' => 'v1/{+name}',
7547+
'httpMethod' => 'DELETE',
7548+
'parameters' => [
7549+
'name' => [
7550+
'location' => 'path',
7551+
'type' => 'string',
7552+
'required' => true,
7553+
],
7554+
],
7555+
],'get' => [
7556+
'path' => 'v1/{+name}',
7557+
'httpMethod' => 'GET',
7558+
'parameters' => [
7559+
'name' => [
7560+
'location' => 'path',
7561+
'type' => 'string',
7562+
'required' => true,
7563+
],
7564+
],
7565+
],'list' => [
7566+
'path' => 'v1/{+name}/operations',
7567+
'httpMethod' => 'GET',
7568+
'parameters' => [
7569+
'name' => [
7570+
'location' => 'path',
7571+
'type' => 'string',
7572+
'required' => true,
7573+
],
7574+
'filter' => [
7575+
'location' => 'query',
7576+
'type' => 'string',
7577+
],
7578+
'pageSize' => [
7579+
'location' => 'query',
7580+
'type' => 'integer',
7581+
],
7582+
'pageToken' => [
7583+
'location' => 'query',
7584+
'type' => 'string',
7585+
],
7586+
],
7587+
],'wait' => [
7588+
'path' => 'v1/{+name}:wait',
7589+
'httpMethod' => 'POST',
7590+
'parameters' => [
7591+
'name' => [
7592+
'location' => 'path',
7593+
'type' => 'string',
7594+
'required' => true,
7595+
],
7596+
'timeout' => [
7597+
'location' => 'query',
7598+
'type' => 'string',
7599+
],
7600+
],
7601+
],
7602+
]
7603+
]
7604+
);
74317605
$this->projects_locations_reasoningEngines = new Aiplatform\Resource\ProjectsLocationsReasoningEngines(
74327606
$this,
74337607
$this->serviceName,
@@ -9356,6 +9530,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
93569530
'required' => true,
93579531
],
93589532
],
9533+
],'fetchPredictOperation' => [
9534+
'path' => 'v1/{+endpoint}:fetchPredictOperation',
9535+
'httpMethod' => 'POST',
9536+
'parameters' => [
9537+
'endpoint' => [
9538+
'location' => 'path',
9539+
'type' => 'string',
9540+
'required' => true,
9541+
],
9542+
],
93599543
],'generateContent' => [
93609544
'path' => 'v1/{+model}:generateContent',
93619545
'httpMethod' => 'POST',
@@ -9402,6 +9586,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
94029586
'required' => true,
94039587
],
94049588
],
9589+
],'predictLongRunning' => [
9590+
'path' => 'v1/{+endpoint}:predictLongRunning',
9591+
'httpMethod' => 'POST',
9592+
'parameters' => [
9593+
'endpoint' => [
9594+
'location' => 'path',
9595+
'type' => 'string',
9596+
'required' => true,
9597+
],
9598+
],
94059599
],'streamGenerateContent' => [
94069600
'path' => 'v1/{+model}:streamGenerateContent',
94079601
'httpMethod' => 'POST',
@@ -9416,6 +9610,104 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
94169610
]
94179611
]
94189612
);
9613+
$this->reasoningEngines = new Aiplatform\Resource\ReasoningEngines(
9614+
$this,
9615+
$this->serviceName,
9616+
'reasoningEngines',
9617+
[
9618+
'methods' => [
9619+
'create' => [
9620+
'path' => 'v1/reasoningEngines',
9621+
'httpMethod' => 'POST',
9622+
'parameters' => [
9623+
'parent' => [
9624+
'location' => 'query',
9625+
'type' => 'string',
9626+
],
9627+
],
9628+
],'delete' => [
9629+
'path' => 'v1/{+name}',
9630+
'httpMethod' => 'DELETE',
9631+
'parameters' => [
9632+
'name' => [
9633+
'location' => 'path',
9634+
'type' => 'string',
9635+
'required' => true,
9636+
],
9637+
'force' => [
9638+
'location' => 'query',
9639+
'type' => 'boolean',
9640+
],
9641+
],
9642+
],'get' => [
9643+
'path' => 'v1/{+name}',
9644+
'httpMethod' => 'GET',
9645+
'parameters' => [
9646+
'name' => [
9647+
'location' => 'path',
9648+
'type' => 'string',
9649+
'required' => true,
9650+
],
9651+
],
9652+
],'list' => [
9653+
'path' => 'v1/reasoningEngines',
9654+
'httpMethod' => 'GET',
9655+
'parameters' => [
9656+
'filter' => [
9657+
'location' => 'query',
9658+
'type' => 'string',
9659+
],
9660+
'pageSize' => [
9661+
'location' => 'query',
9662+
'type' => 'integer',
9663+
],
9664+
'pageToken' => [
9665+
'location' => 'query',
9666+
'type' => 'string',
9667+
],
9668+
'parent' => [
9669+
'location' => 'query',
9670+
'type' => 'string',
9671+
],
9672+
],
9673+
],'patch' => [
9674+
'path' => 'v1/{+name}',
9675+
'httpMethod' => 'PATCH',
9676+
'parameters' => [
9677+
'name' => [
9678+
'location' => 'path',
9679+
'type' => 'string',
9680+
'required' => true,
9681+
],
9682+
'updateMask' => [
9683+
'location' => 'query',
9684+
'type' => 'string',
9685+
],
9686+
],
9687+
],'query' => [
9688+
'path' => 'v1/{+name}:query',
9689+
'httpMethod' => 'POST',
9690+
'parameters' => [
9691+
'name' => [
9692+
'location' => 'path',
9693+
'type' => 'string',
9694+
'required' => true,
9695+
],
9696+
],
9697+
],'streamQuery' => [
9698+
'path' => 'v1/{+name}:streamQuery',
9699+
'httpMethod' => 'POST',
9700+
'parameters' => [
9701+
'name' => [
9702+
'location' => 'path',
9703+
'type' => 'string',
9704+
'required' => true,
9705+
],
9706+
],
9707+
],
9708+
]
9709+
]
9710+
);
94199711
}
94209712
}
94219713

0 commit comments

Comments
 (0)