From c855a7d429edcf8fb4d9d55460d86b877737a8ca Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:36:17 -0700 Subject: [PATCH] chore: Update discovery artifacts (#2360) ## Deleted keys were detected in the following stable discovery artifacts: aiplatform v1 https://togithub.com/googleapis/google-api-python-client/commit/840e463c58748a5ccf596d56cb8e27222e672737 alloydb v1 https://togithub.com/googleapis/google-api-python-client/commit/5a65564a259082fedf0a6871ff3b21ac5b65beb8 datacatalog v1 https://togithub.com/googleapis/google-api-python-client/commit/016af62d69f88be5195d147df44df7e2d3aed519 sts v1 https://togithub.com/googleapis/google-api-python-client/commit/62ce2be85d15d93bbea49455e0adf5c0d81fb501 ## Deleted keys were detected in the following pre-stable discovery artifacts: aiplatform v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/840e463c58748a5ccf596d56cb8e27222e672737 alloydb v1alpha https://togithub.com/googleapis/google-api-python-client/commit/5a65564a259082fedf0a6871ff3b21ac5b65beb8 alloydb v1beta https://togithub.com/googleapis/google-api-python-client/commit/5a65564a259082fedf0a6871ff3b21ac5b65beb8 cloudbilling v1beta https://togithub.com/googleapis/google-api-python-client/commit/8b2920ba8f2ca2292913c753bd739f54ea82b93f compute alpha https://togithub.com/googleapis/google-api-python-client/commit/8f58e90649f35cfe7b3901c70e169b725ec12569 dataform v1beta1 https://togithub.com/googleapis/google-api-python-client/commit/85f625e113ccd67f936d299fa5d6fc970eae3759 discoveryengine v1alpha https://togithub.com/googleapis/google-api-python-client/commit/33b0b8d2394cd818ad7ac1f52f313859061f8182 discoveryengine v1beta https://togithub.com/googleapis/google-api-python-client/commit/33b0b8d2394cd818ad7ac1f52f313859061f8182 ## Discovery Artifact Change Summary: feat(aiplatform): update the api https://togithub.com/googleapis/google-api-python-client/commit/840e463c58748a5ccf596d56cb8e27222e672737 feat(alloydb): update the api https://togithub.com/googleapis/google-api-python-client/commit/5a65564a259082fedf0a6871ff3b21ac5b65beb8 feat(analyticsadmin): update the api https://togithub.com/googleapis/google-api-python-client/commit/e7a9979b37181bec6960ed03c744e8e981c99159 feat(analyticshub): update the api https://togithub.com/googleapis/google-api-python-client/commit/da51b77c9df67aa533a930e97a79b43f5fa06e49 feat(bigtableadmin): update the api https://togithub.com/googleapis/google-api-python-client/commit/b7374c5b9447ab75188cf5e0bdc72efe97c2d5ec feat(chat): update the api https://togithub.com/googleapis/google-api-python-client/commit/c77b19b011900ea522ba75f12069bfa71e1661c0 feat(chromemanagement): update the api https://togithub.com/googleapis/google-api-python-client/commit/0c817482a79c27eadd04a883fb034f0b2683ef5c feat(cloudbilling): update the api https://togithub.com/googleapis/google-api-python-client/commit/8b2920ba8f2ca2292913c753bd739f54ea82b93f feat(cloudbuild): update the api https://togithub.com/googleapis/google-api-python-client/commit/5f3fa0409bf9d4d78aa6c4561c35420756f573ed feat(cloudidentity): update the api https://togithub.com/googleapis/google-api-python-client/commit/7318f680c61296c78095830618901aaed96f068e feat(compute): update the api https://togithub.com/googleapis/google-api-python-client/commit/8f58e90649f35cfe7b3901c70e169b725ec12569 feat(content): update the api https://togithub.com/googleapis/google-api-python-client/commit/d118c6b2fdb1cbce7ecfc21ae47c965263c95f13 feat(datacatalog): update the api https://togithub.com/googleapis/google-api-python-client/commit/016af62d69f88be5195d147df44df7e2d3aed519 feat(dataform): update the api https://togithub.com/googleapis/google-api-python-client/commit/85f625e113ccd67f936d299fa5d6fc970eae3759 feat(datamigration): update the api https://togithub.com/googleapis/google-api-python-client/commit/2e6f8055797a872c1e9f8039409bea9ea754bc11 feat(dataplex): update the api https://togithub.com/googleapis/google-api-python-client/commit/59be5b7308307b7e57afa3688368ea22df3e3edd fix(dataproc): update the api https://togithub.com/googleapis/google-api-python-client/commit/f5c4ab6533a2b5d8e27f2293ebc373767fcedbe0 feat(dialogflow): update the api https://togithub.com/googleapis/google-api-python-client/commit/896a5e50fa97c46b2203bd8b11fb2d654655ef32 feat(discoveryengine): update the api https://togithub.com/googleapis/google-api-python-client/commit/33b0b8d2394cd818ad7ac1f52f313859061f8182 feat(documentai): update the api https://togithub.com/googleapis/google-api-python-client/commit/6f19aee29da15de9ade5e00294d74968841b87a9 feat(firestore): update the api https://togithub.com/googleapis/google-api-python-client/commit/9703f76390f7379f6702bca2d1e508125a37057b feat(iam): update the api https://togithub.com/googleapis/google-api-python-client/commit/37e25c0398b4cb1ceb7c6300afa13b0ca4a0eedf feat(integrations): update the api https://togithub.com/googleapis/google-api-python-client/commit/56a10368636dc4b7bb7404659c693879d860ddb9 feat(logging): update the api https://togithub.com/googleapis/google-api-python-client/commit/4f1084be29401b87b6480e16cd88a356267cb967 feat(networkmanagement): update the api https://togithub.com/googleapis/google-api-python-client/commit/4df586d6fb86ff89f6b1f8c5b558aca12f42e289 feat(osconfig): update the api https://togithub.com/googleapis/google-api-python-client/commit/0932619d9936780c376b3fa14e49f0fdc6a17ad2 fix(people): update the api https://togithub.com/googleapis/google-api-python-client/commit/b263502df7869ec9b01dc9430581a093a9fe465b feat(redis): update the api https://togithub.com/googleapis/google-api-python-client/commit/b753fb7197a37686e48bb084452826df1e3b2233 feat(run): update the api https://togithub.com/googleapis/google-api-python-client/commit/15d4c3401187aa1f4ab99ecb18675a54af25d173 feat(secretmanager): update the api https://togithub.com/googleapis/google-api-python-client/commit/b3e4facfe9c2169e3855fd7b51b284a1f160b72d feat(spanner): update the api https://togithub.com/googleapis/google-api-python-client/commit/2beaba7cec53bd197b4582d110b76ab4e30074bb feat(storage): update the api https://togithub.com/googleapis/google-api-python-client/commit/b5eeb1355ebf8f93beecf6216a9086cec44946f4 feat(storagetransfer): update the api https://togithub.com/googleapis/google-api-python-client/commit/79ce65bcfd7f73abfb8b39602d72fe438c621299 feat(sts): update the api https://togithub.com/googleapis/google-api-python-client/commit/62ce2be85d15d93bbea49455e0adf5c0d81fb501 feat(tasks): update the api https://togithub.com/googleapis/google-api-python-client/commit/595e2b06ef66d9a61ae04d93e912e154a7066357 --- ...tform_v1.projects.locations.endpoints.html | 128 +- .../dyn/aiplatform_v1.projects.locations.html | 10 + ..._v1.projects.locations.indexEndpoints.html | 2 +- ...platform_v1.projects.locations.models.html | 2 +- ...1.projects.locations.notebookRuntimes.html | 2 +- ...rojects.locations.persistentResources.html | 552 +++++ ....projects.locations.publishers.models.html | 96 +- ...form_v1.projects.locations.tuningJobs.html | 91 + ...jects.locations.tuningJobs.operations.html | 145 ++ ..._v1beta1.projects.locations.endpoints.html | 108 +- ...v1beta1.projects.locations.extensions.html | 641 ++++++ ...ions.featureOnlineStores.featureViews.html | 8 +- ...1.projects.locations.notebookRuntimes.html | 2 +- ....projects.locations.publishers.models.html | 78 +- ...lloydb_v1.projects.locations.clusters.html | 35 - ...b_v1alpha.projects.locations.clusters.html | 253 ++- ...projects.locations.clusters.instances.html | 65 + ...db_v1beta.projects.locations.clusters.html | 253 ++- ...projects.locations.clusters.instances.html | 65 + docs/dyn/analyticsadmin_v1alpha.accounts.html | 2 + ...dmin_v1alpha.properties.channelGroups.html | 6 + ...ects.locations.dataExchanges.listings.html | 30 + ...roidpublisher_v3.externaltransactions.html | 2 +- ...apigee_v1.organizations.sites.apidocs.html | 24 +- ...ects.instances.tables.authorizedViews.html | 349 +++ ...bleadmin_v2.projects.instances.tables.html | 5 + docs/dyn/chat_v1.spaces.messages.html | 1232 +++++++++++ .../chromemanagement_v1.customers.apps.html | 100 + ...chromemanagement_v1.customers.reports.html | 35 + .../cloudbilling_v1beta.billingAccounts.html | 5 - docs/dyn/cloudbilling_v1beta.html | 5 - ...tions_v2.projects.locations.functions.html | 16 +- ..._v2alpha.projects.locations.functions.html | 16 +- ...s_v2beta.projects.locations.functions.html | 16 +- docs/dyn/cloudidentity_v1.devices.html | 132 ++ ...er_v1.projects.locations.environments.html | 24 +- ...beta1.projects.locations.environments.html | 24 +- docs/dyn/compute_alpha.backendServices.html | 14 - docs/dyn/compute_alpha.healthChecks.html | 30 + ...ha.instanceGroupManagerResizeRequests.html | 18 +- docs/dyn/compute_alpha.networks.html | 4 + .../compute_alpha.regionBackendServices.html | 12 - .../dyn/compute_alpha.regionHealthChecks.html | 25 + ...e_alpha.regionNetworkFirewallPolicies.html | 2 +- docs/dyn/compute_alpha.regionUrlMaps.html | 96 +- docs/dyn/compute_alpha.regions.html | 20 + docs/dyn/compute_alpha.urlMaps.html | 112 +- docs/dyn/compute_v1.html | 5 + ...v1.instanceGroupManagerResizeRequests.html | 871 ++++++++ ...pute_v1.regionNetworkFirewallPolicies.html | 2 +- docs/dyn/compute_v1.regionUrlMaps.html | 96 +- docs/dyn/compute_v1.urlMaps.html | 112 +- docs/dyn/content_v2_1.quotas.html | 7 +- docs/dyn/content_v2_1.reports.html | 2 +- docs/dyn/datacatalog_v1.entries.html | 2 +- ...rojects.locations.entryGroups.entries.html | 14 +- ...ts.locations.entryGroups.entries.tags.html | 14 +- ...log_v1.projects.locations.entryGroups.html | 14 +- ...1.projects.locations.entryGroups.tags.html | 12 +- ...ations.tagTemplates.fields.enumValues.html | 2 +- ...rojects.locations.tagTemplates.fields.html | 10 +- ...og_v1.projects.locations.tagTemplates.html | 22 +- docs/dyn/datacatalog_v1beta1.entries.html | 2 +- ...rojects.locations.entryGroups.entries.html | 14 +- ...ts.locations.entryGroups.entries.tags.html | 12 +- ...1beta1.projects.locations.entryGroups.html | 14 +- ...1.projects.locations.entryGroups.tags.html | 12 +- ...ations.tagTemplates.fields.enumValues.html | 2 +- ...rojects.locations.tagTemplates.fields.html | 10 +- ...beta1.projects.locations.tagTemplates.html | 22 +- docs/dyn/dataflow_v1b3.projects.jobs.html | 28 +- ...v1b3.projects.locations.flexTemplates.html | 8 +- ...dataflow_v1b3.projects.locations.jobs.html | 24 +- ...low_v1b3.projects.locations.templates.html | 12 +- .../dyn/dataflow_v1b3.projects.templates.html | 12 +- ...beta1.projects.locations.repositories.html | 14 +- ...cts.locations.repositories.workspaces.html | 8 +- ...projects.locations.connectionProfiles.html | 132 ++ ...n_v1.projects.locations.migrationJobs.html | 65 + ...lex_v1.projects.locations.aspectTypes.html | 386 ++++ ...aplex_v1.projects.locations.dataScans.html | 118 + ..._v1.projects.locations.dataScans.jobs.html | 88 + ...rojects.locations.entryGroups.entries.html | 515 +++++ ...lex_v1.projects.locations.entryGroups.html | 251 +++ ...plex_v1.projects.locations.entryTypes.html | 294 +++ docs/dyn/dataplex_v1.projects.locations.html | 214 ++ ....projects.locations.workflowTemplates.html | 14 +- ...dataproc_v1.projects.regions.clusters.html | 8 +- ...v1.projects.regions.workflowTemplates.html | 14 +- ...rojects.locations.agents.environments.html | 90 + ...ocations.agents.environments.sessions.html | 142 ++ ...v3.projects.locations.agents.sessions.html | 142 ++ ...v3.projects.locations.agents.webhooks.html | 108 + ...rojects.locations.agents.environments.html | 90 + ...ocations.agents.environments.sessions.html | 142 ++ ...a1.projects.locations.agents.sessions.html | 142 ++ ...a1.projects.locations.agents.webhooks.html | 108 + .../discoveryengine_v1alpha.locations.html | 71 +- ....dataStores.branches.documents.chunks.html | 172 ++ ...ections.dataStores.branches.documents.html | 51 +- ....collections.dataStores.conversations.html | 11 +- ...ects.locations.collections.dataStores.html | 64 +- ...collections.dataStores.servingConfigs.html | 61 +- ...ons.collections.engines.conversations.html | 11 +- ...rojects.locations.collections.engines.html | 7 - ...ns.collections.engines.servingConfigs.html | 61 +- ....dataStores.branches.documents.chunks.html | 172 ++ ...cations.dataStores.branches.documents.html | 51 +- ...ts.locations.dataStores.conversations.html | 11 +- ...v1alpha.projects.locations.dataStores.html | 58 +- ...s.locations.dataStores.servingConfigs.html | 61 +- ....collections.dataStores.conversations.html | 9 +- ...ects.locations.collections.dataStores.html | 56 +- ...collections.dataStores.servingConfigs.html | 57 +- ...ons.collections.engines.conversations.html | 9 +- ...ns.collections.engines.servingConfigs.html | 57 +- ...ts.locations.dataStores.conversations.html | 9 +- ..._v1beta.projects.locations.dataStores.html | 2 +- ...s.locations.dataStores.servingConfigs.html | 57 +- docs/dyn/displayvideo_v2.users.html | 2 +- docs/dyn/displayvideo_v3.users.html | 2 +- ...izations.locations.columnDataProfiles.html | 6 +- ...zations.locations.projectDataProfiles.html | 8 +- ...nizations.locations.tableDataProfiles.html | 8 +- ...projects.locations.columnDataProfiles.html | 6 +- ...rojects.locations.projectDataProfiles.html | 8 +- ....projects.locations.tableDataProfiles.html | 8 +- ...ocations.processors.processorVersions.html | 4 + ...ocations.processors.processorVersions.html | 2 +- docs/dyn/firestore_v1.projects.databases.html | 24 + ...restore_v1.projects.locations.backups.html | 2 +- docs/dyn/index.md | 1 - ...1alpha.projects.locations.connections.html | 22 + .../dyn/logging_v2.billingAccounts.sinks.html | 21 +- docs/dyn/logging_v2.folders.sinks.html | 21 +- docs/dyn/logging_v2.organizations.sinks.html | 21 +- docs/dyn/logging_v2.projects.sinks.html | 21 +- docs/dyn/logging_v2.sinks.html | 17 +- ...s.locations.global_.connectivityTests.html | 4 + ...s.locations.global_.connectivityTests.html | 4 + ...books_v1.projects.locations.instances.html | 6 +- ...sconfig_v1.projects.locations.global_.html | 141 ++ docs/dyn/osconfig_v1.projects.locations.html | 5 + docs/dyn/people_v1.otherContacts.html | 2 +- docs/dyn/people_v1.people.connections.html | 2 +- docs/dyn/people_v1.people.html | 12 +- docs/dyn/playintegrity_v1.v1.html | 2 +- ...rojects.locations.catalogs.placements.html | 2 +- ...cts.locations.catalogs.servingConfigs.html | 2 +- docs/dyn/retail_v2alpha.projects.html | 2 +- ...rojects.locations.catalogs.placements.html | 2 +- ...cts.locations.catalogs.servingConfigs.html | 2 +- ...rojects.locations.catalogs.placements.html | 2 +- ...cts.locations.catalogs.servingConfigs.html | 2 +- docs/dyn/run_v1.namespaces.services.html | 12 +- .../run_v1.projects.locations.services.html | 12 +- .../run_v2.projects.locations.services.html | 5 +- docs/dyn/spanner_v1.projects.instances.html | 5 + ...instances.instancePartitionOperations.html | 153 ++ ...projects.instances.instancePartitions.html | 246 +++ docs/dyn/storage_v1.managedFolders.html | 5 +- docs/dyn/storagetransfer_v1.transferJobs.html | 246 +++ docs/dyn/sts_v1.v1.html | 75 - docs/dyn/tasks_v1.tasks.html | 9 + .../testing_v1.projects.deviceSessions.html | 12 +- .../walletobjects_v1.eventticketclass.html | 36 +- .../walletobjects_v1.eventticketobject.html | 40 +- docs/dyn/walletobjects_v1.flightclass.html | 36 +- docs/dyn/walletobjects_v1.flightobject.html | 36 +- docs/dyn/walletobjects_v1.genericclass.html | 36 +- docs/dyn/walletobjects_v1.giftcardclass.html | 36 +- docs/dyn/walletobjects_v1.giftcardobject.html | 36 +- docs/dyn/walletobjects_v1.issuer.html | 32 +- docs/dyn/walletobjects_v1.jwt.html | 48 +- docs/dyn/walletobjects_v1.loyaltyclass.html | 36 +- docs/dyn/walletobjects_v1.loyaltyobject.html | 40 +- docs/dyn/walletobjects_v1.offerclass.html | 36 +- docs/dyn/walletobjects_v1.offerobject.html | 36 +- docs/dyn/walletobjects_v1.transitclass.html | 36 +- docs/dyn/walletobjects_v1.transitobject.html | 36 +- .../acceleratedmobilepageurl.v1.json | 2 +- .../documents/accessapproval.v1.json | 2 +- .../documents/accesscontextmanager.v1.json | 2 +- .../discovery_cache/documents/acmedns.v1.json | 2 +- .../documents/adexchangebuyer2.v2beta1.json | 2 +- .../discovery_cache/documents/admob.v1.json | 2 +- .../documents/admob.v1beta.json | 2 +- .../discovery_cache/documents/adsense.v2.json | 2 +- .../documents/advisorynotifications.v1.json | 2 +- .../documents/aiplatform.v1.json | 713 +++++- .../documents/aiplatform.v1beta1.json | 641 +++++- .../documents/alertcenter.v1beta1.json | 2 +- .../discovery_cache/documents/alloydb.v1.json | 146 +- .../documents/alloydb.v1alpha.json | 312 ++- .../documents/alloydb.v1beta.json | 312 ++- .../documents/analyticsadmin.v1alpha.json | 6 +- .../documents/analyticsadmin.v1beta.json | 2 +- .../documents/analyticsdata.v1beta.json | 2 +- .../documents/analyticshub.v1.json | 20 +- .../documents/analyticshub.v1beta1.json | 2 +- .../androiddeviceprovisioning.v1.json | 2 +- .../documents/androidenterprise.v1.json | 2 +- .../documents/androidmanagement.v1.json | 4 +- .../documents/androidpublisher.v3.json | 4 +- .../discovery_cache/documents/apigee.v1.json | 6 +- .../documents/appengine.v1.json | 2 +- .../documents/appengine.v1alpha.json | 2 +- .../documents/appengine.v1beta.json | 2 +- .../documents/area120tables.v1alpha1.json | 2 +- .../documents/artifactregistry.v1.json | 2 +- .../documents/artifactregistry.v1beta1.json | 2 +- .../documents/artifactregistry.v1beta2.json | 2 +- .../documents/assuredworkloads.v1.json | 14 +- .../documents/assuredworkloads.v1beta1.json | 14 +- .../authorizedbuyersmarketplace.v1.json | 2 +- .../discovery_cache/documents/batch.v1.json | 2 +- .../documents/beyondcorp.v1.json | 2 +- .../documents/beyondcorp.v1alpha.json | 2 +- .../discovery_cache/documents/biglake.v1.json | 2 +- .../documents/bigquerydatapolicy.v1.json | 2 +- .../documents/bigquerydatatransfer.v1.json | 2 +- .../documents/bigqueryreservation.v1.json | 2 +- .../documents/bigtableadmin.v2.json | 392 +++- .../documents/billingbudgets.v1.json | 2 +- .../documents/billingbudgets.v1beta1.json | 2 +- .../documents/binaryauthorization.v1.json | 2 +- .../binaryauthorization.v1beta1.json | 2 +- .../documents/blockchainnodeengine.v1.json | 2 +- .../discovery_cache/documents/blogger.v2.json | 2 +- .../discovery_cache/documents/blogger.v3.json | 2 +- .../discovery_cache/documents/books.v1.json | 2 +- .../businessprofileperformance.v1.json | 2 +- .../documents/calendar.v3.json | 2 +- .../documents/certificatemanager.v1.json | 2 +- .../discovery_cache/documents/chat.v1.json | 87 +- .../documents/checks.v1alpha.json | 10 +- .../documents/chromemanagement.v1.json | 244 ++- .../documents/chromepolicy.v1.json | 2 +- .../documents/chromeuxreport.v1.json | 2 +- .../documents/civicinfo.v2.json | 2 +- .../documents/classroom.v1.json | 2 +- .../documents/cloudbilling.v1.json | 2 +- .../documents/cloudbilling.v1beta.json | 305 +-- .../documents/cloudbuild.v1.json | 2 +- .../documents/cloudbuild.v2.json | 5 +- .../documents/cloudchannel.v1.json | 2 +- .../documents/clouddeploy.v1.json | 2 +- .../clouderrorreporting.v1beta1.json | 2 +- .../documents/cloudfunctions.v1.json | 2 +- .../documents/cloudfunctions.v2.json | 4 +- .../documents/cloudfunctions.v2alpha.json | 4 +- .../documents/cloudfunctions.v2beta.json | 4 +- .../documents/cloudidentity.v1.json | 235 +- .../documents/cloudidentity.v1beta1.json | 235 +- .../documents/cloudprofiler.v2.json | 2 +- .../documents/cloudshell.v1.json | 2 +- .../documents/cloudsupport.v2.json | 2 +- .../documents/cloudsupport.v2beta.json | 2 +- .../documents/cloudtasks.v2.json | 2 +- .../documents/cloudtasks.v2beta2.json | 2 +- .../documents/cloudtasks.v2beta3.json | 2 +- .../documents/composer.v1.json | 8 +- .../documents/composer.v1beta1.json | 8 +- .../documents/compute.alpha.json | 211 +- .../discovery_cache/documents/compute.v1.json | 625 +++++- .../contactcenteraiplatform.v1alpha1.json | 2 +- .../documents/contactcenterinsights.v1.json | 14 +- .../documents/containeranalysis.v1.json | 2 +- .../documents/containeranalysis.v1alpha1.json | 2 +- .../documents/containeranalysis.v1beta1.json | 2 +- .../documents/content.v2.1.json | 21 +- .../documents/customsearch.v1.json | 2 +- .../documents/datacatalog.v1.json | 23 +- .../documents/datacatalog.v1beta1.json | 26 +- .../documents/dataflow.v1b3.json | 10 +- .../documents/dataform.v1beta1.json | 10 +- .../documents/datamigration.v1.json | 164 +- .../documents/datamigration.v1beta1.json | 2 +- .../documents/datapipelines.v1.json | 2 +- .../documents/dataplex.v1.json | 1916 ++++++++++++++++- .../documents/dataportability.v1.json | 2 +- .../documents/dataportability.v1beta.json | 2 +- .../documents/dataproc.v1.json | 14 +- .../documents/datastore.v1.json | 2 +- .../documents/datastore.v1beta1.json | 2 +- .../documents/datastore.v1beta3.json | 2 +- .../documents/datastream.v1.json | 2 +- .../documents/datastream.v1alpha1.json | 2 +- .../documents/dialogflow.v2.json | 94 +- .../documents/dialogflow.v2beta1.json | 94 +- .../documents/dialogflow.v3.json | 320 ++- .../documents/dialogflow.v3beta1.json | 320 ++- .../documents/digitalassetlinks.v1.json | 2 +- .../documents/discoveryengine.v1alpha.json | 677 ++++-- .../documents/discoveryengine.v1beta.json | 377 ++-- .../documents/displayvideo.v2.json | 14 +- .../documents/displayvideo.v3.json | 14 +- .../discovery_cache/documents/dlp.v2.json | 34 +- .../discovery_cache/documents/dns.v1.json | 2 +- .../documents/dns.v1beta2.json | 2 +- .../documents/documentai.v1.json | 23 +- .../documents/documentai.v1beta2.json | 2 +- .../documents/documentai.v1beta3.json | 4 +- .../discovery_cache/documents/domains.v1.json | 2 +- .../documents/domains.v1alpha2.json | 2 +- .../documents/domains.v1beta1.json | 2 +- .../documents/domainsrdap.v1.json | 2 +- .../documents/doubleclicksearch.v2.json | 2 +- .../discovery_cache/documents/drive.v2.json | 2 +- .../discovery_cache/documents/drive.v3.json | 2 +- .../documents/driveactivity.v2.json | 2 +- .../documents/drivelabels.v2.json | 2 +- .../documents/drivelabels.v2beta.json | 2 +- .../documents/essentialcontacts.v1.json | 2 +- .../documents/eventarc.v1.json | 2 +- .../documents/eventarc.v1beta1.json | 2 +- .../documents/factchecktools.v1alpha1.json | 2 +- .../documents/fcmdata.v1beta1.json | 2 +- .../discovery_cache/documents/file.v1.json | 4 +- .../documents/file.v1beta1.json | 4 +- .../documents/firebase.v1beta1.json | 2 +- .../documents/firebaseappcheck.v1.json | 2 +- .../documents/firebaseappcheck.v1beta.json | 2 +- .../documents/firebaseappdistribution.v1.json | 2 +- .../firebaseappdistribution.v1alpha.json | 2 +- .../documents/firebasedatabase.v1beta.json | 2 +- .../documents/firebasedynamiclinks.v1.json | 2 +- .../documents/firebasehosting.v1.json | 2 +- .../documents/firebasehosting.v1beta1.json | 2 +- .../documents/firestore.v1.json | 27 +- .../documents/firestore.v1beta1.json | 2 +- .../documents/firestore.v1beta2.json | 2 +- .../discovery_cache/documents/fitness.v1.json | 2 +- .../discovery_cache/documents/forms.v1.json | 2 +- .../discovery_cache/documents/games.v1.json | 2 +- .../gamesConfiguration.v1configuration.json | 2 +- .../gamesManagement.v1management.json | 2 +- .../documents/gkebackup.v1.json | 2 +- .../discovery_cache/documents/gkehub.v1.json | 2 +- .../documents/gkehub.v1alpha.json | 2 +- .../documents/gkehub.v1beta.json | 2 +- .../documents/gkehub.v1beta1.json | 2 +- .../documents/gkehub.v2alpha.json | 2 +- .../discovery_cache/documents/gmail.v1.json | 2 +- .../documents/gmailpostmastertools.v1.json | 2 +- .../gmailpostmastertools.v1beta1.json | 2 +- .../documents/groupsmigration.v1.json | 2 +- .../documents/homegraph.v1.json | 2 +- .../discovery_cache/documents/iam.v1.json | 2 +- .../discovery_cache/documents/iam.v2.json | 35 +- .../discovery_cache/documents/iam.v2beta.json | 2 +- .../documents/iamcredentials.v1.json | 2 +- .../discovery_cache/documents/iap.v1.json | 2 +- .../documents/iap.v1beta1.json | 2 +- .../documents/identitytoolkit.v1.json | 2 +- .../documents/identitytoolkit.v2.json | 2 +- .../documents/indexing.v3.json | 2 +- .../documents/integrations.v1alpha.json | 50 +- .../discovery_cache/documents/jobs.v3.json | 2 +- .../documents/jobs.v3p1beta1.json | 2 +- .../discovery_cache/documents/jobs.v4.json | 2 +- .../discovery_cache/documents/keep.v1.json | 2 +- .../documents/kgsearch.v1.json | 2 +- .../documents/kmsinventory.v1.json | 2 +- .../documents/language.v1.json | 2 +- .../documents/language.v1beta2.json | 2 +- .../documents/language.v2.json | 2 +- .../documents/libraryagent.v1.json | 2 +- .../documents/licensing.v1.json | 2 +- .../documents/lifesciences.v2beta.json | 2 +- .../documents/localservices.v1.json | 2 +- .../discovery_cache/documents/logging.v2.json | 46 +- .../discovery_cache/documents/looker.v1.json | 2 +- .../marketingplatformadmin.v1alpha.json | 2 +- .../documents/memcache.v1.json | 4 +- .../documents/memcache.v1beta2.json | 4 +- .../documents/migrationcenter.v1.json | 2 +- .../discovery_cache/documents/ml.v1.json | 2 +- .../documents/monitoring.v1.json | 2 +- .../documents/monitoring.v3.json | 2 +- .../mybusinessaccountmanagement.v1.json | 2 +- .../mybusinessbusinessinformation.v1.json | 2 +- .../documents/mybusinesslodging.v1.json | 2 +- .../documents/mybusinessnotifications.v1.json | 2 +- .../documents/mybusinessplaceactions.v1.json | 2 +- .../documents/mybusinessqanda.v1.json | 2 +- .../documents/mybusinessverifications.v1.json | 2 +- .../documents/networkconnectivity.v1.json | 2 +- .../networkconnectivity.v1alpha1.json | 2 +- .../documents/networkmanagement.v1.json | 24 +- .../documents/networkmanagement.v1beta1.json | 24 +- .../documents/networksecurity.v1.json | 2 +- .../documents/networksecurity.v1beta1.json | 2 +- .../documents/networkservices.v1.json | 2 +- .../documents/networkservices.v1beta1.json | 2 +- .../documents/notebooks.v1.json | 4 +- .../documents/notebooks.v2.json | 2 +- .../documents/ondemandscanning.v1.json | 2 +- .../documents/ondemandscanning.v1beta1.json | 2 +- .../documents/orgpolicy.v2.json | 2 +- .../documents/osconfig.v1.json | 90 +- .../documents/osconfig.v1alpha.json | 2 +- .../documents/osconfig.v1beta.json | 2 +- .../discovery_cache/documents/oslogin.v1.json | 2 +- .../documents/pagespeedonline.v5.json | 2 +- .../paymentsresellersubscription.v1.json | 2 +- .../discovery_cache/documents/people.v1.json | 28 +- .../discovery_cache/documents/places.v1.json | 2 +- .../documents/playcustomapp.v1.json | 2 +- .../playdeveloperreporting.v1alpha1.json | 2 +- .../playdeveloperreporting.v1beta1.json | 2 +- .../documents/playgrouping.v1alpha1.json | 2 +- .../documents/playintegrity.v1.json | 4 +- .../documents/policyanalyzer.v1.json | 2 +- .../documents/policyanalyzer.v1beta1.json | 2 +- .../documents/policysimulator.v1.json | 2 +- .../documents/policysimulator.v1alpha.json | 2 +- .../documents/policysimulator.v1beta.json | 2 +- .../documents/policytroubleshooter.v1.json | 2 +- .../policytroubleshooter.v1beta.json | 2 +- .../documents/privateca.v1.json | 2 +- .../documents/privateca.v1beta1.json | 2 +- .../documents/publicca.v1.json | 2 +- .../documents/publicca.v1alpha1.json | 2 +- .../documents/publicca.v1beta1.json | 2 +- .../discovery_cache/documents/pubsub.v1.json | 2 +- .../documents/pubsub.v1beta1a.json | 2 +- .../documents/pubsub.v1beta2.json | 2 +- .../readerrevenuesubscriptionlinking.v1.json | 2 +- .../documents/realtimebidding.v1.json | 2 +- .../documents/recaptchaenterprise.v1.json | 2 +- .../recommendationengine.v1beta1.json | 2 +- .../documents/recommender.v1beta1.json | 2 +- .../discovery_cache/documents/redis.v1.json | 64 +- .../documents/redis.v1beta1.json | 64 +- .../documents/reseller.v1.json | 2 +- .../documents/resourcesettings.v1.json | 2 +- .../discovery_cache/documents/retail.v2.json | 4 +- .../documents/retail.v2alpha.json | 6 +- .../documents/retail.v2beta.json | 4 +- .../discovery_cache/documents/run.v1.json | 4 +- .../discovery_cache/documents/run.v2.json | 14 +- .../documents/sasportal.v1alpha1.json | 2 +- .../discovery_cache/documents/script.v1.json | 2 +- .../documents/searchconsole.v1.json | 2 +- .../documents/secretmanager.v1.json | 9 +- .../documents/secretmanager.v1beta1.json | 9 +- .../documents/securitycenter.v1.json | 2 +- .../documents/securitycenter.v1beta1.json | 2 +- .../documents/securitycenter.v1beta2.json | 2 +- .../documents/servicecontrol.v1.json | 2 +- .../documents/servicecontrol.v2.json | 2 +- .../documents/servicemanagement.v1.json | 2 +- .../documents/servicenetworking.v1.json | 2 +- .../documents/servicenetworking.v1beta.json | 2 +- .../discovery_cache/documents/spanner.v1.json | 435 +++- .../discovery_cache/documents/speech.v1.json | 2 +- .../documents/speech.v1p1beta1.json | 2 +- .../discovery_cache/documents/storage.v1.json | 9 +- .../documents/storagetransfer.v1.json | 29 +- .../documents/streetviewpublish.v1.json | 2 +- .../discovery_cache/documents/sts.v1.json | 155 +- .../discovery_cache/documents/sts.v1beta.json | 2 +- .../documents/tagmanager.v1.json | 2 +- .../documents/tagmanager.v2.json | 2 +- .../discovery_cache/documents/tasks.v1.json | 6 +- .../discovery_cache/documents/testing.v1.json | 4 +- .../documents/toolresults.v1beta3.json | 2 +- .../documents/trafficdirector.v2.json | 2 +- .../documents/transcoder.v1.json | 2 +- .../documents/travelimpactmodel.v1.json | 2 +- .../discovery_cache/documents/vault.v1.json | 2 +- .../documents/versionhistory.v1.json | 2 +- .../documents/videointelligence.v1.json | 2 +- .../documents/videointelligence.v1beta2.json | 2 +- .../videointelligence.v1p1beta1.json | 2 +- .../videointelligence.v1p2beta1.json | 2 +- .../videointelligence.v1p3beta1.json | 2 +- .../discovery_cache/documents/vision.v1.json | 2 +- .../documents/vision.v1p1beta1.json | 2 +- .../documents/vision.v1p2beta1.json | 2 +- .../documents/vmmigration.v1.json | 2 +- .../documents/vmwareengine.v1.json | 2 +- .../documents/vpcaccess.v1.json | 2 +- .../documents/walletobjects.v1.json | 6 +- .../discovery_cache/documents/webrisk.v1.json | 2 +- .../documents/websecurityscanner.v1.json | 2 +- .../documents/websecurityscanner.v1alpha.json | 2 +- .../documents/websecurityscanner.v1beta.json | 2 +- .../documents/workflowexecutions.v1.json | 2 +- .../documents/workflowexecutions.v1beta.json | 2 +- .../documents/workspaceevents.v1.json | 2 +- .../discovery_cache/documents/youtube.v3.json | 2 +- .../documents/youtubeAnalytics.v2.json | 2 +- .../documents/youtubereporting.v1.json | 2 +- 495 files changed, 19542 insertions(+), 3026 deletions(-) create mode 100644 docs/dyn/aiplatform_v1.projects.locations.persistentResources.html create mode 100644 docs/dyn/aiplatform_v1.projects.locations.tuningJobs.html create mode 100644 docs/dyn/aiplatform_v1.projects.locations.tuningJobs.operations.html create mode 100644 docs/dyn/bigtableadmin_v2.projects.instances.tables.authorizedViews.html create mode 100644 docs/dyn/compute_v1.instanceGroupManagerResizeRequests.html create mode 100644 docs/dyn/dataplex_v1.projects.locations.entryGroups.entries.html create mode 100644 docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.branches.documents.chunks.html create mode 100644 docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.branches.documents.chunks.html create mode 100644 docs/dyn/osconfig_v1.projects.locations.global_.html create mode 100644 docs/dyn/spanner_v1.projects.instances.instancePartitionOperations.html diff --git a/docs/dyn/aiplatform_v1.projects.locations.endpoints.html b/docs/dyn/aiplatform_v1.projects.locations.endpoints.html index 4403629b425..a35e488eed8 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.endpoints.html +++ b/docs/dyn/aiplatform_v1.projects.locations.endpoints.html @@ -427,12 +427,6 @@
Returns the operations Resource.
+ +Returns the persistentResources Resource.
+ @@ -209,6 +214,11 @@Returns the trainingPipelines Resource.
+
+ tuningJobs()
+
Returns the tuningJobs Resource.
+Close httplib2 connections.
diff --git a/docs/dyn/aiplatform_v1.projects.locations.indexEndpoints.html b/docs/dyn/aiplatform_v1.projects.locations.indexEndpoints.html index 9c9df7d2c88..44d2d5368b8 100644 --- a/docs/dyn/aiplatform_v1.projects.locations.indexEndpoints.html +++ b/docs/dyn/aiplatform_v1.projects.locations.indexEndpoints.html @@ -377,7 +377,7 @@
+ close()
Close httplib2 connections.
+
+ create(parent, body=None, persistentResourceId=None, x__xgafv=None)
Creates a PersistentResource.
+ +Deletes a PersistentResource.
+ +Gets a PersistentResource.
+
+ list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists PersistentResources in a Location.
+ +Retrieves the next page of results.
+
+ patch(name, body=None, updateMask=None, x__xgafv=None)
Updates a PersistentResource.
+close()
+ Close httplib2 connections.+
create(parent, body=None, persistentResourceId=None, x__xgafv=None)
+ Creates a PersistentResource. + +Args: + parent: string, Required. The resource name of the Location to create the PersistentResource in. Format: `projects/{project}/locations/{location}` (required) + body: object, The request body. + The object takes the form of: + +{ # Represents long-lasting resources that are dedicated to users to runs custom workloads. A PersistentResource can have multiple node pools and each node pool can have its own machine spec. + "createTime": "A String", # Output only. Time when the PersistentResource was created. + "displayName": "A String", # Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters. + "encryptionSpec": { # Represents a customer-managed encryption key spec that can be applied to a top-level resource. # Optional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key. + "kmsKeyName": "A String", # Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. The key needs to be in the same region as where the compute resource is created. + }, + "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Only populated when persistent resource's state is `STOPPING` or `ERROR`. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "labels": { # Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. + "a_key": "A String", + }, + "name": "A String", # Immutable. Resource name of a PersistentResource. + "network": "A String", # Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources aren't peered with any network. + "reservedIpRanges": [ # Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. + "A String", + ], + "resourcePools": [ # Required. The spec of the pools of different resources. + { # Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource. + "autoscalingSpec": { # The min/max number of replicas allowed if enabling autoscaling # Optional. Optional spec to configure GKE autoscaling + "maxReplicaCount": "A String", # Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error + "minReplicaCount": "A String", # Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error + }, + "diskSpec": { # Represents the spec of disk options. # Optional. Disk spec for the machine in this node pool. + "bootDiskSizeGb": 42, # Size in GB of the boot disk (default is 100GB). + "bootDiskType": "A String", # Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive). + }, + "id": "A String", # Immutable. The unique ID in a PersistentResource for referring to this resource pool. User can specify it if necessary. Otherwise, it's generated automatically. + "machineSpec": { # Specification of a single machine. # Required. Immutable. The specification of a single machine. + "acceleratorCount": 42, # The number of accelerators to attach to the machine. + "acceleratorType": "A String", # Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count. + "machineType": "A String", # Immutable. The type of the machine. See the [list of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). For DeployedModel this field is optional, and the default value is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this field is required. + "tpuTopology": "A String", # Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1"). + }, + "replicaCount": "A String", # Optional. The total number of machines to use for this resource pool. + "usedReplicaCount": "A String", # Output only. The number of machines currently in use by training jobs for this resource pool. Will replace idle_replica_count. + }, + ], + "resourceRuntime": { # Persistent Cluster runtime information as output # Output only. Runtime information of the Persistent Resource. + "accessUris": { # Output only. URIs for user to connect to the Cluster. Example: { "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001" "RAY_DASHBOARD_URI": "ray-dashboard-address:8888" } + "a_key": "A String", + }, + "notebookRuntimeTemplate": "A String", # Output only. The resource name of NotebookRuntimeTemplate for the RoV Persistent Cluster The NotebokRuntimeTemplate is created in the same VPC (if set), and with the same Ray and Python version as the Persistent Cluster. Example: "projects/1000/locations/us-central1/notebookRuntimeTemplates/abc123" + }, + "resourceRuntimeSpec": { # Configuration for the runtime on a PersistentResource instance, including but not limited to: * Service accounts used to run the workloads. * Whether to make it a dedicated Ray Cluster. # Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration. + "raySpec": { # Configuration information for the Ray cluster. For experimental launch, Ray cluster creation and Persistent cluster creation are 1:1 mapping: We will provision all the nodes within the Persistent cluster as Ray nodes. # Optional. Ray cluster configuration. Required when creating a dedicated RayCluster on the PersistentResource. + "headNodeResourcePoolId": "A String", # Optional. This will be used to indicate which resource pool will serve as the Ray head node(the first node within that pool). Will use the machine from the first workerpool as the head node by default if this field isn't set. + "imageUri": "A String", # Optional. Default image for user to choose a preferred ML framework (for example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). Either this or the resource_pool_images is required. Use this field if you need all the resource pools to have the same Ray image. Otherwise, use the {@code resource_pool_images} field. + "rayMetricSpec": { # Configuration for the Ray metrics. # Optional. Ray metrics configurations. + "disabled": True or False, # Optional. Flag to disable the Ray metrics collection. + }, + "resourcePoolImages": { # Optional. Required if image_uri isn't set. A map of resource_pool_id to prebuild Ray image if user need to use different images for different head/worker pools. This map needs to cover all the resource pool ids. Example: { "ray_head_node_pool": "head image" "ray_worker_node_pool1": "worker image" "ray_worker_node_pool2": "another worker image" } + "a_key": "A String", + }, + }, + "serviceAccountSpec": { # Configuration for the use of custom service account to run the workloads. # Optional. Configure the use of workload identity on the PersistentResource + "enableCustomServiceAccount": True or False, # Required. If true, custom user-managed service account is enforced to run any workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). + "serviceAccount": "A String", # Optional. Default service account that this PersistentResource's workloads run as. The workloads include: * Any runtime specified via `ResourceRuntimeSpec` on creation time, for example, Ray. * Jobs submitted to PersistentResource, if no other service account specified in the job specs. Only works when custom service account is enabled and users have the `iam.serviceAccounts.actAs` permission on this service account. Required if any containers are specified in `ResourceRuntimeSpec`. + }, + }, + "startTime": "A String", # Output only. Time when the PersistentResource for the first time entered the `RUNNING` state. + "state": "A String", # Output only. The detailed state of a Study. + "updateTime": "A String", # Output only. Time when the PersistentResource was most recently updated. +} + + persistentResourceId: string, Required. The ID to use for the PersistentResource, which become the final component of the PersistentResource's resource name. The maximum length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # This resource represents a long-running operation that is the result of a network API call. + "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. + "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, +}+
delete(name, x__xgafv=None)
+ Deletes a PersistentResource. + +Args: + name: string, Required. The name of the PersistentResource to be deleted. Format: `projects/{project}/locations/{location}/persistentResources/{persistent_resource}` (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # This resource represents a long-running operation that is the result of a network API call. + "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. + "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, +}+
get(name, x__xgafv=None)
+ Gets a PersistentResource. + +Args: + name: string, Required. The name of the PersistentResource resource. Format: `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}` (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Represents long-lasting resources that are dedicated to users to runs custom workloads. A PersistentResource can have multiple node pools and each node pool can have its own machine spec. + "createTime": "A String", # Output only. Time when the PersistentResource was created. + "displayName": "A String", # Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters. + "encryptionSpec": { # Represents a customer-managed encryption key spec that can be applied to a top-level resource. # Optional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key. + "kmsKeyName": "A String", # Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. The key needs to be in the same region as where the compute resource is created. + }, + "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Only populated when persistent resource's state is `STOPPING` or `ERROR`. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "labels": { # Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. + "a_key": "A String", + }, + "name": "A String", # Immutable. Resource name of a PersistentResource. + "network": "A String", # Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources aren't peered with any network. + "reservedIpRanges": [ # Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. + "A String", + ], + "resourcePools": [ # Required. The spec of the pools of different resources. + { # Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource. + "autoscalingSpec": { # The min/max number of replicas allowed if enabling autoscaling # Optional. Optional spec to configure GKE autoscaling + "maxReplicaCount": "A String", # Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error + "minReplicaCount": "A String", # Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error + }, + "diskSpec": { # Represents the spec of disk options. # Optional. Disk spec for the machine in this node pool. + "bootDiskSizeGb": 42, # Size in GB of the boot disk (default is 100GB). + "bootDiskType": "A String", # Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive). + }, + "id": "A String", # Immutable. The unique ID in a PersistentResource for referring to this resource pool. User can specify it if necessary. Otherwise, it's generated automatically. + "machineSpec": { # Specification of a single machine. # Required. Immutable. The specification of a single machine. + "acceleratorCount": 42, # The number of accelerators to attach to the machine. + "acceleratorType": "A String", # Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count. + "machineType": "A String", # Immutable. The type of the machine. See the [list of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). For DeployedModel this field is optional, and the default value is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this field is required. + "tpuTopology": "A String", # Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1"). + }, + "replicaCount": "A String", # Optional. The total number of machines to use for this resource pool. + "usedReplicaCount": "A String", # Output only. The number of machines currently in use by training jobs for this resource pool. Will replace idle_replica_count. + }, + ], + "resourceRuntime": { # Persistent Cluster runtime information as output # Output only. Runtime information of the Persistent Resource. + "accessUris": { # Output only. URIs for user to connect to the Cluster. Example: { "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001" "RAY_DASHBOARD_URI": "ray-dashboard-address:8888" } + "a_key": "A String", + }, + "notebookRuntimeTemplate": "A String", # Output only. The resource name of NotebookRuntimeTemplate for the RoV Persistent Cluster The NotebokRuntimeTemplate is created in the same VPC (if set), and with the same Ray and Python version as the Persistent Cluster. Example: "projects/1000/locations/us-central1/notebookRuntimeTemplates/abc123" + }, + "resourceRuntimeSpec": { # Configuration for the runtime on a PersistentResource instance, including but not limited to: * Service accounts used to run the workloads. * Whether to make it a dedicated Ray Cluster. # Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration. + "raySpec": { # Configuration information for the Ray cluster. For experimental launch, Ray cluster creation and Persistent cluster creation are 1:1 mapping: We will provision all the nodes within the Persistent cluster as Ray nodes. # Optional. Ray cluster configuration. Required when creating a dedicated RayCluster on the PersistentResource. + "headNodeResourcePoolId": "A String", # Optional. This will be used to indicate which resource pool will serve as the Ray head node(the first node within that pool). Will use the machine from the first workerpool as the head node by default if this field isn't set. + "imageUri": "A String", # Optional. Default image for user to choose a preferred ML framework (for example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). Either this or the resource_pool_images is required. Use this field if you need all the resource pools to have the same Ray image. Otherwise, use the {@code resource_pool_images} field. + "rayMetricSpec": { # Configuration for the Ray metrics. # Optional. Ray metrics configurations. + "disabled": True or False, # Optional. Flag to disable the Ray metrics collection. + }, + "resourcePoolImages": { # Optional. Required if image_uri isn't set. A map of resource_pool_id to prebuild Ray image if user need to use different images for different head/worker pools. This map needs to cover all the resource pool ids. Example: { "ray_head_node_pool": "head image" "ray_worker_node_pool1": "worker image" "ray_worker_node_pool2": "another worker image" } + "a_key": "A String", + }, + }, + "serviceAccountSpec": { # Configuration for the use of custom service account to run the workloads. # Optional. Configure the use of workload identity on the PersistentResource + "enableCustomServiceAccount": True or False, # Required. If true, custom user-managed service account is enforced to run any workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). + "serviceAccount": "A String", # Optional. Default service account that this PersistentResource's workloads run as. The workloads include: * Any runtime specified via `ResourceRuntimeSpec` on creation time, for example, Ray. * Jobs submitted to PersistentResource, if no other service account specified in the job specs. Only works when custom service account is enabled and users have the `iam.serviceAccounts.actAs` permission on this service account. Required if any containers are specified in `ResourceRuntimeSpec`. + }, + }, + "startTime": "A String", # Output only. Time when the PersistentResource for the first time entered the `RUNNING` state. + "state": "A String", # Output only. The detailed state of a Study. + "updateTime": "A String", # Output only. Time when the PersistentResource was most recently updated. +}+
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
+ Lists PersistentResources in a Location. + +Args: + parent: string, Required. The resource name of the Location to list the PersistentResources from. Format: `projects/{project}/locations/{location}` (required) + pageSize: integer, Optional. The standard list page size. + pageToken: string, Optional. The standard list page token. Typically obtained via ListPersistentResourceResponse.next_page_token of the previous PersistentResourceService.ListPersistentResource call. + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Response message for PersistentResourceService.ListPersistentResources + "nextPageToken": "A String", # A token to retrieve next page of results. Pass to ListPersistentResourcesRequest.page_token to obtain that page. + "persistentResources": [ + { # Represents long-lasting resources that are dedicated to users to runs custom workloads. A PersistentResource can have multiple node pools and each node pool can have its own machine spec. + "createTime": "A String", # Output only. Time when the PersistentResource was created. + "displayName": "A String", # Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters. + "encryptionSpec": { # Represents a customer-managed encryption key spec that can be applied to a top-level resource. # Optional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key. + "kmsKeyName": "A String", # Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. The key needs to be in the same region as where the compute resource is created. + }, + "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Only populated when persistent resource's state is `STOPPING` or `ERROR`. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "labels": { # Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. + "a_key": "A String", + }, + "name": "A String", # Immutable. Resource name of a PersistentResource. + "network": "A String", # Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources aren't peered with any network. + "reservedIpRanges": [ # Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. + "A String", + ], + "resourcePools": [ # Required. The spec of the pools of different resources. + { # Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource. + "autoscalingSpec": { # The min/max number of replicas allowed if enabling autoscaling # Optional. Optional spec to configure GKE autoscaling + "maxReplicaCount": "A String", # Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error + "minReplicaCount": "A String", # Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error + }, + "diskSpec": { # Represents the spec of disk options. # Optional. Disk spec for the machine in this node pool. + "bootDiskSizeGb": 42, # Size in GB of the boot disk (default is 100GB). + "bootDiskType": "A String", # Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive). + }, + "id": "A String", # Immutable. The unique ID in a PersistentResource for referring to this resource pool. User can specify it if necessary. Otherwise, it's generated automatically. + "machineSpec": { # Specification of a single machine. # Required. Immutable. The specification of a single machine. + "acceleratorCount": 42, # The number of accelerators to attach to the machine. + "acceleratorType": "A String", # Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count. + "machineType": "A String", # Immutable. The type of the machine. See the [list of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). For DeployedModel this field is optional, and the default value is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this field is required. + "tpuTopology": "A String", # Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1"). + }, + "replicaCount": "A String", # Optional. The total number of machines to use for this resource pool. + "usedReplicaCount": "A String", # Output only. The number of machines currently in use by training jobs for this resource pool. Will replace idle_replica_count. + }, + ], + "resourceRuntime": { # Persistent Cluster runtime information as output # Output only. Runtime information of the Persistent Resource. + "accessUris": { # Output only. URIs for user to connect to the Cluster. Example: { "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001" "RAY_DASHBOARD_URI": "ray-dashboard-address:8888" } + "a_key": "A String", + }, + "notebookRuntimeTemplate": "A String", # Output only. The resource name of NotebookRuntimeTemplate for the RoV Persistent Cluster The NotebokRuntimeTemplate is created in the same VPC (if set), and with the same Ray and Python version as the Persistent Cluster. Example: "projects/1000/locations/us-central1/notebookRuntimeTemplates/abc123" + }, + "resourceRuntimeSpec": { # Configuration for the runtime on a PersistentResource instance, including but not limited to: * Service accounts used to run the workloads. * Whether to make it a dedicated Ray Cluster. # Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration. + "raySpec": { # Configuration information for the Ray cluster. For experimental launch, Ray cluster creation and Persistent cluster creation are 1:1 mapping: We will provision all the nodes within the Persistent cluster as Ray nodes. # Optional. Ray cluster configuration. Required when creating a dedicated RayCluster on the PersistentResource. + "headNodeResourcePoolId": "A String", # Optional. This will be used to indicate which resource pool will serve as the Ray head node(the first node within that pool). Will use the machine from the first workerpool as the head node by default if this field isn't set. + "imageUri": "A String", # Optional. Default image for user to choose a preferred ML framework (for example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). Either this or the resource_pool_images is required. Use this field if you need all the resource pools to have the same Ray image. Otherwise, use the {@code resource_pool_images} field. + "rayMetricSpec": { # Configuration for the Ray metrics. # Optional. Ray metrics configurations. + "disabled": True or False, # Optional. Flag to disable the Ray metrics collection. + }, + "resourcePoolImages": { # Optional. Required if image_uri isn't set. A map of resource_pool_id to prebuild Ray image if user need to use different images for different head/worker pools. This map needs to cover all the resource pool ids. Example: { "ray_head_node_pool": "head image" "ray_worker_node_pool1": "worker image" "ray_worker_node_pool2": "another worker image" } + "a_key": "A String", + }, + }, + "serviceAccountSpec": { # Configuration for the use of custom service account to run the workloads. # Optional. Configure the use of workload identity on the PersistentResource + "enableCustomServiceAccount": True or False, # Required. If true, custom user-managed service account is enforced to run any workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). + "serviceAccount": "A String", # Optional. Default service account that this PersistentResource's workloads run as. The workloads include: * Any runtime specified via `ResourceRuntimeSpec` on creation time, for example, Ray. * Jobs submitted to PersistentResource, if no other service account specified in the job specs. Only works when custom service account is enabled and users have the `iam.serviceAccounts.actAs` permission on this service account. Required if any containers are specified in `ResourceRuntimeSpec`. + }, + }, + "startTime": "A String", # Output only. Time when the PersistentResource for the first time entered the `RUNNING` state. + "state": "A String", # Output only. The detailed state of a Study. + "updateTime": "A String", # Output only. Time when the PersistentResource was most recently updated. + }, + ], +}+
list_next()
+ Retrieves the next page of results. + + Args: + previous_request: The request for the previous page. (required) + previous_response: The response from the request for the previous page. (required) + + Returns: + A request object that you can call 'execute()' on to request the next + page. Returns None if there are no more items in the collection. ++
patch(name, body=None, updateMask=None, x__xgafv=None)
+ Updates a PersistentResource. + +Args: + name: string, Immutable. Resource name of a PersistentResource. (required) + body: object, The request body. + The object takes the form of: + +{ # Represents long-lasting resources that are dedicated to users to runs custom workloads. A PersistentResource can have multiple node pools and each node pool can have its own machine spec. + "createTime": "A String", # Output only. Time when the PersistentResource was created. + "displayName": "A String", # Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters. + "encryptionSpec": { # Represents a customer-managed encryption key spec that can be applied to a top-level resource. # Optional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key. + "kmsKeyName": "A String", # Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. The key needs to be in the same region as where the compute resource is created. + }, + "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. Only populated when persistent resource's state is `STOPPING` or `ERROR`. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "labels": { # Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. + "a_key": "A String", + }, + "name": "A String", # Immutable. Resource name of a PersistentResource. + "network": "A String", # Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources aren't peered with any network. + "reservedIpRanges": [ # Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. + "A String", + ], + "resourcePools": [ # Required. The spec of the pools of different resources. + { # Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource. + "autoscalingSpec": { # The min/max number of replicas allowed if enabling autoscaling # Optional. Optional spec to configure GKE autoscaling + "maxReplicaCount": "A String", # Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error + "minReplicaCount": "A String", # Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error + }, + "diskSpec": { # Represents the spec of disk options. # Optional. Disk spec for the machine in this node pool. + "bootDiskSizeGb": 42, # Size in GB of the boot disk (default is 100GB). + "bootDiskType": "A String", # Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive). + }, + "id": "A String", # Immutable. The unique ID in a PersistentResource for referring to this resource pool. User can specify it if necessary. Otherwise, it's generated automatically. + "machineSpec": { # Specification of a single machine. # Required. Immutable. The specification of a single machine. + "acceleratorCount": 42, # The number of accelerators to attach to the machine. + "acceleratorType": "A String", # Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count. + "machineType": "A String", # Immutable. The type of the machine. See the [list of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). For DeployedModel this field is optional, and the default value is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this field is required. + "tpuTopology": "A String", # Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1"). + }, + "replicaCount": "A String", # Optional. The total number of machines to use for this resource pool. + "usedReplicaCount": "A String", # Output only. The number of machines currently in use by training jobs for this resource pool. Will replace idle_replica_count. + }, + ], + "resourceRuntime": { # Persistent Cluster runtime information as output # Output only. Runtime information of the Persistent Resource. + "accessUris": { # Output only. URIs for user to connect to the Cluster. Example: { "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001" "RAY_DASHBOARD_URI": "ray-dashboard-address:8888" } + "a_key": "A String", + }, + "notebookRuntimeTemplate": "A String", # Output only. The resource name of NotebookRuntimeTemplate for the RoV Persistent Cluster The NotebokRuntimeTemplate is created in the same VPC (if set), and with the same Ray and Python version as the Persistent Cluster. Example: "projects/1000/locations/us-central1/notebookRuntimeTemplates/abc123" + }, + "resourceRuntimeSpec": { # Configuration for the runtime on a PersistentResource instance, including but not limited to: * Service accounts used to run the workloads. * Whether to make it a dedicated Ray Cluster. # Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration. + "raySpec": { # Configuration information for the Ray cluster. For experimental launch, Ray cluster creation and Persistent cluster creation are 1:1 mapping: We will provision all the nodes within the Persistent cluster as Ray nodes. # Optional. Ray cluster configuration. Required when creating a dedicated RayCluster on the PersistentResource. + "headNodeResourcePoolId": "A String", # Optional. This will be used to indicate which resource pool will serve as the Ray head node(the first node within that pool). Will use the machine from the first workerpool as the head node by default if this field isn't set. + "imageUri": "A String", # Optional. Default image for user to choose a preferred ML framework (for example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). Either this or the resource_pool_images is required. Use this field if you need all the resource pools to have the same Ray image. Otherwise, use the {@code resource_pool_images} field. + "rayMetricSpec": { # Configuration for the Ray metrics. # Optional. Ray metrics configurations. + "disabled": True or False, # Optional. Flag to disable the Ray metrics collection. + }, + "resourcePoolImages": { # Optional. Required if image_uri isn't set. A map of resource_pool_id to prebuild Ray image if user need to use different images for different head/worker pools. This map needs to cover all the resource pool ids. Example: { "ray_head_node_pool": "head image" "ray_worker_node_pool1": "worker image" "ray_worker_node_pool2": "another worker image" } + "a_key": "A String", + }, + }, + "serviceAccountSpec": { # Configuration for the use of custom service account to run the workloads. # Optional. Configure the use of workload identity on the PersistentResource + "enableCustomServiceAccount": True or False, # Required. If true, custom user-managed service account is enforced to run any workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). + "serviceAccount": "A String", # Optional. Default service account that this PersistentResource's workloads run as. The workloads include: * Any runtime specified via `ResourceRuntimeSpec` on creation time, for example, Ray. * Jobs submitted to PersistentResource, if no other service account specified in the job specs. Only works when custom service account is enabled and users have the `iam.serviceAccounts.actAs` permission on this service account. Required if any containers are specified in `ResourceRuntimeSpec`. + }, + }, + "startTime": "A String", # Output only. Time when the PersistentResource for the first time entered the `RUNNING` state. + "state": "A String", # Output only. The detailed state of a Study. + "updateTime": "A String", # Output only. Time when the PersistentResource was most recently updated. +} + + updateMask: string, Required. Specify the fields to be overwritten in the PersistentResource by the update method. + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # This resource represents a long-running operation that is the result of a network API call. + "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. + "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, +}+
+ operations()
+
Returns the operations Resource.
+ +
+ close()
Close httplib2 connections.
+close()
+ Close httplib2 connections.+
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
+
+ close()
Close httplib2 connections.
+ +Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
+cancel(name, x__xgafv=None)
+ Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + +Args: + name: string, The name of the operation resource to be cancelled. (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } +}+
close()
+ Close httplib2 connections.+
get(name, x__xgafv=None)
+ Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + +Args: + name: string, The name of the operation resource. (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # This resource represents a long-running operation that is the result of a network API call. + "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. + "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, +}+
Close httplib2 connections.
+ +Deletes an Extension.
+
+ execute(name, body=None, x__xgafv=None)
Executes the request against a given extension.
+ +Gets an Extension.
+
+ import_(parent, body=None, x__xgafv=None)
Imports an Extension.
+
+ list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists Extensions in a location.
+ +Retrieves the next page of results.
+
+ patch(name, body=None, updateMask=None, x__xgafv=None)
Updates an Extension.
close()
Close httplib2 connections.
delete(name, x__xgafv=None)
+ Deletes an Extension. + +Args: + name: string, Required. The name of the Extension resource to be deleted. Format: `projects/{project}/locations/{location}/extensions/{extension}` (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # This resource represents a long-running operation that is the result of a network API call. + "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. + "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, +}+
execute(name, body=None, x__xgafv=None)
+ Executes the request against a given extension. + +Args: + name: string, Required. Name (identifier) of the extension; Format: `projects/{project}/locations/{location}/extensions/{extension}` (required) + body: object, The request body. + The object takes the form of: + +{ # Request message for ExtensionExecutionService.ExecuteExtension. + "operationId": "A String", # Required. The operation to be executed in this extension as defined in ExtensionOperation.operation_id. + "operationParams": { # Optional. Request parameters that will be used for executing this operation. The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}. + "a_key": "", # Properties of the object. + }, + "runtimeAuthConfig": { # Auth configuration to run the extension. # Optional. Auth config provided at runtime to override the default value in Extension.manifest.auth_config. The AuthConfig.auth_type should match the value in Extension.manifest.auth_config. + "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth. + "apiKeySecret": "A String", # Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + "httpElementLocation": "A String", # Required. The location of the API key. + "name": "A String", # Required. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. + }, + "authType": "A String", # Type of auth scheme. + "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth. + "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If it is not specified, the Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used. - If the service account is provided, the service account should grant Vertex AI Extension Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth. + "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + }, + "noAuth": { # Empty message, used to indicate no authentication for an endpoint. # Config for no auth. + }, + "oauthConfig": { # Config for user oauth. # Config for user oauth. + "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + "serviceAccount": "A String", # The service account that the extension execution service will use to query extension. Used for generating OAuth token on behalf of provided service account. - If the service account is provided, the service account should grant Vertex AI Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth. + "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + }, + }, +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Response message for ExtensionExecutionService.ExecuteExtension. + "content": "A String", # Response content from the extension. The content should be conformant to the response.content schema in the extension's manifest/OpenAPI spec. + "output": { # Output from the extension. The output should be conformant to the extension's manifest/OpenAPI spec. The output can contain values for keys like "content", "headers", etc. This field is deprecated, please use content field below for the extension execution result. + "a_key": "", # Properties of the object. + }, +}+
get(name, x__xgafv=None)
+ Gets an Extension. + +Args: + name: string, Required. The name of the Extension resource. Format: `projects/{project}/locations/{location}/extensions/{extension}` (required) + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Extensions are tools for large language models to access external data, run computations, etc. + "createTime": "A String", # Output only. Timestamp when this Extension was created. + "description": "A String", # Optional. The description of the Extension. + "displayName": "A String", # Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters. + "etag": "A String", # Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. + "extensionOperations": [ # Output only. Supported operations. + { # Operation of an extension. + "functionDeclaration": { # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client. # Output only. Structured representation of a function declaration as defined by the OpenAPI Spec. + "description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. + "name": "A String", # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a maximum length of 64. + "parameters": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may be added in the future as needed. # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 + "description": "A String", # Optional. The description of the data. + "enum": [ # Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} + "A String", + ], + "example": "", # Optional. Example of the object. Will only populated when the object is the root. + "format": "A String", # Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64 + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. Schema of the elements of Type.ARRAY. + "nullable": True or False, # Optional. Indicates if the value may be null. + "properties": { # Optional. Properties of Type.OBJECT. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "required": [ # Optional. Required properties of Type.OBJECT. + "A String", + ], + "type": "A String", # Optional. The type of the data. + }, + }, + "operationId": "A String", # Operation ID that uniquely identifies the operations among the extension. See: "Operation Object" in https://swagger.io/specification/. This field is parsed from the OpenAPI spec. For HTTP extensions, if it does not exist in the spec, we will generate one from the HTTP method and path. + }, + ], + "manifest": { # Manifest spec of an Extension needed for runtime execution. # Required. Manifest of the Extension. + "apiSpec": { # The API specification shown to the LLM. # Required. Immutable. The API specification shown to the LLM. + "openApiGcsUri": "A String", # Cloud Storage URI pointing to the OpenAPI spec. + "openApiYaml": "A String", # The API spec in Open API standard and YAML format. + }, + "authConfig": { # Auth configuration to run the extension. # Required. Immutable. Type of auth supported by this extension. + "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth. + "apiKeySecret": "A String", # Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + "httpElementLocation": "A String", # Required. The location of the API key. + "name": "A String", # Required. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. + }, + "authType": "A String", # Type of auth scheme. + "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth. + "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If it is not specified, the Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used. - If the service account is provided, the service account should grant Vertex AI Extension Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth. + "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + }, + "noAuth": { # Empty message, used to indicate no authentication for an endpoint. # Config for no auth. + }, + "oauthConfig": { # Config for user oauth. # Config for user oauth. + "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + "serviceAccount": "A String", # The service account that the extension execution service will use to query extension. Used for generating OAuth token on behalf of provided service account. - If the service account is provided, the service account should grant Vertex AI Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth. + "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + }, + }, + "description": "A String", # Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. + "name": "A String", # Required. Extension name shown to the LLM. The name can be up to 128 characters long. + }, + "name": "A String", # Identifier. The resource name of the Extension. + "toolUseExamples": [ # Optional. Examples to illustrate the usage of the extension as a tool. + { # A single example of the tool usage. + "displayName": "A String", # Required. The display name for example. + "extensionOperation": { # Identifies one operation of the extension. # Extension operation to call. + "extension": "A String", # Resource name of the extension. + "operationId": "A String", # Required. Operation ID of the extension. + }, + "functionName": "A String", # Function name to call. + "query": "A String", # Required. Query that should be routed to this tool. + "requestParams": { # Request parameters used for executing this tool. + "a_key": "", # Properties of the object. + }, + "responseParams": { # Response parameters generated by this tool. + "a_key": "", # Properties of the object. + }, + "responseSummary": "A String", # Summary of the tool response to the user query. + }, + ], + "updateTime": "A String", # Output only. Timestamp when this Extension was most recently updated. +}+
import_(parent, body=None, x__xgafv=None)
+ Imports an Extension. + +Args: + parent: string, Required. The resource name of the Location to import the Extension in. Format: `projects/{project}/locations/{location}` (required) + body: object, The request body. + The object takes the form of: + +{ # Extensions are tools for large language models to access external data, run computations, etc. + "createTime": "A String", # Output only. Timestamp when this Extension was created. + "description": "A String", # Optional. The description of the Extension. + "displayName": "A String", # Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters. + "etag": "A String", # Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. + "extensionOperations": [ # Output only. Supported operations. + { # Operation of an extension. + "functionDeclaration": { # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client. # Output only. Structured representation of a function declaration as defined by the OpenAPI Spec. + "description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. + "name": "A String", # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a maximum length of 64. + "parameters": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may be added in the future as needed. # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 + "description": "A String", # Optional. The description of the data. + "enum": [ # Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} + "A String", + ], + "example": "", # Optional. Example of the object. Will only populated when the object is the root. + "format": "A String", # Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64 + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. Schema of the elements of Type.ARRAY. + "nullable": True or False, # Optional. Indicates if the value may be null. + "properties": { # Optional. Properties of Type.OBJECT. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "required": [ # Optional. Required properties of Type.OBJECT. + "A String", + ], + "type": "A String", # Optional. The type of the data. + }, + }, + "operationId": "A String", # Operation ID that uniquely identifies the operations among the extension. See: "Operation Object" in https://swagger.io/specification/. This field is parsed from the OpenAPI spec. For HTTP extensions, if it does not exist in the spec, we will generate one from the HTTP method and path. + }, + ], + "manifest": { # Manifest spec of an Extension needed for runtime execution. # Required. Manifest of the Extension. + "apiSpec": { # The API specification shown to the LLM. # Required. Immutable. The API specification shown to the LLM. + "openApiGcsUri": "A String", # Cloud Storage URI pointing to the OpenAPI spec. + "openApiYaml": "A String", # The API spec in Open API standard and YAML format. + }, + "authConfig": { # Auth configuration to run the extension. # Required. Immutable. Type of auth supported by this extension. + "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth. + "apiKeySecret": "A String", # Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + "httpElementLocation": "A String", # Required. The location of the API key. + "name": "A String", # Required. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. + }, + "authType": "A String", # Type of auth scheme. + "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth. + "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If it is not specified, the Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used. - If the service account is provided, the service account should grant Vertex AI Extension Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth. + "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + }, + "noAuth": { # Empty message, used to indicate no authentication for an endpoint. # Config for no auth. + }, + "oauthConfig": { # Config for user oauth. # Config for user oauth. + "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + "serviceAccount": "A String", # The service account that the extension execution service will use to query extension. Used for generating OAuth token on behalf of provided service account. - If the service account is provided, the service account should grant Vertex AI Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth. + "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + }, + }, + "description": "A String", # Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. + "name": "A String", # Required. Extension name shown to the LLM. The name can be up to 128 characters long. + }, + "name": "A String", # Identifier. The resource name of the Extension. + "toolUseExamples": [ # Optional. Examples to illustrate the usage of the extension as a tool. + { # A single example of the tool usage. + "displayName": "A String", # Required. The display name for example. + "extensionOperation": { # Identifies one operation of the extension. # Extension operation to call. + "extension": "A String", # Resource name of the extension. + "operationId": "A String", # Required. Operation ID of the extension. + }, + "functionName": "A String", # Function name to call. + "query": "A String", # Required. Query that should be routed to this tool. + "requestParams": { # Request parameters used for executing this tool. + "a_key": "", # Properties of the object. + }, + "responseParams": { # Response parameters generated by this tool. + "a_key": "", # Properties of the object. + }, + "responseSummary": "A String", # Summary of the tool response to the user query. + }, + ], + "updateTime": "A String", # Output only. Timestamp when this Extension was most recently updated. +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # This resource represents a long-running operation that is the result of a network API call. + "done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation. + "code": 42, # The status code, which should be an enum value of google.rpc.Code. + "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + }, + "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. + "response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, +}+
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
+ Lists Extensions in a location. + +Args: + parent: string, Required. The resource name of the Location to list the Extensions from. Format: `projects/{project}/locations/{location}` (required) + filter: string, Optional. The standard list filter. Supported fields: * `display_name` * `create_time` * `update_time` More detail in [AIP-160](https://google.aip.dev/160). + orderBy: string, Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`. + pageSize: integer, Optional. The standard list page size. + pageToken: string, Optional. The standard list page token. + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Response message for ExtensionRegistryService.ListExtensions + "extensions": [ # List of Extension in the requested page. + { # Extensions are tools for large language models to access external data, run computations, etc. + "createTime": "A String", # Output only. Timestamp when this Extension was created. + "description": "A String", # Optional. The description of the Extension. + "displayName": "A String", # Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters. + "etag": "A String", # Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. + "extensionOperations": [ # Output only. Supported operations. + { # Operation of an extension. + "functionDeclaration": { # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client. # Output only. Structured representation of a function declaration as defined by the OpenAPI Spec. + "description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. + "name": "A String", # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a maximum length of 64. + "parameters": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may be added in the future as needed. # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 + "description": "A String", # Optional. The description of the data. + "enum": [ # Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} + "A String", + ], + "example": "", # Optional. Example of the object. Will only populated when the object is the root. + "format": "A String", # Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64 + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. Schema of the elements of Type.ARRAY. + "nullable": True or False, # Optional. Indicates if the value may be null. + "properties": { # Optional. Properties of Type.OBJECT. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "required": [ # Optional. Required properties of Type.OBJECT. + "A String", + ], + "type": "A String", # Optional. The type of the data. + }, + }, + "operationId": "A String", # Operation ID that uniquely identifies the operations among the extension. See: "Operation Object" in https://swagger.io/specification/. This field is parsed from the OpenAPI spec. For HTTP extensions, if it does not exist in the spec, we will generate one from the HTTP method and path. + }, + ], + "manifest": { # Manifest spec of an Extension needed for runtime execution. # Required. Manifest of the Extension. + "apiSpec": { # The API specification shown to the LLM. # Required. Immutable. The API specification shown to the LLM. + "openApiGcsUri": "A String", # Cloud Storage URI pointing to the OpenAPI spec. + "openApiYaml": "A String", # The API spec in Open API standard and YAML format. + }, + "authConfig": { # Auth configuration to run the extension. # Required. Immutable. Type of auth supported by this extension. + "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth. + "apiKeySecret": "A String", # Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + "httpElementLocation": "A String", # Required. The location of the API key. + "name": "A String", # Required. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. + }, + "authType": "A String", # Type of auth scheme. + "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth. + "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If it is not specified, the Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used. - If the service account is provided, the service account should grant Vertex AI Extension Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth. + "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + }, + "noAuth": { # Empty message, used to indicate no authentication for an endpoint. # Config for no auth. + }, + "oauthConfig": { # Config for user oauth. # Config for user oauth. + "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + "serviceAccount": "A String", # The service account that the extension execution service will use to query extension. Used for generating OAuth token on behalf of provided service account. - If the service account is provided, the service account should grant Vertex AI Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth. + "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + }, + }, + "description": "A String", # Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. + "name": "A String", # Required. Extension name shown to the LLM. The name can be up to 128 characters long. + }, + "name": "A String", # Identifier. The resource name of the Extension. + "toolUseExamples": [ # Optional. Examples to illustrate the usage of the extension as a tool. + { # A single example of the tool usage. + "displayName": "A String", # Required. The display name for example. + "extensionOperation": { # Identifies one operation of the extension. # Extension operation to call. + "extension": "A String", # Resource name of the extension. + "operationId": "A String", # Required. Operation ID of the extension. + }, + "functionName": "A String", # Function name to call. + "query": "A String", # Required. Query that should be routed to this tool. + "requestParams": { # Request parameters used for executing this tool. + "a_key": "", # Properties of the object. + }, + "responseParams": { # Response parameters generated by this tool. + "a_key": "", # Properties of the object. + }, + "responseSummary": "A String", # Summary of the tool response to the user query. + }, + ], + "updateTime": "A String", # Output only. Timestamp when this Extension was most recently updated. + }, + ], + "nextPageToken": "A String", # A token to retrieve the next page of results. Pass to ListExtensionsRequest.page_token to obtain that page. +}+
list_next()
+ Retrieves the next page of results. + + Args: + previous_request: The request for the previous page. (required) + previous_response: The response from the request for the previous page. (required) + + Returns: + A request object that you can call 'execute()' on to request the next + page. Returns None if there are no more items in the collection. ++
patch(name, body=None, updateMask=None, x__xgafv=None)
+ Updates an Extension. + +Args: + name: string, Identifier. The resource name of the Extension. (required) + body: object, The request body. + The object takes the form of: + +{ # Extensions are tools for large language models to access external data, run computations, etc. + "createTime": "A String", # Output only. Timestamp when this Extension was created. + "description": "A String", # Optional. The description of the Extension. + "displayName": "A String", # Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters. + "etag": "A String", # Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. + "extensionOperations": [ # Output only. Supported operations. + { # Operation of an extension. + "functionDeclaration": { # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client. # Output only. Structured representation of a function declaration as defined by the OpenAPI Spec. + "description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. + "name": "A String", # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a maximum length of 64. + "parameters": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may be added in the future as needed. # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 + "description": "A String", # Optional. The description of the data. + "enum": [ # Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} + "A String", + ], + "example": "", # Optional. Example of the object. Will only populated when the object is the root. + "format": "A String", # Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64 + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. Schema of the elements of Type.ARRAY. + "nullable": True or False, # Optional. Indicates if the value may be null. + "properties": { # Optional. Properties of Type.OBJECT. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "required": [ # Optional. Required properties of Type.OBJECT. + "A String", + ], + "type": "A String", # Optional. The type of the data. + }, + }, + "operationId": "A String", # Operation ID that uniquely identifies the operations among the extension. See: "Operation Object" in https://swagger.io/specification/. This field is parsed from the OpenAPI spec. For HTTP extensions, if it does not exist in the spec, we will generate one from the HTTP method and path. + }, + ], + "manifest": { # Manifest spec of an Extension needed for runtime execution. # Required. Manifest of the Extension. + "apiSpec": { # The API specification shown to the LLM. # Required. Immutable. The API specification shown to the LLM. + "openApiGcsUri": "A String", # Cloud Storage URI pointing to the OpenAPI spec. + "openApiYaml": "A String", # The API spec in Open API standard and YAML format. + }, + "authConfig": { # Auth configuration to run the extension. # Required. Immutable. Type of auth supported by this extension. + "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth. + "apiKeySecret": "A String", # Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + "httpElementLocation": "A String", # Required. The location of the API key. + "name": "A String", # Required. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. + }, + "authType": "A String", # Type of auth scheme. + "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth. + "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If it is not specified, the Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used. - If the service account is provided, the service account should grant Vertex AI Extension Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth. + "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + }, + "noAuth": { # Empty message, used to indicate no authentication for an endpoint. # Config for no auth. + }, + "oauthConfig": { # Config for user oauth. # Config for user oauth. + "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + "serviceAccount": "A String", # The service account that the extension execution service will use to query extension. Used for generating OAuth token on behalf of provided service account. - If the service account is provided, the service account should grant Vertex AI Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth. + "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + }, + }, + "description": "A String", # Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. + "name": "A String", # Required. Extension name shown to the LLM. The name can be up to 128 characters long. + }, + "name": "A String", # Identifier. The resource name of the Extension. + "toolUseExamples": [ # Optional. Examples to illustrate the usage of the extension as a tool. + { # A single example of the tool usage. + "displayName": "A String", # Required. The display name for example. + "extensionOperation": { # Identifies one operation of the extension. # Extension operation to call. + "extension": "A String", # Resource name of the extension. + "operationId": "A String", # Required. Operation ID of the extension. + }, + "functionName": "A String", # Function name to call. + "query": "A String", # Required. Query that should be routed to this tool. + "requestParams": { # Request parameters used for executing this tool. + "a_key": "", # Properties of the object. + }, + "responseParams": { # Response parameters generated by this tool. + "a_key": "", # Properties of the object. + }, + "responseSummary": "A String", # Summary of the tool response to the user query. + }, + ], + "updateTime": "A String", # Output only. Timestamp when this Extension was most recently updated. +} + + updateMask: string, Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Extensions are tools for large language models to access external data, run computations, etc. + "createTime": "A String", # Output only. Timestamp when this Extension was created. + "description": "A String", # Optional. The description of the Extension. + "displayName": "A String", # Required. The display name of the Extension. The name can be up to 128 characters long and can consist of any UTF-8 characters. + "etag": "A String", # Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. + "extensionOperations": [ # Output only. Supported operations. + { # Operation of an extension. + "functionDeclaration": { # Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client. # Output only. Structured representation of a function declaration as defined by the OpenAPI Spec. + "description": "A String", # Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. + "name": "A String", # Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a maximum length of 64. + "parameters": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may be added in the future as needed. # Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 + "description": "A String", # Optional. The description of the data. + "enum": [ # Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} + "A String", + ], + "example": "", # Optional. Example of the object. Will only populated when the object is the root. + "format": "A String", # Optional. The format of the data. Supported formats: for NUMBER type: float, double for INTEGER type: int32, int64 + "items": # Object with schema name: GoogleCloudAiplatformV1beta1Schema # Optional. Schema of the elements of Type.ARRAY. + "nullable": True or False, # Optional. Indicates if the value may be null. + "properties": { # Optional. Properties of Type.OBJECT. + "a_key": # Object with schema name: GoogleCloudAiplatformV1beta1Schema + }, + "required": [ # Optional. Required properties of Type.OBJECT. + "A String", + ], + "type": "A String", # Optional. The type of the data. + }, + }, + "operationId": "A String", # Operation ID that uniquely identifies the operations among the extension. See: "Operation Object" in https://swagger.io/specification/. This field is parsed from the OpenAPI spec. For HTTP extensions, if it does not exist in the spec, we will generate one from the HTTP method and path. + }, + ], + "manifest": { # Manifest spec of an Extension needed for runtime execution. # Required. Manifest of the Extension. + "apiSpec": { # The API specification shown to the LLM. # Required. Immutable. The API specification shown to the LLM. + "openApiGcsUri": "A String", # Cloud Storage URI pointing to the OpenAPI spec. + "openApiYaml": "A String", # The API spec in Open API standard and YAML format. + }, + "authConfig": { # Auth configuration to run the extension. # Required. Immutable. Type of auth supported by this extension. + "apiKeyConfig": { # Config for authentication with API key. # Config for API key auth. + "apiKeySecret": "A String", # Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + "httpElementLocation": "A String", # Required. The location of the API key. + "name": "A String", # Required. The parameter name of the API key. E.g. If the API request is "https://example.com/act?api_key=", "api_key" would be the parameter name. + }, + "authType": "A String", # Type of auth scheme. + "googleServiceAccountConfig": { # Config for Google Service Account Authentication. # Config for Google Service Account auth. + "serviceAccount": "A String", # Optional. The service account that the extension execution service runs as. - If it is not specified, the Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) will be used. - If the service account is provided, the service account should grant Vertex AI Extension Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "httpBasicAuthConfig": { # Config for HTTP Basic Authentication. # Config for HTTP Basic auth. + "credentialSecret": "A String", # Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` + }, + "noAuth": { # Empty message, used to indicate no authentication for an endpoint. # Config for no auth. + }, + "oauthConfig": { # Config for user oauth. # Config for user oauth. + "accessToken": "A String", # Access token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + "serviceAccount": "A String", # The service account that the extension execution service will use to query extension. Used for generating OAuth token on behalf of provided service account. - If the service account is provided, the service account should grant Vertex AI Service Agent `iam.serviceAccounts.getAccessToken` permission. + }, + "oidcConfig": { # Config for user OIDC auth. # Config for user OIDC auth. + "idToken": "A String", # OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from ExecuteExtensionRequest.runtime_auth_config at request time. + }, + }, + "description": "A String", # Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. + "name": "A String", # Required. Extension name shown to the LLM. The name can be up to 128 characters long. + }, + "name": "A String", # Identifier. The resource name of the Extension. + "toolUseExamples": [ # Optional. Examples to illustrate the usage of the extension as a tool. + { # A single example of the tool usage. + "displayName": "A String", # Required. The display name for example. + "extensionOperation": { # Identifies one operation of the extension. # Extension operation to call. + "extension": "A String", # Resource name of the extension. + "operationId": "A String", # Required. Operation ID of the extension. + }, + "functionName": "A String", # Function name to call. + "query": "A String", # Required. Query that should be routed to this tool. + "requestParams": { # Request parameters used for executing this tool. + "a_key": "", # Properties of the object. + }, + "responseParams": { # Response parameters generated by this tool. + "a_key": "", # Properties of the object. + }, + "responseSummary": "A String", # Summary of the tool response to the user query. + }, + ], + "updateTime": "A String", # Output only. Timestamp when this Extension was most recently updated. +}+