Skip to content

Commit ee8b9ea

Browse files
feat: [AiPlatform] add import result gcs sink to the import files API (#8166)
* feat: Add env variables and agent framework to ReasoningEngineSpec docs: Update comment for `package_spec` from required to optional in `ReasoningEngineSpec`. docs: Add `deployment_spec` and `agent_framework` field to `ReasoningEngineSpec`. PiperOrigin-RevId: 738059528 Source-Link: googleapis/googleapis@4eb76f5 Source-Link: googleapis/googleapis-gen@8348b2a Copy-Tag: eyJwIjoiQWlQbGF0Zm9ybS8uT3dsQm90LnlhbWwiLCJoIjoiODM0OGIyYTRkMmMwMjc0MmQyZmYwZjRiZWI1NzM2ODgxNTU0Y2FiNyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add import result gcs sink to the import files API feat: add import result bq sink to the import files API PiperOrigin-RevId: 738391305 Source-Link: googleapis/googleapis@1a8d81e Source-Link: googleapis/googleapis-gen@c3f2bc4 Copy-Tag: eyJwIjoiQWlQbGF0Zm9ybS8uT3dsQm90LnlhbWwiLCJoIjoiYzNmMmJjNGMzMWFhNjFhZGI3ZGQ4MjBiYmViYzA2Zjg0ZDE5NTYzNSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent c2aecf9 commit ee8b9ea

12 files changed

Lines changed: 579 additions & 60 deletions

File tree

AiPlatform/metadata/V1/EnvVar.php

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

AiPlatform/metadata/V1/ReasoningEngine.php

Lines changed: 13 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
188 Bytes
Binary file not shown.

AiPlatform/samples/V1/ReasoningEngineServiceClient/create_reasoning_engine.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
use Google\Cloud\AIPlatform\V1\Client\ReasoningEngineServiceClient;
2929
use Google\Cloud\AIPlatform\V1\CreateReasoningEngineRequest;
3030
use Google\Cloud\AIPlatform\V1\ReasoningEngine;
31-
use Google\Cloud\AIPlatform\V1\ReasoningEngineSpec;
32-
use Google\Cloud\AIPlatform\V1\ReasoningEngineSpec\PackageSpec;
3331
use Google\Rpc\Status;
3432

3533
/**
@@ -48,12 +46,8 @@ function create_reasoning_engine_sample(
4846
$reasoningEngineServiceClient = new ReasoningEngineServiceClient();
4947

5048
// Prepare the request message.
51-
$reasoningEngineSpecPackageSpec = new PackageSpec();
52-
$reasoningEngineSpec = (new ReasoningEngineSpec())
53-
->setPackageSpec($reasoningEngineSpecPackageSpec);
5449
$reasoningEngine = (new ReasoningEngine())
55-
->setDisplayName($reasoningEngineDisplayName)
56-
->setSpec($reasoningEngineSpec);
50+
->setDisplayName($reasoningEngineDisplayName);
5751
$request = (new CreateReasoningEngineRequest())
5852
->setParent($formattedParent)
5953
->setReasoningEngine($reasoningEngine);

AiPlatform/samples/V1/ReasoningEngineServiceClient/update_reasoning_engine.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
use Google\ApiCore\OperationResponse;
2828
use Google\Cloud\AIPlatform\V1\Client\ReasoningEngineServiceClient;
2929
use Google\Cloud\AIPlatform\V1\ReasoningEngine;
30-
use Google\Cloud\AIPlatform\V1\ReasoningEngineSpec;
31-
use Google\Cloud\AIPlatform\V1\ReasoningEngineSpec\PackageSpec;
3230
use Google\Cloud\AIPlatform\V1\UpdateReasoningEngineRequest;
3331
use Google\Rpc\Status;
3432

@@ -43,12 +41,8 @@ function update_reasoning_engine_sample(string $reasoningEngineDisplayName): voi
4341
$reasoningEngineServiceClient = new ReasoningEngineServiceClient();
4442

4543
// Prepare the request message.
46-
$reasoningEngineSpecPackageSpec = new PackageSpec();
47-
$reasoningEngineSpec = (new ReasoningEngineSpec())
48-
->setPackageSpec($reasoningEngineSpecPackageSpec);
4944
$reasoningEngine = (new ReasoningEngine())
50-
->setDisplayName($reasoningEngineDisplayName)
51-
->setSpec($reasoningEngineSpec);
45+
->setDisplayName($reasoningEngineDisplayName);
5246
$request = (new UpdateReasoningEngineRequest())
5347
->setReasoningEngine($reasoningEngine);
5448

AiPlatform/src/V1/ImportRagFilesConfig.php

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

AiPlatform/src/V1/ReasoningEngine.php

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

0 commit comments

Comments
 (0)