Google Vertex AI connector
Google Vertex AI is Google Cloud’s platform for building and deploying AI agents. The Google Vertex AI connector is a read-only connector that discovers Google Cloud AI agents, including Dialogflow CX agents and Vertex AI Agent Engine reasoning engines, and governance-relevant objects including tools, knowledge bases, guardrails, identity bindings, service accounts, and tool credentials.
Retrieval of agentIdentityBinding, serviceAccount, and agentToolCredential is enabled through an offline inventory mechanism that requires an Agent Governance license. Contact your Customer Success Outcome Manager (CSOM) for details.
|
Google Vertex AI requirements
The Google Vertex AI connector is read-only. It needs Google Cloud read permissions for the configured project, location, and API flavor.
Create a service account for the connector
-
Sign on to the Google Cloud console as an administrative user.
-
Navigate to IAM & Admin > Service Accounts and create a new service account to act as the connector identity.
-
Grant the service account the following IAM roles at the project level:
-
roles/dialogflow.reader -
roles/aiplatform.viewer
-
-
(Optional) If org-wide asset discovery is required, also grant:
-
cloudasset.assets.searchAllResources
-
-
Navigate to the Keys tab for the service account, select Add Key > Create new key, and choose JSON format. Download and securely save the key file.
-
Extract the following values from the downloaded key file for use when you configure the connector’s JWT-bearer authentication properties:
-
private_key→ the connector’sjwtPemproperty. The connector expects the raw key material, not a full PEM-formatted block, so make the following changes to the value before using it as thejwtPemproperty:-
Remove the
-----BEGIN PRIVATE KEY-----and-----END PRIVATE KEY-----lines from theprivate_keyvalue. -
Remove any escape characters such as
\nor\r, leaving only the base64-encoded PKCS8 key body.
-
-
client_email→ theissclaim in the connector’sjwtClaimsproperty. -
token_uri→ the connector’stokenEndpointproperty.
-
The connector doesn’t need project-wide IAM policy collection permissions when the companion inventory job is deployed. IAM policy scanning belongs to the offline inventory job, not to the connector.
Create a service account for the inventory collector
If you plan to set up the inventory collector, create a separate service account for it with the following IAM roles at the project level:
-
roles/dialogflow.reader -
roles/aiplatform.viewer -
roles/iam.securityReviewer -
roles/storage.objectAdmin
The connector reads the generated artifacts through per-artifact pre-signed Google Cloud Storage (GCS) URLs.
Set up the inventory collector
The companion inventory job scans GCP IAM and related resources, then writes identity binding, service account, and tool credential artifacts to GCS. The connector reads those artifacts during reconciliation.
To set up the inventory collector:
-
Contact your Ping Identity CSOM or Account Executive to obtain the inventory collector package and runbook.
-
Follow the runbook to deploy the inventory collector in your Google Cloud environment using the service account you created in Create a service account for the inventory collector.
-
Configure the connector’s
gcsIdentityBindingsUrl,gcsServiceAccountsUrl, andgcsToolCredentialsUrlproperties with the pre-signed GCS URLs generated by the inventory collector.
Install the Google Vertex AI connector
|
To check for an Advanced Identity Cloud application for this connector, refer to: |
You can download most connectors from Ping Identity Product Downloads, but some are included in the default deployment for Advanced Identity Cloud, IDM, or RCS. When using an included connector, you can skip installing it and move directly to configuration.
| Connector | IDM | RCS |
|---|---|---|
No |
No |
Download the connector .jar file from Ping Identity Product Downloads.
-
If you’re running the connector locally, place it in the
/path/to/openidm/connectorsdirectory, for example:mv ~/Downloads/googlevertexai-connector-1.5.20.39.jar /path/to/openidm/connectors/
-
If you’re using a remote connector server (RCS), place it in the
/path/to/openicf/connectorsdirectory on the RCS.
Configure the Google Vertex AI connector
Before you configure the connector, confirm you have the following:
| Requirement | Value |
|---|---|
Dialogflow CX agents or Vertex AI Agent Engine reasoning engines |
Configured in the target GCP project and location |
GCP project ID |
Required |
GCP location |
Required |
Service account JWT-bearer credentials |
Required by the current implementation. Extract the private key, |
Required for identity bindings, service accounts, and tool credentials |
|
Required if you want |
To create a connector configuration using a UI, use the Platform admin UI or the legacy admin UI (deprecated). Learn more about creating connector configuration.
Using the Platform admin UI
-
From the sidebar, click Provisioners.
-
On the Provisioners page, click New Provisioner.
-
In the New Provisioner modal, enter a Name.
-
From the Connector Type list, select Google Vertex AI Connector - 1.5.20.39.
The UI displays a code editor field with the default provisioner configuration for the Google Vertex AI connector.
-
Make changes to the provisioner configuration, and click Save.
For a list of all configuration properties, refer to Google Vertex AI Connector Configuration.
When your connector is configured correctly, the connection status on the provisioner page displays as Connected.
Using the legacy admin UI
-
From the navigation bar, click Configure > Connectors.
-
On the Connectors page, click New Connector.
-
On the New Connector page, type a Connector Name.
-
From the Connector Type list, select Google Vertex AI Connector - 1.5.20.39.
-
Complete the Base Connector Details and any applicable Additional Options.
For a list of all configuration properties, refer to Google Vertex AI Connector Configuration. -
Click Save.
When your connector is configured correctly, the connector displays as Active in the legacy admin UI.
Connection details
The Google Vertex AI connector uses the following configuration properties:
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
|
String |
Yes |
None |
GCP project ID. |
|
String |
Yes |
None |
GCP location, for example |
|
String |
No |
|
Agent API flavor. Allowed values are |
|
Boolean |
No |
|
When |
|
String |
Conditional |
None |
Required by the underlying SaaS Common HTTP client when using OAuth-based authentication, even though requests to the Dialogflow CX, Vertex AI, and Cloud Asset APIs are built directly from |
|
String |
Conditional |
|
Authentication method. Must be |
|
String |
Conditional |
None |
The OAuth2 token endpoint that exchanges the signed JWT assertion for an access token, for example |
|
String |
Conditional |
None |
OAuth2 grant type. Must be |
|
GuardedString |
Conditional |
None |
The base64-encoded PKCS8 private key body from the service account key JSON ( |
|
String |
Conditional |
None |
The algorithm used to sign the JWT assertion, for example |
|
String |
Conditional |
None |
The key type used to sign the JWT assertion, for example |
|
Object |
Conditional |
None |
Claims included in the signed JWT assertion. Must include |
|
Integer |
No |
None |
JWT assertion expiration time, in minutes. |
|
Boolean |
No |
|
Enables GCS-backed |
|
String |
No |
None |
Optional regex filter applied to agent display names. |
|
String |
Conditional |
None |
GCP organization ID. Required when |
|
String |
Conditional |
None |
Pre-signed GCS URL for |
|
String |
Conditional |
None |
Pre-signed GCS URL for |
|
String |
Conditional |
None |
Pre-signed GCS URL for |
|
Boolean |
No |
|
Enables org-wide agent discovery through Cloud Asset API. Requires |
The configuration exposes useWorkloadIdentity, but the current implementation rejects useWorkloadIdentity=true outright. Set useWorkloadIdentity=false and configure JWT-bearer service-account authentication instead, using jwtPem (or jwtKey), jwtAlgorithm, keyAlgorithm, jwtClaims, grantType, tokenEndpoint, authenticationMethod, and serviceUri.
|
Example Google Vertex AI configuration
{
"connectorRef": {
"bundleName": "org.forgerock.openicf.connectors.googlevertexai-connector",
"bundleVersion": "[1.5.0.0,1.6.0.0)",
"connectorName": "org.forgerock.openicf.connectors.googlevertexai.GoogleVertexAIConnector"
},
"configurationProperties": {
"projectId": "my-gcp-project",
"location": "us-central1",
"agentApiFlavor": "both",
"useWorkloadIdentity": false,
"serviceUri": "https://oauth2.googleapis.com",
"authenticationMethod": "OAUTH",
"tokenEndpoint": "https://oauth2.googleapis.com/token",
"grantType": "jwt_bearer",
"jwtAlgorithm": "RS256",
"keyAlgorithm": "RSA",
"jwtPem": {
"$crypto": {
"type": "x-simple-encryption",
"value": {
"cipher": "...",
"data": "...",
"iv": "...",
"key": "openidm-sym-default"
}
}
},
"jwtClaims": {
"iss": "my-service-account@my-gcp-project.iam.gserviceaccount.com"
},
"jwtExpiration": 60,
"identityBindingScanEnabled": true,
"gcsIdentityBindingsUrl": "https://storage.googleapis.com/.../identity-bindings.json?...",
"gcsServiceAccountsUrl": "https://storage.googleapis.com/.../service-accounts.json?...",
"gcsToolCredentialsUrl": "https://storage.googleapis.com/.../tool-credentials.json?...",
"useCloudAssetApi": false,
"agentNameFilterRegex": ".*"
}
}
Test the Google Vertex AI connector
Test that the configuration is correct by running the following command:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Accept-API-Version: resource=1.0" \
--request POST \
"http://localhost:8080/openidm/system/googlevertexai?_action=test"
{
"name": "googlevertexai",
"enabled": true,
"config": "config/provisioner.openicf/googlevertexai",
"connectorRef": {
"bundleVersion": "[1.5.0.0,1.6.0.0)",
"bundleName": "org.forgerock.openicf.connectors.googlevertexai-connector",
"connectorName": "org.forgerock.openicf.connectors.googlevertexai.GoogleVertexAIConnector"
},
"displayName": "Google Vertex AI Connector",
"objectTypes": [
"__ACCOUNT__",
"__ALL__"
],
"ok": true
}
If the command returns "ok": true, your connector has been configured correctly and can authenticate to the Google Cloud APIs.
TestOp validates connectivity by listing one page of agents. It doesn’t prove that the GCS inventory artifacts exist. Verify GCS inventory separately when validating identity bindings, service accounts, or tool credentials.
|
Google Vertex AI remote connector
If you want to run this connector outside of PingOne Advanced Identity Cloud or IDM, you can configure the Google Vertex AI connector as a remote connector. Java Connectors installed remotely on a Java Connector Server function identically to those bundled locally within PingOne Advanced Identity Cloud or installed locally on IDM.
Refer to Remote connectors for configuring the Google Vertex AI remote connector.
Configure connection pooling
The Google Vertex AI connector uses a non-poolable mechanism to manage connections. Learn more about the different pooling mechanisms in Connectors by pooling mechanism.
Implementation specifics
Collection architecture
The Google Vertex AI connector uses a split collection model.
Live collection runs inside the Java connector during reconciliation, calling Google Cloud APIs to list agents, tools, data stores, and guardrail-like safety settings.
Offline collection is handled by the companion vertex-tools-inventory process. That process scans IAM policies and service account metadata, writes normalized JSON artifacts to GCS, and the connector reads those artifacts during reconciliation. This split keeps reconciliation fast and avoids giving the connector broad IAM enumeration permissions.
Live data
| Data | GCP API family |
|---|---|
Dialogflow CX agents |
Dialogflow CX API |
Vertex AI Agent Engine reasoning engines |
Vertex AI API |
Tools |
Dialogflow CX tools API |
Webhooks |
Dialogflow CX webhooks API |
Knowledge bases / data stores |
Dialogflow CX data stores API |
Guardrail-like safety settings |
Derived from agent safety settings |
Org-wide resource discovery |
Cloud Asset API, only when |
GCS inventory data
The connector reads these GCS artifact URLs when identityBindingScanEnabled=true:
| Artifact | Configuration property | Used for |
|---|---|---|
Identity bindings |
|
|
Service accounts |
|
|
Tool credentials |
|
|
The connector expects each URL to point to a JSON array artifact produced by the offline inventory job.
GCS inventory behavior
| Behavior | Description |
|---|---|
Identity binding source |
|
Service account source |
|
Tool credential source |
|
Inventory format |
Each artifact is expected to be a bare JSON array. |
URL type |
Pre-signed GCS URL. |
Missing URL |
Configuration validation fails when |
Failed GCS read |
Reconciliation fails with an exception. The connector doesn’t silently return empty offline-backed records. |
Forward pointers |
Agent objects are enriched with |
Use the Google Vertex AI connector
The Google Vertex AI connector discovers the following resource types:
| ICF Native Type | Google Cloud Resource Type | Naming Attribute | Notes |
|---|---|---|---|
|
Dialogflow CX Agent or Vertex AI Agent Engine reasoning engine |
|
Represents one AI agent. UID is the short ID extracted from the full resource name. |
|
Dialogflow CX Tool or Webhook |
|
Represents tools and webhooks attached to Dialogflow CX agents. Vertex AI Agent Engine agents currently return no live tool records from this path. |
|
Dialogflow CX Data Store connection |
|
Represents a data store connection attached to an agent. |
|
Synthetic guardrail derived from agent safety settings |
|
Not a standalone Google Cloud resource. The connector creates this object when agent safety settings are available. |
|
Derived IAM principal-to-agent binding |
|
Not a native agent resource. Read from the offline |
|
Google Cloud IAM service account |
|
Read from the offline |
|
Derived tool credential metadata |
|
Not a native agent resource. Read from the offline |
__ACCOUNT__ attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. Current value is |
|
String |
No |
Full Google Cloud agent resource name. |
|
String |
No |
Agent description. |
|
String |
No |
Generative model / foundation model, when exposed by the API. |
|
String |
No |
Default language code. |
|
String |
No |
Agent time zone. |
|
String |
No |
Dialogflow CX start flow, when present. |
|
String |
No |
Playbook-based start target, when present. |
|
String |
No |
Agent creation timestamp. |
|
String |
No |
Agent update timestamp. |
|
String |
No |
Raw or serialized safety settings. |
|
String |
Yes |
Forward pointers to |
|
String |
Yes |
Forward pointers to |
|
String |
No |
Forward pointer to the synthetic |
|
String |
No |
Vertex AI Agent Engine framework, when present. |
|
String |
No |
Runtime service account, when exposed by the agent API. |
|
String |
No |
Project ID extracted from the resource name. |
|
String |
No |
Region/location extracted from the resource name. |
|
String |
Yes |
Forward pointers to |
|
String |
Yes |
Forward pointers to |
|
String |
Yes |
Forward pointers to |
Read all Google Vertex AI agents
The following example reads all Google Vertex AI agents:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/__ACCOUNT__?_queryFilter=true"
{
"result": [
{
"_id": "11111111-1111-1111-1111-111111111111",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111",
"identityBindingIds": [
"ib-0000000000000001",
"ib-0000000000000002"
],
"serviceAccountIds": [],
"timeZone": "America/Los_Angeles",
"toolIds": [
"11111111-1111-1111-1111-111111111111/tools/33333333-3333-3333-3333-333333333333",
"11111111-1111-1111-1111-111111111111/tools/df-code-interpreter-tool",
"11111111-1111-1111-1111-111111111111/webhooks/44444444-4444-4444-4444-444444444444"
],
"platform": "GOOGLE_VERTEX_AI",
"toolCredentialIds": [
"tc-0000000000000001"
],
"defaultLanguageCode": "en",
"guardrailId": "11111111-1111-1111-1111-111111111111:guardrail",
"__NAME__": "customer-service-bot",
"region": "us-central1",
"projectId": "my-gcp-project",
"startFlow": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111/flows/00000000-0000-0000-0000-000000000000"
},
{
"_id": "22222222-2222-2222-2222-222222222222",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/22222222-2222-2222-2222-222222222222",
"identityBindingIds": [
"ib-1000000000000001",
"ib-1000000000000002"
],
"serviceAccountIds": [],
"timeZone": "America/Chicago",
"startPlaybook": "projects/my-gcp-project/locations/us-central1/agents/22222222-2222-2222-2222-222222222222/playbooks/00000000-0000-0000-0000-000000000000",
"toolIds": [
"22222222-2222-2222-2222-222222222222/tools/55555555-5555-5555-5555-555555555555",
"22222222-2222-2222-2222-222222222222/tools/df-code-interpreter-tool",
"22222222-2222-2222-2222-222222222222/webhooks/77777777-7777-7777-7777-777777777777"
],
"platform": "GOOGLE_VERTEX_AI",
"toolCredentialIds": [],
"defaultLanguageCode": "en",
"guardrailId": "22222222-2222-2222-2222-222222222222:guardrail",
"__NAME__": "it-helpdesk",
"knowledgeBaseIds": [
"22222222-2222-2222-2222-222222222222/dataStores/kbsearch_1000000000000"
],
"region": "us-central1",
"projectId": "my-gcp-project"
}
],
"resultCount": 2,
"pagedResultsCookie": null,
"totalPagedResultsPolicy": "NONE",
"totalPagedResults": -1,
"remainingPagedResults": -1
}
Read a single Google Vertex AI agent
The following example reads the Google Vertex AI agent 11111111-1111-1111-1111-111111111111:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/__ACCOUNT__/11111111-1111-1111-1111-111111111111"
{
"_id": "11111111-1111-1111-1111-111111111111",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111",
"identityBindingIds": [
"ib-0000000000000001",
"ib-0000000000000002"
],
"serviceAccountIds": [],
"timeZone": "America/Los_Angeles",
"toolIds": [
"11111111-1111-1111-1111-111111111111/tools/33333333-3333-3333-3333-333333333333",
"11111111-1111-1111-1111-111111111111/tools/df-code-interpreter-tool",
"11111111-1111-1111-1111-111111111111/webhooks/44444444-4444-4444-4444-444444444444"
],
"platform": "GOOGLE_VERTEX_AI",
"toolCredentialIds": [
"tc-0000000000000001"
],
"defaultLanguageCode": "en",
"guardrailId": "11111111-1111-1111-1111-111111111111:guardrail",
"__NAME__": "customer-service-bot",
"region": "us-central1",
"projectId": "my-gcp-project",
"startFlow": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111/flows/00000000-0000-0000-0000-000000000000"
}
agentTool attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Parent agent resource name. |
|
String |
No |
Tool or webhook description. |
|
String |
No |
Tool classification, such as tool, webhook, or data-store-related tool. |
|
String |
No |
Tool or webhook endpoint, when present. |
|
String |
No |
Project ID extracted from the tool resource name. |
|
String |
No |
Region/location extracted from the tool resource name. |
Read all Google Vertex AI agent tools
The following example reads all Google Vertex AI agent tools:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/agentTool?_queryFilter=true"
{
"result": [
{
"_id": "11111111-1111-1111-1111-111111111111/tools/33333333-3333-3333-3333-333333333333",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111",
"description": "Retrieves order status and details by order ID",
"__NAME__": "OrderLookup",
"region": "us-central1",
"projectId": "my-gcp-project",
"toolType": "CUSTOMIZED_TOOL"
},
{
"_id": "11111111-1111-1111-1111-111111111111/tools/88888888-8888-8888-8888-888888888888",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111",
"description": "Processes refund requests for eligible orders",
"__NAME__": "RefundProcessor",
"region": "us-central1",
"projectId": "my-gcp-project",
"toolType": "CUSTOMIZED_TOOL"
}
],
"resultCount": 2,
"pagedResultsCookie": null,
"totalPagedResultsPolicy": "NONE",
"totalPagedResults": -1,
"remainingPagedResults": -1
}
Read a single Google Vertex AI agent tool
The following example reads the Google Vertex AI agent tool 11111111-1111-1111-1111-111111111111/tools/33333333-3333-3333-3333-333333333333:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/agentTool/11111111-1111-1111-1111-111111111111/tools/33333333-3333-3333-3333-333333333333"
{
"_id": "11111111-1111-1111-1111-111111111111/tools/33333333-3333-3333-3333-333333333333",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111",
"description": "Retrieves order status and details by order ID",
"__NAME__": "OrderLookup",
"region": "us-central1",
"projectId": "my-gcp-project",
"toolType": "CUSTOMIZED_TOOL"
}
agentKnowledgeBase attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Full data store resource name. |
|
String |
No |
Data store status/state. |
|
String |
No |
Data store type. |
|
String |
No |
Parent agent resource name. |
|
String |
No |
Project ID extracted from the data store resource name. |
|
String |
No |
Region/location extracted from the data store resource name. |
Read all Google Vertex AI agent knowledge bases
The following example reads all Google Vertex AI agent knowledge bases:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/agentKnowledgeBase?_queryFilter=true"
{
"result": [
{
"_id": "global/dataStores/my-data-store-id-1",
"__NAME__": "ProductDocsKB",
"knowledgeBaseId": "projects/000000000000/locations/global/collections/default_collection/dataStores/my-data-store-id-1",
"region": "global",
"projectId": "000000000000",
"platform": "GOOGLE_VERTEX_AI",
"dataStoreType": "CONTENT_REQUIRED"
},
{
"_id": "us-central1/dataStores/my-data-store-id-2",
"__NAME__": "PolicyKB",
"knowledgeBaseId": "projects/000000000000/locations/us-central1/collections/default_collection/dataStores/my-data-store-id-2",
"region": "us-central1",
"projectId": "000000000000",
"platform": "GOOGLE_VERTEX_AI",
"dataStoreType": "CONTENT_REQUIRED"
}
],
"resultCount": 2,
"pagedResultsCookie": null,
"totalPagedResultsPolicy": "NONE",
"totalPagedResults": -1,
"remainingPagedResults": -1
}
Read a single Google Vertex AI agent knowledge base
The following example reads the Google Vertex AI agent knowledge base global/dataStores/my-data-store-id-1:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/agentKnowledgeBase/global/dataStores/my-data-store-id-1"
{
"_id": "global/dataStores/my-data-store-id-1",
"__NAME__": "ProductDocsKB",
"knowledgeBaseId": "projects/000000000000/locations/global/collections/default_collection/dataStores/my-data-store-id-1",
"region": "global",
"projectId": "000000000000",
"platform": "GOOGLE_VERTEX_AI",
"dataStoreType": "CONTENT_REQUIRED"
}
agentGuardrail attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Parent agent resource name. |
|
String |
No |
Safety enforcement mode, when present. |
|
String |
No |
Default safety enforcement mode, when present, from the agent’s default RAI settings. |
|
String |
Yes |
Configured banned phrases. |
|
String |
Yes |
Default banned phrases. |
|
String |
No |
Raw serialized safety settings. |
Read all Google Vertex AI agent guardrails
The following example reads all Google Vertex AI agent guardrails:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/agentGuardrail?_queryFilter=true"
{
"result": [
{
"_id": "11111111-1111-1111-1111-111111111111:guardrail",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111",
"safetyEnforcement": "{\"HATE_SPEECH\":\"BLOCK_SOME\",\"DANGEROUS_CONTENT\":\"BLOCK_FEW\",\"HARASSMENT\":\"BLOCK_SOME\",\"SEXUALLY_EXPLICIT_CONTENT\":\"BLOCK_SOME\"}",
"defaultSafetyEnforcement": "{\"HATE_SPEECH\":\"BLOCK_SOME\",\"DANGEROUS_CONTENT\":\"BLOCK_FEW\",\"HARASSMENT\":\"BLOCK_SOME\",\"SEXUALLY_EXPLICIT_CONTENT\":\"BLOCK_SOME\"}",
"__NAME__": "11111111-1111-1111-1111-111111111111:guardrail",
"platform": "GOOGLE_VERTEX_AI"
},
{
"_id": "22222222-2222-2222-2222-222222222222:guardrail",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/22222222-2222-2222-2222-222222222222",
"bannedPhrases": [
"confidential data (en)",
"system credentials (en)"
],
"safetyEnforcement": "{\"HATE_SPEECH\":\"BLOCK_FEW\",\"DANGEROUS_CONTENT\":\"BLOCK_FEW\",\"HARASSMENT\":\"BLOCK_SOME\",\"SEXUALLY_EXPLICIT_CONTENT\":\"BLOCK_SOME\"}",
"defaultSafetyEnforcement": "{\"HATE_SPEECH\":\"BLOCK_SOME\",\"DANGEROUS_CONTENT\":\"BLOCK_FEW\",\"HARASSMENT\":\"BLOCK_SOME\",\"SEXUALLY_EXPLICIT_CONTENT\":\"BLOCK_SOME\"}",
"__NAME__": "22222222-2222-2222-2222-222222222222:guardrail",
"platform": "GOOGLE_VERTEX_AI"
},
...
],
"resultCount": 4,
"pagedResultsCookie": null,
"totalPagedResultsPolicy": "NONE",
"totalPagedResults": -1,
"remainingPagedResults": -1
}
Read a single Google Vertex AI agent guardrail
The following example reads the Google Vertex AI agent guardrail 11111111-1111-1111-1111-111111111111:guardrail:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/agentGuardrail/11111111-1111-1111-1111-111111111111:guardrail"
{
"_id": "11111111-1111-1111-1111-111111111111:guardrail",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111",
"safetyEnforcement": "{\"HATE_SPEECH\":\"BLOCK_SOME\",\"DANGEROUS_CONTENT\":\"BLOCK_FEW\",\"HARASSMENT\":\"BLOCK_SOME\",\"SEXUALLY_EXPLICIT_CONTENT\":\"BLOCK_SOME\"}",
"defaultSafetyEnforcement": "{\"HATE_SPEECH\":\"BLOCK_SOME\",\"DANGEROUS_CONTENT\":\"BLOCK_FEW\",\"HARASSMENT\":\"BLOCK_SOME\",\"SEXUALLY_EXPLICIT_CONTENT\":\"BLOCK_SOME\"}",
"__NAME__": "11111111-1111-1111-1111-111111111111:guardrail",
"platform": "GOOGLE_VERTEX_AI"
}
agentIdentityBinding attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Agent ID from the inventory artifact. |
|
String |
No |
Agent version from the inventory artifact. |
|
String |
No |
Principal type from the inventory artifact. |
|
String |
No |
Principal value. |
|
String |
Yes |
Permissions associated with the binding. |
|
String |
No |
Scope type from the inventory artifact. |
|
String |
No |
IAM role associated with the binding. |
|
String |
No |
IAM member string associated with the binding. |
|
String |
No |
Scope resource name from the inventory artifact. |
|
String |
No |
Source tag from the inventory artifact. |
|
String |
No |
Confidence value from the inventory artifact. |
|
String |
No |
Agent flavor from the inventory artifact. |
|
Boolean |
No |
Whether the principal was expanded by the inventory process. |
Read all Google Vertex AI agent identity bindings
The following example reads all Google Vertex AI agent identity bindings:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/agentIdentityBinding?_queryFilter=true"
{
"result": [
{
"_id": "ib-0000000000000001",
"agentId": "11111111-1111-1111-1111-111111111111",
"kind": "SERVICE_ACCOUNT",
"confidence": "MEDIUM",
"platform": "GOOGLE_VERTEX_AI",
"iamRole": "roles/aiplatform.user",
"flavor": "dialogflowcx",
"principal": "my-sa@my-gcp-project.iam.gserviceaccount.com",
"expanded": true,
"permissions": [
"invoke"
],
"scope": "PROJECT",
"agentVersion": "latest",
"__NAME__": "11111111-1111-1111-1111-111111111111:my-sa@my-gcp-project.iam.gserviceaccount.com",
"sourceTag": "INHERITED_PROJECT_BINDING",
"iamMember": "serviceAccount:my-sa@my-gcp-project.iam.gserviceaccount.com",
"scopeResourceName": "projects/my-gcp-project"
},
{
"_id": "ib-0000000000000002",
"agentId": "11111111-1111-1111-1111-111111111111",
"kind": "SERVICE_ACCOUNT",
"confidence": "MEDIUM",
"platform": "GOOGLE_VERTEX_AI",
"iamRole": "roles/dialogflow.admin",
"flavor": "dialogflowcx",
"principal": "my-sa@my-gcp-project.iam.gserviceaccount.com",
"expanded": true,
"permissions": [
"manage"
],
"scope": "PROJECT",
"agentVersion": "latest",
"__NAME__": "11111111-1111-1111-1111-111111111111:my-sa@my-gcp-project.iam.gserviceaccount.com",
"sourceTag": "INHERITED_PROJECT_BINDING",
"iamMember": "serviceAccount:my-sa@my-gcp-project.iam.gserviceaccount.com",
"scopeResourceName": "projects/my-gcp-project"
}
],
"resultCount": 2,
"pagedResultsCookie": null,
"totalPagedResultsPolicy": "NONE",
"totalPagedResults": -1,
"remainingPagedResults": -1
}
Read a single Google Vertex AI agent identity binding
The following example reads the Google Vertex AI agent identity binding ib-0000000000000001:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/agentIdentityBinding/ib-0000000000000001"
{
"_id": "ib-0000000000000001",
"agentId": "11111111-1111-1111-1111-111111111111",
"kind": "SERVICE_ACCOUNT",
"confidence": "MEDIUM",
"platform": "GOOGLE_VERTEX_AI",
"iamRole": "roles/aiplatform.user",
"flavor": "dialogflowcx",
"principal": "my-sa@my-gcp-project.iam.gserviceaccount.com",
"expanded": true,
"permissions": [
"invoke"
],
"scope": "PROJECT",
"agentVersion": "latest",
"__NAME__": "11111111-1111-1111-1111-111111111111:my-sa@my-gcp-project.iam.gserviceaccount.com",
"sourceTag": "INHERITED_PROJECT_BINDING",
"iamMember": "serviceAccount:my-sa@my-gcp-project.iam.gserviceaccount.com",
"scopeResourceName": "projects/my-gcp-project"
}
serviceAccount attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Connector platform identifier. |
|
String |
No |
Service account email. |
|
String |
No |
Service account description. |
|
String |
No |
Service account display name. |
|
String |
No |
Project ID of the service account. |
|
String |
No |
Service account unique ID. |
|
String |
No |
Service account creation timestamp. |
|
String |
No |
OAuth2 client ID. |
|
Boolean |
No |
Whether the service account is disabled. |
|
String |
No |
Serialized key metadata from the inventory artifact. |
|
Integer |
No |
Number of keys reported by the inventory artifact. |
|
String |
Yes |
Agent IDs linked to this service account. |
Read all Google Vertex AI service accounts
The following example reads all Google Vertex AI service accounts:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/serviceAccount?_queryFilter=true"
{
"result": [
{
"_id": "projects/my-gcp-project/serviceAccounts/my-service-sa@my-gcp-project.iam.gserviceaccount.com",
"keyCount": 0,
"saProjectId": "my-gcp-project",
"platform": "GOOGLE_VERTEX_AI",
"linkedAgentIds": [
"1234567890123456789",
"2345678901234567890",
"3456789012345678901",
"4567890123456789012",
...
],
"disabled": false,
"__NAME__": "my-service-sa@my-gcp-project.iam.gserviceaccount.com",
"email": "my-service-sa@my-gcp-project.iam.gserviceaccount.com"
},
{
"_id": "projects/my-gcp-project/serviceAccounts/provisioning-sa@my-gcp-project.iam.gserviceaccount.com",
"keyCount": 1,
"saProjectId": "my-gcp-project",
"platform": "GOOGLE_VERTEX_AI",
"linkedAgentIds": [
"5678901234567890123"
],
"disabled": false,
"__NAME__": "provisioning-sa@my-gcp-project.iam.gserviceaccount.com",
"email": "provisioning-sa@my-gcp-project.iam.gserviceaccount.com"
}
],
"resultCount": 2,
"pagedResultsCookie": null,
"totalPagedResultsPolicy": "NONE",
"totalPagedResults": -1,
"remainingPagedResults": -1
}
Read a single Google Vertex AI service account
The following example reads the Google Vertex AI service account projects/my-gcp-project/serviceAccounts/my-service-sa@my-gcp-project.iam.gserviceaccount.com:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/serviceAccount/projects/my-gcp-project/serviceAccounts/my-service-sa@my-gcp-project.iam.gserviceaccount.com"
{
"_id": "projects/my-gcp-project/serviceAccounts/my-service-sa@my-gcp-project.iam.gserviceaccount.com",
"keyCount": 0,
"saProjectId": "my-gcp-project",
"platform": "GOOGLE_VERTEX_AI",
"linkedAgentIds": [
"1234567890123456789",
"2345678901234567890",
"3456789012345678901",
"4567890123456789012",
...
],
"disabled": false,
"__NAME__": "my-service-sa@my-gcp-project.iam.gserviceaccount.com",
"email": "my-service-sa@my-gcp-project.iam.gserviceaccount.com"
}
agentToolCredential attributes
| Attribute | Type | Multivalued | Description |
|---|---|---|---|
|
String |
No |
Tool ID from the inventory artifact. |
|
String |
No |
Tool key from the inventory artifact. |
|
String |
No |
Tool type from the inventory artifact. |
|
String |
No |
Parent agent ID from the inventory artifact. |
|
String |
No |
Authentication type. |
|
String |
No |
Credential reference. Doesn’t contain secret material. |
|
String |
No |
Project ID from the tool credential artifact. |
|
String |
No |
Location from the tool credential artifact. |
Read all Google Vertex AI agent tool credentials
The following example reads all Google Vertex AI agent tool credentials:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/agentToolCredential?_queryFilter=true"
{
"result": [
{
"_id": "tc-0000000000000001",
"toolId": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111/webhooks/44444444-4444-4444-4444-444444444444",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111",
"tcProjectId": "my-gcp-project",
"credentialRef": "api-key",
"__NAME__": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111/webhooks/44444444-4444-4444-4444-444444444444",
"tcLocation": "us-central1",
"toolKey": "projects_my-gcp-project_locations_us-central1_agents_11111111-1111-1111-1111-111111111111_webhooks_44444444-4444-4444-4444-444444444444",
"authType": "API_KEY",
"toolType": "WEBHOOK"
},
{
"_id": "tc-0000000000000002",
"toolId": "projects/my-gcp-project/locations/us-central1/agents/22222222-2222-2222-2222-222222222222/webhooks/77777777-7777-7777-7777-777777777777",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/22222222-2222-2222-2222-222222222222",
"tcProjectId": "my-gcp-project",
"credentialRef": "oauth",
"__NAME__": "projects/my-gcp-project/locations/us-central1/agents/22222222-2222-2222-2222-222222222222/webhooks/77777777-7777-7777-7777-777777777777",
"tcLocation": "us-central1",
"toolKey": "projects_my-gcp-project_locations_us-central1_agents_22222222-2222-2222-2222-222222222222_webhooks_77777777-7777-7777-7777-777777777777",
"authType": "OAUTH",
"toolType": "WEBHOOK"
}
],
"resultCount": 2,
"pagedResultsCookie": null,
"totalPagedResultsPolicy": "NONE",
"totalPagedResults": -1,
"remainingPagedResults": -1
}
Read a single Google Vertex AI agent tool credential
The following example reads the Google Vertex AI agent tool credential tc-0000000000000001:
curl \
--header "X-OpenIDM-Username: openidm-admin" \
--header "X-OpenIDM-Password: openidm-admin" \
--header "Content-Type: application/json" \
--request GET \
"http://localhost:8080/openidm/system/googlevertexai/agentToolCredential/tc-0000000000000001"
{
"_id": "tc-0000000000000001",
"toolId": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111/webhooks/44444444-4444-4444-4444-444444444444",
"agentId": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111",
"tcProjectId": "my-gcp-project",
"credentialRef": "api-key",
"__NAME__": "projects/my-gcp-project/locations/us-central1/agents/11111111-1111-1111-1111-111111111111/webhooks/44444444-4444-4444-4444-444444444444",
"tcLocation": "us-central1",
"toolKey": "projects_my-gcp-project_locations_us-central1_agents_11111111-1111-1111-1111-111111111111_webhooks_44444444-4444-4444-4444-444444444444",
"authType": "API_KEY",
"toolType": "WEBHOOK"
}
Troubleshooting
Connector initializes but test fails
Check:
-
projectIdis valid. -
locationis valid for the selected API flavor. -
agentApiFlavoris one ofdialogflowcx,vertexai, orboth. -
useWorkloadIdentity=falseis configured and the JWT-bearer service-account properties (jwtPemorjwtKey,jwtAlgorithm,keyAlgorithm,jwtClaims,grantType,tokenEndpoint,authenticationMethod,serviceUri) are present and valid. -
The service account has
roles/dialogflow.readerand/orroles/aiplatform.viewer. -
The target project and location contain the expected agent resources.
Agents reconcile but expected agents are missing
Check:
-
agentApiFlavoris correct. Usebothif you need Dialogflow CX agents and Vertex AI Agent Engine reasoning engines. -
locationmatches where the agents are deployed. -
agentNameFilterRegexis not excluding the agents. -
If
useCloudAssetApi=true,organizationIdis configured and the connector principal can call Cloud Asset API. -
The service account has reader/viewer permission on all target projects.
agentTool returns no records
Check:
-
The agent is a Dialogflow CX agent. Vertex AI Agent Engine agents currently return no live tool records from this connector path.
-
The agent has tools or webhooks configured.
-
The connector service account can read Dialogflow CX sub-resources.
-
The selected
agentApiFlavorincludes Dialogflow CX.
agentKnowledgeBase returns no records
Check:
-
The agent has Dialogflow CX data store connections.
-
The selected
agentApiFlavorincludes Dialogflow CX. -
The connector service account can read the relevant data store resources.
-
Some console-created agents may expose data store behavior as tools rather than
agentKnowledgeBaserecords.
agentGuardrail returns no records
Check:
-
The agent API response includes safety settings.
-
The configured agent actually has guardrail-relevant safety settings exposed through the API.
-
Current console-created agents may not expose
generativeSettingsin the agent GET response even when safety is configured in the UI.
agentIdentityBinding, serviceAccount, or agentToolCredential returns no records
Check:
-
identityBindingScanEnabledis set totrue. -
All three GCS URL properties are configured.
-
The pre-signed GCS URLs haven’t expired.
-
The offline inventory job has run successfully.
-
The GCS artifacts are bare JSON arrays.
-
The connector can access the URLs from its runtime network.
-
The inventory job found IAM bindings, service accounts, or tool credentials for the selected project/location.
GCS-backed reconciliation fails
Check:
-
The GCS signed URL is still valid.
-
The URL points to the
latestartifact, not a stale or deleted run path. -
The artifact is valid JSON.
-
The artifact schema matches the connector mapping.
-
If URLs are rotated, the connector configuration has been updated with the new values.
OpenICF Interfaces Implemented by the Google Vertex AI Connector
The Google Vertex AI Connector implements the following OpenICF interfaces. For additional details, see ICF interfaces:
- Schema
-
Describes the object types, operations, and options that the connector supports.
- Script on Connector
-
Enables an application to run a script in the context of the connector.
Any script that runs on the connector has the following characteristics:
-
The script runs in the same execution environment as the connector and has access to all the classes to which the connector has access.
-
The script has access to a
connectorvariable that is equivalent to an initialized instance of the connector. At a minimum, the script can access the connector configuration. -
The script has access to any script arguments passed in by the application.
-
- Search
-
Searches the target resource for all objects that match the specified object class and filter.
- Test
-
Tests the connector configuration.
Testing a configuration checks all elements of the environment that are referred to by the configuration are available. For example, the connector might make a physical connection to a host that is specified in the configuration to verify that it exists and that the credentials that are specified in the configuration are valid.
This operation might need to connect to a resource, and, as such, might take some time. Do not invoke this operation too often, such as before every provisioning operation. The test operation is not intended to check that the connector is alive (that is, that its physical connection to the resource has not timed out).
You can invoke the test operation before a connector configuration has been validated.
Google Vertex AI Connector Configuration
The Google Vertex AI Connector has the following configurable properties:
Basic Configuration Properties
| Property | Type | Default | Encrypted(1) | Required(2) |
|---|---|---|---|---|
|
|
|
|
Yes |
The service endpoint URI. |
||||
|
|
|
|
No |
The service login name. |
||||
|
|
|
Yes |
No |
The service user password. |
||||
|
|
|
|
Yes |
Defines which method is to be used to authenticate on the remote server. Options are |
||||
|
|
|
|
No |
When using OAUTH as authentication method, this property defines the endpoint where a new access token should be queried for (https://myserver.com/oauth2/token). |
||||
|
|
|
|
No |
The client identifier for OAuth2. |
||||
|
|
|
Yes |
No |
Secure client secret for OAuth2. |
||||
|
|
|
Yes |
No |
Static authentication token. |
||||
|
|
|
|
No |
To be used for debug/test purposes. To be avoided in production. |
||||
|
|
|
|
No |
To be used for debug/test purposes. To be avoided in production. |
||||
|
|
|
|
No |
Set this property to |
||||
|
|
|
|
No |
If TLS Mutual Auth is needed, set this to the certificate alias from the keystore. |
||||
|
|
|
Yes |
No |
If TLS Mutual Auth is needed and the client certificate (private key) password is different from the keystore password, set this to the client private key password. |
||||
|
|
|
|
No |
Defines the max size of the HTTP connection pool used. |
||||
|
|
|
|
No |
Defines the Hostname if an HTTP proxy is used between the connector and the service. |
||||
|
|
|
|
No |
Defines the Port if an HTTP proxy is used between the connector and the service. |
||||
|
|
|
|
No |
Defines Proxy Username if an HTTP proxy is used between the connector and the service. |
||||
|
|
|
Yes |
No |
Defines Proxy Password if an HTTP proxy is used between the connector and the service. |
||||
|
|
|
|
No |
Defines a timeout for the underlying HTTP connection in seconds. |
||||
|
|
|
|
No |
Used by the refresh_token grant type. |
||||
|
|
|
|
No |
The OAuth2 grant type to use ( |
||||
|
|
|
|
No |
The OAuth2 scope to use. |
||||
|
|
|
|
No |
The prefix to be used in the Authorization HTTP header for Token authentication. |
||||
|
|
|
|
No |
The Authentication method for refresh token (Basic Authentication or Sending the ClientId and Client Secret in the Header). |
||||
|
|
|
Yes |
No |
The JWT data structure that represents a cryptographic key. |
||||
|
|
|
|
No |
Defines the JWT expiration time in minutes. |
||||
|
|
|
|
No |
The Algorithm type to sign payload. |
||||
|
|
|
|
No |
JWT Claims to be included in the payload |
||||
|
|
|
Yes |
No |
The contents of the private key of the PEM file |
||||
|
|
|
Yes |
No |
The contents of the certificate of the PEM file |
||||
|
|
|
|
No |
Indicates the type of key (such as RSA, DSA or EC) used to sign from the PEM. |
||||
|
|
|
|
No |
The User Agent HTTP Header used by the connector. Defaults to |
||||
(1) Whether the property value is considered confidential, and is therefore encrypted in IDM.
(2) A list of operations in this column indicates that the property is required for those operations.
Configuration properties
| Property | Type | Default | Encrypted(1) | Required(2) |
|---|---|---|---|---|
|
|
|
|
Yes |
The Google Cloud project ID where agents are deployed. |
||||
|
|
|
|
Yes |
The GCP region for the API, for example |
||||
|
|
|
|
No |
Which Google Cloud agent API to use: |
||||
|
|
|
|
No |
Workload Identity Federation is not yet implemented; must be |
||||
|
|
|
|
No |
When true, reads identity binding, service account, and tool credential data from GCS. Requires the three GCS URL properties to be set. |
||||
|
|
|
|
No |
Regular expression used to filter agents returned during discovery by display name. |
||||
|
|
|
|
No |
The GCP organization ID for org-wide agent discovery via Cloud Asset API. Required when |
||||
|
|
|
|
No |
Pre-signed GCS URL for the identity-bindings.json artifact. Required when |
||||
|
|
|
|
No |
Pre-signed GCS URL for the service-accounts.json artifact. Required when |
||||
|
|
|
|
No |
Pre-signed GCS URL for the tool-credentials.json artifact. Required when |
||||
|
|
|
|
No |
When enabled, discovers AI agents across all projects in the organization using Cloud Asset API. Requires |
||||
(1) Whether the property value is considered confidential, and is therefore encrypted in IDM.
(2) A list of operations in this column indicates that the property is required for those operations.