@pulumi/gcp 9.15.0 → 9.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backupdisasterrecovery/backupPlan.d.ts +1 -0
- package/backupdisasterrecovery/backupPlan.js +1 -0
- package/backupdisasterrecovery/backupPlan.js.map +1 -1
- package/biglake/getIcebergTableIamPolicy.d.ts +79 -0
- package/biglake/getIcebergTableIamPolicy.js +34 -0
- package/biglake/getIcebergTableIamPolicy.js.map +1 -0
- package/biglake/icebergTable.d.ts +262 -0
- package/biglake/icebergTable.js +185 -0
- package/biglake/icebergTable.js.map +1 -0
- package/biglake/icebergTableIamBinding.d.ts +217 -0
- package/biglake/icebergTableIamBinding.js +123 -0
- package/biglake/icebergTableIamBinding.js.map +1 -0
- package/biglake/icebergTableIamMember.d.ts +217 -0
- package/biglake/icebergTableIamMember.js +123 -0
- package/biglake/icebergTableIamMember.js.map +1 -0
- package/biglake/icebergTableIamPolicy.d.ts +164 -0
- package/biglake/icebergTableIamPolicy.js +116 -0
- package/biglake/icebergTableIamPolicy.js.map +1 -0
- package/biglake/index.d.ts +15 -0
- package/biglake/index.js +24 -1
- package/biglake/index.js.map +1 -1
- package/bigquery/connection.d.ts +1 -1
- package/bigquery/connection.js +1 -1
- package/bigquery/routine.d.ts +1 -1
- package/bigquery/routine.js +1 -1
- package/billing/projectInfo.d.ts +2 -2
- package/billing/projectInfo.js +2 -2
- package/ces/toolset.d.ts +3 -1
- package/ces/toolset.js +3 -1
- package/ces/toolset.js.map +1 -1
- package/chronicle/dataTable.d.ts +382 -0
- package/chronicle/dataTable.js +207 -0
- package/chronicle/dataTable.js.map +1 -0
- package/chronicle/index.d.ts +3 -0
- package/chronicle/index.js +6 -1
- package/chronicle/index.js.map +1 -1
- package/cloudrunv2/service.d.ts +1 -1
- package/cloudrunv2/service.js +1 -1
- package/compute/organizationSecurityPolicyRule.d.ts +1 -1
- package/compute/organizationSecurityPolicyRule.js +1 -1
- package/compute/regionBackendService.d.ts +41 -3
- package/compute/regionBackendService.js +38 -0
- package/compute/regionBackendService.js.map +1 -1
- package/compute/regionNetworkFirewallPolicyRule.d.ts +86 -0
- package/compute/regionNetworkFirewallPolicyRule.js +39 -0
- package/compute/regionNetworkFirewallPolicyRule.js.map +1 -1
- package/compute/resourcePolicy.d.ts +16 -0
- package/compute/resourcePolicy.js +16 -0
- package/compute/resourcePolicy.js.map +1 -1
- package/compute/rolloutPlan.d.ts +1 -1
- package/compute/rolloutPlan.js +1 -1
- package/compute/router.d.ts +1 -1
- package/compute/router.js +1 -1
- package/compute/targetInstance.d.ts +2 -2
- package/compute/targetInstance.js +2 -2
- package/contactcenterinsights/autoLabelingRule.d.ts +223 -0
- package/contactcenterinsights/autoLabelingRule.js +102 -0
- package/contactcenterinsights/autoLabelingRule.js.map +1 -0
- package/contactcenterinsights/index.d.ts +3 -0
- package/contactcenterinsights/index.js +6 -1
- package/contactcenterinsights/index.js.map +1 -1
- package/databasemigrationservice/connectionProfile.d.ts +3 -3
- package/databasemigrationservice/connectionProfile.js +3 -3
- package/dataform/folder.d.ts +1 -1
- package/dataform/folder.js +1 -1
- package/dataform/teamFolder.d.ts +1 -1
- package/dataform/teamFolder.js +1 -1
- package/dataplex/dataAsset.d.ts +5 -5
- package/dataplex/dataAsset.js +5 -5
- package/dataplex/dataProduct.d.ts +3 -3
- package/dataplex/dataProduct.js +3 -3
- package/dataplex/dataProductDataAsset.d.ts +5 -5
- package/dataplex/dataProductDataAsset.js +5 -5
- package/dataplex/datascan.d.ts +9 -9
- package/dataplex/datascan.js +9 -9
- package/dataplex/entryLink.d.ts +11 -11
- package/dataplex/entryLink.js +11 -11
- package/dataplex/entryType.d.ts +1 -1
- package/dataplex/entryType.js +1 -1
- package/dataplex/glossaryCategory.d.ts +4 -4
- package/dataplex/glossaryCategory.js +4 -4
- package/dataplex/glossaryTerm.d.ts +4 -4
- package/dataplex/glossaryTerm.js +4 -4
- package/dataplex/task.d.ts +8 -8
- package/dataplex/task.js +8 -8
- package/dataproc/batch.d.ts +5 -5
- package/dataproc/batch.js +5 -5
- package/datastream/stream.d.ts +2 -2
- package/datastream/stream.js +2 -2
- package/developerconnect/insightsConfig.d.ts +5 -5
- package/developerconnect/insightsConfig.js +5 -5
- package/discoveryengine/dataStore.d.ts +2 -2
- package/discoveryengine/dataStore.js +0 -3
- package/discoveryengine/dataStore.js.map +1 -1
- package/discoveryengine/searchEngine.d.ts +11 -3
- package/discoveryengine/searchEngine.js +9 -1
- package/discoveryengine/searchEngine.js.map +1 -1
- package/firestore/field.d.ts +3 -3
- package/firestore/field.js +3 -3
- package/gkehub/membershipBinding.d.ts +3 -3
- package/gkehub/membershipBinding.js +3 -3
- package/gkehub/membershipRbacRoleBinding.d.ts +2 -2
- package/gkehub/membershipRbacRoleBinding.js +2 -2
- package/gkehub/namespace.d.ts +2 -2
- package/gkehub/namespace.js +2 -2
- package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
- package/gkehub/scopeRbacRoleBinding.js +4 -4
- package/iam/workforcePoolProvider.d.ts +15 -0
- package/iam/workforcePoolProvider.js.map +1 -1
- package/iap/tunnelDestGroup.d.ts +1 -1
- package/iap/tunnelDestGroup.js +1 -1
- package/integrationconnectors/managedZone.d.ts +4 -4
- package/integrationconnectors/managedZone.js +4 -4
- package/memorystore/getInstance.d.ts +2 -0
- package/memorystore/getInstance.js.map +1 -1
- package/memorystore/instance.d.ts +125 -0
- package/memorystore/instance.js +93 -0
- package/memorystore/instance.js.map +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
- package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
- package/networkconnectivity/spoke.d.ts +8 -8
- package/networkconnectivity/spoke.js +8 -8
- package/networksecurity/index.d.ts +6 -0
- package/networksecurity/index.js +11 -1
- package/networksecurity/index.js.map +1 -1
- package/networksecurity/ullMirroringCollector.d.ts +304 -0
- package/networksecurity/ullMirroringCollector.js +168 -0
- package/networksecurity/ullMirroringCollector.js.map +1 -0
- package/networksecurity/ullMirroringEngine.d.ts +212 -0
- package/networksecurity/ullMirroringEngine.js +115 -0
- package/networksecurity/ullMirroringEngine.js.map +1 -0
- package/networkservices/authzExtension.d.ts +2 -3
- package/networkservices/authzExtension.js +0 -4
- package/networkservices/authzExtension.js.map +1 -1
- package/observability/folderSettings.d.ts +2 -2
- package/observability/folderSettings.js +2 -2
- package/observability/projectSettings.d.ts +2 -2
- package/observability/projectSettings.js +2 -2
- package/observability/traceScope.d.ts +2 -5
- package/observability/traceScope.js +2 -5
- package/observability/traceScope.js.map +1 -1
- package/oracledatabase/dbSystem.d.ts +2 -1
- package/oracledatabase/dbSystem.js +2 -1
- package/oracledatabase/dbSystem.js.map +1 -1
- package/orgpolicy/policy.d.ts +1 -1
- package/orgpolicy/policy.js +1 -1
- package/package.json +2 -2
- package/pubsub/subscription.d.ts +4 -4
- package/pubsub/subscription.js +4 -4
- package/redis/cluster.d.ts +117 -0
- package/redis/cluster.js +85 -0
- package/redis/cluster.js.map +1 -1
- package/redis/getCluster.d.ts +2 -0
- package/redis/getCluster.js.map +1 -1
- package/sql/index.d.ts +3 -0
- package/sql/index.js +6 -1
- package/sql/index.js.map +1 -1
- package/sql/provisionScript.d.ts +197 -0
- package/sql/provisionScript.js +118 -0
- package/sql/provisionScript.js.map +1 -0
- package/types/input.d.ts +215 -3
- package/types/output.d.ts +255 -9
- package/vertex/aiEndpoint.d.ts +3 -3
- package/vertex/aiEndpoint.js +3 -3
- package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
- package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
|
@@ -92,6 +92,7 @@ import * as outputs from "../types/output";
|
|
|
92
92
|
* backupPlanId: "backup-plan-csql-test",
|
|
93
93
|
* resourceType: "sqladmin.googleapis.com/Instance",
|
|
94
94
|
* backupVault: myBackupVault.id,
|
|
95
|
+
* maxCustomOnDemandRetentionDays: 30,
|
|
95
96
|
* backupRules: [{
|
|
96
97
|
* ruleId: "rule-1",
|
|
97
98
|
* backupRetentionDays: 5,
|
|
@@ -96,6 +96,7 @@ const utilities = require("../utilities");
|
|
|
96
96
|
* backupPlanId: "backup-plan-csql-test",
|
|
97
97
|
* resourceType: "sqladmin.googleapis.com/Instance",
|
|
98
98
|
* backupVault: myBackupVault.id,
|
|
99
|
+
* maxCustomOnDemandRetentionDays: 30,
|
|
99
100
|
* backupRules: [{
|
|
100
101
|
* ruleId: "rule-1",
|
|
101
102
|
* backupRetentionDays: 5,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backupPlan.js","sourceRoot":"","sources":["../../backupdisasterrecovery/backupPlan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"backupPlan.js","sourceRoot":"","sources":["../../backupdisasterrecovery/backupPlan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2JG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,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AAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AArJL,gCAsJC;AAxIG,gBAAgB;AACO,uBAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Retrieves the current IAM policy data for icebergtable
|
|
4
|
+
*/
|
|
5
|
+
export declare function getIcebergTableIamPolicy(args: GetIcebergTableIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetIcebergTableIamPolicyResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getIcebergTableIamPolicy.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetIcebergTableIamPolicyArgs {
|
|
10
|
+
/**
|
|
11
|
+
* The name of the IcebergCatalog.
|
|
12
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
13
|
+
*/
|
|
14
|
+
catalog: string;
|
|
15
|
+
/**
|
|
16
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
/**
|
|
20
|
+
* The parent namespace of the table.
|
|
21
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
22
|
+
*/
|
|
23
|
+
namespace: string;
|
|
24
|
+
/**
|
|
25
|
+
* The ID of the project in which the resource belongs.
|
|
26
|
+
* 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.
|
|
27
|
+
*/
|
|
28
|
+
project?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getIcebergTableIamPolicy.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetIcebergTableIamPolicyResult {
|
|
34
|
+
readonly catalog: string;
|
|
35
|
+
/**
|
|
36
|
+
* (Computed) The etag of the IAM policy.
|
|
37
|
+
*/
|
|
38
|
+
readonly etag: string;
|
|
39
|
+
/**
|
|
40
|
+
* The provider-assigned unique ID for this managed resource.
|
|
41
|
+
*/
|
|
42
|
+
readonly id: string;
|
|
43
|
+
readonly name: string;
|
|
44
|
+
readonly namespace: string;
|
|
45
|
+
/**
|
|
46
|
+
* (Required only by `gcp.biglake.IcebergTableIamPolicy`) The policy data generated by
|
|
47
|
+
* a `gcp.organizations.getIAMPolicy` data source.
|
|
48
|
+
*/
|
|
49
|
+
readonly policyData: string;
|
|
50
|
+
readonly project: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Retrieves the current IAM policy data for icebergtable
|
|
54
|
+
*/
|
|
55
|
+
export declare function getIcebergTableIamPolicyOutput(args: GetIcebergTableIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIcebergTableIamPolicyResult>;
|
|
56
|
+
/**
|
|
57
|
+
* A collection of arguments for invoking getIcebergTableIamPolicy.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetIcebergTableIamPolicyOutputArgs {
|
|
60
|
+
/**
|
|
61
|
+
* The name of the IcebergCatalog.
|
|
62
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
63
|
+
*/
|
|
64
|
+
catalog: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
67
|
+
*/
|
|
68
|
+
name: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The parent namespace of the table.
|
|
71
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
72
|
+
*/
|
|
73
|
+
namespace: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the project in which the resource belongs.
|
|
76
|
+
* 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.
|
|
77
|
+
*/
|
|
78
|
+
project?: pulumi.Input<string>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getIcebergTableIamPolicyOutput = exports.getIcebergTableIamPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves the current IAM policy data for icebergtable
|
|
10
|
+
*/
|
|
11
|
+
function getIcebergTableIamPolicy(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("gcp:biglake/getIcebergTableIamPolicy:getIcebergTableIamPolicy", {
|
|
14
|
+
"catalog": args.catalog,
|
|
15
|
+
"name": args.name,
|
|
16
|
+
"namespace": args.namespace,
|
|
17
|
+
"project": args.project,
|
|
18
|
+
}, opts);
|
|
19
|
+
}
|
|
20
|
+
exports.getIcebergTableIamPolicy = getIcebergTableIamPolicy;
|
|
21
|
+
/**
|
|
22
|
+
* Retrieves the current IAM policy data for icebergtable
|
|
23
|
+
*/
|
|
24
|
+
function getIcebergTableIamPolicyOutput(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invokeOutput("gcp:biglake/getIcebergTableIamPolicy:getIcebergTableIamPolicy", {
|
|
27
|
+
"catalog": args.catalog,
|
|
28
|
+
"name": args.name,
|
|
29
|
+
"namespace": args.namespace,
|
|
30
|
+
"project": args.project,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.getIcebergTableIamPolicyOutput = getIcebergTableIamPolicyOutput;
|
|
34
|
+
//# sourceMappingURL=getIcebergTableIamPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIcebergTableIamPolicy.js","sourceRoot":"","sources":["../../biglake/getIcebergTableIamPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC;AAiDD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAAiC;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+DAA+D,EAAE;QAChG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wEAQC"}
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* IcebergTables are the primary objects in an IcebergCatalog.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Biglake Iceberg Table Basic
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as gcp from "@pulumi/gcp";
|
|
14
|
+
*
|
|
15
|
+
* const bucket = new gcp.storage.Bucket("bucket", {
|
|
16
|
+
* name: "my-bucket-_15222",
|
|
17
|
+
* location: "us-central1",
|
|
18
|
+
* forceDestroy: true,
|
|
19
|
+
* uniformBucketLevelAccess: true,
|
|
20
|
+
* });
|
|
21
|
+
* const catalog = new gcp.biglake.IcebergCatalog("catalog", {
|
|
22
|
+
* name: bucket.name,
|
|
23
|
+
* catalogType: "CATALOG_TYPE_GCS_BUCKET",
|
|
24
|
+
* });
|
|
25
|
+
* const namespace = new gcp.biglake.IcebergNamespace("namespace", {
|
|
26
|
+
* catalog: catalog.name,
|
|
27
|
+
* namespaceId: "my_namespace__81126",
|
|
28
|
+
* });
|
|
29
|
+
* const myIcebergTable = new gcp.biglake.IcebergTable("my_iceberg_table", {
|
|
30
|
+
* catalog: catalog.name,
|
|
31
|
+
* namespace: namespace.namespaceId,
|
|
32
|
+
* name: "my_table__88717",
|
|
33
|
+
* location: pulumi.interpolate`gs://${bucket.name}/${namespace.namespaceId}/my_table__85794`,
|
|
34
|
+
* schema: {
|
|
35
|
+
* type: "struct",
|
|
36
|
+
* fields: [
|
|
37
|
+
* {
|
|
38
|
+
* id: 1,
|
|
39
|
+
* name: "id",
|
|
40
|
+
* type: "long",
|
|
41
|
+
* required: true,
|
|
42
|
+
* doc: "The ID of the record",
|
|
43
|
+
* },
|
|
44
|
+
* {
|
|
45
|
+
* id: 2,
|
|
46
|
+
* name: "name",
|
|
47
|
+
* type: "string",
|
|
48
|
+
* required: false,
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* identifierFieldIds: [1],
|
|
52
|
+
* },
|
|
53
|
+
* partitionSpec: {
|
|
54
|
+
* fields: [{
|
|
55
|
+
* name: "id_partition",
|
|
56
|
+
* sourceId: 1,
|
|
57
|
+
* transform: "identity",
|
|
58
|
+
* }],
|
|
59
|
+
* },
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
* ### Biglake Iceberg Table Update
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as gcp from "@pulumi/gcp";
|
|
67
|
+
*
|
|
68
|
+
* const bucket = new gcp.storage.Bucket("bucket", {
|
|
69
|
+
* name: "my-bucket-_21197",
|
|
70
|
+
* location: "us-central1",
|
|
71
|
+
* forceDestroy: true,
|
|
72
|
+
* uniformBucketLevelAccess: true,
|
|
73
|
+
* });
|
|
74
|
+
* const catalog = new gcp.biglake.IcebergCatalog("catalog", {
|
|
75
|
+
* name: bucket.name,
|
|
76
|
+
* catalogType: "CATALOG_TYPE_GCS_BUCKET",
|
|
77
|
+
* });
|
|
78
|
+
* const namespace = new gcp.biglake.IcebergNamespace("namespace", {
|
|
79
|
+
* catalog: catalog.name,
|
|
80
|
+
* namespaceId: "my_namespace__52865",
|
|
81
|
+
* });
|
|
82
|
+
* const myIcebergTable = new gcp.biglake.IcebergTable("my_iceberg_table", {
|
|
83
|
+
* catalog: catalog.name,
|
|
84
|
+
* namespace: namespace.namespaceId,
|
|
85
|
+
* name: "my_table__85840",
|
|
86
|
+
* schema: {
|
|
87
|
+
* type: "struct",
|
|
88
|
+
* fields: [{
|
|
89
|
+
* id: 1,
|
|
90
|
+
* name: "id",
|
|
91
|
+
* type: "long",
|
|
92
|
+
* required: true,
|
|
93
|
+
* }],
|
|
94
|
+
* },
|
|
95
|
+
* properties: {
|
|
96
|
+
* key: "value",
|
|
97
|
+
* },
|
|
98
|
+
* });
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* ## Import
|
|
102
|
+
*
|
|
103
|
+
* IcebergTable can be imported using any of these accepted formats:
|
|
104
|
+
*
|
|
105
|
+
* * `projects/{{project}}/catalogs/{{catalog}}/namespaces/{{namespace}}/tables/{{name}}`
|
|
106
|
+
* * `{{project}}/{{catalog}}/{{namespace}}/{{name}}`
|
|
107
|
+
* * `{{catalog}}/{{namespace}}/{{name}}`
|
|
108
|
+
*
|
|
109
|
+
* When using the `pulumi import` command, IcebergTable can be imported using one of the formats above. For example:
|
|
110
|
+
*
|
|
111
|
+
* ```sh
|
|
112
|
+
* $ pulumi import gcp:biglake/icebergTable:IcebergTable default projects/{{project}}/catalogs/{{catalog}}/namespaces/{{namespace}}/tables/{{name}}
|
|
113
|
+
* $ pulumi import gcp:biglake/icebergTable:IcebergTable default {{project}}/{{catalog}}/{{namespace}}/{{name}}
|
|
114
|
+
* $ pulumi import gcp:biglake/icebergTable:IcebergTable default {{catalog}}/{{namespace}}/{{name}}
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
export declare class IcebergTable extends pulumi.CustomResource {
|
|
118
|
+
/**
|
|
119
|
+
* Get an existing IcebergTable resource's state with the given name, ID, and optional extra
|
|
120
|
+
* properties used to qualify the lookup.
|
|
121
|
+
*
|
|
122
|
+
* @param name The _unique_ name of the resulting resource.
|
|
123
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
124
|
+
* @param state Any extra arguments used during the lookup.
|
|
125
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
126
|
+
*/
|
|
127
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IcebergTableState, opts?: pulumi.CustomResourceOptions): IcebergTable;
|
|
128
|
+
/**
|
|
129
|
+
* Returns true if the given object is an instance of IcebergTable. This is designed to work even
|
|
130
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
131
|
+
*/
|
|
132
|
+
static isInstance(obj: any): obj is IcebergTable;
|
|
133
|
+
/**
|
|
134
|
+
* The name of the IcebergCatalog.
|
|
135
|
+
*/
|
|
136
|
+
readonly catalog: pulumi.Output<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The location of the table.
|
|
139
|
+
*/
|
|
140
|
+
readonly location: pulumi.Output<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The name of the table.
|
|
143
|
+
*/
|
|
144
|
+
readonly name: pulumi.Output<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The parent namespace of the table.
|
|
147
|
+
*/
|
|
148
|
+
readonly namespace: pulumi.Output<string>;
|
|
149
|
+
/**
|
|
150
|
+
* The partition spec of the table.
|
|
151
|
+
* Structure is documented below.
|
|
152
|
+
*/
|
|
153
|
+
readonly partitionSpec: pulumi.Output<outputs.biglake.IcebergTablePartitionSpec>;
|
|
154
|
+
/**
|
|
155
|
+
* The ID of the project in which the resource belongs.
|
|
156
|
+
* If it is not provided, the provider project is used.
|
|
157
|
+
*/
|
|
158
|
+
readonly project: pulumi.Output<string>;
|
|
159
|
+
/**
|
|
160
|
+
* User-defined properties for the table.
|
|
161
|
+
*/
|
|
162
|
+
readonly properties: pulumi.Output<{
|
|
163
|
+
[key: string]: string;
|
|
164
|
+
}>;
|
|
165
|
+
/**
|
|
166
|
+
* The schema of the table.
|
|
167
|
+
* Structure is documented below.
|
|
168
|
+
*/
|
|
169
|
+
readonly schema: pulumi.Output<outputs.biglake.IcebergTableSchema>;
|
|
170
|
+
/**
|
|
171
|
+
* Create a IcebergTable 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: IcebergTableArgs, opts?: pulumi.CustomResourceOptions);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Input properties used for looking up and filtering IcebergTable resources.
|
|
181
|
+
*/
|
|
182
|
+
export interface IcebergTableState {
|
|
183
|
+
/**
|
|
184
|
+
* The name of the IcebergCatalog.
|
|
185
|
+
*/
|
|
186
|
+
catalog?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* The location of the table.
|
|
189
|
+
*/
|
|
190
|
+
location?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* The name of the table.
|
|
193
|
+
*/
|
|
194
|
+
name?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* The parent namespace of the table.
|
|
197
|
+
*/
|
|
198
|
+
namespace?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* The partition spec of the table.
|
|
201
|
+
* Structure is documented below.
|
|
202
|
+
*/
|
|
203
|
+
partitionSpec?: pulumi.Input<inputs.biglake.IcebergTablePartitionSpec>;
|
|
204
|
+
/**
|
|
205
|
+
* The ID of the project in which the resource belongs.
|
|
206
|
+
* If it is not provided, the provider project is used.
|
|
207
|
+
*/
|
|
208
|
+
project?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* User-defined properties for the table.
|
|
211
|
+
*/
|
|
212
|
+
properties?: pulumi.Input<{
|
|
213
|
+
[key: string]: pulumi.Input<string>;
|
|
214
|
+
}>;
|
|
215
|
+
/**
|
|
216
|
+
* The schema of the table.
|
|
217
|
+
* Structure is documented below.
|
|
218
|
+
*/
|
|
219
|
+
schema?: pulumi.Input<inputs.biglake.IcebergTableSchema>;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* The set of arguments for constructing a IcebergTable resource.
|
|
223
|
+
*/
|
|
224
|
+
export interface IcebergTableArgs {
|
|
225
|
+
/**
|
|
226
|
+
* The name of the IcebergCatalog.
|
|
227
|
+
*/
|
|
228
|
+
catalog: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* The location of the table.
|
|
231
|
+
*/
|
|
232
|
+
location?: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* The name of the table.
|
|
235
|
+
*/
|
|
236
|
+
name?: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* The parent namespace of the table.
|
|
239
|
+
*/
|
|
240
|
+
namespace: pulumi.Input<string>;
|
|
241
|
+
/**
|
|
242
|
+
* The partition spec of the table.
|
|
243
|
+
* Structure is documented below.
|
|
244
|
+
*/
|
|
245
|
+
partitionSpec?: pulumi.Input<inputs.biglake.IcebergTablePartitionSpec>;
|
|
246
|
+
/**
|
|
247
|
+
* The ID of the project in which the resource belongs.
|
|
248
|
+
* If it is not provided, the provider project is used.
|
|
249
|
+
*/
|
|
250
|
+
project?: pulumi.Input<string>;
|
|
251
|
+
/**
|
|
252
|
+
* User-defined properties for the table.
|
|
253
|
+
*/
|
|
254
|
+
properties?: pulumi.Input<{
|
|
255
|
+
[key: string]: pulumi.Input<string>;
|
|
256
|
+
}>;
|
|
257
|
+
/**
|
|
258
|
+
* The schema of the table.
|
|
259
|
+
* Structure is documented below.
|
|
260
|
+
*/
|
|
261
|
+
schema: pulumi.Input<inputs.biglake.IcebergTableSchema>;
|
|
262
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.IcebergTable = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* IcebergTables are the primary objects in an IcebergCatalog.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Biglake Iceberg Table Basic
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as gcp from "@pulumi/gcp";
|
|
18
|
+
*
|
|
19
|
+
* const bucket = new gcp.storage.Bucket("bucket", {
|
|
20
|
+
* name: "my-bucket-_15222",
|
|
21
|
+
* location: "us-central1",
|
|
22
|
+
* forceDestroy: true,
|
|
23
|
+
* uniformBucketLevelAccess: true,
|
|
24
|
+
* });
|
|
25
|
+
* const catalog = new gcp.biglake.IcebergCatalog("catalog", {
|
|
26
|
+
* name: bucket.name,
|
|
27
|
+
* catalogType: "CATALOG_TYPE_GCS_BUCKET",
|
|
28
|
+
* });
|
|
29
|
+
* const namespace = new gcp.biglake.IcebergNamespace("namespace", {
|
|
30
|
+
* catalog: catalog.name,
|
|
31
|
+
* namespaceId: "my_namespace__81126",
|
|
32
|
+
* });
|
|
33
|
+
* const myIcebergTable = new gcp.biglake.IcebergTable("my_iceberg_table", {
|
|
34
|
+
* catalog: catalog.name,
|
|
35
|
+
* namespace: namespace.namespaceId,
|
|
36
|
+
* name: "my_table__88717",
|
|
37
|
+
* location: pulumi.interpolate`gs://${bucket.name}/${namespace.namespaceId}/my_table__85794`,
|
|
38
|
+
* schema: {
|
|
39
|
+
* type: "struct",
|
|
40
|
+
* fields: [
|
|
41
|
+
* {
|
|
42
|
+
* id: 1,
|
|
43
|
+
* name: "id",
|
|
44
|
+
* type: "long",
|
|
45
|
+
* required: true,
|
|
46
|
+
* doc: "The ID of the record",
|
|
47
|
+
* },
|
|
48
|
+
* {
|
|
49
|
+
* id: 2,
|
|
50
|
+
* name: "name",
|
|
51
|
+
* type: "string",
|
|
52
|
+
* required: false,
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* identifierFieldIds: [1],
|
|
56
|
+
* },
|
|
57
|
+
* partitionSpec: {
|
|
58
|
+
* fields: [{
|
|
59
|
+
* name: "id_partition",
|
|
60
|
+
* sourceId: 1,
|
|
61
|
+
* transform: "identity",
|
|
62
|
+
* }],
|
|
63
|
+
* },
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
* ### Biglake Iceberg Table Update
|
|
67
|
+
*
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as gcp from "@pulumi/gcp";
|
|
71
|
+
*
|
|
72
|
+
* const bucket = new gcp.storage.Bucket("bucket", {
|
|
73
|
+
* name: "my-bucket-_21197",
|
|
74
|
+
* location: "us-central1",
|
|
75
|
+
* forceDestroy: true,
|
|
76
|
+
* uniformBucketLevelAccess: true,
|
|
77
|
+
* });
|
|
78
|
+
* const catalog = new gcp.biglake.IcebergCatalog("catalog", {
|
|
79
|
+
* name: bucket.name,
|
|
80
|
+
* catalogType: "CATALOG_TYPE_GCS_BUCKET",
|
|
81
|
+
* });
|
|
82
|
+
* const namespace = new gcp.biglake.IcebergNamespace("namespace", {
|
|
83
|
+
* catalog: catalog.name,
|
|
84
|
+
* namespaceId: "my_namespace__52865",
|
|
85
|
+
* });
|
|
86
|
+
* const myIcebergTable = new gcp.biglake.IcebergTable("my_iceberg_table", {
|
|
87
|
+
* catalog: catalog.name,
|
|
88
|
+
* namespace: namespace.namespaceId,
|
|
89
|
+
* name: "my_table__85840",
|
|
90
|
+
* schema: {
|
|
91
|
+
* type: "struct",
|
|
92
|
+
* fields: [{
|
|
93
|
+
* id: 1,
|
|
94
|
+
* name: "id",
|
|
95
|
+
* type: "long",
|
|
96
|
+
* required: true,
|
|
97
|
+
* }],
|
|
98
|
+
* },
|
|
99
|
+
* properties: {
|
|
100
|
+
* key: "value",
|
|
101
|
+
* },
|
|
102
|
+
* });
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* ## Import
|
|
106
|
+
*
|
|
107
|
+
* IcebergTable can be imported using any of these accepted formats:
|
|
108
|
+
*
|
|
109
|
+
* * `projects/{{project}}/catalogs/{{catalog}}/namespaces/{{namespace}}/tables/{{name}}`
|
|
110
|
+
* * `{{project}}/{{catalog}}/{{namespace}}/{{name}}`
|
|
111
|
+
* * `{{catalog}}/{{namespace}}/{{name}}`
|
|
112
|
+
*
|
|
113
|
+
* When using the `pulumi import` command, IcebergTable can be imported using one of the formats above. For example:
|
|
114
|
+
*
|
|
115
|
+
* ```sh
|
|
116
|
+
* $ pulumi import gcp:biglake/icebergTable:IcebergTable default projects/{{project}}/catalogs/{{catalog}}/namespaces/{{namespace}}/tables/{{name}}
|
|
117
|
+
* $ pulumi import gcp:biglake/icebergTable:IcebergTable default {{project}}/{{catalog}}/{{namespace}}/{{name}}
|
|
118
|
+
* $ pulumi import gcp:biglake/icebergTable:IcebergTable default {{catalog}}/{{namespace}}/{{name}}
|
|
119
|
+
* ```
|
|
120
|
+
*/
|
|
121
|
+
class IcebergTable extends pulumi.CustomResource {
|
|
122
|
+
/**
|
|
123
|
+
* Get an existing IcebergTable resource's state with the given name, ID, and optional extra
|
|
124
|
+
* properties used to qualify the lookup.
|
|
125
|
+
*
|
|
126
|
+
* @param name The _unique_ name of the resulting resource.
|
|
127
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
128
|
+
* @param state Any extra arguments used during the lookup.
|
|
129
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
130
|
+
*/
|
|
131
|
+
static get(name, id, state, opts) {
|
|
132
|
+
return new IcebergTable(name, state, { ...opts, id: id });
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Returns true if the given object is an instance of IcebergTable. This is designed to work even
|
|
136
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
137
|
+
*/
|
|
138
|
+
static isInstance(obj) {
|
|
139
|
+
if (obj === undefined || obj === null) {
|
|
140
|
+
return false;
|
|
141
|
+
}
|
|
142
|
+
return obj['__pulumiType'] === IcebergTable.__pulumiType;
|
|
143
|
+
}
|
|
144
|
+
constructor(name, argsOrState, opts) {
|
|
145
|
+
let resourceInputs = {};
|
|
146
|
+
opts = opts || {};
|
|
147
|
+
if (opts.id) {
|
|
148
|
+
const state = argsOrState;
|
|
149
|
+
resourceInputs["catalog"] = state?.catalog;
|
|
150
|
+
resourceInputs["location"] = state?.location;
|
|
151
|
+
resourceInputs["name"] = state?.name;
|
|
152
|
+
resourceInputs["namespace"] = state?.namespace;
|
|
153
|
+
resourceInputs["partitionSpec"] = state?.partitionSpec;
|
|
154
|
+
resourceInputs["project"] = state?.project;
|
|
155
|
+
resourceInputs["properties"] = state?.properties;
|
|
156
|
+
resourceInputs["schema"] = state?.schema;
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
const args = argsOrState;
|
|
160
|
+
if (args?.catalog === undefined && !opts.urn) {
|
|
161
|
+
throw new Error("Missing required property 'catalog'");
|
|
162
|
+
}
|
|
163
|
+
if (args?.namespace === undefined && !opts.urn) {
|
|
164
|
+
throw new Error("Missing required property 'namespace'");
|
|
165
|
+
}
|
|
166
|
+
if (args?.schema === undefined && !opts.urn) {
|
|
167
|
+
throw new Error("Missing required property 'schema'");
|
|
168
|
+
}
|
|
169
|
+
resourceInputs["catalog"] = args?.catalog;
|
|
170
|
+
resourceInputs["location"] = args?.location;
|
|
171
|
+
resourceInputs["name"] = args?.name;
|
|
172
|
+
resourceInputs["namespace"] = args?.namespace;
|
|
173
|
+
resourceInputs["partitionSpec"] = args?.partitionSpec;
|
|
174
|
+
resourceInputs["project"] = args?.project;
|
|
175
|
+
resourceInputs["properties"] = args?.properties;
|
|
176
|
+
resourceInputs["schema"] = args?.schema;
|
|
177
|
+
}
|
|
178
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
179
|
+
super(IcebergTable.__pulumiType, name, resourceInputs, opts);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
exports.IcebergTable = IcebergTable;
|
|
183
|
+
/** @internal */
|
|
184
|
+
IcebergTable.__pulumiType = 'gcp:biglake/icebergTable:IcebergTable';
|
|
185
|
+
//# sourceMappingURL=icebergTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icebergTable.js","sourceRoot":"","sources":["../../biglake/icebergTable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgHG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAKD;;;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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA8CD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,MAA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