@pulumi/gcp 9.33.0-alpha.1785902607 → 9.33.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/accesscontextmanager/gcpUserAccessBinding.d.ts +1 -1
- package/accesscontextmanager/gcpUserAccessBinding.js +1 -1
- package/agentidentity/authProvider.d.ts +366 -0
- package/agentidentity/authProvider.d.ts.map +1 -0
- package/agentidentity/authProvider.js +158 -0
- package/agentidentity/authProvider.js.map +1 -0
- package/agentidentity/index.d.ts +4 -0
- package/agentidentity/index.d.ts.map +1 -0
- package/agentidentity/index.js +45 -0
- package/agentidentity/index.js.map +1 -0
- package/apihub/index.d.ts +3 -0
- package/apihub/index.d.ts.map +1 -1
- package/apihub/index.js +6 -1
- package/apihub/index.js.map +1 -1
- package/apihub/runtimeProjectAttachment.d.ts +228 -0
- package/apihub/runtimeProjectAttachment.d.ts.map +1 -0
- package/apihub/runtimeProjectAttachment.js +173 -0
- package/apihub/runtimeProjectAttachment.js.map +1 -0
- package/apphub/service.d.ts +2 -2
- package/apphub/service.js +2 -2
- package/artifactregistry/getDockerImage.d.ts +2 -2
- package/artifactregistry/getDockerImage.js +2 -2
- package/bigquery/routine.d.ts +28 -0
- package/bigquery/routine.d.ts.map +1 -1
- package/bigquery/routine.js +28 -0
- package/bigquery/routine.js.map +1 -1
- package/binaryauthorization/attestor.d.ts +1 -1
- package/binaryauthorization/attestor.js +1 -1
- package/certificateauthority/certificate.d.ts +1 -1
- package/certificateauthority/certificate.js +1 -1
- package/certificatemanager/dnsAuthorization.d.ts +3 -3
- package/certificatemanager/dnsAuthorization.js +3 -3
- package/ces/agent.d.ts +1 -1
- package/ces/agent.js +1 -1
- package/ces/example.d.ts +2 -2
- package/ces/example.js +2 -2
- package/ces/tool.d.ts +1 -1
- package/ces/tool.js +1 -1
- package/chronicle/bigQueryExport.d.ts +263 -0
- package/chronicle/bigQueryExport.d.ts.map +1 -0
- package/chronicle/bigQueryExport.js +173 -0
- package/chronicle/bigQueryExport.js.map +1 -0
- package/chronicle/index.d.ts +3 -0
- package/chronicle/index.d.ts.map +1 -1
- package/chronicle/index.js +6 -1
- package/chronicle/index.js.map +1 -1
- package/cloudbuild/bitbucketServerConfig.d.ts +1 -1
- package/cloudbuild/bitbucketServerConfig.js +1 -1
- package/cloudidentity/groupMembership.d.ts +1 -1
- package/cloudidentity/groupMembership.js +1 -1
- package/cloudquota/squotaAdjusterSettings.d.ts +1 -4
- package/cloudquota/squotaAdjusterSettings.d.ts.map +1 -1
- package/cloudquota/squotaAdjusterSettings.js +1 -4
- package/cloudquota/squotaAdjusterSettings.js.map +1 -1
- package/cloudrun/service.d.ts +1 -1
- package/cloudrun/service.js +1 -1
- package/cloudrunv2/job.d.ts +0 -6
- package/cloudrunv2/job.d.ts.map +1 -1
- package/cloudrunv2/job.js.map +1 -1
- package/colab/schedule.d.ts +275 -2
- package/colab/schedule.d.ts.map +1 -1
- package/colab/schedule.js +200 -3
- package/colab/schedule.js.map +1 -1
- package/compute/backendService.d.ts +1 -1
- package/compute/backendService.js +1 -1
- package/compute/getInstanceSerialPort.d.ts +2 -2
- package/compute/getInstanceSerialPort.js +2 -2
- package/compute/globalVmExtensionPolicy.d.ts +0 -3
- package/compute/globalVmExtensionPolicy.d.ts.map +1 -1
- package/compute/globalVmExtensionPolicy.js +0 -3
- package/compute/globalVmExtensionPolicy.js.map +1 -1
- package/compute/interconnect.d.ts +14 -4
- package/compute/interconnect.d.ts.map +1 -1
- package/compute/interconnect.js +3 -1
- package/compute/interconnect.js.map +1 -1
- 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/networkPeeringRoutesConfig.d.ts +2 -2
- package/compute/networkPeeringRoutesConfig.js +2 -2
- package/compute/regionBackendService.d.ts +1 -1
- package/compute/regionBackendService.js +1 -1
- package/compute/regionNetworkEndpoint.d.ts +1 -1
- package/compute/regionNetworkEndpoint.js +1 -1
- package/compute/rolloutPlan.d.ts +1 -4
- package/compute/rolloutPlan.d.ts.map +1 -1
- package/compute/rolloutPlan.js +1 -4
- package/compute/rolloutPlan.js.map +1 -1
- package/config/vars.d.ts +1 -0
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/contactcenterinsights/encryptionSpec.d.ts +1 -1
- package/contactcenterinsights/encryptionSpec.js +1 -1
- package/container/cluster.d.ts +71 -0
- package/container/cluster.d.ts.map +1 -1
- package/container/cluster.js +45 -0
- package/container/cluster.js.map +1 -1
- package/container/getCluster.d.ts +3 -0
- package/container/getCluster.d.ts.map +1 -1
- package/container/getCluster.js.map +1 -1
- package/databasemigrationservice/connectionProfile.d.ts +4 -4
- package/databasemigrationservice/connectionProfile.js +4 -4
- package/databasemigrationservice/migrationJob.d.ts +4 -4
- package/databasemigrationservice/migrationJob.js +4 -4
- package/dataplex/datascan.d.ts +1 -1
- package/dataplex/datascan.js +1 -1
- package/dataplex/entry.d.ts +1 -1
- package/dataplex/entry.js +1 -1
- package/dataplex/entryLink.d.ts +1 -1
- package/dataplex/entryLink.js +1 -1
- package/dataproc/job.d.ts +2 -2
- package/dataproc/job.js +2 -2
- package/datastream/connectionProfile.d.ts +1 -1
- package/datastream/connectionProfile.js +1 -1
- package/datastream/stream.d.ts +1 -1
- package/datastream/stream.js +1 -1
- package/developerconnect/connection.d.ts +1 -1
- package/developerconnect/connection.js +1 -1
- package/diagflow/encryptionSpec.d.ts +1 -1
- package/diagflow/encryptionSpec.js +1 -1
- package/dns/managedZone.d.ts +2 -2
- package/dns/managedZone.js +2 -2
- package/dns/responsePolicy.d.ts +2 -2
- package/dns/responsePolicy.js +2 -2
- package/firebase/webApp.d.ts +6 -6
- package/firebase/webApp.js +6 -6
- package/folder/accessApprovalSettings.d.ts +2 -2
- package/folder/accessApprovalSettings.js +2 -2
- package/gkehub/rolloutSequence.d.ts +225 -3
- package/gkehub/rolloutSequence.d.ts.map +1 -1
- package/gkehub/rolloutSequence.js +149 -3
- package/gkehub/rolloutSequence.js.map +1 -1
- package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
- package/gkehub/scopeRbacRoleBinding.js +4 -4
- package/iam/accessBoundaryPolicy.d.ts +3 -3
- package/iam/accessBoundaryPolicy.js +3 -3
- package/iam/denyPolicy.d.ts +1 -1
- package/iam/denyPolicy.js +1 -1
- package/iap/tunnelDestGroup.d.ts +1 -1
- package/iap/tunnelDestGroup.js +1 -1
- package/index.d.ts +2 -1
- package/index.d.ts.map +1 -1
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/integrationconnectors/managedZone.d.ts +4 -4
- package/integrationconnectors/managedZone.js +4 -4
- package/logging/folderSettings.d.ts +1 -1
- package/logging/folderSettings.js +1 -1
- package/managedkafka/connectCluster.d.ts +1 -1
- package/managedkafka/connectCluster.js +1 -1
- package/managedkafka/connector.d.ts +1 -1
- package/managedkafka/connector.js +1 -1
- package/memorystore/instanceDesiredUserCreatedEndpoints.d.ts +12 -12
- package/memorystore/instanceDesiredUserCreatedEndpoints.js +12 -12
- package/modelarmor/template.d.ts +27 -0
- package/modelarmor/template.d.ts.map +1 -1
- package/modelarmor/template.js +27 -0
- package/modelarmor/template.js.map +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
- package/networkconnectivity/spoke.d.ts +8 -8
- package/networkconnectivity/spoke.js +8 -8
- package/networkconnectivity/transport.d.ts +2 -2
- package/networkconnectivity/transport.js +2 -2
- package/observability/folderSettings.d.ts +3 -3
- package/observability/folderSettings.js +3 -3
- 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/organizations/accessApprovalSettings.d.ts +1 -1
- package/organizations/accessApprovalSettings.js +1 -1
- package/orgpolicy/policy.d.ts +1 -1
- package/orgpolicy/policy.js +1 -1
- package/package.json +2 -2
- package/projects/accessApprovalSettings.d.ts +1 -1
- package/projects/accessApprovalSettings.js +1 -1
- package/provider.d.ts +2 -0
- package/provider.d.ts.map +1 -1
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/pubsub/subscription.d.ts +4 -4
- package/pubsub/subscription.js +4 -4
- package/redis/clusterUserCreatedConnections.d.ts +12 -12
- package/redis/clusterUserCreatedConnections.js +12 -12
- package/securesourcemanager/instance.d.ts +6 -6
- package/securesourcemanager/instance.js +6 -6
- package/siteverification/owner.d.ts +5 -5
- package/siteverification/owner.js +5 -5
- package/types/input.d.ts +928 -7
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +991 -7
- package/types/output.d.ts.map +1 -1
- package/vectorsearch/dataObject.d.ts +405 -0
- package/vectorsearch/dataObject.d.ts.map +1 -0
- package/vectorsearch/dataObject.js +290 -0
- package/vectorsearch/dataObject.js.map +1 -0
- package/vectorsearch/index.d.ts +3 -0
- package/vectorsearch/index.d.ts.map +1 -1
- package/vectorsearch/index.js +6 -1
- package/vectorsearch/index.js.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/aiPersistentResource.d.ts +614 -0
- package/vertex/aiPersistentResource.d.ts.map +1 -0
- package/vertex/aiPersistentResource.js +307 -0
- package/vertex/aiPersistentResource.js.map +1 -0
- package/vertex/aiReasoningEngine.d.ts +1 -1
- package/vertex/aiReasoningEngine.js +1 -1
- package/vertex/aiSchedule.d.ts +2 -0
- package/vertex/aiSchedule.d.ts.map +1 -1
- package/vertex/aiSchedule.js +2 -0
- package/vertex/aiSchedule.js.map +1 -1
- package/vertex/aiTensorboardExperiment.d.ts +1 -1
- package/vertex/aiTensorboardExperiment.js +1 -1
- package/vertex/aiTensorboardRun.d.ts +2 -2
- package/vertex/aiTensorboardRun.js +2 -2
- 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
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* A DataObject is a single item of data (with optional vectors) stored in a
|
|
6
|
+
* Vector Search Collection. Each DataObject conforms to the parent
|
|
7
|
+
* Collection's `dataSchema` and `vectorSchema`.
|
|
8
|
+
*
|
|
9
|
+
* This resource always issues one `CreateDataObject` request per Terraform
|
|
10
|
+
* resource block. It does NOT use the `batchCreate` REST endpoint --
|
|
11
|
+
* Terraform's resource lifecycle is inherently per-object, so batching
|
|
12
|
+
* across resources is not modeled. When you use `forEach` or `count`,
|
|
13
|
+
* Terraform will still issue individual requests, up to `-parallelism`
|
|
14
|
+
* in parallel.
|
|
15
|
+
*
|
|
16
|
+
* For ingesting more than a few hundred items, prefer one of the
|
|
17
|
+
* following out-of-band paths instead of Terraform:
|
|
18
|
+
*
|
|
19
|
+
* * `importDataObjects` (bulk ingest from Cloud Storage) -- highest
|
|
20
|
+
* throughput, but only available *before* any Index is created on
|
|
21
|
+
* the Collection.
|
|
22
|
+
* * `batchCreate` (up to ~1000 items per call) -- available at any
|
|
23
|
+
* time, but must be driven from your own client code, not Terraform.
|
|
24
|
+
*
|
|
25
|
+
* Once an Index exists on the Collection, `importDataObjects` is no
|
|
26
|
+
* longer available and DataObjects must be created via `CreateDataObject`
|
|
27
|
+
* (as this resource does) or via `batchCreate`.
|
|
28
|
+
*
|
|
29
|
+
* ## Example Usage
|
|
30
|
+
*
|
|
31
|
+
* ### Vectorsearch Data Object Basic
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as gcp from "@pulumi/gcp";
|
|
36
|
+
*
|
|
37
|
+
* // NOTE: This resource issues one CreateDataObject request per block.
|
|
38
|
+
* // It does NOT batch across resources. Terraform will parallelize a
|
|
39
|
+
* // 'for_each' up to '-parallelism', but each item is still a separate
|
|
40
|
+
* // HTTP call.
|
|
41
|
+
* //
|
|
42
|
+
* // For bulk ingestion of many items, prefer one of these out-of-band
|
|
43
|
+
* // paths instead of Terraform:
|
|
44
|
+
* // * 'importDataObjects' (from Cloud Storage) -- highest throughput,
|
|
45
|
+
* // but only available *before* any Index is created on the Collection.
|
|
46
|
+
* // * 'batchCreate' (up to ~1000 items per call) -- available at any
|
|
47
|
+
* // time, but must be driven from client code, not Terraform.
|
|
48
|
+
* const parent = new gcp.vectorsearch.Collection("parent", {
|
|
49
|
+
* location: "us-central1",
|
|
50
|
+
* collectionId: "example-collection",
|
|
51
|
+
* displayName: "My Awesome Collection",
|
|
52
|
+
* description: "This collection stores important data.",
|
|
53
|
+
* dataSchema: `{
|
|
54
|
+
* \\"type\\": \\"object\\",
|
|
55
|
+
* \\"properties\\": {
|
|
56
|
+
* \\"title\\": {
|
|
57
|
+
* \\"type\\": \\"string\\"
|
|
58
|
+
* },
|
|
59
|
+
* \\"plot\\": {
|
|
60
|
+
* \\"type\\": \\"string\\"
|
|
61
|
+
* }
|
|
62
|
+
* }
|
|
63
|
+
* }
|
|
64
|
+
* `,
|
|
65
|
+
* vectorSchemas: [{
|
|
66
|
+
* fieldName: "text_embedding",
|
|
67
|
+
* denseVector: {
|
|
68
|
+
* dimensions: 768,
|
|
69
|
+
* vertexEmbeddingConfig: {
|
|
70
|
+
* modelId: "text-embedding-005",
|
|
71
|
+
* taskType: "RETRIEVAL_DOCUMENT",
|
|
72
|
+
* textTemplate: "Title: {title} ---- Plot: {plot}",
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* }],
|
|
76
|
+
* });
|
|
77
|
+
* // Because the parent Collection's 'text_embedding' field is configured
|
|
78
|
+
* // with a 'vertex_embedding_config', the server will populate the vector
|
|
79
|
+
* // automatically from 'data.title' and 'data.plot' -- no explicit
|
|
80
|
+
* // 'vectors' block is required.
|
|
81
|
+
* const example_data_object = new gcp.vectorsearch.DataObject("example-data-object", {
|
|
82
|
+
* location: "us-central1",
|
|
83
|
+
* collectionId: parent.collectionId,
|
|
84
|
+
* dataObjectId: "example-data-object",
|
|
85
|
+
* data: JSON.stringify({
|
|
86
|
+
* title: "The Matrix",
|
|
87
|
+
* plot: "A computer hacker learns about the true nature of reality.",
|
|
88
|
+
* }),
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
* ### Vectorsearch Data Object With Vectors
|
|
92
|
+
*
|
|
93
|
+
* ```typescript
|
|
94
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
95
|
+
* import * as gcp from "@pulumi/gcp";
|
|
96
|
+
*
|
|
97
|
+
* // NOTE: This resource issues one CreateDataObject request per block.
|
|
98
|
+
* // It does NOT batch across resources. Terraform will parallelize a
|
|
99
|
+
* // 'for_each' up to '-parallelism', but each item is still a separate
|
|
100
|
+
* // HTTP call.
|
|
101
|
+
* //
|
|
102
|
+
* // For bulk ingestion of many items, prefer one of these out-of-band
|
|
103
|
+
* // paths instead of Terraform:
|
|
104
|
+
* // * 'importDataObjects' (from Cloud Storage) -- highest throughput,
|
|
105
|
+
* // but only available *before* any Index is created on the Collection.
|
|
106
|
+
* // * 'batchCreate' (up to ~1000 items per call) -- available at any
|
|
107
|
+
* // time, but must be driven from client code, not Terraform.
|
|
108
|
+
* const parent = new gcp.vectorsearch.Collection("parent", {
|
|
109
|
+
* location: "us-central1",
|
|
110
|
+
* collectionId: "example-vectors-collection",
|
|
111
|
+
* displayName: "My BYO-Embedding Collection",
|
|
112
|
+
* description: "Collection whose vectors are supplied by the client.",
|
|
113
|
+
* dataSchema: `{
|
|
114
|
+
* \\"type\\": \\"object\\",
|
|
115
|
+
* \\"properties\\": {
|
|
116
|
+
* \\"title\\": {
|
|
117
|
+
* \\"type\\": \\"string\\"
|
|
118
|
+
* },
|
|
119
|
+
* \\"category\\": {
|
|
120
|
+
* \\"type\\": \\"string\\"
|
|
121
|
+
* }
|
|
122
|
+
* }
|
|
123
|
+
* }
|
|
124
|
+
* `,
|
|
125
|
+
* vectorSchemas: [
|
|
126
|
+
* {
|
|
127
|
+
* fieldName: "dense_embedding",
|
|
128
|
+
* denseVector: {
|
|
129
|
+
* dimensions: 4,
|
|
130
|
+
* },
|
|
131
|
+
* },
|
|
132
|
+
* {
|
|
133
|
+
* fieldName: "sparse_embedding",
|
|
134
|
+
* sparseVector: {},
|
|
135
|
+
* },
|
|
136
|
+
* ],
|
|
137
|
+
* });
|
|
138
|
+
* const example_vectors_data_object = new gcp.vectorsearch.DataObject("example-vectors-data-object", {
|
|
139
|
+
* location: "us-central1",
|
|
140
|
+
* collectionId: parent.collectionId,
|
|
141
|
+
* dataObjectId: "example-vectors-data-object",
|
|
142
|
+
* data: JSON.stringify({
|
|
143
|
+
* title: "The Matrix",
|
|
144
|
+
* category: "movie",
|
|
145
|
+
* }),
|
|
146
|
+
* vectors: [
|
|
147
|
+
* {
|
|
148
|
+
* fieldName: "dense_embedding",
|
|
149
|
+
* dense: {
|
|
150
|
+
* values: [
|
|
151
|
+
* 0.11,
|
|
152
|
+
* 0.22,
|
|
153
|
+
* 0.33,
|
|
154
|
+
* 0.44,
|
|
155
|
+
* ],
|
|
156
|
+
* },
|
|
157
|
+
* },
|
|
158
|
+
* {
|
|
159
|
+
* fieldName: "sparse_embedding",
|
|
160
|
+
* sparse: {
|
|
161
|
+
* values: [
|
|
162
|
+
* 0.9,
|
|
163
|
+
* 0.5,
|
|
164
|
+
* 0.1,
|
|
165
|
+
* ],
|
|
166
|
+
* indices: [
|
|
167
|
+
* 3,
|
|
168
|
+
* 17,
|
|
169
|
+
* 42,
|
|
170
|
+
* ],
|
|
171
|
+
* },
|
|
172
|
+
* },
|
|
173
|
+
* ],
|
|
174
|
+
* });
|
|
175
|
+
* ```
|
|
176
|
+
*
|
|
177
|
+
* ## Import
|
|
178
|
+
*
|
|
179
|
+
* DataObject can be imported using any of these accepted formats:
|
|
180
|
+
*
|
|
181
|
+
* * `projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/dataObjects/{{data_object_id}}`
|
|
182
|
+
* * `{{project}}/{{location}}/{{collection_id}}/{{data_object_id}}`
|
|
183
|
+
* * `{{location}}/{{collection_id}}/{{data_object_id}}`
|
|
184
|
+
*
|
|
185
|
+
* When using the `pulumi import` command, DataObject can be imported using one of the formats above. For example:
|
|
186
|
+
*
|
|
187
|
+
* ```sh
|
|
188
|
+
* $ pulumi import gcp:vectorsearch/dataObject:DataObject default projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/dataObjects/{{data_object_id}}
|
|
189
|
+
* $ pulumi import gcp:vectorsearch/dataObject:DataObject default {{project}}/{{location}}/{{collection_id}}/{{data_object_id}}
|
|
190
|
+
* $ pulumi import gcp:vectorsearch/dataObject:DataObject default {{location}}/{{collection_id}}/{{data_object_id}}
|
|
191
|
+
* ```
|
|
192
|
+
*/
|
|
193
|
+
export declare class DataObject extends pulumi.CustomResource {
|
|
194
|
+
/**
|
|
195
|
+
* Get an existing DataObject resource's state with the given name, ID, and optional extra
|
|
196
|
+
* properties used to qualify the lookup.
|
|
197
|
+
*
|
|
198
|
+
* @param name The _unique_ name of the resulting resource.
|
|
199
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
200
|
+
* @param state Any extra arguments used during the lookup.
|
|
201
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
202
|
+
*/
|
|
203
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataObjectState, opts?: pulumi.CustomResourceOptions): DataObject;
|
|
204
|
+
/**
|
|
205
|
+
* Returns true if the given object is an instance of DataObject. This is designed to work even
|
|
206
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
207
|
+
*/
|
|
208
|
+
static isInstance(obj: any): obj is DataObject;
|
|
209
|
+
/**
|
|
210
|
+
* The ID of the parent Collection.
|
|
211
|
+
*/
|
|
212
|
+
readonly collectionId: pulumi.Output<string>;
|
|
213
|
+
/**
|
|
214
|
+
* [Output only] Create time stamp
|
|
215
|
+
*/
|
|
216
|
+
readonly createTime: pulumi.Output<string>;
|
|
217
|
+
/**
|
|
218
|
+
* The JSON data of the DataObject. Must be a JSON object whose field
|
|
219
|
+
* names match the fields defined in the parent Collection's
|
|
220
|
+
* `dataSchema`.
|
|
221
|
+
*/
|
|
222
|
+
readonly data: pulumi.Output<string | undefined>;
|
|
223
|
+
/**
|
|
224
|
+
* ID of the DataObject to create.
|
|
225
|
+
* The id must be 1-63 characters long, and comply with
|
|
226
|
+
* [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
|
|
227
|
+
* Specifically, it must be 1-63 characters long and match the regular
|
|
228
|
+
* expression `a-z?`.
|
|
229
|
+
*/
|
|
230
|
+
readonly dataObjectId: pulumi.Output<string>;
|
|
231
|
+
/**
|
|
232
|
+
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
|
|
233
|
+
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
|
|
234
|
+
* the command will fail if this field is set to "PREVENT" in Terraform state.
|
|
235
|
+
* When set to "ABANDON", the command will remove the resource from Terraform
|
|
236
|
+
* management without updating or deleting the resource in the API.
|
|
237
|
+
* When set to "DELETE", deleting the resource is allowed.
|
|
238
|
+
*/
|
|
239
|
+
readonly deletionPolicy: pulumi.Output<string>;
|
|
240
|
+
/**
|
|
241
|
+
* The etag of the DataObject, used for optimistic concurrency
|
|
242
|
+
* control on updates and deletes.
|
|
243
|
+
*/
|
|
244
|
+
readonly etag: pulumi.Output<string>;
|
|
245
|
+
/**
|
|
246
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
247
|
+
*/
|
|
248
|
+
readonly location: pulumi.Output<string>;
|
|
249
|
+
/**
|
|
250
|
+
* Identifier. name of resource
|
|
251
|
+
*/
|
|
252
|
+
readonly name: pulumi.Output<string>;
|
|
253
|
+
/**
|
|
254
|
+
* The ID of the project in which the resource belongs.
|
|
255
|
+
* If it is not provided, the provider project is used.
|
|
256
|
+
*/
|
|
257
|
+
readonly project: pulumi.Output<string>;
|
|
258
|
+
/**
|
|
259
|
+
* [Output only] Update time stamp
|
|
260
|
+
*/
|
|
261
|
+
readonly updateTime: pulumi.Output<string>;
|
|
262
|
+
/**
|
|
263
|
+
* The vectors of the DataObject, keyed by the vector field name as
|
|
264
|
+
* defined in the parent Collection's `vectorSchema`.
|
|
265
|
+
* If a vector field is configured with a `vertexEmbeddingConfig` on
|
|
266
|
+
* the Collection, the server will populate the vector automatically
|
|
267
|
+
* from the corresponding text in `data` and the field should be
|
|
268
|
+
* omitted here.
|
|
269
|
+
* Structure is documented below.
|
|
270
|
+
*/
|
|
271
|
+
readonly vectors: pulumi.Output<outputs.vectorsearch.DataObjectVector[]>;
|
|
272
|
+
/**
|
|
273
|
+
* Create a DataObject resource with the given unique name, arguments, and options.
|
|
274
|
+
*
|
|
275
|
+
* @param name The _unique_ name of the resource.
|
|
276
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
277
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
278
|
+
*/
|
|
279
|
+
constructor(name: string, args: DataObjectArgs, opts?: pulumi.CustomResourceOptions);
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Input properties used for looking up and filtering DataObject resources.
|
|
283
|
+
*/
|
|
284
|
+
export interface DataObjectState {
|
|
285
|
+
/**
|
|
286
|
+
* The ID of the parent Collection.
|
|
287
|
+
*/
|
|
288
|
+
collectionId?: pulumi.Input<string | undefined>;
|
|
289
|
+
/**
|
|
290
|
+
* [Output only] Create time stamp
|
|
291
|
+
*/
|
|
292
|
+
createTime?: pulumi.Input<string | undefined>;
|
|
293
|
+
/**
|
|
294
|
+
* The JSON data of the DataObject. Must be a JSON object whose field
|
|
295
|
+
* names match the fields defined in the parent Collection's
|
|
296
|
+
* `dataSchema`.
|
|
297
|
+
*/
|
|
298
|
+
data?: pulumi.Input<string | undefined>;
|
|
299
|
+
/**
|
|
300
|
+
* ID of the DataObject to create.
|
|
301
|
+
* The id must be 1-63 characters long, and comply with
|
|
302
|
+
* [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
|
|
303
|
+
* Specifically, it must be 1-63 characters long and match the regular
|
|
304
|
+
* expression `a-z?`.
|
|
305
|
+
*/
|
|
306
|
+
dataObjectId?: pulumi.Input<string | undefined>;
|
|
307
|
+
/**
|
|
308
|
+
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
|
|
309
|
+
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
|
|
310
|
+
* the command will fail if this field is set to "PREVENT" in Terraform state.
|
|
311
|
+
* When set to "ABANDON", the command will remove the resource from Terraform
|
|
312
|
+
* management without updating or deleting the resource in the API.
|
|
313
|
+
* When set to "DELETE", deleting the resource is allowed.
|
|
314
|
+
*/
|
|
315
|
+
deletionPolicy?: pulumi.Input<string | undefined>;
|
|
316
|
+
/**
|
|
317
|
+
* The etag of the DataObject, used for optimistic concurrency
|
|
318
|
+
* control on updates and deletes.
|
|
319
|
+
*/
|
|
320
|
+
etag?: pulumi.Input<string | undefined>;
|
|
321
|
+
/**
|
|
322
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
323
|
+
*/
|
|
324
|
+
location?: pulumi.Input<string | undefined>;
|
|
325
|
+
/**
|
|
326
|
+
* Identifier. name of resource
|
|
327
|
+
*/
|
|
328
|
+
name?: pulumi.Input<string | undefined>;
|
|
329
|
+
/**
|
|
330
|
+
* The ID of the project in which the resource belongs.
|
|
331
|
+
* If it is not provided, the provider project is used.
|
|
332
|
+
*/
|
|
333
|
+
project?: pulumi.Input<string | undefined>;
|
|
334
|
+
/**
|
|
335
|
+
* [Output only] Update time stamp
|
|
336
|
+
*/
|
|
337
|
+
updateTime?: pulumi.Input<string | undefined>;
|
|
338
|
+
/**
|
|
339
|
+
* The vectors of the DataObject, keyed by the vector field name as
|
|
340
|
+
* defined in the parent Collection's `vectorSchema`.
|
|
341
|
+
* If a vector field is configured with a `vertexEmbeddingConfig` on
|
|
342
|
+
* the Collection, the server will populate the vector automatically
|
|
343
|
+
* from the corresponding text in `data` and the field should be
|
|
344
|
+
* omitted here.
|
|
345
|
+
* Structure is documented below.
|
|
346
|
+
*/
|
|
347
|
+
vectors?: pulumi.Input<pulumi.Input<inputs.vectorsearch.DataObjectVector>[] | undefined>;
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* The set of arguments for constructing a DataObject resource.
|
|
351
|
+
*/
|
|
352
|
+
export interface DataObjectArgs {
|
|
353
|
+
/**
|
|
354
|
+
* The ID of the parent Collection.
|
|
355
|
+
*/
|
|
356
|
+
collectionId: pulumi.Input<string>;
|
|
357
|
+
/**
|
|
358
|
+
* The JSON data of the DataObject. Must be a JSON object whose field
|
|
359
|
+
* names match the fields defined in the parent Collection's
|
|
360
|
+
* `dataSchema`.
|
|
361
|
+
*/
|
|
362
|
+
data?: pulumi.Input<string | undefined>;
|
|
363
|
+
/**
|
|
364
|
+
* ID of the DataObject to create.
|
|
365
|
+
* The id must be 1-63 characters long, and comply with
|
|
366
|
+
* [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
|
|
367
|
+
* Specifically, it must be 1-63 characters long and match the regular
|
|
368
|
+
* expression `a-z?`.
|
|
369
|
+
*/
|
|
370
|
+
dataObjectId: pulumi.Input<string>;
|
|
371
|
+
/**
|
|
372
|
+
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
|
|
373
|
+
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
|
|
374
|
+
* the command will fail if this field is set to "PREVENT" in Terraform state.
|
|
375
|
+
* When set to "ABANDON", the command will remove the resource from Terraform
|
|
376
|
+
* management without updating or deleting the resource in the API.
|
|
377
|
+
* When set to "DELETE", deleting the resource is allowed.
|
|
378
|
+
*/
|
|
379
|
+
deletionPolicy?: pulumi.Input<string | undefined>;
|
|
380
|
+
/**
|
|
381
|
+
* The etag of the DataObject, used for optimistic concurrency
|
|
382
|
+
* control on updates and deletes.
|
|
383
|
+
*/
|
|
384
|
+
etag?: pulumi.Input<string | undefined>;
|
|
385
|
+
/**
|
|
386
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
387
|
+
*/
|
|
388
|
+
location: pulumi.Input<string>;
|
|
389
|
+
/**
|
|
390
|
+
* The ID of the project in which the resource belongs.
|
|
391
|
+
* If it is not provided, the provider project is used.
|
|
392
|
+
*/
|
|
393
|
+
project?: pulumi.Input<string | undefined>;
|
|
394
|
+
/**
|
|
395
|
+
* The vectors of the DataObject, keyed by the vector field name as
|
|
396
|
+
* defined in the parent Collection's `vectorSchema`.
|
|
397
|
+
* If a vector field is configured with a `vertexEmbeddingConfig` on
|
|
398
|
+
* the Collection, the server will populate the vector automatically
|
|
399
|
+
* from the corresponding text in `data` and the field should be
|
|
400
|
+
* omitted here.
|
|
401
|
+
* Structure is documented below.
|
|
402
|
+
*/
|
|
403
|
+
vectors?: pulumi.Input<pulumi.Input<inputs.vectorsearch.DataObjectVector>[] | undefined>;
|
|
404
|
+
}
|
|
405
|
+
//# sourceMappingURL=dataObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataObject.d.ts","sourceRoot":"","sources":["../../vectorsearch/dataObject.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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