Skip to content

Commit a3f5350

Browse files
1 parent f37604f commit a3f5350

7 files changed

Lines changed: 103 additions & 28 deletions

src/Aiplatform.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10965,6 +10965,20 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
1096510965
'required' => true,
1096610966
],
1096710967
],
10968+
],'cancelAsyncQuery' => [
10969+
'path' => 'v1/{+name}:cancelAsyncQuery',
10970+
'httpMethod' => 'POST',
10971+
'parameters' => [
10972+
'name' => [
10973+
'location' => 'path',
10974+
'type' => 'string',
10975+
'required' => true,
10976+
],
10977+
'operationName' => [
10978+
'location' => 'query',
10979+
'type' => 'string',
10980+
],
10981+
],
1096810982
],'create' => [
1096910983
'path' => 'v1/{+parent}/reasoningEngines',
1097010984
'httpMethod' => 'POST',
@@ -14240,6 +14254,20 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
1424014254
'required' => true,
1424114255
],
1424214256
],
14257+
],'cancelAsyncQuery' => [
14258+
'path' => 'v1/{+name}:cancelAsyncQuery',
14259+
'httpMethod' => 'POST',
14260+
'parameters' => [
14261+
'name' => [
14262+
'location' => 'path',
14263+
'type' => 'string',
14264+
'required' => true,
14265+
],
14266+
'operationName' => [
14267+
'location' => 'query',
14268+
'type' => 'string',
14269+
],
14270+
],
1424314271
],'create' => [
1424414272
'path' => 'v1/reasoningEngines',
1424514273
'httpMethod' => 'POST',
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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 GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse extends \Google\Model
21+
{
22+
}
23+
24+
// Adding a class alias for backwards compatibility with the previous class name.
25+
class_alias(GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse');

src/Aiplatform/GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec extends \Google\Mode
3232
*/
3333
public $pickleObjectGcsUri;
3434
/**
35-
* Optional. The Python version. Supported values are 3.9, 3.10, 3.11, 3.12,
36-
* 3.13, 3.14. If not specified, the default value is 3.10.
35+
* Optional. The Python version. Supported values are 3.10, 3.11, 3.12, 3.13,
36+
* 3.14. If not specified, the default value is 3.10.
3737
*
3838
* @var string
3939
*/
@@ -78,8 +78,8 @@ public function getPickleObjectGcsUri()
7878
return $this->pickleObjectGcsUri;
7979
}
8080
/**
81-
* Optional. The Python version. Supported values are 3.9, 3.10, 3.11, 3.12,
82-
* 3.13, 3.14. If not specified, the default value is 3.10.
81+
* Optional. The Python version. Supported values are 3.10, 3.11, 3.12, 3.13,
82+
* 3.14. If not specified, the default value is 3.10.
8383
*
8484
* @param string $pythonVersion
8585
*/

src/Aiplatform/GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec extends
4545
*/
4646
public $requirementsFile;
4747
/**
48-
* Optional. The version of Python to use. Support version includes 3.9, 3.10,
48+
* Optional. The version of Python to use. Supported versions include 3.10,
4949
* 3.11, 3.12, 3.13, 3.14. If not specified, default value is 3.10.
5050
*
5151
* @var string
@@ -108,7 +108,7 @@ public function getRequirementsFile()
108108
return $this->requirementsFile;
109109
}
110110
/**
111-
* Optional. The version of Python to use. Support version includes 3.9, 3.10,
111+
* Optional. The version of Python to use. Supported versions include 3.10,
112112
* 3.11, 3.12, 3.13, 3.14. If not specified, default value is 3.10.
113113
*
114114
* @param string $version

src/Aiplatform/GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ class GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo extends \Google\Mo
3737
* @var string
3838
*/
3939
public $routingToken;
40-
/**
41-
* Output only. The hostname of the SandboxEnvironment.
42-
*
43-
* @var string
44-
*/
45-
public $sandboxHostname;
4640
/**
4741
* Output only. The internal IP address of the SandboxEnvironment.
4842
*
@@ -98,22 +92,6 @@ public function getRoutingToken()
9892
{
9993
return $this->routingToken;
10094
}
101-
/**
102-
* Output only. The hostname of the SandboxEnvironment.
103-
*
104-
* @param string $sandboxHostname
105-
*/
106-
public function setSandboxHostname($sandboxHostname)
107-
{
108-
$this->sandboxHostname = $sandboxHostname;
109-
}
110-
/**
111-
* @return string
112-
*/
113-
public function getSandboxHostname()
114-
{
115-
return $this->sandboxHostname;
116-
}
11795
/**
11896
* Output only. The internal IP address of the SandboxEnvironment.
11997
*

src/Aiplatform/Resource/ProjectsLocationsReasoningEngines.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
use Google\Service\Aiplatform\GoogleApiHttpBody;
2121
use Google\Service\Aiplatform\GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest;
22+
use Google\Service\Aiplatform\GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse;
2223
use Google\Service\Aiplatform\GoogleCloudAiplatformV1ExecuteCodeRequest;
2324
use Google\Service\Aiplatform\GoogleCloudAiplatformV1ExecuteCodeResponse;
2425
use Google\Service\Aiplatform\GoogleCloudAiplatformV1ListReasoningEnginesResponse;
@@ -58,6 +59,27 @@ public function asyncQuery($name, GoogleCloudAiplatformV1AsyncQueryReasoningEngi
5859
$params = array_merge($params, $optParams);
5960
return $this->call('asyncQuery', [$params], GoogleLongrunningOperation::class);
6061
}
62+
/**
63+
* Cancels an AsyncQueryReasoningEngine operation.
64+
* (reasoningEngines.cancelAsyncQuery)
65+
*
66+
* @param string $name Required. The name of the ReasoningEngine resource to
67+
* use. Format:
68+
* `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
69+
* @param array $optParams Optional parameters.
70+
*
71+
* @opt_param string operationName Required. The name of the longrunning
72+
* operation returned from AsyncQueryReasoningEngine. Format:
73+
* `projects/{project}/locations/{location}/operations/{operation}`
74+
* @return GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
75+
* @throws \Google\Service\Exception
76+
*/
77+
public function cancelAsyncQuery($name, $optParams = [])
78+
{
79+
$params = ['name' => $name];
80+
$params = array_merge($params, $optParams);
81+
return $this->call('cancelAsyncQuery', [$params], GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse::class);
82+
}
6183
/**
6284
* Creates a reasoning engine. (reasoningEngines.create)
6385
*

src/Aiplatform/Resource/ReasoningEngines.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
use Google\Service\Aiplatform\GoogleApiHttpBody;
2121
use Google\Service\Aiplatform\GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest;
22+
use Google\Service\Aiplatform\GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse;
2223
use Google\Service\Aiplatform\GoogleCloudAiplatformV1ExecuteCodeRequest;
2324
use Google\Service\Aiplatform\GoogleCloudAiplatformV1ExecuteCodeResponse;
2425
use Google\Service\Aiplatform\GoogleCloudAiplatformV1ListReasoningEnginesResponse;
@@ -55,6 +56,27 @@ public function asyncQuery($name, GoogleCloudAiplatformV1AsyncQueryReasoningEngi
5556
$params = array_merge($params, $optParams);
5657
return $this->call('asyncQuery', [$params], GoogleLongrunningOperation::class);
5758
}
59+
/**
60+
* Cancels an AsyncQueryReasoningEngine operation.
61+
* (reasoningEngines.cancelAsyncQuery)
62+
*
63+
* @param string $name Required. The name of the ReasoningEngine resource to
64+
* use. Format:
65+
* `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
66+
* @param array $optParams Optional parameters.
67+
*
68+
* @opt_param string operationName Required. The name of the longrunning
69+
* operation returned from AsyncQueryReasoningEngine. Format:
70+
* `projects/{project}/locations/{location}/operations/{operation}`
71+
* @return GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
72+
* @throws \Google\Service\Exception
73+
*/
74+
public function cancelAsyncQuery($name, $optParams = [])
75+
{
76+
$params = ['name' => $name];
77+
$params = array_merge($params, $optParams);
78+
return $this->call('cancelAsyncQuery', [$params], GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse::class);
79+
}
5880
/**
5981
* Creates a reasoning engine. (reasoningEngines.create)
6082
*

0 commit comments

Comments
 (0)