Skip to content

Commit ba2fb39

Browse files
gcf-owl-bot[bot]copybara-github
authored andcommitted
Copybara import of the project:
-- 222f6ea by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: add UpdateExplanationDataset to aiplatform PiperOrigin-RevId: 541213716 Source-Link: googleapis/googleapis@4a858c4 Source-Link: googleapis/googleapis-gen@e4c3eab Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTRjM2VhYjFmZGE0OWM1ZDk2MTliYjgyODcyYTBhN2U4MWY4MzUyOCJ9 -- 75bf15d by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- c8f2c7e by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: chore: Generate Ruby documentai wrapper from v1 instead of v1beta3 PiperOrigin-RevId: 542603310 Source-Link: googleapis/googleapis@45001d8 Source-Link: googleapis/googleapis-gen@ad6882b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWQ2ODgyYmI2NDhkMTE3MGE1NDE0ZTBlOTk5OWM4NGE0M2Y1MTVmMCJ9 -- df2e2d6 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- eb4f7ab by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: docs: tightened requirements on cloud storage subscription filename suffixes PiperOrigin-RevId: 543503563 Source-Link: googleapis/googleapis@212ecef Source-Link: googleapis/googleapis-gen@532d27e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTMyZDI3ZWVhNmZmMTI4ZmRjYmIzMzMyMTc2ZTg5NGU3NmRjYzY4NSJ9 -- 8b9d874 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 1ff05f7 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: fix: Add async context manager return types chore: Mock return_value should not populate oneof message fields chore: Support snippet generation for services that only support REST transport chore: Update gapic-generator-python to v1.11.0 PiperOrigin-RevId: 545430278 Source-Link: googleapis/googleapis@601b532 Source-Link: googleapis/googleapis-gen@b3f18d0 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjNmMThkMGY2NTYwYTg1NTAyMmZkMDU4ODY1ZTc2MjA0NzlkN2FmOSJ9 -- 79469ac by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 9c3dfe8 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: chore: Update gapic-generator-python to v1.11.1 PiperOrigin-RevId: 545769621 Source-Link: googleapis/googleapis@cc2f031 Source-Link: googleapis/googleapis-gen@1a46ae7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWE0NmFlNzY1MmVmOThhODZjMmJjMjMyYjZkYTA0MTJlOWYzMGJkYiJ9 -- f221309 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 043107e by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: added GitIntegrationSettings to the Agent PiperOrigin-RevId: 546355900 Source-Link: googleapis/googleapis@dc3d3a2 Source-Link: googleapis/googleapis-gen@2480a9f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ4MGE5ZjhiZmJjNzk4N2Y1ODNkNzBlMTk5NTg0YTQ2YjUyMTMzZiJ9 -- 5112a1a by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 57b17e5 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: chore: Update gapic-generator-python to v1.11.2 PiperOrigin-RevId: 546510849 Source-Link: googleapis/googleapis@736073a Source-Link: googleapis/googleapis-gen@deb64e8 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGViNjRlOGVjMTlkMTQxZTMxMDg5ZmU5MzJiM2E5OTdhZDU0MWM0ZCJ9 -- 195ff4e by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 4c05c41 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: chore: Update gapic-generator-python to v1.11.3 PiperOrigin-RevId: 546899192 Source-Link: googleapis/googleapis@e6b1691 Source-Link: googleapis/googleapis-gen@0b3917c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMGIzOTE3YzQyMWNiZGE3ZmNiNjcwOTJlMTZjMzNmM2VhNDZmNGJjNyJ9 -- e0cd533 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 6e490f4 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Add routing information in Cloud Build GRPC clients PiperOrigin-RevId: 547283196 Source-Link: googleapis/googleapis@64d54ff Source-Link: googleapis/googleapis-gen@1de1822 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWRlMTgyMjExMDliNGEwMjVjMGIyZThjMjUzMjRjYjAxYjZkZjYyNiJ9 -- 57a75ff by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 1f1e8a4 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: add data_item_count to Dataset feat: add DeleteSavedQuery to DatasetService feat: add JOB_STATE_PARTIALLY_SUCCEEDED to JobState feat: add pipeline_job to Model feat: add reserved_ip_ranges to PipelineJob PiperOrigin-RevId: 547343567 Source-Link: googleapis/googleapis@72b20cc Source-Link: googleapis/googleapis-gen@4d84e76 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGQ4NGU3NmRmNmY1YTM2MWVjYTM1NzNhMGY2OTIyMWI0MjFlNzM1OSJ9 -- 61d7cf5 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 330ca6b by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: add data_item_count to Dataset feat: add DeleteSavedQuery to DatasetService feat: add ExportEndpointOperationMetadata and ExportEndpointResponse to Endpoint feat: add JOB_STATE_PARTIALLY_SUCCEEDED to JobState feat: add pipeline_job to Model feat: add persistent_resource.proto and persistent_resource_service.proto feat: add reserved_ip_ranges to PipelineJob feat: add ReadTensorboardSize to TensorboardService PiperOrigin-RevId: 547519544 Source-Link: googleapis/googleapis@4f40e53 Source-Link: googleapis/googleapis-gen@cf937c7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2Y5MzdjN2VjYmU4Y2VlYWEwMzFmMTM4OTkzNDE0OWJkYWRmMDRiZSJ9 -- acb959d by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 216a83e by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: chore: Update gapic-generator-python to v1.11.4 PiperOrigin-RevId: 547897126 Source-Link: googleapis/googleapis@c09c75e Source-Link: googleapis/googleapis-gen@45e0ec4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDVlMGVjNDM0MzUxN2NkMGFhNjZiNWNhNjQyMzJhMTgwMmMyZjk0NSJ9 -- 09bc5c6 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- ec20ac3 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: docs: small documentation updates chore: add enums for additional platform logs PiperOrigin-RevId: 549453285 Source-Link: googleapis/googleapis@b9fb22c Source-Link: googleapis/googleapis-gen@ea3ae98 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWEzYWU5ODAzMGI1ZTA0ZTcyODhhMmE5YmQzZWNhODE2NjM0OTFiZSJ9 -- 8ff3cd7 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 8e541cf by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: ScheduleService (schedule_service.proto) creates and manages Schedule resources to launch scheduled pipelines runs feat: Schedule (schedule.proto) periodically schedules runs to make API calls PiperOrigin-RevId: 550058610 Source-Link: googleapis/googleapis@5b24e63 Source-Link: googleapis/googleapis-gen@4c5f6f9 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGM1ZjZmOWM0MjkyYzE0Mjg3MjE3YjU2ZjJkY2IwNGNkNzcyNzgzMiJ9 -- 8173e33 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 6a3491c by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: add policy_name to PlacementPolicy message within a node pool feat: add support for HostMaintenancePolicy feat: add support for AdditionalPodNetworkConfig and AdditionalNodeNetworkConfig feat: add enable_multi_networking to NetworkConfig PiperOrigin-RevId: 550168784 Source-Link: googleapis/googleapis@b53aeac Source-Link: googleapis/googleapis-gen@6e0edf4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmUwZWRmNDhjOWQ5OTFhMmQwMmFhOTRlNzIzYmJkMDdlNDVlMTRkNCJ9 -- 72fbdb9 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- ef2bc05 by nayaknishant <[email protected]>: reverting Owlbot flake8 changes -- ddfe450 by nayaknishant <[email protected]>: removing merge HEAD comment COPYBARA_INTEGRATE_REVIEW=#2964 from googleapis:owl-bot-copy 9b3ea5e PiperOrigin-RevId: 583085854
1 parent 1fd7b4e commit ba2fb39

Some content is hidden

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

44 files changed

+15438
-22
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
LlmUtilityService
2+
-----------------------------------
3+
4+
.. automodule:: google.cloud.aiplatform_v1.services.llm_utility_service
5+
:members:
6+
:inherited-members:

docs/aiplatform_v1/services_.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Services for Google Cloud Aiplatform v1 API
1313
index_endpoint_service
1414
index_service
1515
job_service
16+
llm_utility_service
1617
match_service
1718
metadata_service
1819
migration_service
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
LlmUtilityService
2+
-----------------------------------
3+
4+
.. automodule:: google.cloud.aiplatform_v1beta1.services.llm_utility_service
5+
:members:
6+
:inherited-members:

docs/aiplatform_v1beta1/services_.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Services for Google Cloud Aiplatform v1beta1 API
1414
index_endpoint_service
1515
index_service
1616
job_service
17+
llm_utility_service
1718
match_service
1819
metadata_service
1920
migration_service

google/cloud/aiplatform_v1/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
from .services.index_service import IndexServiceAsyncClient
4747
from .services.job_service import JobServiceClient
4848
from .services.job_service import JobServiceAsyncClient
49+
from .services.llm_utility_service import LlmUtilityServiceClient
50+
from .services.llm_utility_service import LlmUtilityServiceAsyncClient
4951
from .services.match_service import MatchServiceClient
5052
from .services.match_service import MatchServiceAsyncClient
5153
from .services.metadata_service import MetadataServiceClient
@@ -364,6 +366,9 @@
364366
from .types.job_service import UpdateModelDeploymentMonitoringJobRequest
365367
from .types.job_state import JobState
366368
from .types.lineage_subgraph import LineageSubgraph
369+
from .types.llm_utility_service import ComputeTokensRequest
370+
from .types.llm_utility_service import ComputeTokensResponse
371+
from .types.llm_utility_service import TokensInfo
367372
from .types.machine_resources import AutomaticResources
368373
from .types.machine_resources import AutoscalingMetricSpec
369374
from .types.machine_resources import BatchDedicatedResources
@@ -443,6 +448,7 @@
443448
from .types.model import ModelSourceInfo
444449
from .types.model import Port
445450
from .types.model import PredictSchemata
451+
from .types.model import Probe
446452
from .types.model_deployment_monitoring_job import (
447453
ModelDeploymentMonitoringBigQueryTable,
448454
)
@@ -664,6 +670,7 @@
664670
"IndexEndpointServiceAsyncClient",
665671
"IndexServiceAsyncClient",
666672
"JobServiceAsyncClient",
673+
"LlmUtilityServiceAsyncClient",
667674
"MatchServiceAsyncClient",
668675
"MetadataServiceAsyncClient",
669676
"MigrationServiceAsyncClient",
@@ -728,6 +735,8 @@
728735
"CheckTrialEarlyStoppingStateResponse",
729736
"CompleteTrialRequest",
730737
"CompletionStats",
738+
"ComputeTokensRequest",
739+
"ComputeTokensResponse",
731740
"ContainerRegistryDestination",
732741
"ContainerSpec",
733742
"Context",
@@ -1058,6 +1067,7 @@
10581067
"ListTrainingPipelinesResponse",
10591068
"ListTrialsRequest",
10601069
"ListTrialsResponse",
1070+
"LlmUtilityServiceClient",
10611071
"LookupStudyRequest",
10621072
"MachineSpec",
10631073
"ManualBatchTuningParameters",
@@ -1122,6 +1132,7 @@
11221132
"Presets",
11231133
"PrivateEndpoints",
11241134
"PrivateServiceConnectConfig",
1135+
"Probe",
11251136
"PublisherModel",
11261137
"PublisherModelView",
11271138
"PurgeArtifactsMetadata",
@@ -1206,6 +1217,7 @@
12061217
"TimeSeriesData",
12071218
"TimeSeriesDataPoint",
12081219
"TimestampSplit",
1220+
"TokensInfo",
12091221
"TrainingConfig",
12101222
"TrainingPipeline",
12111223
"Trial",

google/cloud/aiplatform_v1/gapic_metadata.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,6 +1385,40 @@
13851385
}
13861386
}
13871387
},
1388+
"LlmUtilityService": {
1389+
"clients": {
1390+
"grpc": {
1391+
"libraryClient": "LlmUtilityServiceClient",
1392+
"rpcs": {
1393+
"ComputeTokens": {
1394+
"methods": [
1395+
"compute_tokens"
1396+
]
1397+
},
1398+
"CountTokens": {
1399+
"methods": [
1400+
"count_tokens"
1401+
]
1402+
}
1403+
}
1404+
},
1405+
"grpc-async": {
1406+
"libraryClient": "LlmUtilityServiceAsyncClient",
1407+
"rpcs": {
1408+
"ComputeTokens": {
1409+
"methods": [
1410+
"compute_tokens"
1411+
]
1412+
},
1413+
"CountTokens": {
1414+
"methods": [
1415+
"count_tokens"
1416+
]
1417+
}
1418+
}
1419+
}
1420+
}
1421+
},
13881422
"MatchService": {
13891423
"clients": {
13901424
"grpc": {
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2023 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from .client import LlmUtilityServiceClient
17+
from .async_client import LlmUtilityServiceAsyncClient
18+
19+
__all__ = (
20+
"LlmUtilityServiceClient",
21+
"LlmUtilityServiceAsyncClient",
22+
)

0 commit comments

Comments
 (0)