@pulumi/gcp 10.0.0-beta.1 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/agenticapplications/analystAgentPersona.d.ts +96 -0
- package/agenticapplications/analystAgentPersona.d.ts.map +1 -1
- package/agenticapplications/analystAgentPersona.js +64 -0
- package/agenticapplications/analystAgentPersona.js.map +1 -1
- package/appengine/standardAppVersion.d.ts +4 -4
- package/appengine/standardAppVersion.js +4 -4
- package/bigquery/connection.d.ts +49 -5
- package/bigquery/connection.d.ts.map +1 -1
- package/bigquery/connection.js +49 -5
- package/bigquery/connection.js.map +1 -1
- package/bigquery/job.d.ts +1 -1
- package/bigquery/job.js +1 -1
- package/bigquery/routine.d.ts +1 -1
- package/bigquery/routine.js +1 -1
- package/bigqueryanalyticshub/queryTemplate.d.ts +1 -0
- package/bigqueryanalyticshub/queryTemplate.d.ts.map +1 -1
- package/bigqueryanalyticshub/queryTemplate.js +1 -0
- package/bigqueryanalyticshub/queryTemplate.js.map +1 -1
- package/billing/projectInfo.d.ts +2 -2
- package/billing/projectInfo.js +2 -2
- package/ces/agent.d.ts +88 -0
- package/ces/agent.d.ts.map +1 -1
- package/ces/agent.js +72 -0
- package/ces/agent.js.map +1 -1
- package/ces/example.d.ts +1 -0
- package/ces/example.d.ts.map +1 -1
- package/ces/example.js +1 -0
- package/ces/example.js.map +1 -1
- package/chronicle/caseTagDefinition.d.ts +1 -1
- package/chronicle/caseTagDefinition.js +1 -1
- package/chronicle/dataExport.d.ts +2 -2
- package/chronicle/dataExport.js +2 -2
- package/chronicle/environment.d.ts +28 -0
- package/chronicle/environment.d.ts.map +1 -1
- package/chronicle/environment.js +3 -0
- package/chronicle/environment.js.map +1 -1
- package/chronicle/feed.d.ts +3 -3
- package/chronicle/feed.js +3 -3
- package/chronicle/findingsRefinementDeployment.d.ts +2 -2
- package/chronicle/findingsRefinementDeployment.js +2 -2
- package/chronicle/retrohunt.d.ts +2 -2
- package/chronicle/retrohunt.js +2 -2
- package/chronicle/ruleDeployment.d.ts +6 -6
- package/chronicle/ruleDeployment.js +6 -6
- package/cloudbuild/getWorkerPool.d.ts +111 -0
- package/cloudbuild/getWorkerPool.d.ts.map +1 -0
- package/cloudbuild/getWorkerPool.js +89 -0
- package/cloudbuild/getWorkerPool.js.map +1 -0
- package/cloudbuild/index.d.ts +3 -0
- package/cloudbuild/index.d.ts.map +1 -1
- package/cloudbuild/index.js +4 -1
- package/cloudbuild/index.js.map +1 -1
- package/cloudfunctionsv2/function.d.ts +11 -11
- package/cloudfunctionsv2/function.js +11 -11
- package/cloudrunv2/getService.d.ts +1 -0
- package/cloudrunv2/getService.d.ts.map +1 -1
- package/cloudrunv2/getService.js.map +1 -1
- package/cloudrunv2/job.d.ts +21 -0
- package/cloudrunv2/job.d.ts.map +1 -1
- package/cloudrunv2/job.js +21 -0
- package/cloudrunv2/job.js.map +1 -1
- package/cloudrunv2/service.d.ts +13 -2
- package/cloudrunv2/service.d.ts.map +1 -1
- package/cloudrunv2/service.js +3 -2
- package/cloudrunv2/service.js.map +1 -1
- package/cloudsupport/supportEventSubscription.d.ts +2 -2
- package/cloudsupport/supportEventSubscription.js +2 -2
- package/compute/disk.d.ts +41 -0
- package/compute/disk.d.ts.map +1 -1
- package/compute/disk.js +41 -0
- package/compute/disk.js.map +1 -1
- package/compute/forwardingRule.d.ts +6 -6
- package/compute/forwardingRule.js +6 -6
- package/compute/getRegions.d.ts +28 -24
- package/compute/getRegions.d.ts.map +1 -1
- package/compute/getRegions.js +28 -24
- package/compute/getRegions.js.map +1 -1
- package/compute/getServiceAttachment.d.ts +1 -0
- package/compute/getServiceAttachment.d.ts.map +1 -1
- package/compute/getServiceAttachment.js.map +1 -1
- package/compute/getZones.d.ts +30 -26
- package/compute/getZones.d.ts.map +1 -1
- package/compute/getZones.js +30 -26
- package/compute/getZones.js.map +1 -1
- package/compute/globalForwardingRule.d.ts +7 -7
- package/compute/globalForwardingRule.js +7 -7
- package/compute/globalVmExtensionPolicy.d.ts +4 -4
- package/compute/globalVmExtensionPolicy.js +4 -4
- package/compute/networkEndpoint.d.ts +1 -1
- package/compute/networkEndpoint.js +1 -1
- package/compute/networkEndpointList.d.ts +2 -2
- package/compute/networkEndpointList.js +2 -2
- package/compute/networkFirewallPolicyRule.d.ts +1 -1
- package/compute/networkFirewallPolicyRule.js +1 -1
- package/compute/organizationSecurityPolicyAssociation.d.ts +2 -2
- package/compute/organizationSecurityPolicyAssociation.js +2 -2
- package/compute/organizationSecurityPolicyRule.d.ts +5 -5
- package/compute/organizationSecurityPolicyRule.js +5 -5
- package/compute/regionBackendService.d.ts +1 -1
- package/compute/regionBackendService.js +1 -1
- package/compute/regionDisk.d.ts +71 -0
- package/compute/regionDisk.d.ts.map +1 -1
- package/compute/regionDisk.js +71 -0
- package/compute/regionDisk.js.map +1 -1
- package/compute/regionNetworkFirewallPolicyRule.d.ts +1 -1
- package/compute/regionNetworkFirewallPolicyRule.js +1 -1
- package/compute/regionNetworkFirewallPolicyWithRules.d.ts +8 -8
- package/compute/regionNetworkFirewallPolicyWithRules.js +8 -8
- package/compute/rolloutPlan.d.ts +1 -1
- package/compute/rolloutPlan.js +1 -1
- package/compute/router.d.ts +1 -1
- package/compute/router.js +1 -1
- package/compute/serviceAttachment.d.ts +68 -0
- package/compute/serviceAttachment.d.ts.map +1 -1
- package/compute/serviceAttachment.js +58 -0
- package/compute/serviceAttachment.js.map +1 -1
- package/compute/targetInstance.d.ts +2 -2
- package/compute/targetInstance.js +2 -2
- package/compute/targetSSLProxy.d.ts +1 -1
- package/compute/targetSSLProxy.js +1 -1
- package/compute/zoneVmExtensionPolicy.d.ts +1 -1
- package/compute/zoneVmExtensionPolicy.js +1 -1
- package/container/cluster.d.ts +9 -6
- package/container/cluster.d.ts.map +1 -1
- package/container/cluster.js.map +1 -1
- package/container/getCluster.d.ts +25 -1
- package/container/getCluster.d.ts.map +1 -1
- package/container/getCluster.js +2 -0
- package/container/getCluster.js.map +1 -1
- package/databasemigrationservice/connectionProfile.d.ts +3 -3
- package/databasemigrationservice/connectionProfile.js +3 -3
- package/dataform/folder.d.ts +3 -3
- package/dataform/folder.js +3 -3
- package/dataform/teamFolder.d.ts +1 -1
- package/dataform/teamFolder.js +1 -1
- package/datalineage/config.d.ts +2 -2
- package/datalineage/config.js +2 -2
- package/dataloss/preventionContentPolicy.d.ts +130 -6
- package/dataloss/preventionContentPolicy.d.ts.map +1 -1
- package/dataloss/preventionContentPolicy.js +130 -6
- package/dataloss/preventionContentPolicy.js.map +1 -1
- package/dataplex/dataAsset.d.ts +5 -5
- package/dataplex/dataAsset.js +5 -5
- package/dataplex/dataProduct.d.ts +3 -3
- package/dataplex/dataProduct.js +3 -3
- package/dataplex/dataProductDataAsset.d.ts +5 -5
- package/dataplex/dataProductDataAsset.js +5 -5
- package/dataplex/datascan.d.ts +24 -24
- package/dataplex/datascan.js +24 -24
- package/dataplex/entryLink.d.ts +11 -11
- package/dataplex/entryLink.js +11 -11
- package/dataplex/entryType.d.ts +1 -1
- package/dataplex/entryType.js +1 -1
- package/dataplex/glossaryCategory.d.ts +4 -4
- package/dataplex/glossaryCategory.js +4 -4
- package/dataplex/glossaryTerm.d.ts +4 -4
- package/dataplex/glossaryTerm.js +4 -4
- package/dataplex/task.d.ts +8 -8
- package/dataplex/task.js +8 -8
- package/dataproc/autoscalingPolicy.d.ts +18 -2
- package/dataproc/autoscalingPolicy.d.ts.map +1 -1
- package/dataproc/autoscalingPolicy.js +18 -2
- package/dataproc/autoscalingPolicy.js.map +1 -1
- package/dataproc/batch.d.ts +22 -21
- package/dataproc/batch.d.ts.map +1 -1
- package/dataproc/batch.js +22 -21
- package/dataproc/batch.js.map +1 -1
- package/dataproc/sessionTemplate.d.ts +11 -10
- package/dataproc/sessionTemplate.d.ts.map +1 -1
- package/dataproc/sessionTemplate.js +11 -10
- package/dataproc/sessionTemplate.js.map +1 -1
- package/dataproc/workflowTemplate.d.ts +3 -3
- package/datastream/stream.d.ts +3 -3
- package/datastream/stream.js +3 -3
- package/developerconnect/insightsConfig.d.ts +5 -5
- package/developerconnect/insightsConfig.js +5 -5
- package/discoveryengine/dataConnector.d.ts +37 -3
- package/discoveryengine/dataConnector.d.ts.map +1 -1
- package/discoveryengine/dataConnector.js +14 -3
- package/discoveryengine/dataConnector.js.map +1 -1
- package/firebase/aiLogicConfig.d.ts +27 -22
- package/firebase/aiLogicConfig.d.ts.map +1 -1
- package/firebase/aiLogicConfig.js +0 -13
- package/firebase/aiLogicConfig.js.map +1 -1
- package/firestore/field.d.ts +4 -4
- package/firestore/field.js +4 -4
- package/gemini/gibqObservabilitySetting.d.ts +239 -0
- package/gemini/gibqObservabilitySetting.d.ts.map +1 -0
- package/gemini/gibqObservabilitySetting.js +140 -0
- package/gemini/gibqObservabilitySetting.js.map +1 -0
- package/gemini/gibqObservabilitySettingBinding.d.ts +268 -0
- package/gemini/gibqObservabilitySettingBinding.d.ts.map +1 -0
- package/gemini/gibqObservabilitySettingBinding.js +160 -0
- package/gemini/gibqObservabilitySettingBinding.js.map +1 -0
- package/gemini/index.d.ts +6 -0
- package/gemini/index.d.ts.map +1 -1
- package/gemini/index.js +11 -1
- package/gemini/index.js.map +1 -1
- package/gkebackup/backupChannel.d.ts +1 -1
- package/gkebackup/backupChannel.js +1 -1
- package/gkebackup/backupPlan.d.ts +38 -17
- package/gkebackup/backupPlan.d.ts.map +1 -1
- package/gkebackup/backupPlan.js +38 -17
- package/gkebackup/backupPlan.js.map +1 -1
- package/gkebackup/restoreChannel.d.ts +1 -1
- package/gkebackup/restoreChannel.js +1 -1
- package/gkebackup/restorePlan.d.ts +54 -27
- package/gkebackup/restorePlan.d.ts.map +1 -1
- package/gkebackup/restorePlan.js +54 -27
- package/gkebackup/restorePlan.js.map +1 -1
- package/gkehub/membershipBinding.d.ts +3 -3
- package/gkehub/membershipBinding.js +3 -3
- package/gkehub/membershipRbacRoleBinding.d.ts +2 -2
- package/gkehub/membershipRbacRoleBinding.js +2 -2
- package/gkehub/namespace.d.ts +2 -2
- package/gkehub/namespace.js +2 -2
- package/gkehub/rolloutSequence.d.ts +2 -2
- package/gkehub/rolloutSequence.js +2 -2
- package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
- package/gkehub/scopeRbacRoleBinding.js +4 -4
- package/iap/tunnelDestGroup.d.ts +1 -1
- package/iap/tunnelDestGroup.js +1 -1
- package/integrationconnectors/managedZone.d.ts +4 -4
- package/integrationconnectors/managedZone.js +4 -4
- package/memorystore/instance.d.ts +15 -15
- package/memorystore/instance.js +15 -15
- package/monitoring/uptimeCheckConfig.d.ts +1 -1
- package/monitoring/uptimeCheckConfig.js +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
- package/networkconnectivity/spoke.d.ts +6 -6
- package/networkconnectivity/spoke.js +6 -6
- package/networkconnectivity/transport.d.ts +2 -2
- package/networkconnectivity/transport.js +2 -2
- package/networkservices/agentConnectivityTemplate.d.ts +374 -0
- package/networkservices/agentConnectivityTemplate.d.ts.map +1 -0
- package/networkservices/agentConnectivityTemplate.js +226 -0
- package/networkservices/agentConnectivityTemplate.js.map +1 -0
- package/networkservices/agentGateway.d.ts +37 -11
- package/networkservices/agentGateway.d.ts.map +1 -1
- package/networkservices/agentGateway.js +21 -11
- package/networkservices/agentGateway.js.map +1 -1
- package/networkservices/getGateway.d.ts +113 -0
- package/networkservices/getGateway.d.ts.map +1 -0
- package/networkservices/getGateway.js +79 -0
- package/networkservices/getGateway.js.map +1 -0
- package/networkservices/index.d.ts +6 -0
- package/networkservices/index.d.ts.map +1 -1
- package/networkservices/index.js +9 -1
- package/networkservices/index.js.map +1 -1
- package/observability/folderSettings.d.ts +2 -2
- package/observability/folderSettings.js +2 -2
- package/observability/projectSettings.d.ts +2 -2
- package/observability/projectSettings.js +2 -2
- package/observability/traceScope.d.ts +2 -2
- package/observability/traceScope.js +2 -2
- package/orgpolicy/policy.d.ts +1 -1
- package/orgpolicy/policy.js +1 -1
- package/package.json +2 -2
- package/parametermanager/parameterVersion.d.ts +26 -0
- package/parametermanager/parameterVersion.d.ts.map +1 -1
- package/parametermanager/parameterVersion.js +16 -0
- package/parametermanager/parameterVersion.js.map +1 -1
- package/parametermanager/regionalParameterVersion.d.ts +29 -0
- package/parametermanager/regionalParameterVersion.d.ts.map +1 -1
- package/parametermanager/regionalParameterVersion.js +19 -0
- package/parametermanager/regionalParameterVersion.js.map +1 -1
- package/pubsub/subscription.d.ts +4 -4
- package/pubsub/subscription.js +4 -4
- package/redis/cluster.d.ts +27 -27
- package/redis/cluster.js +27 -27
- package/redis/clusterUserCreatedConnections.d.ts +21 -21
- package/redis/clusterUserCreatedConnections.js +21 -21
- package/redis/instance.d.ts +17 -11
- package/redis/instance.d.ts.map +1 -1
- package/redis/instance.js +17 -11
- package/redis/instance.js.map +1 -1
- package/resourcemanager/capabilityConfig.d.ts +282 -0
- package/resourcemanager/capabilityConfig.d.ts.map +1 -0
- package/resourcemanager/capabilityConfig.js +202 -0
- package/resourcemanager/capabilityConfig.js.map +1 -0
- package/resourcemanager/index.d.ts +3 -0
- package/resourcemanager/index.d.ts.map +1 -1
- package/resourcemanager/index.js +6 -1
- package/resourcemanager/index.js.map +1 -1
- package/secretmanager/getRegionalSecret.d.ts +1 -0
- package/secretmanager/getRegionalSecret.d.ts.map +1 -1
- package/secretmanager/getRegionalSecret.js.map +1 -1
- package/secretmanager/getSecret.d.ts +1 -0
- package/secretmanager/getSecret.d.ts.map +1 -1
- package/secretmanager/getSecret.js.map +1 -1
- package/secretmanager/regionalSecret.d.ts +16 -0
- package/secretmanager/regionalSecret.d.ts.map +1 -1
- package/secretmanager/regionalSecret.js +3 -0
- package/secretmanager/regionalSecret.js.map +1 -1
- package/secretmanager/regionalSecretVersion.d.ts +83 -2
- package/secretmanager/regionalSecretVersion.d.ts.map +1 -1
- package/secretmanager/regionalSecretVersion.js +47 -4
- package/secretmanager/regionalSecretVersion.js.map +1 -1
- package/secretmanager/secret.d.ts +16 -0
- package/secretmanager/secret.d.ts.map +1 -1
- package/secretmanager/secret.js +3 -0
- package/secretmanager/secret.js.map +1 -1
- package/sql/databaseInstance.d.ts +12 -0
- package/sql/databaseInstance.d.ts.map +1 -1
- package/sql/databaseInstance.js +2 -0
- package/sql/databaseInstance.js.map +1 -1
- package/sql/getDatabaseInstance.d.ts +1 -0
- package/sql/getDatabaseInstance.d.ts.map +1 -1
- package/sql/getDatabaseInstance.js.map +1 -1
- package/storage/ftpServer.d.ts +16 -0
- package/storage/ftpServer.d.ts.map +1 -1
- package/storage/ftpServer.js +4 -0
- package/storage/ftpServer.js.map +1 -1
- package/storage/ftpUser.d.ts +21 -5
- package/storage/ftpUser.d.ts.map +1 -1
- package/storage/ftpUser.js +6 -2
- package/storage/ftpUser.js.map +1 -1
- package/types/input.d.ts +1481 -117
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1622 -125
- package/types/output.d.ts.map +1 -1
- package/vertex/aiEndpoint.d.ts +3 -3
- package/vertex/aiEndpoint.js +3 -3
- package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
- package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
- package/vertex/aiFeatureStore.d.ts +3 -3
- package/vertex/aiFeatureStore.js +3 -3
- package/vertex/aiFeatureStoreEntityType.d.ts +4 -4
- package/vertex/aiFeatureStoreEntityType.js +4 -4
- package/vertex/aiFeatureStoreEntityTypeFeature.d.ts +6 -6
- package/vertex/aiFeatureStoreEntityTypeFeature.js +6 -6
- package/vertex/aiRagCorpus.d.ts +163 -0
- package/vertex/aiRagCorpus.d.ts.map +1 -1
- package/vertex/aiRagCorpus.js +150 -0
- package/vertex/aiRagCorpus.js.map +1 -1
- package/vertex/aiReasoningEngine.d.ts +2 -2
- package/vertex/aiReasoningEngine.js +2 -2
- package/vertex/aiSemanticGovernancePolicy.d.ts +296 -0
- package/vertex/aiSemanticGovernancePolicy.d.ts.map +1 -0
- package/vertex/aiSemanticGovernancePolicy.js +173 -0
- package/vertex/aiSemanticGovernancePolicy.js.map +1 -0
- package/vertex/getAiReasoningEngineQuery.d.ts +2 -2
- package/vertex/getAiReasoningEngineQuery.js +2 -2
- package/vertex/index.d.ts +3 -0
- package/vertex/index.d.ts.map +1 -1
- package/vertex/index.js +7 -2
- package/vertex/index.js.map +1 -1
- package/workbench/instance.d.ts +49 -24
- package/workbench/instance.d.ts.map +1 -1
- package/workbench/instance.js +49 -24
- package/workbench/instance.js.map +1 -1
package/vertex/aiEndpoint.d.ts
CHANGED
|
@@ -77,10 +77,10 @@ import * as outputs from "../types/output";
|
|
|
77
77
|
* import * as pulumi from "@pulumi/pulumi";
|
|
78
78
|
* import * as gcp from "@pulumi/gcp";
|
|
79
79
|
*
|
|
80
|
-
* const _default = new gcp.compute.Network("default", {name: "psc-network-
|
|
80
|
+
* const _default = new gcp.compute.Network("default", {name: "psc-network-_78545"});
|
|
81
81
|
* const project = gcp.organizations.getProject({});
|
|
82
82
|
* const endpoint = new gcp.vertex.AiEndpoint("endpoint", {
|
|
83
|
-
* name: "endpoint-
|
|
83
|
+
* name: "endpoint-name",
|
|
84
84
|
* displayName: "sample-endpoint",
|
|
85
85
|
* description: "A sample vertex endpoint",
|
|
86
86
|
* location: "us-central1",
|
|
@@ -105,7 +105,7 @@ import * as outputs from "../types/output";
|
|
|
105
105
|
* import * as gcp from "@pulumi/gcp";
|
|
106
106
|
*
|
|
107
107
|
* const endpoint = new gcp.vertex.AiEndpoint("endpoint", {
|
|
108
|
-
* name: "endpoint-
|
|
108
|
+
* name: "endpoint-name",
|
|
109
109
|
* displayName: "sample-endpoint",
|
|
110
110
|
* description: "A sample vertex endpoint",
|
|
111
111
|
* location: "us-central1",
|
package/vertex/aiEndpoint.js
CHANGED
|
@@ -104,10 +104,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
104
104
|
* import * as pulumi from "@pulumi/pulumi";
|
|
105
105
|
* import * as gcp from "@pulumi/gcp";
|
|
106
106
|
*
|
|
107
|
-
* const _default = new gcp.compute.Network("default", {name: "psc-network-
|
|
107
|
+
* const _default = new gcp.compute.Network("default", {name: "psc-network-_78545"});
|
|
108
108
|
* const project = gcp.organizations.getProject({});
|
|
109
109
|
* const endpoint = new gcp.vertex.AiEndpoint("endpoint", {
|
|
110
|
-
* name: "endpoint-
|
|
110
|
+
* name: "endpoint-name",
|
|
111
111
|
* displayName: "sample-endpoint",
|
|
112
112
|
* description: "A sample vertex endpoint",
|
|
113
113
|
* location: "us-central1",
|
|
@@ -132,7 +132,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
132
132
|
* import * as gcp from "@pulumi/gcp";
|
|
133
133
|
*
|
|
134
134
|
* const endpoint = new gcp.vertex.AiEndpoint("endpoint", {
|
|
135
|
-
* name: "endpoint-
|
|
135
|
+
* name: "endpoint-name",
|
|
136
136
|
* displayName: "sample-endpoint",
|
|
137
137
|
* description: "A sample vertex endpoint",
|
|
138
138
|
* location: "us-central1",
|
|
@@ -174,8 +174,8 @@ import * as outputs from "../types/output";
|
|
|
174
174
|
*
|
|
175
175
|
* const testProject = gcp.organizations.getProject({});
|
|
176
176
|
* const project = new gcp.organizations.Project("project", {
|
|
177
|
-
* projectId: "tf-
|
|
178
|
-
* name: "tf-
|
|
177
|
+
* projectId: "tf-test_48234",
|
|
178
|
+
* name: "tf-test_74065",
|
|
179
179
|
* orgId: "123456789",
|
|
180
180
|
* billingAccount: "000000-0000000-0000000-000000",
|
|
181
181
|
* deletionPolicy: "DELETE",
|
|
@@ -201,8 +201,8 @@ const utilities = __importStar(require("../utilities"));
|
|
|
201
201
|
*
|
|
202
202
|
* const testProject = gcp.organizations.getProject({});
|
|
203
203
|
* const project = new gcp.organizations.Project("project", {
|
|
204
|
-
* projectId: "tf-
|
|
205
|
-
* name: "tf-
|
|
204
|
+
* projectId: "tf-test_48234",
|
|
205
|
+
* name: "tf-test_74065",
|
|
206
206
|
* orgId: "123456789",
|
|
207
207
|
* billingAccount: "000000-0000000-0000000-000000",
|
|
208
208
|
* deletionPolicy: "DELETE",
|
|
@@ -19,7 +19,7 @@ import * as outputs from "../types/output";
|
|
|
19
19
|
* import * as gcp from "@pulumi/gcp";
|
|
20
20
|
*
|
|
21
21
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
22
|
-
* name: "
|
|
22
|
+
* name: "terraform_featurestore",
|
|
23
23
|
* labels: {
|
|
24
24
|
* foo: "bar",
|
|
25
25
|
* },
|
|
@@ -40,7 +40,7 @@ import * as outputs from "../types/output";
|
|
|
40
40
|
* import * as gcp from "@pulumi/gcp";
|
|
41
41
|
*
|
|
42
42
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
43
|
-
* name: "
|
|
43
|
+
* name: "terraform_featurestore_2",
|
|
44
44
|
* labels: {
|
|
45
45
|
* foo: "bar",
|
|
46
46
|
* },
|
|
@@ -62,7 +62,7 @@ import * as outputs from "../types/output";
|
|
|
62
62
|
* import * as gcp from "@pulumi/gcp";
|
|
63
63
|
*
|
|
64
64
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
65
|
-
* name: "
|
|
65
|
+
* name: "terraform_featurestore_3",
|
|
66
66
|
* labels: {
|
|
67
67
|
* foo: "bar",
|
|
68
68
|
* },
|
package/vertex/aiFeatureStore.js
CHANGED
|
@@ -46,7 +46,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
46
46
|
* import * as gcp from "@pulumi/gcp";
|
|
47
47
|
*
|
|
48
48
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
49
|
-
* name: "
|
|
49
|
+
* name: "terraform_featurestore",
|
|
50
50
|
* labels: {
|
|
51
51
|
* foo: "bar",
|
|
52
52
|
* },
|
|
@@ -67,7 +67,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
67
67
|
* import * as gcp from "@pulumi/gcp";
|
|
68
68
|
*
|
|
69
69
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
70
|
-
* name: "
|
|
70
|
+
* name: "terraform_featurestore_2",
|
|
71
71
|
* labels: {
|
|
72
72
|
* foo: "bar",
|
|
73
73
|
* },
|
|
@@ -89,7 +89,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
89
89
|
* import * as gcp from "@pulumi/gcp";
|
|
90
90
|
*
|
|
91
91
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
92
|
-
* name: "
|
|
92
|
+
* name: "terraform_featurestore_3",
|
|
93
93
|
* labels: {
|
|
94
94
|
* foo: "bar",
|
|
95
95
|
* },
|
|
@@ -19,7 +19,7 @@ import * as outputs from "../types/output";
|
|
|
19
19
|
* import * as gcp from "@pulumi/gcp";
|
|
20
20
|
*
|
|
21
21
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
22
|
-
* name: "
|
|
22
|
+
* name: "terraform_entitytype",
|
|
23
23
|
* labels: {
|
|
24
24
|
* foo: "bar",
|
|
25
25
|
* },
|
|
@@ -32,7 +32,7 @@ import * as outputs from "../types/output";
|
|
|
32
32
|
* },
|
|
33
33
|
* });
|
|
34
34
|
* const entity = new gcp.vertex.AiFeatureStoreEntityType("entity", {
|
|
35
|
-
* name: "
|
|
35
|
+
* name: "terraform_entitytype",
|
|
36
36
|
* labels: {
|
|
37
37
|
* foo: "bar",
|
|
38
38
|
* },
|
|
@@ -64,7 +64,7 @@ import * as outputs from "../types/output";
|
|
|
64
64
|
* import * as gcp from "@pulumi/gcp";
|
|
65
65
|
*
|
|
66
66
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
67
|
-
* name: "
|
|
67
|
+
* name: "terraform_entitytype_2",
|
|
68
68
|
* labels: {
|
|
69
69
|
* foo: "bar",
|
|
70
70
|
* },
|
|
@@ -77,7 +77,7 @@ import * as outputs from "../types/output";
|
|
|
77
77
|
* },
|
|
78
78
|
* });
|
|
79
79
|
* const entity = new gcp.vertex.AiFeatureStoreEntityType("entity", {
|
|
80
|
-
* name: "
|
|
80
|
+
* name: "terraform_entitytype_2",
|
|
81
81
|
* labels: {
|
|
82
82
|
* foo: "bar",
|
|
83
83
|
* },
|
|
@@ -46,7 +46,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
46
46
|
* import * as gcp from "@pulumi/gcp";
|
|
47
47
|
*
|
|
48
48
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
49
|
-
* name: "
|
|
49
|
+
* name: "terraform_entitytype",
|
|
50
50
|
* labels: {
|
|
51
51
|
* foo: "bar",
|
|
52
52
|
* },
|
|
@@ -59,7 +59,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
59
59
|
* },
|
|
60
60
|
* });
|
|
61
61
|
* const entity = new gcp.vertex.AiFeatureStoreEntityType("entity", {
|
|
62
|
-
* name: "
|
|
62
|
+
* name: "terraform_entitytype",
|
|
63
63
|
* labels: {
|
|
64
64
|
* foo: "bar",
|
|
65
65
|
* },
|
|
@@ -91,7 +91,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
91
91
|
* import * as gcp from "@pulumi/gcp";
|
|
92
92
|
*
|
|
93
93
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
94
|
-
* name: "
|
|
94
|
+
* name: "terraform_entitytype_2",
|
|
95
95
|
* labels: {
|
|
96
96
|
* foo: "bar",
|
|
97
97
|
* },
|
|
@@ -104,7 +104,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
104
104
|
* },
|
|
105
105
|
* });
|
|
106
106
|
* const entity = new gcp.vertex.AiFeatureStoreEntityType("entity", {
|
|
107
|
-
* name: "
|
|
107
|
+
* name: "terraform_entitytype_2",
|
|
108
108
|
* labels: {
|
|
109
109
|
* foo: "bar",
|
|
110
110
|
* },
|
|
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* import * as gcp from "@pulumi/gcp";
|
|
18
18
|
*
|
|
19
19
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
20
|
-
* name: "
|
|
20
|
+
* name: "terraform_feature",
|
|
21
21
|
* labels: {
|
|
22
22
|
* foo: "bar",
|
|
23
23
|
* },
|
|
@@ -27,14 +27,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
27
|
* },
|
|
28
28
|
* });
|
|
29
29
|
* const entity = new gcp.vertex.AiFeatureStoreEntityType("entity", {
|
|
30
|
-
* name: "
|
|
30
|
+
* name: "terraform_feature",
|
|
31
31
|
* labels: {
|
|
32
32
|
* foo: "bar",
|
|
33
33
|
* },
|
|
34
34
|
* featurestore: featurestore.id,
|
|
35
35
|
* });
|
|
36
36
|
* const feature = new gcp.vertex.AiFeatureStoreEntityTypeFeature("feature", {
|
|
37
|
-
* name: "
|
|
37
|
+
* name: "terraform_feature",
|
|
38
38
|
* labels: {
|
|
39
39
|
* foo: "bar",
|
|
40
40
|
* },
|
|
@@ -49,7 +49,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
49
49
|
* import * as gcp from "@pulumi/gcp";
|
|
50
50
|
*
|
|
51
51
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
52
|
-
* name: "
|
|
52
|
+
* name: "terraform_feature_2",
|
|
53
53
|
* labels: {
|
|
54
54
|
* foo: "bar",
|
|
55
55
|
* },
|
|
@@ -59,7 +59,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
59
59
|
* },
|
|
60
60
|
* });
|
|
61
61
|
* const entity = new gcp.vertex.AiFeatureStoreEntityType("entity", {
|
|
62
|
-
* name: "
|
|
62
|
+
* name: "terraform_feature_2",
|
|
63
63
|
* labels: {
|
|
64
64
|
* foo: "bar",
|
|
65
65
|
* },
|
|
@@ -78,7 +78,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
78
78
|
* },
|
|
79
79
|
* });
|
|
80
80
|
* const feature = new gcp.vertex.AiFeatureStoreEntityTypeFeature("feature", {
|
|
81
|
-
* name: "
|
|
81
|
+
* name: "terraform_feature_2",
|
|
82
82
|
* labels: {
|
|
83
83
|
* foo: "bar",
|
|
84
84
|
* },
|
|
@@ -46,7 +46,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
46
46
|
* import * as gcp from "@pulumi/gcp";
|
|
47
47
|
*
|
|
48
48
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
49
|
-
* name: "
|
|
49
|
+
* name: "terraform_feature",
|
|
50
50
|
* labels: {
|
|
51
51
|
* foo: "bar",
|
|
52
52
|
* },
|
|
@@ -56,14 +56,14 @@ const utilities = __importStar(require("../utilities"));
|
|
|
56
56
|
* },
|
|
57
57
|
* });
|
|
58
58
|
* const entity = new gcp.vertex.AiFeatureStoreEntityType("entity", {
|
|
59
|
-
* name: "
|
|
59
|
+
* name: "terraform_feature",
|
|
60
60
|
* labels: {
|
|
61
61
|
* foo: "bar",
|
|
62
62
|
* },
|
|
63
63
|
* featurestore: featurestore.id,
|
|
64
64
|
* });
|
|
65
65
|
* const feature = new gcp.vertex.AiFeatureStoreEntityTypeFeature("feature", {
|
|
66
|
-
* name: "
|
|
66
|
+
* name: "terraform_feature",
|
|
67
67
|
* labels: {
|
|
68
68
|
* foo: "bar",
|
|
69
69
|
* },
|
|
@@ -78,7 +78,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
78
78
|
* import * as gcp from "@pulumi/gcp";
|
|
79
79
|
*
|
|
80
80
|
* const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
|
|
81
|
-
* name: "
|
|
81
|
+
* name: "terraform_feature_2",
|
|
82
82
|
* labels: {
|
|
83
83
|
* foo: "bar",
|
|
84
84
|
* },
|
|
@@ -88,7 +88,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
88
88
|
* },
|
|
89
89
|
* });
|
|
90
90
|
* const entity = new gcp.vertex.AiFeatureStoreEntityType("entity", {
|
|
91
|
-
* name: "
|
|
91
|
+
* name: "terraform_feature_2",
|
|
92
92
|
* labels: {
|
|
93
93
|
* foo: "bar",
|
|
94
94
|
* },
|
|
@@ -107,7 +107,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
107
107
|
* },
|
|
108
108
|
* });
|
|
109
109
|
* const feature = new gcp.vertex.AiFeatureStoreEntityTypeFeature("feature", {
|
|
110
|
-
* name: "
|
|
110
|
+
* name: "terraform_feature_2",
|
|
111
111
|
* labels: {
|
|
112
112
|
* foo: "bar",
|
|
113
113
|
* },
|
package/vertex/aiRagCorpus.d.ts
CHANGED
|
@@ -64,6 +64,154 @@ import * as outputs from "../types/output";
|
|
|
64
64
|
* },
|
|
65
65
|
* });
|
|
66
66
|
* ```
|
|
67
|
+
* ### Vertex Ai Rag Corpus Search
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as gcp from "@pulumi/gcp";
|
|
72
|
+
*
|
|
73
|
+
* const project = gcp.organizations.getProject({});
|
|
74
|
+
* const example = new gcp.vertex.AiRagCorpus("example", {
|
|
75
|
+
* displayName: "rag-corpus-search",
|
|
76
|
+
* description: "A RAG corpus with Vertex AI Search",
|
|
77
|
+
* region: "europe-west4",
|
|
78
|
+
* vertexAiSearchConfig: {
|
|
79
|
+
* servingConfig: project.then(project => `projects/${project.number}/locations/global/collections/default_collection/engines/test/servingConfigs/default_serving_config`),
|
|
80
|
+
* },
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
83
|
+
* ### Vertex Ai Rag Corpus Pinecone
|
|
84
|
+
*
|
|
85
|
+
* ```typescript
|
|
86
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
87
|
+
* import * as gcp from "@pulumi/gcp";
|
|
88
|
+
*
|
|
89
|
+
* const project = gcp.organizations.getProject({});
|
|
90
|
+
* const example = new gcp.vertex.AiRagCorpus("example", {
|
|
91
|
+
* displayName: "rag-corpus-pinecone",
|
|
92
|
+
* description: "A RAG corpus with Pinecone",
|
|
93
|
+
* region: "europe-west4",
|
|
94
|
+
* vectorDbConfig: {
|
|
95
|
+
* pinecone: {
|
|
96
|
+
* indexName: "test-index",
|
|
97
|
+
* },
|
|
98
|
+
* apiAuth: {
|
|
99
|
+
* apiKeyConfig: {
|
|
100
|
+
* apiKeyString: "secret-api-key",
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* ragEmbeddingModelConfig: {
|
|
104
|
+
* vertexPredictionEndpoint: {
|
|
105
|
+
* endpoint: project.then(project => `projects/${project.number}/locations/europe-west4/publishers/google/models/text-embedding-005`),
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
108
|
+
* },
|
|
109
|
+
* });
|
|
110
|
+
* ```
|
|
111
|
+
* ### Vertex Ai Rag Corpus Vertex Vector Search
|
|
112
|
+
*
|
|
113
|
+
* ```typescript
|
|
114
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
115
|
+
* import * as gcp from "@pulumi/gcp";
|
|
116
|
+
*
|
|
117
|
+
* const index = new gcp.vertex.AiIndex("index", {
|
|
118
|
+
* region: "europe-west4",
|
|
119
|
+
* displayName: "index-test",
|
|
120
|
+
* description: "test index",
|
|
121
|
+
* indexUpdateMethod: "STREAM_UPDATE",
|
|
122
|
+
* metadata: {
|
|
123
|
+
* config: {
|
|
124
|
+
* dimensions: 768,
|
|
125
|
+
* distanceMeasureType: "COSINE_DISTANCE",
|
|
126
|
+
* featureNormType: "UNIT_L2_NORM",
|
|
127
|
+
* algorithmConfig: {
|
|
128
|
+
* bruteForceConfig: {},
|
|
129
|
+
* },
|
|
130
|
+
* },
|
|
131
|
+
* },
|
|
132
|
+
* });
|
|
133
|
+
* const indexEndpoint = new gcp.vertex.AiIndexEndpoint("index_endpoint", {
|
|
134
|
+
* displayName: "endpoint-test",
|
|
135
|
+
* description: "test endpoint",
|
|
136
|
+
* region: "europe-west4",
|
|
137
|
+
* publicEndpointEnabled: true,
|
|
138
|
+
* });
|
|
139
|
+
* const deployedIndex = new gcp.vertex.AiIndexEndpointDeployedIndex("deployed_index", {
|
|
140
|
+
* deployedIndexId: "deployed_index",
|
|
141
|
+
* displayName: "deployed_index",
|
|
142
|
+
* region: "europe-west4",
|
|
143
|
+
* index: index.id,
|
|
144
|
+
* indexEndpoint: indexEndpoint.id,
|
|
145
|
+
* automaticResources: {
|
|
146
|
+
* minReplicaCount: 1,
|
|
147
|
+
* maxReplicaCount: 1,
|
|
148
|
+
* },
|
|
149
|
+
* });
|
|
150
|
+
* const project = gcp.organizations.getProject({});
|
|
151
|
+
* const example = new gcp.vertex.AiRagCorpus("example", {
|
|
152
|
+
* displayName: "rag-corpus-vector-search",
|
|
153
|
+
* description: "A RAG corpus with Vertex Vector Search",
|
|
154
|
+
* region: "europe-west4",
|
|
155
|
+
* vectorDbConfig: {
|
|
156
|
+
* vertexVectorSearch: {
|
|
157
|
+
* indexEndpoint: pulumi.all([project, indexEndpoint.name]).apply(([project, name]) => `projects/${project.number}/locations/europe-west4/indexEndpoints/${name}`),
|
|
158
|
+
* index: pulumi.all([project, index.name]).apply(([project, name]) => `projects/${project.number}/locations/europe-west4/indexes/${name}`),
|
|
159
|
+
* },
|
|
160
|
+
* ragEmbeddingModelConfig: {
|
|
161
|
+
* vertexPredictionEndpoint: {
|
|
162
|
+
* endpoint: project.then(project => `projects/${project.number}/locations/europe-west4/publishers/google/models/text-embedding-005`),
|
|
163
|
+
* },
|
|
164
|
+
* },
|
|
165
|
+
* },
|
|
166
|
+
* }, {
|
|
167
|
+
* dependsOn: [deployedIndex],
|
|
168
|
+
* });
|
|
169
|
+
* ```
|
|
170
|
+
* ### Vertex Ai Rag Corpus Secret Manager
|
|
171
|
+
*
|
|
172
|
+
* ```typescript
|
|
173
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
174
|
+
* import * as gcp from "@pulumi/gcp";
|
|
175
|
+
*
|
|
176
|
+
* const secret = new gcp.secretmanager.Secret("secret", {
|
|
177
|
+
* secretId: "secret-key",
|
|
178
|
+
* replication: {
|
|
179
|
+
* auto: {},
|
|
180
|
+
* },
|
|
181
|
+
* });
|
|
182
|
+
* const secretVersion = new gcp.secretmanager.SecretVersion("secret_version", {
|
|
183
|
+
* secret: secret.id,
|
|
184
|
+
* secretData: "secret-api-key",
|
|
185
|
+
* });
|
|
186
|
+
* const project = gcp.organizations.getProject({});
|
|
187
|
+
* const secretAccessor = new gcp.secretmanager.SecretIamMember("secret_accessor", {
|
|
188
|
+
* secretId: secret.id,
|
|
189
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
190
|
+
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-vertex-rag.iam.gserviceaccount.com`),
|
|
191
|
+
* });
|
|
192
|
+
* const example = new gcp.vertex.AiRagCorpus("example", {
|
|
193
|
+
* displayName: "rag-corpus-secret",
|
|
194
|
+
* description: "A RAG corpus with Secret Manager",
|
|
195
|
+
* region: "europe-west4",
|
|
196
|
+
* vectorDbConfig: {
|
|
197
|
+
* ragManagedDb: {
|
|
198
|
+
* knn: {},
|
|
199
|
+
* },
|
|
200
|
+
* apiAuth: {
|
|
201
|
+
* apiKeyConfig: {
|
|
202
|
+
* apiKeySecretVersion: secretVersion.name,
|
|
203
|
+
* },
|
|
204
|
+
* },
|
|
205
|
+
* ragEmbeddingModelConfig: {
|
|
206
|
+
* vertexPredictionEndpoint: {
|
|
207
|
+
* endpoint: project.then(project => `projects/${project.number}/locations/europe-west4/publishers/google/models/text-embedding-005`),
|
|
208
|
+
* },
|
|
209
|
+
* },
|
|
210
|
+
* },
|
|
211
|
+
* }, {
|
|
212
|
+
* dependsOn: [secretAccessor],
|
|
213
|
+
* });
|
|
214
|
+
* ```
|
|
67
215
|
*
|
|
68
216
|
* ## Import
|
|
69
217
|
*
|
|
@@ -157,6 +305,11 @@ export declare class AiRagCorpus extends pulumi.CustomResource {
|
|
|
157
305
|
* Structure is documented below.
|
|
158
306
|
*/
|
|
159
307
|
readonly vectorDbConfig: pulumi.Output<outputs.vertex.AiRagCorpusVectorDbConfig | undefined>;
|
|
308
|
+
/**
|
|
309
|
+
* Optional. Immutable. The config for the Vertex AI Search.
|
|
310
|
+
* Structure is documented below.
|
|
311
|
+
*/
|
|
312
|
+
readonly vertexAiSearchConfig: pulumi.Output<outputs.vertex.AiRagCorpusVertexAiSearchConfig | undefined>;
|
|
160
313
|
/**
|
|
161
314
|
* Create a AiRagCorpus resource with the given unique name, arguments, and options.
|
|
162
315
|
*
|
|
@@ -228,6 +381,11 @@ export interface AiRagCorpusState {
|
|
|
228
381
|
* Structure is documented below.
|
|
229
382
|
*/
|
|
230
383
|
vectorDbConfig?: pulumi.Input<inputs.vertex.AiRagCorpusVectorDbConfig | undefined>;
|
|
384
|
+
/**
|
|
385
|
+
* Optional. Immutable. The config for the Vertex AI Search.
|
|
386
|
+
* Structure is documented below.
|
|
387
|
+
*/
|
|
388
|
+
vertexAiSearchConfig?: pulumi.Input<inputs.vertex.AiRagCorpusVertexAiSearchConfig | undefined>;
|
|
231
389
|
}
|
|
232
390
|
/**
|
|
233
391
|
* The set of arguments for constructing a AiRagCorpus resource.
|
|
@@ -273,5 +431,10 @@ export interface AiRagCorpusArgs {
|
|
|
273
431
|
* Structure is documented below.
|
|
274
432
|
*/
|
|
275
433
|
vectorDbConfig?: pulumi.Input<inputs.vertex.AiRagCorpusVectorDbConfig | undefined>;
|
|
434
|
+
/**
|
|
435
|
+
* Optional. Immutable. The config for the Vertex AI Search.
|
|
436
|
+
* Structure is documented below.
|
|
437
|
+
*/
|
|
438
|
+
vertexAiSearchConfig?: pulumi.Input<inputs.vertex.AiRagCorpusVertexAiSearchConfig | undefined>;
|
|
276
439
|
}
|
|
277
440
|
//# sourceMappingURL=aiRagCorpus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiRagCorpus.d.ts","sourceRoot":"","sources":["../../vertex/aiRagCorpus.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,M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AK,CAAC,MAAM,CAAC,CAAC;IAClC;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACnF;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACnF;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;CAClG"}
|
package/vertex/aiRagCorpus.js
CHANGED
|
@@ -91,6 +91,154 @@ const utilities = __importStar(require("../utilities"));
|
|
|
91
91
|
* },
|
|
92
92
|
* });
|
|
93
93
|
* ```
|
|
94
|
+
* ### Vertex Ai Rag Corpus Search
|
|
95
|
+
*
|
|
96
|
+
* ```typescript
|
|
97
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
98
|
+
* import * as gcp from "@pulumi/gcp";
|
|
99
|
+
*
|
|
100
|
+
* const project = gcp.organizations.getProject({});
|
|
101
|
+
* const example = new gcp.vertex.AiRagCorpus("example", {
|
|
102
|
+
* displayName: "rag-corpus-search",
|
|
103
|
+
* description: "A RAG corpus with Vertex AI Search",
|
|
104
|
+
* region: "europe-west4",
|
|
105
|
+
* vertexAiSearchConfig: {
|
|
106
|
+
* servingConfig: project.then(project => `projects/${project.number}/locations/global/collections/default_collection/engines/test/servingConfigs/default_serving_config`),
|
|
107
|
+
* },
|
|
108
|
+
* });
|
|
109
|
+
* ```
|
|
110
|
+
* ### Vertex Ai Rag Corpus Pinecone
|
|
111
|
+
*
|
|
112
|
+
* ```typescript
|
|
113
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
114
|
+
* import * as gcp from "@pulumi/gcp";
|
|
115
|
+
*
|
|
116
|
+
* const project = gcp.organizations.getProject({});
|
|
117
|
+
* const example = new gcp.vertex.AiRagCorpus("example", {
|
|
118
|
+
* displayName: "rag-corpus-pinecone",
|
|
119
|
+
* description: "A RAG corpus with Pinecone",
|
|
120
|
+
* region: "europe-west4",
|
|
121
|
+
* vectorDbConfig: {
|
|
122
|
+
* pinecone: {
|
|
123
|
+
* indexName: "test-index",
|
|
124
|
+
* },
|
|
125
|
+
* apiAuth: {
|
|
126
|
+
* apiKeyConfig: {
|
|
127
|
+
* apiKeyString: "secret-api-key",
|
|
128
|
+
* },
|
|
129
|
+
* },
|
|
130
|
+
* ragEmbeddingModelConfig: {
|
|
131
|
+
* vertexPredictionEndpoint: {
|
|
132
|
+
* endpoint: project.then(project => `projects/${project.number}/locations/europe-west4/publishers/google/models/text-embedding-005`),
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* },
|
|
136
|
+
* });
|
|
137
|
+
* ```
|
|
138
|
+
* ### Vertex Ai Rag Corpus Vertex Vector Search
|
|
139
|
+
*
|
|
140
|
+
* ```typescript
|
|
141
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
142
|
+
* import * as gcp from "@pulumi/gcp";
|
|
143
|
+
*
|
|
144
|
+
* const index = new gcp.vertex.AiIndex("index", {
|
|
145
|
+
* region: "europe-west4",
|
|
146
|
+
* displayName: "index-test",
|
|
147
|
+
* description: "test index",
|
|
148
|
+
* indexUpdateMethod: "STREAM_UPDATE",
|
|
149
|
+
* metadata: {
|
|
150
|
+
* config: {
|
|
151
|
+
* dimensions: 768,
|
|
152
|
+
* distanceMeasureType: "COSINE_DISTANCE",
|
|
153
|
+
* featureNormType: "UNIT_L2_NORM",
|
|
154
|
+
* algorithmConfig: {
|
|
155
|
+
* bruteForceConfig: {},
|
|
156
|
+
* },
|
|
157
|
+
* },
|
|
158
|
+
* },
|
|
159
|
+
* });
|
|
160
|
+
* const indexEndpoint = new gcp.vertex.AiIndexEndpoint("index_endpoint", {
|
|
161
|
+
* displayName: "endpoint-test",
|
|
162
|
+
* description: "test endpoint",
|
|
163
|
+
* region: "europe-west4",
|
|
164
|
+
* publicEndpointEnabled: true,
|
|
165
|
+
* });
|
|
166
|
+
* const deployedIndex = new gcp.vertex.AiIndexEndpointDeployedIndex("deployed_index", {
|
|
167
|
+
* deployedIndexId: "deployed_index",
|
|
168
|
+
* displayName: "deployed_index",
|
|
169
|
+
* region: "europe-west4",
|
|
170
|
+
* index: index.id,
|
|
171
|
+
* indexEndpoint: indexEndpoint.id,
|
|
172
|
+
* automaticResources: {
|
|
173
|
+
* minReplicaCount: 1,
|
|
174
|
+
* maxReplicaCount: 1,
|
|
175
|
+
* },
|
|
176
|
+
* });
|
|
177
|
+
* const project = gcp.organizations.getProject({});
|
|
178
|
+
* const example = new gcp.vertex.AiRagCorpus("example", {
|
|
179
|
+
* displayName: "rag-corpus-vector-search",
|
|
180
|
+
* description: "A RAG corpus with Vertex Vector Search",
|
|
181
|
+
* region: "europe-west4",
|
|
182
|
+
* vectorDbConfig: {
|
|
183
|
+
* vertexVectorSearch: {
|
|
184
|
+
* indexEndpoint: pulumi.all([project, indexEndpoint.name]).apply(([project, name]) => `projects/${project.number}/locations/europe-west4/indexEndpoints/${name}`),
|
|
185
|
+
* index: pulumi.all([project, index.name]).apply(([project, name]) => `projects/${project.number}/locations/europe-west4/indexes/${name}`),
|
|
186
|
+
* },
|
|
187
|
+
* ragEmbeddingModelConfig: {
|
|
188
|
+
* vertexPredictionEndpoint: {
|
|
189
|
+
* endpoint: project.then(project => `projects/${project.number}/locations/europe-west4/publishers/google/models/text-embedding-005`),
|
|
190
|
+
* },
|
|
191
|
+
* },
|
|
192
|
+
* },
|
|
193
|
+
* }, {
|
|
194
|
+
* dependsOn: [deployedIndex],
|
|
195
|
+
* });
|
|
196
|
+
* ```
|
|
197
|
+
* ### Vertex Ai Rag Corpus Secret Manager
|
|
198
|
+
*
|
|
199
|
+
* ```typescript
|
|
200
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
201
|
+
* import * as gcp from "@pulumi/gcp";
|
|
202
|
+
*
|
|
203
|
+
* const secret = new gcp.secretmanager.Secret("secret", {
|
|
204
|
+
* secretId: "secret-key",
|
|
205
|
+
* replication: {
|
|
206
|
+
* auto: {},
|
|
207
|
+
* },
|
|
208
|
+
* });
|
|
209
|
+
* const secretVersion = new gcp.secretmanager.SecretVersion("secret_version", {
|
|
210
|
+
* secret: secret.id,
|
|
211
|
+
* secretData: "secret-api-key",
|
|
212
|
+
* });
|
|
213
|
+
* const project = gcp.organizations.getProject({});
|
|
214
|
+
* const secretAccessor = new gcp.secretmanager.SecretIamMember("secret_accessor", {
|
|
215
|
+
* secretId: secret.id,
|
|
216
|
+
* role: "roles/secretmanager.secretAccessor",
|
|
217
|
+
* member: project.then(project => `serviceAccount:service-${project.number}@gcp-sa-vertex-rag.iam.gserviceaccount.com`),
|
|
218
|
+
* });
|
|
219
|
+
* const example = new gcp.vertex.AiRagCorpus("example", {
|
|
220
|
+
* displayName: "rag-corpus-secret",
|
|
221
|
+
* description: "A RAG corpus with Secret Manager",
|
|
222
|
+
* region: "europe-west4",
|
|
223
|
+
* vectorDbConfig: {
|
|
224
|
+
* ragManagedDb: {
|
|
225
|
+
* knn: {},
|
|
226
|
+
* },
|
|
227
|
+
* apiAuth: {
|
|
228
|
+
* apiKeyConfig: {
|
|
229
|
+
* apiKeySecretVersion: secretVersion.name,
|
|
230
|
+
* },
|
|
231
|
+
* },
|
|
232
|
+
* ragEmbeddingModelConfig: {
|
|
233
|
+
* vertexPredictionEndpoint: {
|
|
234
|
+
* endpoint: project.then(project => `projects/${project.number}/locations/europe-west4/publishers/google/models/text-embedding-005`),
|
|
235
|
+
* },
|
|
236
|
+
* },
|
|
237
|
+
* },
|
|
238
|
+
* }, {
|
|
239
|
+
* dependsOn: [secretAccessor],
|
|
240
|
+
* });
|
|
241
|
+
* ```
|
|
94
242
|
*
|
|
95
243
|
* ## Import
|
|
96
244
|
*
|
|
@@ -151,6 +299,7 @@ class AiRagCorpus extends pulumi.CustomResource {
|
|
|
151
299
|
resourceInputs["region"] = state?.region;
|
|
152
300
|
resourceInputs["updateTime"] = state?.updateTime;
|
|
153
301
|
resourceInputs["vectorDbConfig"] = state?.vectorDbConfig;
|
|
302
|
+
resourceInputs["vertexAiSearchConfig"] = state?.vertexAiSearchConfig;
|
|
154
303
|
}
|
|
155
304
|
else {
|
|
156
305
|
const args = argsOrState;
|
|
@@ -167,6 +316,7 @@ class AiRagCorpus extends pulumi.CustomResource {
|
|
|
167
316
|
resourceInputs["project"] = args?.project;
|
|
168
317
|
resourceInputs["region"] = args?.region;
|
|
169
318
|
resourceInputs["vectorDbConfig"] = args?.vectorDbConfig;
|
|
319
|
+
resourceInputs["vertexAiSearchConfig"] = args?.vertexAiSearchConfig;
|
|
170
320
|
resourceInputs["corpusStatuses"] = undefined /*out*/;
|
|
171
321
|
resourceInputs["createTime"] = undefined /*out*/;
|
|
172
322
|
resourceInputs["name"] = undefined /*out*/;
|