@pulumi/gcp 9.31.0 → 9.32.1

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 (212) hide show
  1. package/backupdisasterrecovery/backupPlan.d.ts +1 -0
  2. package/backupdisasterrecovery/backupPlan.d.ts.map +1 -1
  3. package/backupdisasterrecovery/backupPlan.js +1 -0
  4. package/backupdisasterrecovery/backupPlan.js.map +1 -1
  5. package/backupdisasterrecovery/backupPlanAssociation.d.ts +3 -0
  6. package/backupdisasterrecovery/backupPlanAssociation.d.ts.map +1 -1
  7. package/backupdisasterrecovery/backupPlanAssociation.js.map +1 -1
  8. package/backupdisasterrecovery/backupVault.d.ts +14 -0
  9. package/backupdisasterrecovery/backupVault.d.ts.map +1 -1
  10. package/backupdisasterrecovery/backupVault.js +2 -0
  11. package/backupdisasterrecovery/backupVault.js.map +1 -1
  12. package/backupdisasterrecovery/getBackupVault.d.ts +1 -0
  13. package/backupdisasterrecovery/getBackupVault.d.ts.map +1 -1
  14. package/backupdisasterrecovery/getBackupVault.js.map +1 -1
  15. package/backupdisasterrecovery/getDataSource.d.ts +1 -0
  16. package/backupdisasterrecovery/getDataSource.d.ts.map +1 -1
  17. package/backupdisasterrecovery/getDataSource.js.map +1 -1
  18. package/biglake/getHiveTableIamPolicy.d.ts +108 -0
  19. package/biglake/getHiveTableIamPolicy.d.ts.map +1 -0
  20. package/biglake/getHiveTableIamPolicy.js +89 -0
  21. package/biglake/getHiveTableIamPolicy.js.map +1 -0
  22. package/biglake/hiveTable.d.ts +336 -0
  23. package/biglake/hiveTable.d.ts.map +1 -0
  24. package/biglake/hiveTable.js +212 -0
  25. package/biglake/hiveTable.js.map +1 -0
  26. package/biglake/hiveTableIamBinding.d.ts +342 -0
  27. package/biglake/hiveTableIamBinding.d.ts.map +1 -0
  28. package/biglake/hiveTableIamBinding.js +276 -0
  29. package/biglake/hiveTableIamBinding.js.map +1 -0
  30. package/biglake/hiveTableIamMember.d.ts +342 -0
  31. package/biglake/hiveTableIamMember.d.ts.map +1 -0
  32. package/biglake/hiveTableIamMember.js +276 -0
  33. package/biglake/hiveTableIamMember.js.map +1 -0
  34. package/biglake/hiveTableIamPolicy.d.ts +289 -0
  35. package/biglake/hiveTableIamPolicy.d.ts.map +1 -0
  36. package/biglake/hiveTableIamPolicy.js +269 -0
  37. package/biglake/hiveTableIamPolicy.js.map +1 -0
  38. package/biglake/index.d.ts +15 -0
  39. package/biglake/index.d.ts.map +1 -1
  40. package/biglake/index.js +24 -1
  41. package/biglake/index.js.map +1 -1
  42. package/bigquery/connection.d.ts +1 -1
  43. package/bigquery/connection.js +1 -1
  44. package/bigquery/routine.d.ts +1 -1
  45. package/bigquery/routine.js +1 -1
  46. package/billing/projectInfo.d.ts +2 -2
  47. package/billing/projectInfo.js +2 -2
  48. package/certificatemanager/certificate.d.ts +9 -0
  49. package/certificatemanager/certificate.d.ts.map +1 -1
  50. package/certificatemanager/certificate.js.map +1 -1
  51. package/chronicle/dataExport.d.ts +2 -2
  52. package/chronicle/dataExport.js +2 -2
  53. package/chronicle/environmentGroup.d.ts +1 -4
  54. package/chronicle/environmentGroup.d.ts.map +1 -1
  55. package/chronicle/environmentGroup.js +1 -4
  56. package/chronicle/environmentGroup.js.map +1 -1
  57. package/chronicle/feed.d.ts +3 -3
  58. package/chronicle/feed.js +3 -3
  59. package/cloudrunv2/getJob.d.ts +3 -0
  60. package/cloudrunv2/getJob.d.ts.map +1 -1
  61. package/cloudrunv2/getJob.js.map +1 -1
  62. package/cloudrunv2/getService.d.ts +3 -0
  63. package/cloudrunv2/getService.d.ts.map +1 -1
  64. package/cloudrunv2/getService.js.map +1 -1
  65. package/cloudrunv2/job.d.ts +46 -0
  66. package/cloudrunv2/job.d.ts.map +1 -1
  67. package/cloudrunv2/job.js +24 -0
  68. package/cloudrunv2/job.js.map +1 -1
  69. package/cloudrunv2/service.d.ts +45 -1
  70. package/cloudrunv2/service.d.ts.map +1 -1
  71. package/cloudrunv2/service.js +23 -1
  72. package/cloudrunv2/service.js.map +1 -1
  73. package/compute/address.d.ts +9 -6
  74. package/compute/address.d.ts.map +1 -1
  75. package/compute/address.js.map +1 -1
  76. package/compute/futureReservation.d.ts +11 -5
  77. package/compute/futureReservation.d.ts.map +1 -1
  78. package/compute/futureReservation.js +3 -1
  79. package/compute/futureReservation.js.map +1 -1
  80. package/compute/getMachineTypes.d.ts +6 -6
  81. package/compute/getMachineTypes.js +6 -6
  82. package/compute/globalVmExtensionPolicy.d.ts +337 -0
  83. package/compute/globalVmExtensionPolicy.d.ts.map +1 -0
  84. package/compute/globalVmExtensionPolicy.js +237 -0
  85. package/compute/globalVmExtensionPolicy.js.map +1 -0
  86. package/compute/index.d.ts +3 -0
  87. package/compute/index.d.ts.map +1 -1
  88. package/compute/index.js +9 -4
  89. package/compute/index.js.map +1 -1
  90. package/compute/networkFirewallPolicyPacketMirroringRule.d.ts +1 -1
  91. package/compute/networkFirewallPolicyPacketMirroringRule.js +1 -1
  92. package/compute/networkFirewallPolicyRule.d.ts +1 -1
  93. package/compute/networkFirewallPolicyRule.js +1 -1
  94. package/compute/networkPeeringRoutesConfig.d.ts +66 -0
  95. package/compute/networkPeeringRoutesConfig.d.ts.map +1 -1
  96. package/compute/networkPeeringRoutesConfig.js +66 -0
  97. package/compute/networkPeeringRoutesConfig.js.map +1 -1
  98. package/compute/organizationSecurityPolicyAssociation.d.ts +2 -2
  99. package/compute/organizationSecurityPolicyAssociation.js +2 -2
  100. package/compute/organizationSecurityPolicyRule.d.ts +5 -5
  101. package/compute/organizationSecurityPolicyRule.js +5 -5
  102. package/compute/regionCommitment.d.ts +9 -3
  103. package/compute/regionCommitment.d.ts.map +1 -1
  104. package/compute/regionCommitment.js.map +1 -1
  105. package/compute/regionNetworkFirewallPolicyWithRules.d.ts +8 -8
  106. package/compute/regionNetworkFirewallPolicyWithRules.js +8 -8
  107. package/compute/rolloutPlan.d.ts +1 -1
  108. package/compute/rolloutPlan.js +1 -1
  109. package/compute/router.d.ts +1 -1
  110. package/compute/router.js +1 -1
  111. package/compute/routerNamedSet.d.ts +1 -4
  112. package/compute/routerNamedSet.d.ts.map +1 -1
  113. package/compute/routerNamedSet.js +1 -4
  114. package/compute/routerNamedSet.js.map +1 -1
  115. package/compute/targetInstance.d.ts +2 -2
  116. package/compute/targetInstance.js +2 -2
  117. package/compute/zoneVmExtensionPolicy.d.ts +1 -1
  118. package/compute/zoneVmExtensionPolicy.js +1 -1
  119. package/databasemigrationservice/connectionProfile.d.ts +3 -3
  120. package/databasemigrationservice/connectionProfile.js +3 -3
  121. package/dataform/folder.d.ts +3 -3
  122. package/dataform/folder.js +3 -3
  123. package/dataform/teamFolder.d.ts +1 -1
  124. package/dataform/teamFolder.js +1 -1
  125. package/datalineage/config.d.ts +2 -2
  126. package/datalineage/config.js +2 -2
  127. package/dataplex/dataAsset.d.ts +5 -5
  128. package/dataplex/dataAsset.js +5 -5
  129. package/dataplex/dataProduct.d.ts +3 -3
  130. package/dataplex/dataProduct.js +3 -3
  131. package/dataplex/dataProductDataAsset.d.ts +5 -5
  132. package/dataplex/dataProductDataAsset.js +5 -5
  133. package/dataplex/datascan.d.ts +25 -25
  134. package/dataplex/datascan.js +25 -25
  135. package/dataplex/entryLink.d.ts +12 -12
  136. package/dataplex/entryLink.js +12 -12
  137. package/dataplex/entryType.d.ts +1 -1
  138. package/dataplex/entryType.js +1 -1
  139. package/dataplex/glossaryCategory.d.ts +4 -4
  140. package/dataplex/glossaryCategory.js +4 -4
  141. package/dataplex/glossaryTerm.d.ts +4 -4
  142. package/dataplex/glossaryTerm.js +4 -4
  143. package/dataplex/task.d.ts +8 -8
  144. package/dataplex/task.js +8 -8
  145. package/dataproc/batch.d.ts +5 -5
  146. package/dataproc/batch.js +5 -5
  147. package/datastream/stream.d.ts +2 -2
  148. package/datastream/stream.js +2 -2
  149. package/developerconnect/insightsConfig.d.ts +5 -5
  150. package/developerconnect/insightsConfig.js +5 -5
  151. package/dns/getRecordSet.d.ts +4 -4
  152. package/dns/getRecordSet.js +4 -4
  153. package/firestore/field.d.ts +4 -4
  154. package/firestore/field.js +4 -4
  155. package/gkehub/membershipBinding.d.ts +3 -3
  156. package/gkehub/membershipBinding.js +3 -3
  157. package/gkehub/membershipRbacRoleBinding.d.ts +2 -2
  158. package/gkehub/membershipRbacRoleBinding.js +2 -2
  159. package/gkehub/namespace.d.ts +2 -2
  160. package/gkehub/namespace.js +2 -2
  161. package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
  162. package/gkehub/scopeRbacRoleBinding.js +4 -4
  163. package/iap/tunnelDestGroup.d.ts +1 -1
  164. package/iap/tunnelDestGroup.js +1 -1
  165. package/integrationconnectors/managedZone.d.ts +4 -4
  166. package/integrationconnectors/managedZone.js +4 -4
  167. package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
  168. package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
  169. package/networkconnectivity/spoke.d.ts +8 -8
  170. package/networkconnectivity/spoke.js +8 -8
  171. package/networkconnectivity/transport.d.ts +2 -2
  172. package/networkconnectivity/transport.js +2 -2
  173. package/observability/folderSettings.d.ts +2 -2
  174. package/observability/folderSettings.js +2 -2
  175. package/observability/projectSettings.d.ts +2 -2
  176. package/observability/projectSettings.js +2 -2
  177. package/observability/traceScope.d.ts +2 -2
  178. package/observability/traceScope.js +2 -2
  179. package/orgpolicy/policy.d.ts +1 -1
  180. package/orgpolicy/policy.js +1 -1
  181. package/package.json +2 -2
  182. package/pubsub/subscription.d.ts +4 -4
  183. package/pubsub/subscription.js +4 -4
  184. package/securityposture/posture.d.ts +17 -0
  185. package/securityposture/posture.d.ts.map +1 -1
  186. package/securityposture/posture.js +17 -0
  187. package/securityposture/posture.js.map +1 -1
  188. package/sql/databaseInstance.d.ts +24 -0
  189. package/sql/databaseInstance.d.ts.map +1 -1
  190. package/sql/databaseInstance.js +4 -0
  191. package/sql/databaseInstance.js.map +1 -1
  192. package/sql/getDatabaseInstance.d.ts +2 -0
  193. package/sql/getDatabaseInstance.d.ts.map +1 -1
  194. package/sql/getDatabaseInstance.js.map +1 -1
  195. package/types/input.d.ts +787 -15
  196. package/types/input.d.ts.map +1 -1
  197. package/types/output.d.ts +843 -26
  198. package/types/output.d.ts.map +1 -1
  199. package/vertex/aiEndpoint.d.ts +3 -3
  200. package/vertex/aiEndpoint.js +3 -3
  201. package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
  202. package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
  203. package/vertex/aiSemanticGovernancePolicyEngine.d.ts +0 -3
  204. package/vertex/aiSemanticGovernancePolicyEngine.d.ts.map +1 -1
  205. package/vertex/aiSemanticGovernancePolicyEngine.js +0 -3
  206. package/vertex/aiSemanticGovernancePolicyEngine.js.map +1 -1
  207. package/vertex/getAiReasoningEngineQuery.d.ts +2 -2
  208. package/vertex/getAiReasoningEngineQuery.js +2 -2
  209. package/workbench/instance.d.ts +31 -2
  210. package/workbench/instance.d.ts.map +1 -1
  211. package/workbench/instance.js +21 -2
  212. package/workbench/instance.js.map +1 -1
@@ -0,0 +1,342 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Three different resources help you manage your IAM policy for BigLake Hive Metastore HiveTable. Each of these resources serves a different use case:
6
+ *
7
+ * * `gcp.biglake.HiveTableIamPolicy`: Authoritative. Sets the IAM policy for the hivetable and replaces any existing policy already attached.
8
+ * * `gcp.biglake.HiveTableIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the hivetable are preserved.
9
+ * * `gcp.biglake.HiveTableIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the hivetable are preserved.
10
+ *
11
+ * A data source can be used to retrieve policy data in advent you do not need creation
12
+ *
13
+ * * `gcp.biglake.HiveTableIamPolicy`: Retrieves the IAM policy for the hivetable
14
+ *
15
+ * > **Note:** `gcp.biglake.HiveTableIamPolicy` **cannot** be used in conjunction with `gcp.biglake.HiveTableIamBinding` and `gcp.biglake.HiveTableIamMember` or they will fight over what your policy should be.
16
+ *
17
+ * > **Note:** `gcp.biglake.HiveTableIamBinding` resources **can be** used in conjunction with `gcp.biglake.HiveTableIamMember` resources **only if** they do not grant privilege to the same role.
18
+ *
19
+ * > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
20
+ * See Provider Versions for more details on beta resources.
21
+ *
22
+ * ## gcp.biglake.HiveTableIamPolicy
23
+ *
24
+ * ```typescript
25
+ * import * as pulumi from "@pulumi/pulumi";
26
+ * import * as gcp from "@pulumi/gcp";
27
+ *
28
+ * const admin = gcp.organizations.getIAMPolicy({
29
+ * bindings: [{
30
+ * role: "roles/biglake.editor",
31
+ * members: ["user:jane@example.com"],
32
+ * }],
33
+ * });
34
+ * const policy = new gcp.biglake.HiveTableIamPolicy("policy", {
35
+ * project: myHiveTable.project,
36
+ * catalog: myHiveTable.catalog,
37
+ * database: myHiveTable.database,
38
+ * name: myHiveTable.name,
39
+ * policyData: admin.then(admin => admin.policyData),
40
+ * });
41
+ * ```
42
+ *
43
+ * ## gcp.biglake.HiveTableIamBinding
44
+ *
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as gcp from "@pulumi/gcp";
48
+ *
49
+ * const binding = new gcp.biglake.HiveTableIamBinding("binding", {
50
+ * project: myHiveTable.project,
51
+ * catalog: myHiveTable.catalog,
52
+ * database: myHiveTable.database,
53
+ * name: myHiveTable.name,
54
+ * role: "roles/biglake.editor",
55
+ * members: ["user:jane@example.com"],
56
+ * });
57
+ * ```
58
+ *
59
+ * ## gcp.biglake.HiveTableIamMember
60
+ *
61
+ * ```typescript
62
+ * import * as pulumi from "@pulumi/pulumi";
63
+ * import * as gcp from "@pulumi/gcp";
64
+ *
65
+ * const member = new gcp.biglake.HiveTableIamMember("member", {
66
+ * project: myHiveTable.project,
67
+ * catalog: myHiveTable.catalog,
68
+ * database: myHiveTable.database,
69
+ * name: myHiveTable.name,
70
+ * role: "roles/biglake.editor",
71
+ * member: "user:jane@example.com",
72
+ * });
73
+ * ```
74
+ *
75
+ * ## This resource supports User Project Overrides.
76
+ *
77
+ * -
78
+ *
79
+ * # IAM policy for BigLake Hive Metastore HiveTable
80
+ *
81
+ * Three different resources help you manage your IAM policy for BigLake Hive Metastore HiveTable. Each of these resources serves a different use case:
82
+ *
83
+ * * `gcp.biglake.HiveTableIamPolicy`: Authoritative. Sets the IAM policy for the hivetable and replaces any existing policy already attached.
84
+ * * `gcp.biglake.HiveTableIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the hivetable are preserved.
85
+ * * `gcp.biglake.HiveTableIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the hivetable are preserved.
86
+ *
87
+ * A data source can be used to retrieve policy data in advent you do not need creation
88
+ *
89
+ * * `gcp.biglake.HiveTableIamPolicy`: Retrieves the IAM policy for the hivetable
90
+ *
91
+ * > **Note:** `gcp.biglake.HiveTableIamPolicy` **cannot** be used in conjunction with `gcp.biglake.HiveTableIamBinding` and `gcp.biglake.HiveTableIamMember` or they will fight over what your policy should be.
92
+ *
93
+ * > **Note:** `gcp.biglake.HiveTableIamBinding` resources **can be** used in conjunction with `gcp.biglake.HiveTableIamMember` resources **only if** they do not grant privilege to the same role.
94
+ *
95
+ * > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
96
+ * See Provider Versions for more details on beta resources.
97
+ *
98
+ * ## gcp.biglake.HiveTableIamPolicy
99
+ *
100
+ * ```typescript
101
+ * import * as pulumi from "@pulumi/pulumi";
102
+ * import * as gcp from "@pulumi/gcp";
103
+ *
104
+ * const admin = gcp.organizations.getIAMPolicy({
105
+ * bindings: [{
106
+ * role: "roles/biglake.editor",
107
+ * members: ["user:jane@example.com"],
108
+ * }],
109
+ * });
110
+ * const policy = new gcp.biglake.HiveTableIamPolicy("policy", {
111
+ * project: myHiveTable.project,
112
+ * catalog: myHiveTable.catalog,
113
+ * database: myHiveTable.database,
114
+ * name: myHiveTable.name,
115
+ * policyData: admin.then(admin => admin.policyData),
116
+ * });
117
+ * ```
118
+ *
119
+ * ## gcp.biglake.HiveTableIamBinding
120
+ *
121
+ * ```typescript
122
+ * import * as pulumi from "@pulumi/pulumi";
123
+ * import * as gcp from "@pulumi/gcp";
124
+ *
125
+ * const binding = new gcp.biglake.HiveTableIamBinding("binding", {
126
+ * project: myHiveTable.project,
127
+ * catalog: myHiveTable.catalog,
128
+ * database: myHiveTable.database,
129
+ * name: myHiveTable.name,
130
+ * role: "roles/biglake.editor",
131
+ * members: ["user:jane@example.com"],
132
+ * });
133
+ * ```
134
+ *
135
+ * ## gcp.biglake.HiveTableIamMember
136
+ *
137
+ * ```typescript
138
+ * import * as pulumi from "@pulumi/pulumi";
139
+ * import * as gcp from "@pulumi/gcp";
140
+ *
141
+ * const member = new gcp.biglake.HiveTableIamMember("member", {
142
+ * project: myHiveTable.project,
143
+ * catalog: myHiveTable.catalog,
144
+ * database: myHiveTable.database,
145
+ * name: myHiveTable.name,
146
+ * role: "roles/biglake.editor",
147
+ * member: "user:jane@example.com",
148
+ * });
149
+ * ```
150
+ *
151
+ * ## Import
152
+ *
153
+ * For all import syntaxes, the "resource in question" can take any of the following forms:
154
+ *
155
+ * * projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{name}}
156
+ * * {{project}}/{{catalog}}/{{database}}/{{name}}
157
+ * * {{catalog}}/{{database}}/{{name}}
158
+ * * {{name}}
159
+ *
160
+ * Any variables not passed in the import command will be taken from the provider configuration.
161
+ *
162
+ * BigLake Hive Metastore hivetable IAM resources can be imported using the resource identifiers, role, and member.
163
+ *
164
+ * IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
165
+ * ```sh
166
+ * $ terraform import google_biglake_hive_table_iam_member.editor "projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{hive_table}} roles/biglake.editor user:jane@example.com"
167
+ * ```
168
+ *
169
+ * IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
170
+ * ```sh
171
+ * $ terraform import google_biglake_hive_table_iam_binding.editor "projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{hive_table}} roles/biglake.editor"
172
+ * ```
173
+ *
174
+ * IAM policy imports use the identifier of the resource in question, e.g.
175
+ * ```sh
176
+ * $ pulumi import gcp:biglake/hiveTableIamMember:HiveTableIamMember editor projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{hive_table}}
177
+ * ```
178
+ *
179
+ * > **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
180
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
181
+ */
182
+ export declare class HiveTableIamMember extends pulumi.CustomResource {
183
+ /**
184
+ * Get an existing HiveTableIamMember resource's state with the given name, ID, and optional extra
185
+ * properties used to qualify the lookup.
186
+ *
187
+ * @param name The _unique_ name of the resulting resource.
188
+ * @param id The _unique_ provider ID of the resource to lookup.
189
+ * @param state Any extra arguments used during the lookup.
190
+ * @param opts Optional settings to control the behavior of the CustomResource.
191
+ */
192
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HiveTableIamMemberState, opts?: pulumi.CustomResourceOptions): HiveTableIamMember;
193
+ /**
194
+ * Returns true if the given object is an instance of HiveTableIamMember. This is designed to work even
195
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
196
+ */
197
+ static isInstance(obj: any): obj is HiveTableIamMember;
198
+ /**
199
+ * The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
200
+ */
201
+ readonly catalog: pulumi.Output<string>;
202
+ readonly condition: pulumi.Output<outputs.biglake.HiveTableIamMemberCondition | undefined>;
203
+ /**
204
+ * The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
205
+ */
206
+ readonly database: pulumi.Output<string>;
207
+ /**
208
+ * (Computed) The etag of the IAM policy.
209
+ */
210
+ readonly etag: pulumi.Output<string>;
211
+ /**
212
+ * Identities that will be granted the privilege in `role`.
213
+ * Each entry can have one of the following values:
214
+ * * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
215
+ * * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
216
+ * * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
217
+ * * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
218
+ * * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
219
+ * * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
220
+ * * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
221
+ * * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
222
+ * * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
223
+ * * **Federated identities**: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the [Principal identifiers documentation](https://cloud.google.com/iam/docs/principal-identifiers#allow) for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
224
+ */
225
+ readonly member: pulumi.Output<string>;
226
+ /**
227
+ * Used to find the parent resource to bind the IAM policy to
228
+ */
229
+ readonly name: pulumi.Output<string>;
230
+ /**
231
+ * The ID of the project in which the resource belongs.
232
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
233
+ */
234
+ readonly project: pulumi.Output<string>;
235
+ /**
236
+ * The role that should be applied. Only one
237
+ * `gcp.biglake.HiveTableIamBinding` can be used per role. Note that custom roles must be of the format
238
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
239
+ */
240
+ readonly role: pulumi.Output<string>;
241
+ /**
242
+ * Create a HiveTableIamMember resource with the given unique name, arguments, and options.
243
+ *
244
+ * @param name The _unique_ name of the resource.
245
+ * @param args The arguments to use to populate this resource's properties.
246
+ * @param opts A bag of options that control this resource's behavior.
247
+ */
248
+ constructor(name: string, args: HiveTableIamMemberArgs, opts?: pulumi.CustomResourceOptions);
249
+ }
250
+ /**
251
+ * Input properties used for looking up and filtering HiveTableIamMember resources.
252
+ */
253
+ export interface HiveTableIamMemberState {
254
+ /**
255
+ * The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
256
+ */
257
+ catalog?: pulumi.Input<string | undefined>;
258
+ condition?: pulumi.Input<inputs.biglake.HiveTableIamMemberCondition | undefined>;
259
+ /**
260
+ * The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
261
+ */
262
+ database?: pulumi.Input<string | undefined>;
263
+ /**
264
+ * (Computed) The etag of the IAM policy.
265
+ */
266
+ etag?: pulumi.Input<string | undefined>;
267
+ /**
268
+ * Identities that will be granted the privilege in `role`.
269
+ * Each entry can have one of the following values:
270
+ * * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
271
+ * * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
272
+ * * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
273
+ * * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
274
+ * * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
275
+ * * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
276
+ * * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
277
+ * * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
278
+ * * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
279
+ * * **Federated identities**: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the [Principal identifiers documentation](https://cloud.google.com/iam/docs/principal-identifiers#allow) for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
280
+ */
281
+ member?: pulumi.Input<string | undefined>;
282
+ /**
283
+ * Used to find the parent resource to bind the IAM policy to
284
+ */
285
+ name?: pulumi.Input<string | undefined>;
286
+ /**
287
+ * The ID of the project in which the resource belongs.
288
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
289
+ */
290
+ project?: pulumi.Input<string | undefined>;
291
+ /**
292
+ * The role that should be applied. Only one
293
+ * `gcp.biglake.HiveTableIamBinding` can be used per role. Note that custom roles must be of the format
294
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
295
+ */
296
+ role?: pulumi.Input<string | undefined>;
297
+ }
298
+ /**
299
+ * The set of arguments for constructing a HiveTableIamMember resource.
300
+ */
301
+ export interface HiveTableIamMemberArgs {
302
+ /**
303
+ * The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
304
+ */
305
+ catalog: pulumi.Input<string>;
306
+ condition?: pulumi.Input<inputs.biglake.HiveTableIamMemberCondition | undefined>;
307
+ /**
308
+ * The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
309
+ */
310
+ database: pulumi.Input<string>;
311
+ /**
312
+ * Identities that will be granted the privilege in `role`.
313
+ * Each entry can have one of the following values:
314
+ * * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
315
+ * * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
316
+ * * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
317
+ * * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
318
+ * * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
319
+ * * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
320
+ * * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
321
+ * * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
322
+ * * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
323
+ * * **Federated identities**: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the [Principal identifiers documentation](https://cloud.google.com/iam/docs/principal-identifiers#allow) for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
324
+ */
325
+ member: pulumi.Input<string>;
326
+ /**
327
+ * Used to find the parent resource to bind the IAM policy to
328
+ */
329
+ name?: pulumi.Input<string | undefined>;
330
+ /**
331
+ * The ID of the project in which the resource belongs.
332
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
333
+ */
334
+ project?: pulumi.Input<string | undefined>;
335
+ /**
336
+ * The role that should be applied. Only one
337
+ * `gcp.biglake.HiveTableIamBinding` can be used per role. Note that custom roles must be of the format
338
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
339
+ */
340
+ role: pulumi.Input<string>;
341
+ }
342
+ //# sourceMappingURL=hiveTableIamMember.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hiveTableIamMember.d.ts","sourceRoot":"","sources":["../../biglake/hiveTableIamMember.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiLG;AACH,qBAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAA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CAAC,MAAM,CAAC,CAAC;CAC9B"}
@@ -0,0 +1,276 @@
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.HiveTableIamMember = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Three different resources help you manage your IAM policy for BigLake Hive Metastore HiveTable. Each of these resources serves a different use case:
33
+ *
34
+ * * `gcp.biglake.HiveTableIamPolicy`: Authoritative. Sets the IAM policy for the hivetable and replaces any existing policy already attached.
35
+ * * `gcp.biglake.HiveTableIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the hivetable are preserved.
36
+ * * `gcp.biglake.HiveTableIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the hivetable are preserved.
37
+ *
38
+ * A data source can be used to retrieve policy data in advent you do not need creation
39
+ *
40
+ * * `gcp.biglake.HiveTableIamPolicy`: Retrieves the IAM policy for the hivetable
41
+ *
42
+ * > **Note:** `gcp.biglake.HiveTableIamPolicy` **cannot** be used in conjunction with `gcp.biglake.HiveTableIamBinding` and `gcp.biglake.HiveTableIamMember` or they will fight over what your policy should be.
43
+ *
44
+ * > **Note:** `gcp.biglake.HiveTableIamBinding` resources **can be** used in conjunction with `gcp.biglake.HiveTableIamMember` resources **only if** they do not grant privilege to the same role.
45
+ *
46
+ * > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
47
+ * See Provider Versions for more details on beta resources.
48
+ *
49
+ * ## gcp.biglake.HiveTableIamPolicy
50
+ *
51
+ * ```typescript
52
+ * import * as pulumi from "@pulumi/pulumi";
53
+ * import * as gcp from "@pulumi/gcp";
54
+ *
55
+ * const admin = gcp.organizations.getIAMPolicy({
56
+ * bindings: [{
57
+ * role: "roles/biglake.editor",
58
+ * members: ["user:jane@example.com"],
59
+ * }],
60
+ * });
61
+ * const policy = new gcp.biglake.HiveTableIamPolicy("policy", {
62
+ * project: myHiveTable.project,
63
+ * catalog: myHiveTable.catalog,
64
+ * database: myHiveTable.database,
65
+ * name: myHiveTable.name,
66
+ * policyData: admin.then(admin => admin.policyData),
67
+ * });
68
+ * ```
69
+ *
70
+ * ## gcp.biglake.HiveTableIamBinding
71
+ *
72
+ * ```typescript
73
+ * import * as pulumi from "@pulumi/pulumi";
74
+ * import * as gcp from "@pulumi/gcp";
75
+ *
76
+ * const binding = new gcp.biglake.HiveTableIamBinding("binding", {
77
+ * project: myHiveTable.project,
78
+ * catalog: myHiveTable.catalog,
79
+ * database: myHiveTable.database,
80
+ * name: myHiveTable.name,
81
+ * role: "roles/biglake.editor",
82
+ * members: ["user:jane@example.com"],
83
+ * });
84
+ * ```
85
+ *
86
+ * ## gcp.biglake.HiveTableIamMember
87
+ *
88
+ * ```typescript
89
+ * import * as pulumi from "@pulumi/pulumi";
90
+ * import * as gcp from "@pulumi/gcp";
91
+ *
92
+ * const member = new gcp.biglake.HiveTableIamMember("member", {
93
+ * project: myHiveTable.project,
94
+ * catalog: myHiveTable.catalog,
95
+ * database: myHiveTable.database,
96
+ * name: myHiveTable.name,
97
+ * role: "roles/biglake.editor",
98
+ * member: "user:jane@example.com",
99
+ * });
100
+ * ```
101
+ *
102
+ * ## This resource supports User Project Overrides.
103
+ *
104
+ * -
105
+ *
106
+ * # IAM policy for BigLake Hive Metastore HiveTable
107
+ *
108
+ * Three different resources help you manage your IAM policy for BigLake Hive Metastore HiveTable. Each of these resources serves a different use case:
109
+ *
110
+ * * `gcp.biglake.HiveTableIamPolicy`: Authoritative. Sets the IAM policy for the hivetable and replaces any existing policy already attached.
111
+ * * `gcp.biglake.HiveTableIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the hivetable are preserved.
112
+ * * `gcp.biglake.HiveTableIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the hivetable are preserved.
113
+ *
114
+ * A data source can be used to retrieve policy data in advent you do not need creation
115
+ *
116
+ * * `gcp.biglake.HiveTableIamPolicy`: Retrieves the IAM policy for the hivetable
117
+ *
118
+ * > **Note:** `gcp.biglake.HiveTableIamPolicy` **cannot** be used in conjunction with `gcp.biglake.HiveTableIamBinding` and `gcp.biglake.HiveTableIamMember` or they will fight over what your policy should be.
119
+ *
120
+ * > **Note:** `gcp.biglake.HiveTableIamBinding` resources **can be** used in conjunction with `gcp.biglake.HiveTableIamMember` resources **only if** they do not grant privilege to the same role.
121
+ *
122
+ * > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
123
+ * See Provider Versions for more details on beta resources.
124
+ *
125
+ * ## gcp.biglake.HiveTableIamPolicy
126
+ *
127
+ * ```typescript
128
+ * import * as pulumi from "@pulumi/pulumi";
129
+ * import * as gcp from "@pulumi/gcp";
130
+ *
131
+ * const admin = gcp.organizations.getIAMPolicy({
132
+ * bindings: [{
133
+ * role: "roles/biglake.editor",
134
+ * members: ["user:jane@example.com"],
135
+ * }],
136
+ * });
137
+ * const policy = new gcp.biglake.HiveTableIamPolicy("policy", {
138
+ * project: myHiveTable.project,
139
+ * catalog: myHiveTable.catalog,
140
+ * database: myHiveTable.database,
141
+ * name: myHiveTable.name,
142
+ * policyData: admin.then(admin => admin.policyData),
143
+ * });
144
+ * ```
145
+ *
146
+ * ## gcp.biglake.HiveTableIamBinding
147
+ *
148
+ * ```typescript
149
+ * import * as pulumi from "@pulumi/pulumi";
150
+ * import * as gcp from "@pulumi/gcp";
151
+ *
152
+ * const binding = new gcp.biglake.HiveTableIamBinding("binding", {
153
+ * project: myHiveTable.project,
154
+ * catalog: myHiveTable.catalog,
155
+ * database: myHiveTable.database,
156
+ * name: myHiveTable.name,
157
+ * role: "roles/biglake.editor",
158
+ * members: ["user:jane@example.com"],
159
+ * });
160
+ * ```
161
+ *
162
+ * ## gcp.biglake.HiveTableIamMember
163
+ *
164
+ * ```typescript
165
+ * import * as pulumi from "@pulumi/pulumi";
166
+ * import * as gcp from "@pulumi/gcp";
167
+ *
168
+ * const member = new gcp.biglake.HiveTableIamMember("member", {
169
+ * project: myHiveTable.project,
170
+ * catalog: myHiveTable.catalog,
171
+ * database: myHiveTable.database,
172
+ * name: myHiveTable.name,
173
+ * role: "roles/biglake.editor",
174
+ * member: "user:jane@example.com",
175
+ * });
176
+ * ```
177
+ *
178
+ * ## Import
179
+ *
180
+ * For all import syntaxes, the "resource in question" can take any of the following forms:
181
+ *
182
+ * * projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{name}}
183
+ * * {{project}}/{{catalog}}/{{database}}/{{name}}
184
+ * * {{catalog}}/{{database}}/{{name}}
185
+ * * {{name}}
186
+ *
187
+ * Any variables not passed in the import command will be taken from the provider configuration.
188
+ *
189
+ * BigLake Hive Metastore hivetable IAM resources can be imported using the resource identifiers, role, and member.
190
+ *
191
+ * IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
192
+ * ```sh
193
+ * $ terraform import google_biglake_hive_table_iam_member.editor "projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{hive_table}} roles/biglake.editor user:jane@example.com"
194
+ * ```
195
+ *
196
+ * IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
197
+ * ```sh
198
+ * $ terraform import google_biglake_hive_table_iam_binding.editor "projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{hive_table}} roles/biglake.editor"
199
+ * ```
200
+ *
201
+ * IAM policy imports use the identifier of the resource in question, e.g.
202
+ * ```sh
203
+ * $ pulumi import gcp:biglake/hiveTableIamMember:HiveTableIamMember editor projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{hive_table}}
204
+ * ```
205
+ *
206
+ * > **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
207
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
208
+ */
209
+ class HiveTableIamMember extends pulumi.CustomResource {
210
+ /**
211
+ * Get an existing HiveTableIamMember resource's state with the given name, ID, and optional extra
212
+ * properties used to qualify the lookup.
213
+ *
214
+ * @param name The _unique_ name of the resulting resource.
215
+ * @param id The _unique_ provider ID of the resource to lookup.
216
+ * @param state Any extra arguments used during the lookup.
217
+ * @param opts Optional settings to control the behavior of the CustomResource.
218
+ */
219
+ static get(name, id, state, opts) {
220
+ return new HiveTableIamMember(name, state, { ...opts, id: id });
221
+ }
222
+ /** @internal */
223
+ static __pulumiType = 'gcp:biglake/hiveTableIamMember:HiveTableIamMember';
224
+ /**
225
+ * Returns true if the given object is an instance of HiveTableIamMember. This is designed to work even
226
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
227
+ */
228
+ static isInstance(obj) {
229
+ if (obj === undefined || obj === null) {
230
+ return false;
231
+ }
232
+ return obj['__pulumiType'] === HiveTableIamMember.__pulumiType;
233
+ }
234
+ constructor(name, argsOrState, opts) {
235
+ let resourceInputs = {};
236
+ opts = opts || {};
237
+ if (opts.id) {
238
+ const state = argsOrState;
239
+ resourceInputs["catalog"] = state?.catalog;
240
+ resourceInputs["condition"] = state?.condition;
241
+ resourceInputs["database"] = state?.database;
242
+ resourceInputs["etag"] = state?.etag;
243
+ resourceInputs["member"] = state?.member;
244
+ resourceInputs["name"] = state?.name;
245
+ resourceInputs["project"] = state?.project;
246
+ resourceInputs["role"] = state?.role;
247
+ }
248
+ else {
249
+ const args = argsOrState;
250
+ if (args?.catalog === undefined && !opts.urn) {
251
+ throw new Error("Missing required property 'catalog'");
252
+ }
253
+ if (args?.database === undefined && !opts.urn) {
254
+ throw new Error("Missing required property 'database'");
255
+ }
256
+ if (args?.member === undefined && !opts.urn) {
257
+ throw new Error("Missing required property 'member'");
258
+ }
259
+ if (args?.role === undefined && !opts.urn) {
260
+ throw new Error("Missing required property 'role'");
261
+ }
262
+ resourceInputs["catalog"] = args?.catalog;
263
+ resourceInputs["condition"] = args?.condition;
264
+ resourceInputs["database"] = args?.database;
265
+ resourceInputs["member"] = args?.member;
266
+ resourceInputs["name"] = args?.name;
267
+ resourceInputs["project"] = args?.project;
268
+ resourceInputs["role"] = args?.role;
269
+ resourceInputs["etag"] = undefined /*out*/;
270
+ }
271
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
272
+ super(HiveTableIamMember.__pulumiType, name, resourceInputs, opts);
273
+ }
274
+ }
275
+ exports.HiveTableIamMember = HiveTableIamMember;
276
+ //# sourceMappingURL=hiveTableIamMember.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hiveTableIamMember.js","sourceRoot":"","sources":["../../biglake/hiveTableIamMember.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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