@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
@@ -52,7 +52,7 @@ import * as outputs from "../types/output";
52
52
  * groupKey: std.trimprefixOutput({
53
53
  * input: group.id,
54
54
  * prefix: "groups/",
55
- * }).apply(invoke => invoke.result),
55
+ * }).result,
56
56
  * accessLevels: accessLevelIdForUserAccessBinding.name,
57
57
  * });
58
58
  * ```
@@ -79,7 +79,7 @@ const utilities = __importStar(require("../utilities"));
79
79
  * groupKey: std.trimprefixOutput({
80
80
  * input: group.id,
81
81
  * prefix: "groups/",
82
- * }).apply(invoke => invoke.result),
82
+ * }).result,
83
83
  * accessLevels: accessLevelIdForUserAccessBinding.name,
84
84
  * });
85
85
  * ```
@@ -0,0 +1,366 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * An AuthProvider resource in Agent Identity to manage cloud authentication delegation.
6
+ *
7
+ * > **Note:** All arguments marked as write-only values will not be stored in the state: `auth_provider_type_params.three_legged_oauth.client_secret_wo`, `auth_provider_type_params.two_legged_oauth.client_secret_wo`.
8
+ * Read more about Write-only Arguments.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ### Agent Identity Auth Provider Basic
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as gcp from "@pulumi/gcp";
17
+ *
18
+ * const _default = new gcp.agentidentity.AuthProvider("default", {
19
+ * location: "us-central1",
20
+ * authProviderId: "example-provider",
21
+ * authProviderTypeParams: {
22
+ * apiKey: {
23
+ * apiKey: "test-api-key-value",
24
+ * },
25
+ * },
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * AuthProvider can be imported using any of these accepted formats:
32
+ *
33
+ * * `projects/{{project}}/locations/{{location}}/authProviders/{{auth_provider_id}}`
34
+ * * `{{project}}/{{location}}/{{auth_provider_id}}`
35
+ * * `{{location}}/{{auth_provider_id}}`
36
+ *
37
+ * When using the `pulumi import` command, AuthProvider can be imported using one of the formats above. For example:
38
+ *
39
+ * ```sh
40
+ * $ pulumi import gcp:agentidentity/authProvider:AuthProvider default projects/{{project}}/locations/{{location}}/authProviders/{{auth_provider_id}}
41
+ * $ pulumi import gcp:agentidentity/authProvider:AuthProvider default {{project}}/{{location}}/{{auth_provider_id}}
42
+ * $ pulumi import gcp:agentidentity/authProvider:AuthProvider default {{location}}/{{auth_provider_id}}
43
+ * ```
44
+ */
45
+ export declare class AuthProvider extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing AuthProvider resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AuthProviderState, opts?: pulumi.CustomResourceOptions): AuthProvider;
56
+ /**
57
+ * Returns true if the given object is an instance of AuthProvider. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj: any): obj is AuthProvider;
61
+ /**
62
+ * List of scopes that are allowed to be requested for this auth_provider.
63
+ * If this list is non-empty, only scopes within this list may be requested.
64
+ * If this list is empty, all scopes may be requested.
65
+ * Scopes appearing in `blockedScopes` are disallowed even if they appear in
66
+ * `allowedScopes`.
67
+ * The number of allowed scopes is limited to 200.
68
+ */
69
+ readonly allowedScopes: pulumi.Output<string[] | undefined>;
70
+ /**
71
+ * The ID to use for the AuthProvider, which will become the final segment
72
+ * of the AuthProvider's resource name.
73
+ * This value should be 1-63 characters, and valid characters
74
+ * are /a-z-/. The first character must be a lowercase letter, and the
75
+ * last character must be a lowercase letter or a number.
76
+ */
77
+ readonly authProviderId: pulumi.Output<string>;
78
+ /**
79
+ * AuthProvider type specific parameters.
80
+ * Required when creating an auth_provider.
81
+ * Structure is documented below.
82
+ */
83
+ readonly authProviderTypeParams: pulumi.Output<outputs.agentidentity.AuthProviderAuthProviderTypeParams>;
84
+ /**
85
+ * List of scopes that are blocked from being requested for this
86
+ * auth_provider. If a scope appears in this list, it will not be requested,
87
+ * even if it also appears in `allowedScopes`. `blockedScopes` takes
88
+ * precedence over `allowedScopes`. The number of blocked scopes is limited
89
+ * to 200.
90
+ */
91
+ readonly blockedScopes: pulumi.Output<string[] | undefined>;
92
+ /**
93
+ * [Output only] Create time stamp
94
+ */
95
+ readonly createTime: pulumi.Output<string>;
96
+ /**
97
+ * This is set to true if the authProvider is deleted.
98
+ */
99
+ readonly deleted: pulumi.Output<boolean>;
100
+ /**
101
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
102
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
103
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
104
+ * When set to "ABANDON", the command will remove the resource from Terraform
105
+ * management without updating or deleting the resource in the API.
106
+ * When set to "DELETE", deleting the resource is allowed.
107
+ */
108
+ readonly deletionPolicy: pulumi.Output<string>;
109
+ /**
110
+ * Description of the resource.
111
+ * Must be less than 256 characters.
112
+ */
113
+ readonly description: pulumi.Output<string | undefined>;
114
+ /**
115
+ * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
116
+ */
117
+ readonly effectiveLabels: pulumi.Output<{
118
+ [key: string]: string;
119
+ }>;
120
+ /**
121
+ * The time when the authProvider will expire.
122
+ */
123
+ readonly expireTime: pulumi.Output<string>;
124
+ /**
125
+ * Labels as key value pairs
126
+ * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
127
+ * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
128
+ */
129
+ readonly labels: pulumi.Output<{
130
+ [key: string]: string;
131
+ } | undefined>;
132
+ /**
133
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
134
+ */
135
+ readonly location: pulumi.Output<string>;
136
+ /**
137
+ * Identifier. The full resource name of the auth_provider. Format:
138
+ * projects/{project}/locations/{location}/authProviders/{auth_provider}
139
+ */
140
+ readonly name: pulumi.Output<string>;
141
+ /**
142
+ * The ID of the project in which the resource belongs.
143
+ * If it is not provided, the provider project is used.
144
+ */
145
+ readonly project: pulumi.Output<string>;
146
+ /**
147
+ * The combination of labels configured directly on the resource
148
+ * and default labels configured on the provider.
149
+ */
150
+ readonly pulumiLabels: pulumi.Output<{
151
+ [key: string]: string;
152
+ }>;
153
+ /**
154
+ * The state of the auth_provider.
155
+ * Possible values:
156
+ * ENABLED
157
+ * DISABLED
158
+ */
159
+ readonly state: pulumi.Output<string>;
160
+ /**
161
+ * [Output only] Update time stamp
162
+ */
163
+ readonly updateTime: pulumi.Output<string>;
164
+ /**
165
+ * Input only. Represents the workload identity in IAM `principal://` format of the
166
+ * agent(s) that will use this AuthProvider. Example:
167
+ * `principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}`
168
+ */
169
+ readonly workloadIds: pulumi.Output<string[] | undefined>;
170
+ /**
171
+ * Create a AuthProvider resource with the given unique name, arguments, and options.
172
+ *
173
+ * @param name The _unique_ name of the resource.
174
+ * @param args The arguments to use to populate this resource's properties.
175
+ * @param opts A bag of options that control this resource's behavior.
176
+ */
177
+ constructor(name: string, args: AuthProviderArgs, opts?: pulumi.CustomResourceOptions);
178
+ }
179
+ /**
180
+ * Input properties used for looking up and filtering AuthProvider resources.
181
+ */
182
+ export interface AuthProviderState {
183
+ /**
184
+ * List of scopes that are allowed to be requested for this auth_provider.
185
+ * If this list is non-empty, only scopes within this list may be requested.
186
+ * If this list is empty, all scopes may be requested.
187
+ * Scopes appearing in `blockedScopes` are disallowed even if they appear in
188
+ * `allowedScopes`.
189
+ * The number of allowed scopes is limited to 200.
190
+ */
191
+ allowedScopes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
192
+ /**
193
+ * The ID to use for the AuthProvider, which will become the final segment
194
+ * of the AuthProvider's resource name.
195
+ * This value should be 1-63 characters, and valid characters
196
+ * are /a-z-/. The first character must be a lowercase letter, and the
197
+ * last character must be a lowercase letter or a number.
198
+ */
199
+ authProviderId?: pulumi.Input<string | undefined>;
200
+ /**
201
+ * AuthProvider type specific parameters.
202
+ * Required when creating an auth_provider.
203
+ * Structure is documented below.
204
+ */
205
+ authProviderTypeParams?: pulumi.Input<inputs.agentidentity.AuthProviderAuthProviderTypeParams | undefined>;
206
+ /**
207
+ * List of scopes that are blocked from being requested for this
208
+ * auth_provider. If a scope appears in this list, it will not be requested,
209
+ * even if it also appears in `allowedScopes`. `blockedScopes` takes
210
+ * precedence over `allowedScopes`. The number of blocked scopes is limited
211
+ * to 200.
212
+ */
213
+ blockedScopes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
214
+ /**
215
+ * [Output only] Create time stamp
216
+ */
217
+ createTime?: pulumi.Input<string | undefined>;
218
+ /**
219
+ * This is set to true if the authProvider is deleted.
220
+ */
221
+ deleted?: pulumi.Input<boolean | undefined>;
222
+ /**
223
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
224
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
225
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
226
+ * When set to "ABANDON", the command will remove the resource from Terraform
227
+ * management without updating or deleting the resource in the API.
228
+ * When set to "DELETE", deleting the resource is allowed.
229
+ */
230
+ deletionPolicy?: pulumi.Input<string | undefined>;
231
+ /**
232
+ * Description of the resource.
233
+ * Must be less than 256 characters.
234
+ */
235
+ description?: pulumi.Input<string | undefined>;
236
+ /**
237
+ * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
238
+ */
239
+ effectiveLabels?: pulumi.Input<{
240
+ [key: string]: pulumi.Input<string>;
241
+ } | undefined>;
242
+ /**
243
+ * The time when the authProvider will expire.
244
+ */
245
+ expireTime?: pulumi.Input<string | undefined>;
246
+ /**
247
+ * Labels as key value pairs
248
+ * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
249
+ * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
250
+ */
251
+ labels?: pulumi.Input<{
252
+ [key: string]: pulumi.Input<string>;
253
+ } | undefined>;
254
+ /**
255
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
256
+ */
257
+ location?: pulumi.Input<string | undefined>;
258
+ /**
259
+ * Identifier. The full resource name of the auth_provider. Format:
260
+ * projects/{project}/locations/{location}/authProviders/{auth_provider}
261
+ */
262
+ name?: pulumi.Input<string | undefined>;
263
+ /**
264
+ * The ID of the project in which the resource belongs.
265
+ * If it is not provided, the provider project is used.
266
+ */
267
+ project?: pulumi.Input<string | undefined>;
268
+ /**
269
+ * The combination of labels configured directly on the resource
270
+ * and default labels configured on the provider.
271
+ */
272
+ pulumiLabels?: pulumi.Input<{
273
+ [key: string]: pulumi.Input<string>;
274
+ } | undefined>;
275
+ /**
276
+ * The state of the auth_provider.
277
+ * Possible values:
278
+ * ENABLED
279
+ * DISABLED
280
+ */
281
+ state?: pulumi.Input<string | undefined>;
282
+ /**
283
+ * [Output only] Update time stamp
284
+ */
285
+ updateTime?: pulumi.Input<string | undefined>;
286
+ /**
287
+ * Input only. Represents the workload identity in IAM `principal://` format of the
288
+ * agent(s) that will use this AuthProvider. Example:
289
+ * `principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}`
290
+ */
291
+ workloadIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
292
+ }
293
+ /**
294
+ * The set of arguments for constructing a AuthProvider resource.
295
+ */
296
+ export interface AuthProviderArgs {
297
+ /**
298
+ * List of scopes that are allowed to be requested for this auth_provider.
299
+ * If this list is non-empty, only scopes within this list may be requested.
300
+ * If this list is empty, all scopes may be requested.
301
+ * Scopes appearing in `blockedScopes` are disallowed even if they appear in
302
+ * `allowedScopes`.
303
+ * The number of allowed scopes is limited to 200.
304
+ */
305
+ allowedScopes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
306
+ /**
307
+ * The ID to use for the AuthProvider, which will become the final segment
308
+ * of the AuthProvider's resource name.
309
+ * This value should be 1-63 characters, and valid characters
310
+ * are /a-z-/. The first character must be a lowercase letter, and the
311
+ * last character must be a lowercase letter or a number.
312
+ */
313
+ authProviderId: pulumi.Input<string>;
314
+ /**
315
+ * AuthProvider type specific parameters.
316
+ * Required when creating an auth_provider.
317
+ * Structure is documented below.
318
+ */
319
+ authProviderTypeParams: pulumi.Input<inputs.agentidentity.AuthProviderAuthProviderTypeParams>;
320
+ /**
321
+ * List of scopes that are blocked from being requested for this
322
+ * auth_provider. If a scope appears in this list, it will not be requested,
323
+ * even if it also appears in `allowedScopes`. `blockedScopes` takes
324
+ * precedence over `allowedScopes`. The number of blocked scopes is limited
325
+ * to 200.
326
+ */
327
+ blockedScopes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
328
+ /**
329
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
330
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
331
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
332
+ * When set to "ABANDON", the command will remove the resource from Terraform
333
+ * management without updating or deleting the resource in the API.
334
+ * When set to "DELETE", deleting the resource is allowed.
335
+ */
336
+ deletionPolicy?: pulumi.Input<string | undefined>;
337
+ /**
338
+ * Description of the resource.
339
+ * Must be less than 256 characters.
340
+ */
341
+ description?: pulumi.Input<string | undefined>;
342
+ /**
343
+ * Labels as key value pairs
344
+ * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
345
+ * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
346
+ */
347
+ labels?: pulumi.Input<{
348
+ [key: string]: pulumi.Input<string>;
349
+ } | undefined>;
350
+ /**
351
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
352
+ */
353
+ location: pulumi.Input<string>;
354
+ /**
355
+ * The ID of the project in which the resource belongs.
356
+ * If it is not provided, the provider project is used.
357
+ */
358
+ project?: pulumi.Input<string | undefined>;
359
+ /**
360
+ * Input only. Represents the workload identity in IAM `principal://` format of the
361
+ * agent(s) that will use this AuthProvider. Example:
362
+ * `principal://agents.global.org-${ORG_ID}.system.id.goog/resources/aiplatform/projects/{PROJECT_ID}/locations/{LOCATIONS}/reasoningEngines/{ID}`
363
+ */
364
+ workloadIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
365
+ }
366
+ //# sourceMappingURL=authProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authProvider.d.ts","sourceRoot":"","sources":["../../agentidentity/authProvider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB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AC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;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;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAClE"}
@@ -0,0 +1,158 @@
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.AuthProvider = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * An AuthProvider resource in Agent Identity to manage cloud authentication delegation.
33
+ *
34
+ * > **Note:** All arguments marked as write-only values will not be stored in the state: `auth_provider_type_params.three_legged_oauth.client_secret_wo`, `auth_provider_type_params.two_legged_oauth.client_secret_wo`.
35
+ * Read more about Write-only Arguments.
36
+ *
37
+ * ## Example Usage
38
+ *
39
+ * ### Agent Identity Auth Provider Basic
40
+ *
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as gcp from "@pulumi/gcp";
44
+ *
45
+ * const _default = new gcp.agentidentity.AuthProvider("default", {
46
+ * location: "us-central1",
47
+ * authProviderId: "example-provider",
48
+ * authProviderTypeParams: {
49
+ * apiKey: {
50
+ * apiKey: "test-api-key-value",
51
+ * },
52
+ * },
53
+ * });
54
+ * ```
55
+ *
56
+ * ## Import
57
+ *
58
+ * AuthProvider can be imported using any of these accepted formats:
59
+ *
60
+ * * `projects/{{project}}/locations/{{location}}/authProviders/{{auth_provider_id}}`
61
+ * * `{{project}}/{{location}}/{{auth_provider_id}}`
62
+ * * `{{location}}/{{auth_provider_id}}`
63
+ *
64
+ * When using the `pulumi import` command, AuthProvider can be imported using one of the formats above. For example:
65
+ *
66
+ * ```sh
67
+ * $ pulumi import gcp:agentidentity/authProvider:AuthProvider default projects/{{project}}/locations/{{location}}/authProviders/{{auth_provider_id}}
68
+ * $ pulumi import gcp:agentidentity/authProvider:AuthProvider default {{project}}/{{location}}/{{auth_provider_id}}
69
+ * $ pulumi import gcp:agentidentity/authProvider:AuthProvider default {{location}}/{{auth_provider_id}}
70
+ * ```
71
+ */
72
+ class AuthProvider extends pulumi.CustomResource {
73
+ /**
74
+ * Get an existing AuthProvider 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 AuthProvider(name, state, { ...opts, id: id });
84
+ }
85
+ /** @internal */
86
+ static __pulumiType = 'gcp:agentidentity/authProvider:AuthProvider';
87
+ /**
88
+ * Returns true if the given object is an instance of AuthProvider. 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'] === AuthProvider.__pulumiType;
96
+ }
97
+ constructor(name, argsOrState, opts) {
98
+ let resourceInputs = {};
99
+ opts = opts || {};
100
+ if (opts.id) {
101
+ const state = argsOrState;
102
+ resourceInputs["allowedScopes"] = state?.allowedScopes;
103
+ resourceInputs["authProviderId"] = state?.authProviderId;
104
+ resourceInputs["authProviderTypeParams"] = state?.authProviderTypeParams;
105
+ resourceInputs["blockedScopes"] = state?.blockedScopes;
106
+ resourceInputs["createTime"] = state?.createTime;
107
+ resourceInputs["deleted"] = state?.deleted;
108
+ resourceInputs["deletionPolicy"] = state?.deletionPolicy;
109
+ resourceInputs["description"] = state?.description;
110
+ resourceInputs["effectiveLabels"] = state?.effectiveLabels;
111
+ resourceInputs["expireTime"] = state?.expireTime;
112
+ resourceInputs["labels"] = state?.labels;
113
+ resourceInputs["location"] = state?.location;
114
+ resourceInputs["name"] = state?.name;
115
+ resourceInputs["project"] = state?.project;
116
+ resourceInputs["pulumiLabels"] = state?.pulumiLabels;
117
+ resourceInputs["state"] = state?.state;
118
+ resourceInputs["updateTime"] = state?.updateTime;
119
+ resourceInputs["workloadIds"] = state?.workloadIds;
120
+ }
121
+ else {
122
+ const args = argsOrState;
123
+ if (args?.authProviderId === undefined && !opts.urn) {
124
+ throw new Error("Missing required property 'authProviderId'");
125
+ }
126
+ if (args?.authProviderTypeParams === undefined && !opts.urn) {
127
+ throw new Error("Missing required property 'authProviderTypeParams'");
128
+ }
129
+ if (args?.location === undefined && !opts.urn) {
130
+ throw new Error("Missing required property 'location'");
131
+ }
132
+ resourceInputs["allowedScopes"] = args?.allowedScopes;
133
+ resourceInputs["authProviderId"] = args?.authProviderId;
134
+ resourceInputs["authProviderTypeParams"] = args?.authProviderTypeParams;
135
+ resourceInputs["blockedScopes"] = args?.blockedScopes;
136
+ resourceInputs["deletionPolicy"] = args?.deletionPolicy;
137
+ resourceInputs["description"] = args?.description;
138
+ resourceInputs["labels"] = args?.labels;
139
+ resourceInputs["location"] = args?.location;
140
+ resourceInputs["project"] = args?.project;
141
+ resourceInputs["workloadIds"] = args?.workloadIds;
142
+ resourceInputs["createTime"] = undefined /*out*/;
143
+ resourceInputs["deleted"] = undefined /*out*/;
144
+ resourceInputs["effectiveLabels"] = undefined /*out*/;
145
+ resourceInputs["expireTime"] = undefined /*out*/;
146
+ resourceInputs["name"] = undefined /*out*/;
147
+ resourceInputs["pulumiLabels"] = undefined /*out*/;
148
+ resourceInputs["state"] = undefined /*out*/;
149
+ resourceInputs["updateTime"] = undefined /*out*/;
150
+ }
151
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
152
+ const secretOpts = { additionalSecretOutputs: ["effectiveLabels", "pulumiLabels"] };
153
+ opts = pulumi.mergeOptions(opts, secretOpts);
154
+ super(AuthProvider.__pulumiType, name, resourceInputs, opts);
155
+ }
156
+ }
157
+ exports.AuthProvider = AuthProvider;
158
+ //# sourceMappingURL=authProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authProvider.js","sourceRoot":"","sources":["../../agentidentity/authProvider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;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E,CAAC;QACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AArML,oCAsMC"}
@@ -0,0 +1,4 @@
1
+ export { AuthProviderArgs, AuthProviderState } from "./authProvider";
2
+ export type AuthProvider = import("./authProvider").AuthProvider;
3
+ export declare const AuthProvider: typeof import("./authProvider").AuthProvider;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../agentidentity/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACrE,MAAM,MAAM,YAAY,GAAG,OAAO,gBAAgB,EAAE,YAAY,CAAC;AACjE,eAAO,MAAM,YAAY,EAAE,cAAc,gBAAgB,EAAE,YAA0B,CAAC"}
@@ -0,0 +1,45 @@
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.AuthProvider = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ exports.AuthProvider = null;
32
+ utilities.lazyLoad(exports, ["AuthProvider"], () => require("./authProvider"));
33
+ const _module = {
34
+ version: utilities.getVersion(),
35
+ construct: (name, type, urn) => {
36
+ switch (type) {
37
+ case "gcp:agentidentity/authProvider:AuthProvider":
38
+ return new exports.AuthProvider(name, undefined, { urn });
39
+ default:
40
+ throw new Error(`unknown resource type ${type}`);
41
+ }
42
+ },
43
+ };
44
+ pulumi.runtime.registerResourceModule("gcp", "agentidentity/authProvider", _module);
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../agentidentity/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAK7B,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAG/E,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,6CAA6C;gBAC9C,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA"}
package/apihub/index.d.ts CHANGED
@@ -13,4 +13,7 @@ export declare const Plugin: typeof import("./plugin").Plugin;
13
13
  export { PluginInstanceArgs, PluginInstanceState } from "./pluginInstance";
14
14
  export type PluginInstance = import("./pluginInstance").PluginInstance;
15
15
  export declare const PluginInstance: typeof import("./pluginInstance").PluginInstance;
16
+ export { RuntimeProjectAttachmentArgs, RuntimeProjectAttachmentState } from "./runtimeProjectAttachment";
17
+ export type RuntimeProjectAttachment = import("./runtimeProjectAttachment").RuntimeProjectAttachment;
18
+ export declare const RuntimeProjectAttachment: typeof import("./runtimeProjectAttachment").RuntimeProjectAttachment;
16
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../apihub/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC3E,MAAM,MAAM,cAAc,GAAG,OAAO,kBAAkB,EAAE,cAAc,CAAC;AACvE,eAAO,MAAM,cAAc,EAAE,cAAc,kBAAkB,EAAE,cAA4B,CAAC;AAG5F,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACzD,MAAM,MAAM,QAAQ,GAAG,OAAO,YAAY,EAAE,QAAQ,CAAC;AACrD,eAAO,MAAM,QAAQ,EAAE,cAAc,YAAY,EAAE,QAAsB,CAAC;AAG1E,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AACtG,MAAM,MAAM,uBAAuB,GAAG,OAAO,2BAA2B,EAAE,uBAAuB,CAAC;AAClG,eAAO,MAAM,uBAAuB,EAAE,cAAc,2BAA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