@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.
Files changed (227) hide show
  1. package/accesscontextmanager/gcpUserAccessBinding.d.ts +1 -1
  2. package/accesscontextmanager/gcpUserAccessBinding.js +1 -1
  3. package/agentidentity/authProvider.d.ts +366 -0
  4. package/agentidentity/authProvider.d.ts.map +1 -0
  5. package/agentidentity/authProvider.js +158 -0
  6. package/agentidentity/authProvider.js.map +1 -0
  7. package/agentidentity/index.d.ts +4 -0
  8. package/agentidentity/index.d.ts.map +1 -0
  9. package/agentidentity/index.js +45 -0
  10. package/agentidentity/index.js.map +1 -0
  11. package/apihub/index.d.ts +3 -0
  12. package/apihub/index.d.ts.map +1 -1
  13. package/apihub/index.js +6 -1
  14. package/apihub/index.js.map +1 -1
  15. package/apihub/runtimeProjectAttachment.d.ts +228 -0
  16. package/apihub/runtimeProjectAttachment.d.ts.map +1 -0
  17. package/apihub/runtimeProjectAttachment.js +173 -0
  18. package/apihub/runtimeProjectAttachment.js.map +1 -0
  19. package/apphub/service.d.ts +2 -2
  20. package/apphub/service.js +2 -2
  21. package/artifactregistry/getDockerImage.d.ts +2 -2
  22. package/artifactregistry/getDockerImage.js +2 -2
  23. package/bigquery/routine.d.ts +28 -0
  24. package/bigquery/routine.d.ts.map +1 -1
  25. package/bigquery/routine.js +28 -0
  26. package/bigquery/routine.js.map +1 -1
  27. package/binaryauthorization/attestor.d.ts +1 -1
  28. package/binaryauthorization/attestor.js +1 -1
  29. package/certificateauthority/certificate.d.ts +1 -1
  30. package/certificateauthority/certificate.js +1 -1
  31. package/certificatemanager/dnsAuthorization.d.ts +3 -3
  32. package/certificatemanager/dnsAuthorization.js +3 -3
  33. package/ces/agent.d.ts +1 -1
  34. package/ces/agent.js +1 -1
  35. package/ces/example.d.ts +2 -2
  36. package/ces/example.js +2 -2
  37. package/ces/tool.d.ts +1 -1
  38. package/ces/tool.js +1 -1
  39. package/chronicle/bigQueryExport.d.ts +263 -0
  40. package/chronicle/bigQueryExport.d.ts.map +1 -0
  41. package/chronicle/bigQueryExport.js +173 -0
  42. package/chronicle/bigQueryExport.js.map +1 -0
  43. package/chronicle/index.d.ts +3 -0
  44. package/chronicle/index.d.ts.map +1 -1
  45. package/chronicle/index.js +6 -1
  46. package/chronicle/index.js.map +1 -1
  47. package/cloudbuild/bitbucketServerConfig.d.ts +1 -1
  48. package/cloudbuild/bitbucketServerConfig.js +1 -1
  49. package/cloudidentity/groupMembership.d.ts +1 -1
  50. package/cloudidentity/groupMembership.js +1 -1
  51. package/cloudquota/squotaAdjusterSettings.d.ts +1 -4
  52. package/cloudquota/squotaAdjusterSettings.d.ts.map +1 -1
  53. package/cloudquota/squotaAdjusterSettings.js +1 -4
  54. package/cloudquota/squotaAdjusterSettings.js.map +1 -1
  55. package/cloudrun/service.d.ts +1 -1
  56. package/cloudrun/service.js +1 -1
  57. package/cloudrunv2/job.d.ts +0 -6
  58. package/cloudrunv2/job.d.ts.map +1 -1
  59. package/cloudrunv2/job.js.map +1 -1
  60. package/colab/schedule.d.ts +275 -2
  61. package/colab/schedule.d.ts.map +1 -1
  62. package/colab/schedule.js +200 -3
  63. package/colab/schedule.js.map +1 -1
  64. package/compute/backendService.d.ts +1 -1
  65. package/compute/backendService.js +1 -1
  66. package/compute/getInstanceSerialPort.d.ts +2 -2
  67. package/compute/getInstanceSerialPort.js +2 -2
  68. package/compute/globalVmExtensionPolicy.d.ts +0 -3
  69. package/compute/globalVmExtensionPolicy.d.ts.map +1 -1
  70. package/compute/globalVmExtensionPolicy.js +0 -3
  71. package/compute/globalVmExtensionPolicy.js.map +1 -1
  72. package/compute/interconnect.d.ts +14 -4
  73. package/compute/interconnect.d.ts.map +1 -1
  74. package/compute/interconnect.js +3 -1
  75. package/compute/interconnect.js.map +1 -1
  76. package/compute/networkEndpoint.d.ts +1 -1
  77. package/compute/networkEndpoint.js +1 -1
  78. package/compute/networkEndpointList.d.ts +2 -2
  79. package/compute/networkEndpointList.js +2 -2
  80. package/compute/networkPeeringRoutesConfig.d.ts +2 -2
  81. package/compute/networkPeeringRoutesConfig.js +2 -2
  82. package/compute/regionBackendService.d.ts +1 -1
  83. package/compute/regionBackendService.js +1 -1
  84. package/compute/regionNetworkEndpoint.d.ts +1 -1
  85. package/compute/regionNetworkEndpoint.js +1 -1
  86. package/compute/rolloutPlan.d.ts +1 -4
  87. package/compute/rolloutPlan.d.ts.map +1 -1
  88. package/compute/rolloutPlan.js +1 -4
  89. package/compute/rolloutPlan.js.map +1 -1
  90. package/config/vars.d.ts +1 -0
  91. package/config/vars.d.ts.map +1 -1
  92. package/config/vars.js +6 -0
  93. package/config/vars.js.map +1 -1
  94. package/contactcenterinsights/encryptionSpec.d.ts +1 -1
  95. package/contactcenterinsights/encryptionSpec.js +1 -1
  96. package/container/cluster.d.ts +71 -0
  97. package/container/cluster.d.ts.map +1 -1
  98. package/container/cluster.js +45 -0
  99. package/container/cluster.js.map +1 -1
  100. package/container/getCluster.d.ts +3 -0
  101. package/container/getCluster.d.ts.map +1 -1
  102. package/container/getCluster.js.map +1 -1
  103. package/databasemigrationservice/connectionProfile.d.ts +4 -4
  104. package/databasemigrationservice/connectionProfile.js +4 -4
  105. package/databasemigrationservice/migrationJob.d.ts +4 -4
  106. package/databasemigrationservice/migrationJob.js +4 -4
  107. package/dataplex/datascan.d.ts +1 -1
  108. package/dataplex/datascan.js +1 -1
  109. package/dataplex/entry.d.ts +1 -1
  110. package/dataplex/entry.js +1 -1
  111. package/dataplex/entryLink.d.ts +1 -1
  112. package/dataplex/entryLink.js +1 -1
  113. package/dataproc/job.d.ts +2 -2
  114. package/dataproc/job.js +2 -2
  115. package/datastream/connectionProfile.d.ts +1 -1
  116. package/datastream/connectionProfile.js +1 -1
  117. package/datastream/stream.d.ts +1 -1
  118. package/datastream/stream.js +1 -1
  119. package/developerconnect/connection.d.ts +1 -1
  120. package/developerconnect/connection.js +1 -1
  121. package/diagflow/encryptionSpec.d.ts +1 -1
  122. package/diagflow/encryptionSpec.js +1 -1
  123. package/dns/managedZone.d.ts +2 -2
  124. package/dns/managedZone.js +2 -2
  125. package/dns/responsePolicy.d.ts +2 -2
  126. package/dns/responsePolicy.js +2 -2
  127. package/firebase/webApp.d.ts +6 -6
  128. package/firebase/webApp.js +6 -6
  129. package/folder/accessApprovalSettings.d.ts +2 -2
  130. package/folder/accessApprovalSettings.js +2 -2
  131. package/gkehub/rolloutSequence.d.ts +225 -3
  132. package/gkehub/rolloutSequence.d.ts.map +1 -1
  133. package/gkehub/rolloutSequence.js +149 -3
  134. package/gkehub/rolloutSequence.js.map +1 -1
  135. package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
  136. package/gkehub/scopeRbacRoleBinding.js +4 -4
  137. package/iam/accessBoundaryPolicy.d.ts +3 -3
  138. package/iam/accessBoundaryPolicy.js +3 -3
  139. package/iam/denyPolicy.d.ts +1 -1
  140. package/iam/denyPolicy.js +1 -1
  141. package/iap/tunnelDestGroup.d.ts +1 -1
  142. package/iap/tunnelDestGroup.js +1 -1
  143. package/index.d.ts +2 -1
  144. package/index.d.ts.map +1 -1
  145. package/index.js +6 -4
  146. package/index.js.map +1 -1
  147. package/integrationconnectors/managedZone.d.ts +4 -4
  148. package/integrationconnectors/managedZone.js +4 -4
  149. package/logging/folderSettings.d.ts +1 -1
  150. package/logging/folderSettings.js +1 -1
  151. package/managedkafka/connectCluster.d.ts +1 -1
  152. package/managedkafka/connectCluster.js +1 -1
  153. package/managedkafka/connector.d.ts +1 -1
  154. package/managedkafka/connector.js +1 -1
  155. package/memorystore/instanceDesiredUserCreatedEndpoints.d.ts +12 -12
  156. package/memorystore/instanceDesiredUserCreatedEndpoints.js +12 -12
  157. package/modelarmor/template.d.ts +27 -0
  158. package/modelarmor/template.d.ts.map +1 -1
  159. package/modelarmor/template.js +27 -0
  160. package/modelarmor/template.js.map +1 -1
  161. package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
  162. package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
  163. package/networkconnectivity/spoke.d.ts +8 -8
  164. package/networkconnectivity/spoke.js +8 -8
  165. package/networkconnectivity/transport.d.ts +2 -2
  166. package/networkconnectivity/transport.js +2 -2
  167. package/observability/folderSettings.d.ts +3 -3
  168. package/observability/folderSettings.js +3 -3
  169. package/observability/projectSettings.d.ts +2 -2
  170. package/observability/projectSettings.js +2 -2
  171. package/observability/traceScope.d.ts +2 -2
  172. package/observability/traceScope.js +2 -2
  173. package/organizations/accessApprovalSettings.d.ts +1 -1
  174. package/organizations/accessApprovalSettings.js +1 -1
  175. package/orgpolicy/policy.d.ts +1 -1
  176. package/orgpolicy/policy.js +1 -1
  177. package/package.json +2 -2
  178. package/projects/accessApprovalSettings.d.ts +1 -1
  179. package/projects/accessApprovalSettings.js +1 -1
  180. package/provider.d.ts +2 -0
  181. package/provider.d.ts.map +1 -1
  182. package/provider.js +1 -0
  183. package/provider.js.map +1 -1
  184. package/pubsub/subscription.d.ts +4 -4
  185. package/pubsub/subscription.js +4 -4
  186. package/redis/clusterUserCreatedConnections.d.ts +12 -12
  187. package/redis/clusterUserCreatedConnections.js +12 -12
  188. package/securesourcemanager/instance.d.ts +6 -6
  189. package/securesourcemanager/instance.js +6 -6
  190. package/siteverification/owner.d.ts +5 -5
  191. package/siteverification/owner.js +5 -5
  192. package/types/input.d.ts +928 -7
  193. package/types/input.d.ts.map +1 -1
  194. package/types/output.d.ts +991 -7
  195. package/types/output.d.ts.map +1 -1
  196. package/vectorsearch/dataObject.d.ts +405 -0
  197. package/vectorsearch/dataObject.d.ts.map +1 -0
  198. package/vectorsearch/dataObject.js +290 -0
  199. package/vectorsearch/dataObject.js.map +1 -0
  200. package/vectorsearch/index.d.ts +3 -0
  201. package/vectorsearch/index.d.ts.map +1 -1
  202. package/vectorsearch/index.js +6 -1
  203. package/vectorsearch/index.js.map +1 -1
  204. package/vertex/aiEndpoint.d.ts +3 -3
  205. package/vertex/aiEndpoint.js +3 -3
  206. package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
  207. package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
  208. package/vertex/aiPersistentResource.d.ts +614 -0
  209. package/vertex/aiPersistentResource.d.ts.map +1 -0
  210. package/vertex/aiPersistentResource.js +307 -0
  211. package/vertex/aiPersistentResource.js.map +1 -0
  212. package/vertex/aiReasoningEngine.d.ts +1 -1
  213. package/vertex/aiReasoningEngine.js +1 -1
  214. package/vertex/aiSchedule.d.ts +2 -0
  215. package/vertex/aiSchedule.d.ts.map +1 -1
  216. package/vertex/aiSchedule.js +2 -0
  217. package/vertex/aiSchedule.js.map +1 -1
  218. package/vertex/aiTensorboardExperiment.d.ts +1 -1
  219. package/vertex/aiTensorboardExperiment.js +1 -1
  220. package/vertex/aiTensorboardRun.d.ts +2 -2
  221. package/vertex/aiTensorboardRun.js +2 -2
  222. package/vertex/getAiReasoningEngineQuery.d.ts +2 -2
  223. package/vertex/getAiReasoningEngineQuery.js +2 -2
  224. package/vertex/index.d.ts +3 -0
  225. package/vertex/index.d.ts.map +1 -1
  226. package/vertex/index.js +7 -2
  227. package/vertex/index.js.map +1 -1
@@ -0,0 +1,290 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.DataObject = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * A DataObject is a single item of data (with optional vectors) stored in a
33
+ * Vector Search Collection. Each DataObject conforms to the parent
34
+ * Collection's `dataSchema` and `vectorSchema`.
35
+ *
36
+ * This resource always issues one `CreateDataObject` request per Terraform
37
+ * resource block. It does NOT use the `batchCreate` REST endpoint --
38
+ * Terraform's resource lifecycle is inherently per-object, so batching
39
+ * across resources is not modeled. When you use `forEach` or `count`,
40
+ * Terraform will still issue individual requests, up to `-parallelism`
41
+ * in parallel.
42
+ *
43
+ * For ingesting more than a few hundred items, prefer one of the
44
+ * following out-of-band paths instead of Terraform:
45
+ *
46
+ * * `importDataObjects` (bulk ingest from Cloud Storage) -- highest
47
+ * throughput, but only available *before* any Index is created on
48
+ * the Collection.
49
+ * * `batchCreate` (up to ~1000 items per call) -- available at any
50
+ * time, but must be driven from your own client code, not Terraform.
51
+ *
52
+ * Once an Index exists on the Collection, `importDataObjects` is no
53
+ * longer available and DataObjects must be created via `CreateDataObject`
54
+ * (as this resource does) or via `batchCreate`.
55
+ *
56
+ * ## Example Usage
57
+ *
58
+ * ### Vectorsearch Data Object Basic
59
+ *
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as gcp from "@pulumi/gcp";
63
+ *
64
+ * // NOTE: This resource issues one CreateDataObject request per block.
65
+ * // It does NOT batch across resources. Terraform will parallelize a
66
+ * // 'for_each' up to '-parallelism', but each item is still a separate
67
+ * // HTTP call.
68
+ * //
69
+ * // For bulk ingestion of many items, prefer one of these out-of-band
70
+ * // paths instead of Terraform:
71
+ * // * 'importDataObjects' (from Cloud Storage) -- highest throughput,
72
+ * // but only available *before* any Index is created on the Collection.
73
+ * // * 'batchCreate' (up to ~1000 items per call) -- available at any
74
+ * // time, but must be driven from client code, not Terraform.
75
+ * const parent = new gcp.vectorsearch.Collection("parent", {
76
+ * location: "us-central1",
77
+ * collectionId: "example-collection",
78
+ * displayName: "My Awesome Collection",
79
+ * description: "This collection stores important data.",
80
+ * dataSchema: `{
81
+ * \\"type\\": \\"object\\",
82
+ * \\"properties\\": {
83
+ * \\"title\\": {
84
+ * \\"type\\": \\"string\\"
85
+ * },
86
+ * \\"plot\\": {
87
+ * \\"type\\": \\"string\\"
88
+ * }
89
+ * }
90
+ * }
91
+ * `,
92
+ * vectorSchemas: [{
93
+ * fieldName: "text_embedding",
94
+ * denseVector: {
95
+ * dimensions: 768,
96
+ * vertexEmbeddingConfig: {
97
+ * modelId: "text-embedding-005",
98
+ * taskType: "RETRIEVAL_DOCUMENT",
99
+ * textTemplate: "Title: {title} ---- Plot: {plot}",
100
+ * },
101
+ * },
102
+ * }],
103
+ * });
104
+ * // Because the parent Collection's 'text_embedding' field is configured
105
+ * // with a 'vertex_embedding_config', the server will populate the vector
106
+ * // automatically from 'data.title' and 'data.plot' -- no explicit
107
+ * // 'vectors' block is required.
108
+ * const example_data_object = new gcp.vectorsearch.DataObject("example-data-object", {
109
+ * location: "us-central1",
110
+ * collectionId: parent.collectionId,
111
+ * dataObjectId: "example-data-object",
112
+ * data: JSON.stringify({
113
+ * title: "The Matrix",
114
+ * plot: "A computer hacker learns about the true nature of reality.",
115
+ * }),
116
+ * });
117
+ * ```
118
+ * ### Vectorsearch Data Object With Vectors
119
+ *
120
+ * ```typescript
121
+ * import * as pulumi from "@pulumi/pulumi";
122
+ * import * as gcp from "@pulumi/gcp";
123
+ *
124
+ * // NOTE: This resource issues one CreateDataObject request per block.
125
+ * // It does NOT batch across resources. Terraform will parallelize a
126
+ * // 'for_each' up to '-parallelism', but each item is still a separate
127
+ * // HTTP call.
128
+ * //
129
+ * // For bulk ingestion of many items, prefer one of these out-of-band
130
+ * // paths instead of Terraform:
131
+ * // * 'importDataObjects' (from Cloud Storage) -- highest throughput,
132
+ * // but only available *before* any Index is created on the Collection.
133
+ * // * 'batchCreate' (up to ~1000 items per call) -- available at any
134
+ * // time, but must be driven from client code, not Terraform.
135
+ * const parent = new gcp.vectorsearch.Collection("parent", {
136
+ * location: "us-central1",
137
+ * collectionId: "example-vectors-collection",
138
+ * displayName: "My BYO-Embedding Collection",
139
+ * description: "Collection whose vectors are supplied by the client.",
140
+ * dataSchema: `{
141
+ * \\"type\\": \\"object\\",
142
+ * \\"properties\\": {
143
+ * \\"title\\": {
144
+ * \\"type\\": \\"string\\"
145
+ * },
146
+ * \\"category\\": {
147
+ * \\"type\\": \\"string\\"
148
+ * }
149
+ * }
150
+ * }
151
+ * `,
152
+ * vectorSchemas: [
153
+ * {
154
+ * fieldName: "dense_embedding",
155
+ * denseVector: {
156
+ * dimensions: 4,
157
+ * },
158
+ * },
159
+ * {
160
+ * fieldName: "sparse_embedding",
161
+ * sparseVector: {},
162
+ * },
163
+ * ],
164
+ * });
165
+ * const example_vectors_data_object = new gcp.vectorsearch.DataObject("example-vectors-data-object", {
166
+ * location: "us-central1",
167
+ * collectionId: parent.collectionId,
168
+ * dataObjectId: "example-vectors-data-object",
169
+ * data: JSON.stringify({
170
+ * title: "The Matrix",
171
+ * category: "movie",
172
+ * }),
173
+ * vectors: [
174
+ * {
175
+ * fieldName: "dense_embedding",
176
+ * dense: {
177
+ * values: [
178
+ * 0.11,
179
+ * 0.22,
180
+ * 0.33,
181
+ * 0.44,
182
+ * ],
183
+ * },
184
+ * },
185
+ * {
186
+ * fieldName: "sparse_embedding",
187
+ * sparse: {
188
+ * values: [
189
+ * 0.9,
190
+ * 0.5,
191
+ * 0.1,
192
+ * ],
193
+ * indices: [
194
+ * 3,
195
+ * 17,
196
+ * 42,
197
+ * ],
198
+ * },
199
+ * },
200
+ * ],
201
+ * });
202
+ * ```
203
+ *
204
+ * ## Import
205
+ *
206
+ * DataObject can be imported using any of these accepted formats:
207
+ *
208
+ * * `projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/dataObjects/{{data_object_id}}`
209
+ * * `{{project}}/{{location}}/{{collection_id}}/{{data_object_id}}`
210
+ * * `{{location}}/{{collection_id}}/{{data_object_id}}`
211
+ *
212
+ * When using the `pulumi import` command, DataObject can be imported using one of the formats above. For example:
213
+ *
214
+ * ```sh
215
+ * $ pulumi import gcp:vectorsearch/dataObject:DataObject default projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/dataObjects/{{data_object_id}}
216
+ * $ pulumi import gcp:vectorsearch/dataObject:DataObject default {{project}}/{{location}}/{{collection_id}}/{{data_object_id}}
217
+ * $ pulumi import gcp:vectorsearch/dataObject:DataObject default {{location}}/{{collection_id}}/{{data_object_id}}
218
+ * ```
219
+ */
220
+ class DataObject extends pulumi.CustomResource {
221
+ /**
222
+ * Get an existing DataObject resource's state with the given name, ID, and optional extra
223
+ * properties used to qualify the lookup.
224
+ *
225
+ * @param name The _unique_ name of the resulting resource.
226
+ * @param id The _unique_ provider ID of the resource to lookup.
227
+ * @param state Any extra arguments used during the lookup.
228
+ * @param opts Optional settings to control the behavior of the CustomResource.
229
+ */
230
+ static get(name, id, state, opts) {
231
+ return new DataObject(name, state, { ...opts, id: id });
232
+ }
233
+ /** @internal */
234
+ static __pulumiType = 'gcp:vectorsearch/dataObject:DataObject';
235
+ /**
236
+ * Returns true if the given object is an instance of DataObject. This is designed to work even
237
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
238
+ */
239
+ static isInstance(obj) {
240
+ if (obj === undefined || obj === null) {
241
+ return false;
242
+ }
243
+ return obj['__pulumiType'] === DataObject.__pulumiType;
244
+ }
245
+ constructor(name, argsOrState, opts) {
246
+ let resourceInputs = {};
247
+ opts = opts || {};
248
+ if (opts.id) {
249
+ const state = argsOrState;
250
+ resourceInputs["collectionId"] = state?.collectionId;
251
+ resourceInputs["createTime"] = state?.createTime;
252
+ resourceInputs["data"] = state?.data;
253
+ resourceInputs["dataObjectId"] = state?.dataObjectId;
254
+ resourceInputs["deletionPolicy"] = state?.deletionPolicy;
255
+ resourceInputs["etag"] = state?.etag;
256
+ resourceInputs["location"] = state?.location;
257
+ resourceInputs["name"] = state?.name;
258
+ resourceInputs["project"] = state?.project;
259
+ resourceInputs["updateTime"] = state?.updateTime;
260
+ resourceInputs["vectors"] = state?.vectors;
261
+ }
262
+ else {
263
+ const args = argsOrState;
264
+ if (args?.collectionId === undefined && !opts.urn) {
265
+ throw new Error("Missing required property 'collectionId'");
266
+ }
267
+ if (args?.dataObjectId === undefined && !opts.urn) {
268
+ throw new Error("Missing required property 'dataObjectId'");
269
+ }
270
+ if (args?.location === undefined && !opts.urn) {
271
+ throw new Error("Missing required property 'location'");
272
+ }
273
+ resourceInputs["collectionId"] = args?.collectionId;
274
+ resourceInputs["data"] = args?.data;
275
+ resourceInputs["dataObjectId"] = args?.dataObjectId;
276
+ resourceInputs["deletionPolicy"] = args?.deletionPolicy;
277
+ resourceInputs["etag"] = args?.etag;
278
+ resourceInputs["location"] = args?.location;
279
+ resourceInputs["project"] = args?.project;
280
+ resourceInputs["vectors"] = args?.vectors;
281
+ resourceInputs["createTime"] = undefined /*out*/;
282
+ resourceInputs["name"] = undefined /*out*/;
283
+ resourceInputs["updateTime"] = undefined /*out*/;
284
+ }
285
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
286
+ super(DataObject.__pulumiType, name, resourceInputs, opts);
287
+ }
288
+ }
289
+ exports.DataObject = DataObject;
290
+ //# sourceMappingURL=dataObject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataObject.js","sourceRoot":"","sources":["../../vectorsearch/dataObject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,i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AE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA7IL,gCA8IC"}
@@ -1,6 +1,9 @@
1
1
  export { CollectionArgs, CollectionState } from "./collection";
2
2
  export type Collection = import("./collection").Collection;
3
3
  export declare const Collection: typeof import("./collection").Collection;
4
+ export { DataObjectArgs, DataObjectState } from "./dataObject";
5
+ export type DataObject = import("./dataObject").DataObject;
6
+ export declare const DataObject: typeof import("./dataObject").DataObject;
4
7
  export { IndexArgs, IndexState } from "./index_";
5
8
  export type Index = import("./index_").Index;
6
9
  export declare const Index: typeof import("./index_").Index;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../vectorsearch/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,MAAM,MAAM,UAAU,GAAG,OAAO,cAAc,EAAE,UAAU,CAAC;AAC3D,eAAO,MAAM,UAAU,EAAE,cAAc,cAAc,EAAE,UAAwB,CAAC;AAGhF,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,MAAM,MAAM,KAAK,GAAG,OAAO,UAAU,EAAE,KAAK,CAAC;AAC7C,eAAO,MAAM,KAAK,EAAE,cAAc,UAAU,EAAE,KAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../vectorsearch/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,MAAM,MAAM,UAAU,GAAG,OAAO,cAAc,EAAE,UAAU,CAAC;AAC3D,eAAO,MAAM,UAAU,EAAE,cAAc,cAAc,EAAE,UAAwB,CAAC;AAGhF,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,MAAM,MAAM,UAAU,GAAG,OAAO,cAAc,EAAE,UAAU,CAAC;AAC3D,eAAO,MAAM,UAAU,EAAE,cAAc,cAAc,EAAE,UAAwB,CAAC;AAGhF,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACjD,MAAM,MAAM,KAAK,GAAG,OAAO,UAAU,EAAE,KAAK,CAAC;AAC7C,eAAO,MAAM,KAAK,EAAE,cAAc,UAAU,EAAE,KAAmB,CAAC"}
@@ -25,11 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.Index = exports.Collection = void 0;
28
+ exports.Index = exports.DataObject = exports.Collection = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../utilities"));
31
31
  exports.Collection = null;
32
32
  utilities.lazyLoad(exports, ["Collection"], () => require("./collection"));
33
+ exports.DataObject = null;
34
+ utilities.lazyLoad(exports, ["DataObject"], () => require("./dataObject"));
33
35
  exports.Index = null;
34
36
  utilities.lazyLoad(exports, ["Index"], () => require("./index_"));
35
37
  const _module = {
@@ -38,6 +40,8 @@ const _module = {
38
40
  switch (type) {
39
41
  case "gcp:vectorsearch/collection:Collection":
40
42
  return new exports.Collection(name, undefined, { urn });
43
+ case "gcp:vectorsearch/dataObject:DataObject":
44
+ return new exports.DataObject(name, undefined, { urn });
41
45
  case "gcp:vectorsearch/index:Index":
42
46
  return new exports.Index(name, undefined, { urn });
43
47
  default:
@@ -46,5 +50,6 @@ const _module = {
46
50
  },
47
51
  };
48
52
  pulumi.runtime.registerResourceModule("gcp", "vectorsearch/collection", _module);
53
+ pulumi.runtime.registerResourceModule("gcp", "vectorsearch/dataObject", _module);
49
54
  pulumi.runtime.registerResourceModule("gcp", "vectorsearch/index", _module);
50
55
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../vectorsearch/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAK7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,KAAK,GAAoC,IAAW,CAAC;AAClE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGlE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,wCAAwC;gBACzC,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,E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BACzC,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA"}
@@ -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-_75303"});
80
+ * const _default = new gcp.compute.Network("default", {name: "psc-network-_7864"});
81
81
  * const project = gcp.organizations.getProject({});
82
82
  * const endpoint = new gcp.vertex.AiEndpoint("endpoint", {
83
- * name: "endpoint-name_72437",
83
+ * name: "endpoint-name_70324",
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-name_7864",
108
+ * name: "endpoint-name_13786",
109
109
  * displayName: "sample-endpoint",
110
110
  * description: "A sample vertex endpoint",
111
111
  * location: "us-central1",
@@ -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-_75303"});
107
+ * const _default = new gcp.compute.Network("default", {name: "psc-network-_7864"});
108
108
  * const project = gcp.organizations.getProject({});
109
109
  * const endpoint = new gcp.vertex.AiEndpoint("endpoint", {
110
- * name: "endpoint-name_72437",
110
+ * name: "endpoint-name_70324",
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-name_7864",
135
+ * name: "endpoint-name_13786",
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-test_70324",
178
- * name: "tf-test_13786",
177
+ * projectId: "tf-test_29040",
178
+ * name: "tf-test_78181",
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-test_70324",
205
- * name: "tf-test_13786",
204
+ * projectId: "tf-test_29040",
205
+ * name: "tf-test_78181",
206
206
  * orgId: "123456789",
207
207
  * billingAccount: "000000-0000000-0000000-000000",
208
208
  * deletionPolicy: "DELETE",