Skip to content

Commit f506e9c

Browse files
authored
Merge branch 'main' into publish-interface-refdocs
2 parents 1df127e + d2977c9 commit f506e9c

75 files changed

Lines changed: 3482 additions & 255 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.

.kokoro/docs/docker/requirements.txt

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
#
55
# pip-compile --generate-hashes requirements.in
66
#
7-
cachetools==7.0.6 \
8-
--hash=sha256:4e94956cfdd3086f12042cdd29318f5ced3893014f7d0d059bf3ead3f85b7f8b \
9-
--hash=sha256:e5d524d36d65703a87243a26ff08ad84f73352adbeafb1cde81e207b456aaf24
7+
cachetools==6.2.6 \
8+
--hash=sha256:16c33e1f276b9a9c0b49ab5782d901e3ad3de0dd6da9bf9bcd29ac5672f2f9e6 \
9+
--hash=sha256:8c9717235b3c651603fff0076db52d6acbfd1b338b8ed50256092f7ce9c85bda
1010
# via google-auth
1111
certifi==2026.1.4 \
1212
--hash=sha256:9943707519e4add1115f44c2bc244f782c0249876bf51b6599fee1ffbedd685c \
@@ -105,15 +105,17 @@ proto-plus==1.26.1 \
105105
# via
106106
# -r requirements.in
107107
# google-api-core
108-
protobuf==7.34.1 \
109-
--hash=sha256:34b84ce27680df7cca9f231043ada0daa55d0c44a2ddfaa58ec1d0d89d8bf60a \
110-
--hash=sha256:403b093a6e28a960372b44e5eb081775c9b056e816a8029c61231743d63f881a \
111-
--hash=sha256:5185e0e948d07abe94bb76ec9b8416b604cfe5da6f871d67aad30cbf24c3110b \
112-
--hash=sha256:8ff40ce8cd688f7265326b38d5a1bed9bfdf5e6723d49961432f83e21d5713e4 \
113-
--hash=sha256:9ce42245e704cc5027be797c1db1eb93184d44d1cdd71811fb2d9b25ad541280 \
114-
--hash=sha256:bb3812cd53aefea2b028ef42bd780f5b96407247f20c6ef7c679807e9d188f11 \
115-
--hash=sha256:d8b2cc79c4d8f62b293ad9b11ec3aebce9af481fa73e64556969f7345ebf9fc7 \
116-
--hash=sha256:e97b55646e6ce5cbb0954a8c28cd39a5869b59090dfaa7df4598a7fba869468c
108+
protobuf==6.33.6 \
109+
--hash=sha256:0cd27b587afca21b7cfa59a74dcbd48a50f0a6400cfb59391340ad729d91d326 \
110+
--hash=sha256:77179e006c476e69bf8e8ce866640091ec42e1beb80b213c3900006ecfba6901 \
111+
--hash=sha256:7d29d9b65f8afef196f8334e80d6bc1d5d4adedb449971fefd3723824e6e77d3 \
112+
--hash=sha256:9720e6961b251bde64edfdab7d500725a2af5280f3f4c87e57c0208376aa8c3a \
113+
--hash=sha256:a6768d25248312c297558af96a9f9c929e8c4cee0659cb07e780731095f38135 \
114+
--hash=sha256:bd56799fb262994b2c2faa1799693c95cc2e22c62f56fb43af311cae45d26f0e \
115+
--hash=sha256:c96c37eec15086b79762ed265d59ab204dabc53056e3443e702d2681f4b39ce3 \
116+
--hash=sha256:e2afbae9b8e1825e3529f88d514754e094278bb95eadc0e199751cdd9a2e82a2 \
117+
--hash=sha256:e9db7e292e0ab79dd108d7f1a94fe31601ce1ee3f7b79e0692043423020b0593 \
118+
--hash=sha256:f443a394af5ed23672bc6c486be138628fbe5c651ccbc536873d7da23d1868cf
117119
# via
118120
# gcp-docuploader
119121
# google-api-core
@@ -139,7 +141,7 @@ rsa==4.9.1 \
139141
--hash=sha256:68635866661c6836b8d39430f97a996acbd61bfa49406748ea243539fe239762 \
140142
--hash=sha256:e7bdbfdb5497da4c07dfd35530e1a902659db6ff241e39d9953cad06ebd0ae75
141143
# via google-auth
142-
urllib3==2.6.3 \
143-
--hash=sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed \
144-
--hash=sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4
144+
urllib3==2.7.0 \
145+
--hash=sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c \
146+
--hash=sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897
145147
# via requests

AiPlatform/metadata/V1/ReasoningEngineExecutionService.php

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<?php
2+
/*
3+
* Copyright 2026 Google LLC
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* https://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,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
/*
19+
* GENERATED CODE WARNING
20+
* This file was automatically generated - do not edit!
21+
*/
22+
23+
require_once __DIR__ . '/../../../vendor/autoload.php';
24+
25+
// [START aiplatform_v1_generated_ReasoningEngineExecutionService_CancelAsyncQueryReasoningEngine_sync]
26+
use Google\ApiCore\ApiException;
27+
use Google\Cloud\AIPlatform\V1\CancelAsyncQueryReasoningEngineRequest;
28+
use Google\Cloud\AIPlatform\V1\CancelAsyncQueryReasoningEngineResponse;
29+
use Google\Cloud\AIPlatform\V1\Client\ReasoningEngineExecutionServiceClient;
30+
31+
/**
32+
* Cancels an AsyncQueryReasoningEngine operation.
33+
*
34+
* @param string $formattedName The name of the ReasoningEngine resource to use.
35+
* Format:
36+
* `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
37+
* Please see {@see ReasoningEngineExecutionServiceClient::reasoningEngineName()} for help formatting this field.
38+
* @param string $operationName The name of the longrunning operation returned from
39+
* AsyncQueryReasoningEngine.
40+
* Format:
41+
* `projects/{project}/locations/{location}/operations/{operation}`
42+
*/
43+
function cancel_async_query_reasoning_engine_sample(
44+
string $formattedName,
45+
string $operationName
46+
): void {
47+
// Create a client.
48+
$reasoningEngineExecutionServiceClient = new ReasoningEngineExecutionServiceClient();
49+
50+
// Prepare the request message.
51+
$request = (new CancelAsyncQueryReasoningEngineRequest())
52+
->setName($formattedName)
53+
->setOperationName($operationName);
54+
55+
// Call the API and handle any network failures.
56+
try {
57+
/** @var CancelAsyncQueryReasoningEngineResponse $response */
58+
$response = $reasoningEngineExecutionServiceClient->cancelAsyncQueryReasoningEngine($request);
59+
printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
60+
} catch (ApiException $ex) {
61+
printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
62+
}
63+
}
64+
65+
/**
66+
* Helper to execute the sample.
67+
*
68+
* This sample has been automatically generated and should be regarded as a code
69+
* template only. It will require modifications to work:
70+
* - It may require correct/in-range values for request initialization.
71+
* - It may require specifying regional endpoints when creating the service client,
72+
* please see the apiEndpoint client configuration option for more details.
73+
*/
74+
function callSample(): void
75+
{
76+
$formattedName = ReasoningEngineExecutionServiceClient::reasoningEngineName(
77+
'[PROJECT]',
78+
'[LOCATION]',
79+
'[REASONING_ENGINE]'
80+
);
81+
$operationName = '[OPERATION_NAME]';
82+
83+
cancel_async_query_reasoning_engine_sample($formattedName, $operationName);
84+
}
85+
// [END aiplatform_v1_generated_ReasoningEngineExecutionService_CancelAsyncQueryReasoningEngine_sync]

AiPlatform/src/V1/CancelAsyncQueryReasoningEngineRequest.php

Lines changed: 122 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AiPlatform/src/V1/CancelAsyncQueryReasoningEngineResponse.php

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)