@pulumi/gcp 10.0.0-alpha.1 → 10.0.0-alpha.2

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 (237) hide show
  1. package/accesscontextmanager/servicePerimeter.d.ts +8 -0
  2. package/accesscontextmanager/servicePerimeter.d.ts.map +1 -1
  3. package/accesscontextmanager/servicePerimeter.js +2 -0
  4. package/accesscontextmanager/servicePerimeter.js.map +1 -1
  5. package/alloydb/user.d.ts +15 -6
  6. package/alloydb/user.d.ts.map +1 -1
  7. package/alloydb/user.js.map +1 -1
  8. package/bigquery/dataTransferDataSourceEnrollment.d.ts +122 -4
  9. package/bigquery/dataTransferDataSourceEnrollment.d.ts.map +1 -1
  10. package/bigquery/dataTransferDataSourceEnrollment.js +28 -0
  11. package/bigquery/dataTransferDataSourceEnrollment.js.map +1 -1
  12. package/ces/agent.d.ts +27 -0
  13. package/ces/agent.d.ts.map +1 -1
  14. package/ces/agent.js +11 -0
  15. package/ces/agent.js.map +1 -1
  16. package/ces/app.d.ts +30 -0
  17. package/ces/app.d.ts.map +1 -1
  18. package/ces/app.js +17 -0
  19. package/ces/app.js.map +1 -1
  20. package/ces/deployment.d.ts +37 -0
  21. package/ces/deployment.d.ts.map +1 -1
  22. package/ces/deployment.js +37 -0
  23. package/ces/deployment.js.map +1 -1
  24. package/ces/toolset.d.ts +5 -0
  25. package/ces/toolset.d.ts.map +1 -1
  26. package/ces/toolset.js +5 -0
  27. package/ces/toolset.js.map +1 -1
  28. package/chronicle/caseStageDefinition.d.ts +188 -0
  29. package/chronicle/caseStageDefinition.d.ts.map +1 -0
  30. package/chronicle/caseStageDefinition.js +139 -0
  31. package/chronicle/caseStageDefinition.js.map +1 -0
  32. package/chronicle/caseTagDefinition.d.ts +264 -0
  33. package/chronicle/caseTagDefinition.d.ts.map +1 -0
  34. package/chronicle/caseTagDefinition.js +165 -0
  35. package/chronicle/caseTagDefinition.js.map +1 -0
  36. package/chronicle/dataExport.d.ts +2 -2
  37. package/chronicle/dataExport.js +2 -2
  38. package/chronicle/environment.d.ts +69 -0
  39. package/chronicle/environment.d.ts.map +1 -1
  40. package/chronicle/environment.js +15 -0
  41. package/chronicle/environment.js.map +1 -1
  42. package/chronicle/feed.d.ts +3 -3
  43. package/chronicle/feed.js +3 -3
  44. package/chronicle/index.d.ts +6 -0
  45. package/chronicle/index.d.ts.map +1 -1
  46. package/chronicle/index.js +11 -1
  47. package/chronicle/index.js.map +1 -1
  48. package/cloudrunv2/service.d.ts +1 -1
  49. package/cloudrunv2/service.js +1 -1
  50. package/cloudsupport/supportEventSubscription.d.ts +2 -2
  51. package/cloudsupport/supportEventSubscription.js +2 -2
  52. package/compute/getServiceAttachments.d.ts +131 -0
  53. package/compute/getServiceAttachments.d.ts.map +1 -0
  54. package/compute/getServiceAttachments.js +113 -0
  55. package/compute/getServiceAttachments.js.map +1 -0
  56. package/compute/globalVmExtensionPolicy.d.ts +4 -4
  57. package/compute/globalVmExtensionPolicy.js +4 -4
  58. package/compute/index.d.ts +3 -0
  59. package/compute/index.d.ts.map +1 -1
  60. package/compute/index.js +8 -5
  61. package/compute/index.js.map +1 -1
  62. package/compute/networkEdgeSecurityService.d.ts +0 -3
  63. package/compute/networkEdgeSecurityService.d.ts.map +1 -1
  64. package/compute/networkEdgeSecurityService.js +0 -3
  65. package/compute/networkEdgeSecurityService.js.map +1 -1
  66. package/compute/networkFirewallPolicyRule.d.ts +1 -1
  67. package/compute/networkFirewallPolicyRule.js +1 -1
  68. package/compute/organizationSecurityPolicyAssociation.d.ts +2 -2
  69. package/compute/organizationSecurityPolicyAssociation.js +2 -2
  70. package/compute/organizationSecurityPolicyRule.d.ts +5 -5
  71. package/compute/organizationSecurityPolicyRule.js +5 -5
  72. package/compute/regionNetworkFirewallPolicyWithRules.d.ts +8 -8
  73. package/compute/regionNetworkFirewallPolicyWithRules.js +8 -8
  74. package/compute/rolloutPlan.d.ts +1 -1
  75. package/compute/rolloutPlan.js +1 -1
  76. package/compute/router.d.ts +1 -1
  77. package/compute/router.js +1 -1
  78. package/compute/targetInstance.d.ts +2 -2
  79. package/compute/targetInstance.js +2 -2
  80. package/compute/zoneVmExtensionPolicy.d.ts +1 -1
  81. package/compute/zoneVmExtensionPolicy.js +1 -1
  82. package/configdeployment/deployment.d.ts +1 -1
  83. package/configdeployment/deployment.d.ts.map +1 -1
  84. package/databasemigrationservice/connectionProfile.d.ts +13 -13
  85. package/databasemigrationservice/connectionProfile.js +13 -13
  86. package/databasemigrationservice/migrationJob.d.ts +13 -15
  87. package/databasemigrationservice/migrationJob.d.ts.map +1 -1
  88. package/databasemigrationservice/migrationJob.js +13 -15
  89. package/databasemigrationservice/migrationJob.js.map +1 -1
  90. package/databasemigrationservice/privateConnection.d.ts +2 -2
  91. package/databasemigrationservice/privateConnection.js +2 -2
  92. package/dataform/folder.d.ts +3 -3
  93. package/dataform/folder.js +3 -3
  94. package/dataform/teamFolder.d.ts +1 -1
  95. package/dataform/teamFolder.js +1 -1
  96. package/datalineage/config.d.ts +2 -2
  97. package/datalineage/config.js +2 -2
  98. package/dataloss/index.d.ts +3 -0
  99. package/dataloss/index.d.ts.map +1 -1
  100. package/dataloss/index.js +6 -1
  101. package/dataloss/index.js.map +1 -1
  102. package/dataloss/preventionContentPolicy.d.ts +587 -0
  103. package/dataloss/preventionContentPolicy.d.ts.map +1 -0
  104. package/dataloss/preventionContentPolicy.js +459 -0
  105. package/dataloss/preventionContentPolicy.js.map +1 -0
  106. package/dataplex/dataAsset.d.ts +5 -5
  107. package/dataplex/dataAsset.js +5 -5
  108. package/dataplex/dataProduct.d.ts +3 -3
  109. package/dataplex/dataProduct.js +3 -3
  110. package/dataplex/dataProductDataAsset.d.ts +5 -5
  111. package/dataplex/dataProductDataAsset.js +5 -5
  112. package/dataplex/datascan.d.ts +25 -24
  113. package/dataplex/datascan.d.ts.map +1 -1
  114. package/dataplex/datascan.js +25 -24
  115. package/dataplex/datascan.js.map +1 -1
  116. package/dataplex/entryLink.d.ts +11 -11
  117. package/dataplex/entryLink.js +11 -11
  118. package/dataplex/entryType.d.ts +1 -1
  119. package/dataplex/entryType.js +1 -1
  120. package/dataplex/glossaryCategory.d.ts +4 -4
  121. package/dataplex/glossaryCategory.js +4 -4
  122. package/dataplex/glossaryTerm.d.ts +4 -4
  123. package/dataplex/glossaryTerm.js +4 -4
  124. package/dataplex/task.d.ts +8 -8
  125. package/dataplex/task.js +8 -8
  126. package/dataproc/batch.d.ts +5 -5
  127. package/dataproc/batch.js +5 -5
  128. package/dataproc/workflowTemplate.d.ts +51 -3
  129. package/dataproc/workflowTemplate.d.ts.map +1 -1
  130. package/dataproc/workflowTemplate.js +48 -0
  131. package/dataproc/workflowTemplate.js.map +1 -1
  132. package/datastream/stream.d.ts +2 -2
  133. package/datastream/stream.js +2 -2
  134. package/developerconnect/insightsConfig.d.ts +13 -5
  135. package/developerconnect/insightsConfig.d.ts.map +1 -1
  136. package/developerconnect/insightsConfig.js +13 -5
  137. package/developerconnect/insightsConfig.js.map +1 -1
  138. package/firestore/field.d.ts +4 -4
  139. package/firestore/field.js +4 -4
  140. package/gemini/gdaObservabilitySetting.d.ts +255 -0
  141. package/gemini/gdaObservabilitySetting.d.ts.map +1 -0
  142. package/gemini/gdaObservabilitySetting.js +159 -0
  143. package/gemini/gdaObservabilitySetting.js.map +1 -0
  144. package/gemini/gdaObservabilitySettingBinding.d.ts +269 -0
  145. package/gemini/gdaObservabilitySettingBinding.d.ts.map +1 -0
  146. package/gemini/gdaObservabilitySettingBinding.js +161 -0
  147. package/gemini/gdaObservabilitySettingBinding.js.map +1 -0
  148. package/gemini/index.d.ts +6 -0
  149. package/gemini/index.d.ts.map +1 -1
  150. package/gemini/index.js +11 -1
  151. package/gemini/index.js.map +1 -1
  152. package/gkehub/fleet.d.ts +59 -0
  153. package/gkehub/fleet.d.ts.map +1 -1
  154. package/gkehub/fleet.js +14 -0
  155. package/gkehub/fleet.js.map +1 -1
  156. package/gkehub/membershipBinding.d.ts +3 -3
  157. package/gkehub/membershipBinding.js +3 -3
  158. package/gkehub/membershipRbacRoleBinding.d.ts +2 -2
  159. package/gkehub/membershipRbacRoleBinding.js +2 -2
  160. package/gkehub/namespace.d.ts +2 -2
  161. package/gkehub/namespace.js +2 -2
  162. package/gkehub/rolloutSequence.d.ts +2 -2
  163. package/gkehub/rolloutSequence.js +2 -2
  164. package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
  165. package/gkehub/scopeRbacRoleBinding.js +4 -4
  166. package/iap/tunnelDestGroup.d.ts +1 -1
  167. package/iap/tunnelDestGroup.js +1 -1
  168. package/integrationconnectors/managedZone.d.ts +4 -4
  169. package/integrationconnectors/managedZone.js +4 -4
  170. package/managedkafka/cluster.d.ts +47 -0
  171. package/managedkafka/cluster.d.ts.map +1 -1
  172. package/managedkafka/cluster.js +33 -0
  173. package/managedkafka/cluster.js.map +1 -1
  174. package/memorystore/instanceDesiredUserCreatedEndpoints.d.ts +21 -21
  175. package/memorystore/instanceDesiredUserCreatedEndpoints.js +21 -21
  176. package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
  177. package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
  178. package/networkconnectivity/spoke.d.ts +9 -9
  179. package/networkconnectivity/spoke.js +9 -9
  180. package/networkconnectivity/transport.d.ts +2 -2
  181. package/networkconnectivity/transport.js +2 -2
  182. package/observability/folderSettings.d.ts +2 -2
  183. package/observability/folderSettings.js +2 -2
  184. package/observability/projectSettings.d.ts +2 -2
  185. package/observability/projectSettings.js +2 -2
  186. package/observability/traceScope.d.ts +2 -2
  187. package/observability/traceScope.js +2 -2
  188. package/orgpolicy/policy.d.ts +1 -1
  189. package/orgpolicy/policy.js +1 -1
  190. package/package.json +2 -2
  191. package/parametermanager/getParameter.d.ts +3 -0
  192. package/parametermanager/getParameter.d.ts.map +1 -1
  193. package/parametermanager/getParameter.js.map +1 -1
  194. package/parametermanager/getRegionalParameter.d.ts +3 -0
  195. package/parametermanager/getRegionalParameter.d.ts.map +1 -1
  196. package/parametermanager/getRegionalParameter.js.map +1 -1
  197. package/parametermanager/index.d.ts +3 -0
  198. package/parametermanager/index.d.ts.map +1 -1
  199. package/parametermanager/index.js +6 -1
  200. package/parametermanager/index.js.map +1 -1
  201. package/parametermanager/parameter.d.ts +44 -1
  202. package/parametermanager/parameter.d.ts.map +1 -1
  203. package/parametermanager/parameter.js +22 -1
  204. package/parametermanager/parameter.js.map +1 -1
  205. package/parametermanager/regionalParameter.d.ts +44 -1
  206. package/parametermanager/regionalParameter.d.ts.map +1 -1
  207. package/parametermanager/regionalParameter.js +22 -1
  208. package/parametermanager/regionalParameter.js.map +1 -1
  209. package/parametermanager/template.d.ts +270 -0
  210. package/parametermanager/template.d.ts.map +1 -0
  211. package/parametermanager/template.js +156 -0
  212. package/parametermanager/template.js.map +1 -0
  213. package/pubsub/subscription.d.ts +4 -4
  214. package/pubsub/subscription.js +4 -4
  215. package/secretmanager/secretVersion.d.ts +2 -2
  216. package/secretmanager/secretVersion.js +2 -2
  217. package/types/input.d.ts +1878 -33
  218. package/types/input.d.ts.map +1 -1
  219. package/types/output.d.ts +2083 -39
  220. package/types/output.d.ts.map +1 -1
  221. package/vertex/aiEndpoint.d.ts +3 -3
  222. package/vertex/aiEndpoint.js +3 -3
  223. package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
  224. package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
  225. package/vertex/aiRagCorpus.d.ts +277 -0
  226. package/vertex/aiRagCorpus.d.ts.map +1 -0
  227. package/vertex/aiRagCorpus.js +180 -0
  228. package/vertex/aiRagCorpus.js.map +1 -0
  229. package/vertex/aiSemanticGovernancePolicyEngine.d.ts +12 -6
  230. package/vertex/aiSemanticGovernancePolicyEngine.d.ts.map +1 -1
  231. package/vertex/aiSemanticGovernancePolicyEngine.js.map +1 -1
  232. package/vertex/getAiReasoningEngineQuery.d.ts +2 -2
  233. package/vertex/getAiReasoningEngineQuery.js +2 -2
  234. package/vertex/index.d.ts +3 -0
  235. package/vertex/index.d.ts.map +1 -1
  236. package/vertex/index.js +7 -2
  237. package/vertex/index.js.map +1 -1
@@ -0,0 +1,139 @@
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.CaseStageDefinition = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * CaseStageDefinition represents a stage in the lifecycle of a case.
33
+ *
34
+ * To get more information about CaseStageDefinition, see:
35
+ *
36
+ * * [API documentation](https://cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.caseStageDefinitions)
37
+ * * How-to Guides
38
+ * * [Google SecOps Guides](https://cloud.google.com/chronicle/docs/secops/secops-overview)
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * ### Chronicle Casestagedefinition Basic
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as gcp from "@pulumi/gcp";
47
+ *
48
+ * const example = new gcp.chronicle.CaseStageDefinition("example", {
49
+ * location: "us",
50
+ * instance: "00000000-0000-0000-0000-000000000000",
51
+ * displayName: "my_stage",
52
+ * order: 100,
53
+ * });
54
+ * ```
55
+ *
56
+ * ## Import
57
+ *
58
+ * CaseStageDefinition can be imported using any of these accepted formats:
59
+ *
60
+ * * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/caseStageDefinitions/{{case_stage_definition_id}}`
61
+ * * `{{project}}/{{location}}/{{instance}}/{{case_stage_definition_id}}`
62
+ * * `{{location}}/{{instance}}/{{case_stage_definition_id}}`
63
+ *
64
+ * When using the `pulumi import` command, CaseStageDefinition can be imported using one of the formats above. For example:
65
+ *
66
+ * ```sh
67
+ * $ pulumi import gcp:chronicle/caseStageDefinition:CaseStageDefinition default projects/{{project}}/locations/{{location}}/instances/{{instance}}/caseStageDefinitions/{{case_stage_definition_id}}
68
+ * $ pulumi import gcp:chronicle/caseStageDefinition:CaseStageDefinition default {{project}}/{{location}}/{{instance}}/{{case_stage_definition_id}}
69
+ * $ pulumi import gcp:chronicle/caseStageDefinition:CaseStageDefinition default {{location}}/{{instance}}/{{case_stage_definition_id}}
70
+ * ```
71
+ */
72
+ class CaseStageDefinition extends pulumi.CustomResource {
73
+ /**
74
+ * Get an existing CaseStageDefinition resource's state with the given name, ID, and optional extra
75
+ * properties used to qualify the lookup.
76
+ *
77
+ * @param name The _unique_ name of the resulting resource.
78
+ * @param id The _unique_ provider ID of the resource to lookup.
79
+ * @param state Any extra arguments used during the lookup.
80
+ * @param opts Optional settings to control the behavior of the CustomResource.
81
+ */
82
+ static get(name, id, state, opts) {
83
+ return new CaseStageDefinition(name, state, { ...opts, id: id });
84
+ }
85
+ /** @internal */
86
+ static __pulumiType = 'gcp:chronicle/caseStageDefinition:CaseStageDefinition';
87
+ /**
88
+ * Returns true if the given object is an instance of CaseStageDefinition. This is designed to work even
89
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
90
+ */
91
+ static isInstance(obj) {
92
+ if (obj === undefined || obj === null) {
93
+ return false;
94
+ }
95
+ return obj['__pulumiType'] === CaseStageDefinition.__pulumiType;
96
+ }
97
+ constructor(name, argsOrState, opts) {
98
+ let resourceInputs = {};
99
+ opts = opts || {};
100
+ if (opts.id) {
101
+ const state = argsOrState;
102
+ resourceInputs["caseStageDefinitionId"] = state?.caseStageDefinitionId;
103
+ resourceInputs["deletionPolicy"] = state?.deletionPolicy;
104
+ resourceInputs["displayName"] = state?.displayName;
105
+ resourceInputs["instance"] = state?.instance;
106
+ resourceInputs["location"] = state?.location;
107
+ resourceInputs["name"] = state?.name;
108
+ resourceInputs["order"] = state?.order;
109
+ resourceInputs["project"] = state?.project;
110
+ }
111
+ else {
112
+ const args = argsOrState;
113
+ if (args?.displayName === undefined && !opts.urn) {
114
+ throw new Error("Missing required property 'displayName'");
115
+ }
116
+ if (args?.instance === undefined && !opts.urn) {
117
+ throw new Error("Missing required property 'instance'");
118
+ }
119
+ if (args?.location === undefined && !opts.urn) {
120
+ throw new Error("Missing required property 'location'");
121
+ }
122
+ if (args?.order === undefined && !opts.urn) {
123
+ throw new Error("Missing required property 'order'");
124
+ }
125
+ resourceInputs["deletionPolicy"] = args?.deletionPolicy;
126
+ resourceInputs["displayName"] = args?.displayName;
127
+ resourceInputs["instance"] = args?.instance;
128
+ resourceInputs["location"] = args?.location;
129
+ resourceInputs["order"] = args?.order;
130
+ resourceInputs["project"] = args?.project;
131
+ resourceInputs["caseStageDefinitionId"] = undefined /*out*/;
132
+ resourceInputs["name"] = undefined /*out*/;
133
+ }
134
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
135
+ super(CaseStageDefinition.__pulumiType, name, resourceInputs, opts);
136
+ }
137
+ }
138
+ exports.CaseStageDefinition = CaseStageDefinition;
139
+ //# sourceMappingURL=caseStage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CAAC;YAC1C,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAnHL,kDAoHC"}
@@ -0,0 +1,264 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * A CaseTagDefinition is used to classify and tag cases based on criteria.
4
+ *
5
+ * To get more information about CaseTagDefinition, see:
6
+ *
7
+ * * [API documentation](https://cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.caseTagDefinitions)
8
+ * * How-to Guides
9
+ * * [Google SecOps Guides](https://cloud.google.com/chronicle/docs/secops/secops-overview)
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Chronicle Casetagdefinition Basic
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as gcp from "@pulumi/gcp";
18
+ *
19
+ * const example = new gcp.chronicle.CaseTagDefinition("example", {
20
+ * location: "us",
21
+ * instance: "00000000-0000-0000-0000-000000000000",
22
+ * displayName: "tag__72490",
23
+ * matchCriteria: "BY_VENDOR",
24
+ * value: "test_value",
25
+ * comparisonType: "EXACT",
26
+ * priority: 1,
27
+ * canBeCaseTitle: false,
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * CaseTagDefinition can be imported using any of these accepted formats:
34
+ *
35
+ * * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/caseTagDefinitions/{{case_tag_definition_id}}`
36
+ * * `{{project}}/{{location}}/{{instance}}/{{case_tag_definition_id}}`
37
+ * * `{{location}}/{{instance}}/{{case_tag_definition_id}}`
38
+ *
39
+ * When using the `pulumi import` command, CaseTagDefinition can be imported using one of the formats above. For example:
40
+ *
41
+ * ```sh
42
+ * $ pulumi import gcp:chronicle/caseTagDefinition:CaseTagDefinition default projects/{{project}}/locations/{{location}}/instances/{{instance}}/caseTagDefinitions/{{case_tag_definition_id}}
43
+ * $ pulumi import gcp:chronicle/caseTagDefinition:CaseTagDefinition default {{project}}/{{location}}/{{instance}}/{{case_tag_definition_id}}
44
+ * $ pulumi import gcp:chronicle/caseTagDefinition:CaseTagDefinition default {{location}}/{{instance}}/{{case_tag_definition_id}}
45
+ * ```
46
+ */
47
+ export declare class CaseTagDefinition extends pulumi.CustomResource {
48
+ /**
49
+ * Get an existing CaseTagDefinition resource's state with the given name, ID, and optional extra
50
+ * properties used to qualify the lookup.
51
+ *
52
+ * @param name The _unique_ name of the resulting resource.
53
+ * @param id The _unique_ provider ID of the resource to lookup.
54
+ * @param state Any extra arguments used during the lookup.
55
+ * @param opts Optional settings to control the behavior of the CustomResource.
56
+ */
57
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CaseTagDefinitionState, opts?: pulumi.CustomResourceOptions): CaseTagDefinition;
58
+ /**
59
+ * Returns true if the given object is an instance of CaseTagDefinition. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj: any): obj is CaseTagDefinition;
63
+ /**
64
+ * When checked, the tag will be assigned as the title of the case if it meets the conditions.
65
+ */
66
+ readonly canBeCaseTitle: pulumi.Output<boolean>;
67
+ /**
68
+ * The unique identifier of the CaseTagDefinition.
69
+ */
70
+ readonly caseTagDefinitionId: pulumi.Output<string>;
71
+ /**
72
+ * The type of comparison to be used when comparing the value to the case.
73
+ * Possible values are: `EXACT`, `START_WITH`, `CONTAIN`, `ENDS_WITH`.
74
+ */
75
+ readonly comparisonType: pulumi.Output<string>;
76
+ /**
77
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
78
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
79
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
80
+ * When set to "ABANDON", the command will remove the resource from Terraform
81
+ * management without updating or deleting the resource in the API.
82
+ * When set to "DELETE", deleting the resource is allowed.
83
+ */
84
+ readonly deletionPolicy: pulumi.Output<string>;
85
+ /**
86
+ * This is the name of the tag that will be applied to the case.
87
+ */
88
+ readonly displayName: pulumi.Output<string>;
89
+ /**
90
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
91
+ */
92
+ readonly instance: pulumi.Output<string>;
93
+ /**
94
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
95
+ */
96
+ readonly location: pulumi.Output<string>;
97
+ /**
98
+ * The criteria to match the case against.
99
+ * Possible values are: `BY_VENDOR`, `BY_PRODUCT`, `BY_RULE_GENERATOR`, `BY_ENTITY_PROPERTY_NAME`, `DATA_DRIVEN`, `SYSTEM`.
100
+ */
101
+ readonly matchCriteria: pulumi.Output<string>;
102
+ /**
103
+ * Identifier. The unique name(ID) of the CaseTagDefinition.
104
+ * Format:
105
+ * projects/{project}/locations/{location}/instances/{instance}/caseTagDefinitions/{case_tag_definition_id}
106
+ */
107
+ readonly name: pulumi.Output<string>;
108
+ /**
109
+ * Note that Google Security Operations merges priority with other alerts and
110
+ * entities and events so that the priority here is not absolute.
111
+ */
112
+ readonly priority: pulumi.Output<number>;
113
+ /**
114
+ * The ID of the project in which the resource belongs.
115
+ * If it is not provided, the provider project is used.
116
+ */
117
+ readonly project: pulumi.Output<string>;
118
+ /**
119
+ * Specific Entity property name to search in case.
120
+ * This is relevant only when a SearchIn of type BY_ENTITY_PROPERTY_NAME was chosen.
121
+ */
122
+ readonly propertyName: pulumi.Output<string | undefined>;
123
+ /**
124
+ * Specific value to search in case - in addition to SearchIn property.
125
+ */
126
+ readonly value: pulumi.Output<string>;
127
+ /**
128
+ * Create a CaseTagDefinition resource with the given unique name, arguments, and options.
129
+ *
130
+ * @param name The _unique_ name of the resource.
131
+ * @param args The arguments to use to populate this resource's properties.
132
+ * @param opts A bag of options that control this resource's behavior.
133
+ */
134
+ constructor(name: string, args: CaseTagDefinitionArgs, opts?: pulumi.CustomResourceOptions);
135
+ }
136
+ /**
137
+ * Input properties used for looking up and filtering CaseTagDefinition resources.
138
+ */
139
+ export interface CaseTagDefinitionState {
140
+ /**
141
+ * When checked, the tag will be assigned as the title of the case if it meets the conditions.
142
+ */
143
+ canBeCaseTitle?: pulumi.Input<boolean | undefined>;
144
+ /**
145
+ * The unique identifier of the CaseTagDefinition.
146
+ */
147
+ caseTagDefinitionId?: pulumi.Input<string | undefined>;
148
+ /**
149
+ * The type of comparison to be used when comparing the value to the case.
150
+ * Possible values are: `EXACT`, `START_WITH`, `CONTAIN`, `ENDS_WITH`.
151
+ */
152
+ comparisonType?: pulumi.Input<string | undefined>;
153
+ /**
154
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
155
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
156
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
157
+ * When set to "ABANDON", the command will remove the resource from Terraform
158
+ * management without updating or deleting the resource in the API.
159
+ * When set to "DELETE", deleting the resource is allowed.
160
+ */
161
+ deletionPolicy?: pulumi.Input<string | undefined>;
162
+ /**
163
+ * This is the name of the tag that will be applied to the case.
164
+ */
165
+ displayName?: pulumi.Input<string | undefined>;
166
+ /**
167
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
168
+ */
169
+ instance?: pulumi.Input<string | undefined>;
170
+ /**
171
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
172
+ */
173
+ location?: pulumi.Input<string | undefined>;
174
+ /**
175
+ * The criteria to match the case against.
176
+ * Possible values are: `BY_VENDOR`, `BY_PRODUCT`, `BY_RULE_GENERATOR`, `BY_ENTITY_PROPERTY_NAME`, `DATA_DRIVEN`, `SYSTEM`.
177
+ */
178
+ matchCriteria?: pulumi.Input<string | undefined>;
179
+ /**
180
+ * Identifier. The unique name(ID) of the CaseTagDefinition.
181
+ * Format:
182
+ * projects/{project}/locations/{location}/instances/{instance}/caseTagDefinitions/{case_tag_definition_id}
183
+ */
184
+ name?: pulumi.Input<string | undefined>;
185
+ /**
186
+ * Note that Google Security Operations merges priority with other alerts and
187
+ * entities and events so that the priority here is not absolute.
188
+ */
189
+ priority?: pulumi.Input<number | undefined>;
190
+ /**
191
+ * The ID of the project in which the resource belongs.
192
+ * If it is not provided, the provider project is used.
193
+ */
194
+ project?: pulumi.Input<string | undefined>;
195
+ /**
196
+ * Specific Entity property name to search in case.
197
+ * This is relevant only when a SearchIn of type BY_ENTITY_PROPERTY_NAME was chosen.
198
+ */
199
+ propertyName?: pulumi.Input<string | undefined>;
200
+ /**
201
+ * Specific value to search in case - in addition to SearchIn property.
202
+ */
203
+ value?: pulumi.Input<string | undefined>;
204
+ }
205
+ /**
206
+ * The set of arguments for constructing a CaseTagDefinition resource.
207
+ */
208
+ export interface CaseTagDefinitionArgs {
209
+ /**
210
+ * When checked, the tag will be assigned as the title of the case if it meets the conditions.
211
+ */
212
+ canBeCaseTitle: pulumi.Input<boolean>;
213
+ /**
214
+ * The type of comparison to be used when comparing the value to the case.
215
+ * Possible values are: `EXACT`, `START_WITH`, `CONTAIN`, `ENDS_WITH`.
216
+ */
217
+ comparisonType: pulumi.Input<string>;
218
+ /**
219
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
220
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
221
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
222
+ * When set to "ABANDON", the command will remove the resource from Terraform
223
+ * management without updating or deleting the resource in the API.
224
+ * When set to "DELETE", deleting the resource is allowed.
225
+ */
226
+ deletionPolicy?: pulumi.Input<string | undefined>;
227
+ /**
228
+ * This is the name of the tag that will be applied to the case.
229
+ */
230
+ displayName: pulumi.Input<string>;
231
+ /**
232
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
233
+ */
234
+ instance: pulumi.Input<string>;
235
+ /**
236
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
237
+ */
238
+ location: pulumi.Input<string>;
239
+ /**
240
+ * The criteria to match the case against.
241
+ * Possible values are: `BY_VENDOR`, `BY_PRODUCT`, `BY_RULE_GENERATOR`, `BY_ENTITY_PROPERTY_NAME`, `DATA_DRIVEN`, `SYSTEM`.
242
+ */
243
+ matchCriteria: pulumi.Input<string>;
244
+ /**
245
+ * Note that Google Security Operations merges priority with other alerts and
246
+ * entities and events so that the priority here is not absolute.
247
+ */
248
+ priority: pulumi.Input<number>;
249
+ /**
250
+ * The ID of the project in which the resource belongs.
251
+ * If it is not provided, the provider project is used.
252
+ */
253
+ project?: pulumi.Input<string | undefined>;
254
+ /**
255
+ * Specific Entity property name to search in case.
256
+ * This is relevant only when a SearchIn of type BY_ENTITY_PROPERTY_NAME was chosen.
257
+ */
258
+ propertyName?: pulumi.Input<string | undefined>;
259
+ /**
260
+ * Specific value to search in case - in addition to SearchIn property.
261
+ */
262
+ value: pulumi.Input<string>;
263
+ }
264
+ //# sourceMappingURL=caseTagDefinition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"caseTagDefinition.d.ts","sourceRoot":"","sources":["../../chronicle/caseTagDefinition.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,G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EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACtC;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
@@ -0,0 +1,165 @@
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.CaseTagDefinition = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * A CaseTagDefinition is used to classify and tag cases based on criteria.
33
+ *
34
+ * To get more information about CaseTagDefinition, see:
35
+ *
36
+ * * [API documentation](https://cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.caseTagDefinitions)
37
+ * * How-to Guides
38
+ * * [Google SecOps Guides](https://cloud.google.com/chronicle/docs/secops/secops-overview)
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * ### Chronicle Casetagdefinition Basic
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as gcp from "@pulumi/gcp";
47
+ *
48
+ * const example = new gcp.chronicle.CaseTagDefinition("example", {
49
+ * location: "us",
50
+ * instance: "00000000-0000-0000-0000-000000000000",
51
+ * displayName: "tag__72490",
52
+ * matchCriteria: "BY_VENDOR",
53
+ * value: "test_value",
54
+ * comparisonType: "EXACT",
55
+ * priority: 1,
56
+ * canBeCaseTitle: false,
57
+ * });
58
+ * ```
59
+ *
60
+ * ## Import
61
+ *
62
+ * CaseTagDefinition can be imported using any of these accepted formats:
63
+ *
64
+ * * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/caseTagDefinitions/{{case_tag_definition_id}}`
65
+ * * `{{project}}/{{location}}/{{instance}}/{{case_tag_definition_id}}`
66
+ * * `{{location}}/{{instance}}/{{case_tag_definition_id}}`
67
+ *
68
+ * When using the `pulumi import` command, CaseTagDefinition can be imported using one of the formats above. For example:
69
+ *
70
+ * ```sh
71
+ * $ pulumi import gcp:chronicle/caseTagDefinition:CaseTagDefinition default projects/{{project}}/locations/{{location}}/instances/{{instance}}/caseTagDefinitions/{{case_tag_definition_id}}
72
+ * $ pulumi import gcp:chronicle/caseTagDefinition:CaseTagDefinition default {{project}}/{{location}}/{{instance}}/{{case_tag_definition_id}}
73
+ * $ pulumi import gcp:chronicle/caseTagDefinition:CaseTagDefinition default {{location}}/{{instance}}/{{case_tag_definition_id}}
74
+ * ```
75
+ */
76
+ class CaseTagDefinition extends pulumi.CustomResource {
77
+ /**
78
+ * Get an existing CaseTagDefinition resource's state with the given name, ID, and optional extra
79
+ * properties used to qualify the lookup.
80
+ *
81
+ * @param name The _unique_ name of the resulting resource.
82
+ * @param id The _unique_ provider ID of the resource to lookup.
83
+ * @param state Any extra arguments used during the lookup.
84
+ * @param opts Optional settings to control the behavior of the CustomResource.
85
+ */
86
+ static get(name, id, state, opts) {
87
+ return new CaseTagDefinition(name, state, { ...opts, id: id });
88
+ }
89
+ /** @internal */
90
+ static __pulumiType = 'gcp:chronicle/caseTagDefinition:CaseTagDefinition';
91
+ /**
92
+ * Returns true if the given object is an instance of CaseTagDefinition. This is designed to work even
93
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
94
+ */
95
+ static isInstance(obj) {
96
+ if (obj === undefined || obj === null) {
97
+ return false;
98
+ }
99
+ return obj['__pulumiType'] === CaseTagDefinition.__pulumiType;
100
+ }
101
+ constructor(name, argsOrState, opts) {
102
+ let resourceInputs = {};
103
+ opts = opts || {};
104
+ if (opts.id) {
105
+ const state = argsOrState;
106
+ resourceInputs["canBeCaseTitle"] = state?.canBeCaseTitle;
107
+ resourceInputs["caseTagDefinitionId"] = state?.caseTagDefinitionId;
108
+ resourceInputs["comparisonType"] = state?.comparisonType;
109
+ resourceInputs["deletionPolicy"] = state?.deletionPolicy;
110
+ resourceInputs["displayName"] = state?.displayName;
111
+ resourceInputs["instance"] = state?.instance;
112
+ resourceInputs["location"] = state?.location;
113
+ resourceInputs["matchCriteria"] = state?.matchCriteria;
114
+ resourceInputs["name"] = state?.name;
115
+ resourceInputs["priority"] = state?.priority;
116
+ resourceInputs["project"] = state?.project;
117
+ resourceInputs["propertyName"] = state?.propertyName;
118
+ resourceInputs["value"] = state?.value;
119
+ }
120
+ else {
121
+ const args = argsOrState;
122
+ if (args?.canBeCaseTitle === undefined && !opts.urn) {
123
+ throw new Error("Missing required property 'canBeCaseTitle'");
124
+ }
125
+ if (args?.comparisonType === undefined && !opts.urn) {
126
+ throw new Error("Missing required property 'comparisonType'");
127
+ }
128
+ if (args?.displayName === undefined && !opts.urn) {
129
+ throw new Error("Missing required property 'displayName'");
130
+ }
131
+ if (args?.instance === undefined && !opts.urn) {
132
+ throw new Error("Missing required property 'instance'");
133
+ }
134
+ if (args?.location === undefined && !opts.urn) {
135
+ throw new Error("Missing required property 'location'");
136
+ }
137
+ if (args?.matchCriteria === undefined && !opts.urn) {
138
+ throw new Error("Missing required property 'matchCriteria'");
139
+ }
140
+ if (args?.priority === undefined && !opts.urn) {
141
+ throw new Error("Missing required property 'priority'");
142
+ }
143
+ if (args?.value === undefined && !opts.urn) {
144
+ throw new Error("Missing required property 'value'");
145
+ }
146
+ resourceInputs["canBeCaseTitle"] = args?.canBeCaseTitle;
147
+ resourceInputs["comparisonType"] = args?.comparisonType;
148
+ resourceInputs["deletionPolicy"] = args?.deletionPolicy;
149
+ resourceInputs["displayName"] = args?.displayName;
150
+ resourceInputs["instance"] = args?.instance;
151
+ resourceInputs["location"] = args?.location;
152
+ resourceInputs["matchCriteria"] = args?.matchCriteria;
153
+ resourceInputs["priority"] = args?.priority;
154
+ resourceInputs["project"] = args?.project;
155
+ resourceInputs["propertyName"] = args?.propertyName;
156
+ resourceInputs["value"] = args?.value;
157
+ resourceInputs["caseTagDefinitionId"] = undefined /*out*/;
158
+ resourceInputs["name"] = undefined /*out*/;
159
+ }
160
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
161
+ super(CaseTagDefinition.__pulumiType, name, resourceInputs, opts);
162
+ }
163
+ }
164
+ exports.CaseTagDefinition = CaseTagDefinition;
165
+ //# sourceMappingURL=caseTagDefinition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"caseTagDefinition.js","sourceRoot":"","sources":["../../chronicle/caseTagDefinition.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,mDAAmD,CAAC;IAE1F;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA2ED,YAAY,IAAY,EAAE,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AAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAjKL,8CAkKC"}
@@ -22,7 +22,7 @@ import * as outputs from "../types/output";
22
22
  * projectId: "my-project-name",
23
23
  * });
24
24
  * const testBucket = new gcp.storage.Bucket("test_bucket", {
25
- * name: "chronicle-test-bucket-my-project-name-_56730",
25
+ * name: "chronicle-test-bucket-my-project-name-_95154",
26
26
  * project: "my-project-name",
27
27
  * location: "us",
28
28
  * forceDestroy: true,
@@ -45,7 +45,7 @@ import * as outputs from "../types/output";
45
45
  * projectId: "my-project-name",
46
46
  * });
47
47
  * const testBucket = new gcp.storage.Bucket("test_bucket", {
48
- * name: "chronicle-test-bucket-my-project-name-_95154",
48
+ * name: "chronicle-test-bucket-my-project-name-_64336",
49
49
  * project: "my-project-name",
50
50
  * location: "us",
51
51
  * forceDestroy: true,
@@ -49,7 +49,7 @@ const utilities = __importStar(require("../utilities"));
49
49
  * projectId: "my-project-name",
50
50
  * });
51
51
  * const testBucket = new gcp.storage.Bucket("test_bucket", {
52
- * name: "chronicle-test-bucket-my-project-name-_56730",
52
+ * name: "chronicle-test-bucket-my-project-name-_95154",
53
53
  * project: "my-project-name",
54
54
  * location: "us",
55
55
  * forceDestroy: true,
@@ -72,7 +72,7 @@ const utilities = __importStar(require("../utilities"));
72
72
  * projectId: "my-project-name",
73
73
  * });
74
74
  * const testBucket = new gcp.storage.Bucket("test_bucket", {
75
- * name: "chronicle-test-bucket-my-project-name-_95154",
75
+ * name: "chronicle-test-bucket-my-project-name-_64336",
76
76
  * project: "my-project-name",
77
77
  * location: "us",
78
78
  * forceDestroy: true,