@pulumi/gcp 9.18.0 → 9.19.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/biglake/getIcebergTableIamPolicy.d.ts +28 -0
- package/biglake/getIcebergTableIamPolicy.js +28 -0
- package/biglake/getIcebergTableIamPolicy.js.map +1 -1
- package/biglake/icebergTable.d.ts +7 -7
- package/biglake/icebergTable.js +7 -7
- package/biglake/icebergTableIamBinding.d.ts +124 -0
- package/biglake/icebergTableIamBinding.js +124 -0
- package/biglake/icebergTableIamBinding.js.map +1 -1
- package/biglake/icebergTableIamMember.d.ts +124 -0
- package/biglake/icebergTableIamMember.js +124 -0
- package/biglake/icebergTableIamMember.js.map +1 -1
- package/biglake/icebergTableIamPolicy.d.ts +124 -0
- package/biglake/icebergTableIamPolicy.js +124 -0
- package/biglake/icebergTableIamPolicy.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/chronicle/dashboardChart.d.ts +348 -0
- package/chronicle/dashboardChart.js +272 -0
- package/chronicle/dashboardChart.js.map +1 -0
- package/chronicle/dataTable.d.ts +0 -5
- package/chronicle/dataTable.js +0 -5
- package/chronicle/dataTable.js.map +1 -1
- package/chronicle/feed.d.ts +372 -0
- package/chronicle/feed.js +230 -0
- package/chronicle/feed.js.map +1 -0
- package/chronicle/index.d.ts +6 -0
- package/chronicle/index.js +11 -1
- package/chronicle/index.js.map +1 -1
- package/cloudrunv2/service.d.ts +31 -1
- package/cloudrunv2/service.js +31 -1
- package/cloudrunv2/service.js.map +1 -1
- package/compute/organizationSecurityPolicyAssociation.d.ts +24 -0
- package/compute/organizationSecurityPolicyAssociation.js +4 -0
- package/compute/organizationSecurityPolicyAssociation.js.map +1 -1
- package/compute/organizationSecurityPolicyRule.d.ts +2 -2
- package/compute/organizationSecurityPolicyRule.js +2 -2
- 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/compute/urlmap.d.ts +190 -0
- package/compute/urlmap.js +190 -0
- package/compute/urlmap.js.map +1 -1
- package/container/cluster.d.ts +27 -0
- package/container/cluster.js +2 -0
- package/container/cluster.js.map +1 -1
- package/container/getCluster.d.ts +1 -0
- package/container/getCluster.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 +26 -12
- package/dataplex/entryLink.js +13 -12
- package/dataplex/entryLink.js.map +1 -1
- 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 +6 -5
- package/dataproc/batch.js +6 -5
- package/dataproc/batch.js.map +1 -1
- package/dataproc/metastoreService.d.ts +2 -2
- package/dataproc/metastoreService.js +2 -2
- 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/diagflow/conversationProfile.d.ts +2 -2
- package/diagflow/conversationProfile.js +2 -2
- package/discoveryengine/getDataStore.d.ts +128 -0
- package/discoveryengine/getDataStore.js +88 -0
- package/discoveryengine/getDataStore.js.map +1 -0
- package/discoveryengine/getDataStores.d.ts +77 -0
- package/discoveryengine/getDataStores.js +58 -0
- package/discoveryengine/getDataStores.js.map +1 -0
- package/discoveryengine/index.d.ts +6 -0
- package/discoveryengine/index.js +7 -1
- package/discoveryengine/index.js.map +1 -1
- package/dns/getRecordSets.d.ts +119 -0
- package/dns/getRecordSets.js +78 -0
- package/dns/getRecordSets.js.map +1 -0
- package/dns/index.d.ts +3 -0
- package/dns/index.js +4 -1
- package/dns/index.js.map +1 -1
- package/iam/getWorkloadIdentityPool.d.ts +1 -0
- package/iam/getWorkloadIdentityPool.js.map +1 -1
- package/iam/workloadIdentityPool.d.ts +24 -0
- package/iam/workloadIdentityPool.js +5 -0
- package/iam/workloadIdentityPool.js.map +1 -1
- package/iam/workloadIdentityPoolManagedIdentity.d.ts +0 -3
- package/iam/workloadIdentityPoolManagedIdentity.js +0 -3
- package/iam/workloadIdentityPoolManagedIdentity.js.map +1 -1
- package/iam/workloadIdentityPoolNamespace.d.ts +0 -3
- package/iam/workloadIdentityPoolNamespace.js +0 -3
- package/iam/workloadIdentityPoolNamespace.js.map +1 -1
- package/lustre/getInstance.d.ts +3 -0
- package/lustre/getInstance.js.map +1 -1
- package/lustre/instance.d.ts +119 -27
- package/lustre/instance.js +6 -3
- package/lustre/instance.js.map +1 -1
- package/migrationcenter/preferenceSet.d.ts +26 -0
- package/migrationcenter/preferenceSet.js +26 -0
- package/migrationcenter/preferenceSet.js.map +1 -1
- package/modelarmor/template.d.ts +104 -2
- package/modelarmor/template.js +104 -2
- package/modelarmor/template.js.map +1 -1
- package/networkconnectivity/index.d.ts +3 -0
- package/networkconnectivity/index.js +6 -1
- package/networkconnectivity/index.js.map +1 -1
- package/networkconnectivity/transport.d.ts +368 -0
- package/networkconnectivity/transport.js +159 -0
- package/networkconnectivity/transport.js.map +1 -0
- 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 -2
- package/observability/traceScope.js +2 -2
- package/organizations/index.d.ts +3 -0
- package/organizations/index.js +6 -1
- package/organizations/index.js.map +1 -1
- package/organizations/serviceIdentity.d.ts +122 -0
- package/organizations/serviceIdentity.js +101 -0
- package/organizations/serviceIdentity.js.map +1 -0
- package/orgpolicy/policy.d.ts +1 -1
- package/orgpolicy/policy.js +1 -1
- package/package.json +2 -2
- package/pubsub/subscription.d.ts +42 -4
- package/pubsub/subscription.js +42 -4
- package/pubsub/subscription.js.map +1 -1
- package/pubsub/topic.d.ts +36 -0
- package/pubsub/topic.js +36 -0
- package/pubsub/topic.js.map +1 -1
- package/spanner/database.d.ts +1 -0
- package/spanner/database.js +1 -0
- package/spanner/database.js.map +1 -1
- package/types/input.d.ts +5577 -123
- package/types/output.d.ts +5978 -156
- 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
- package/vertex/aiReasoningEngine.d.ts +77 -0
- package/vertex/aiReasoningEngine.js +61 -0
- package/vertex/aiReasoningEngine.js.map +1 -1
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* A chart resource used within a NativeDashboard. Its lifecycle (Create, Update, Delete) is managed via custom methods on the NativeDashboard resource.
|
|
6
|
+
*
|
|
7
|
+
* > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
|
|
8
|
+
* See Provider Versions for more details on beta resources.
|
|
9
|
+
*
|
|
10
|
+
* To get more information about DashboardChart, see:
|
|
11
|
+
*
|
|
12
|
+
* * [API documentation](https://cloud.google.com/chronicle/docs/reference/rest/v1beta/projects.locations.instances.dashboardCharts)
|
|
13
|
+
* * How-to Guides
|
|
14
|
+
* * [Google SecOps Guides](https://cloud.google.com/chronicle/docs/secops/secops-overview)
|
|
15
|
+
*
|
|
16
|
+
* ## Example Usage
|
|
17
|
+
*
|
|
18
|
+
* ### Chronicle Dashboardchart Full
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as gcp from "@pulumi/gcp";
|
|
23
|
+
*
|
|
24
|
+
* // A Native Dashboard is required to create a Dashboard Chart.
|
|
25
|
+
* const myDashboard = new gcp.chronicle.NativeDashboard("my_dashboard", {
|
|
26
|
+
* location: "us",
|
|
27
|
+
* instance: "00000000-0000-0000-0000-000000000000",
|
|
28
|
+
* displayName: "dashboard_1",
|
|
29
|
+
* description: "dashboard_description",
|
|
30
|
+
* access: "DASHBOARD_PRIVATE",
|
|
31
|
+
* type: "CUSTOM",
|
|
32
|
+
* filters: [{
|
|
33
|
+
* id: "GlobalTimeFilter",
|
|
34
|
+
* displayName: "Global Time Filter",
|
|
35
|
+
* dataSource: "GLOBAL",
|
|
36
|
+
* isStandardTimeRangeFilter: true,
|
|
37
|
+
* isStandardTimeRangeFilterEnabled: true,
|
|
38
|
+
* filterOperatorAndFieldValues: [{
|
|
39
|
+
* filterOperator: "PAST",
|
|
40
|
+
* fieldValues: [
|
|
41
|
+
* "1",
|
|
42
|
+
* "DAY",
|
|
43
|
+
* ],
|
|
44
|
+
* }],
|
|
45
|
+
* }],
|
|
46
|
+
* });
|
|
47
|
+
* const myChart = new gcp.chronicle.DashboardChart("my_chart", {
|
|
48
|
+
* location: myDashboard.location,
|
|
49
|
+
* instance: myDashboard.instance,
|
|
50
|
+
* nativeDashboard: myDashboard.name,
|
|
51
|
+
* chartLayout: {
|
|
52
|
+
* startX: 0,
|
|
53
|
+
* spanX: 50,
|
|
54
|
+
* startY: 12,
|
|
55
|
+
* spanY: 18,
|
|
56
|
+
* },
|
|
57
|
+
* dashboardChart: {
|
|
58
|
+
* displayName: "Data Source Health Overview",
|
|
59
|
+
* description: "Health of data sources over time",
|
|
60
|
+
* tileType: "TILE_TYPE_VISUALIZATION",
|
|
61
|
+
* chartDatasource: {
|
|
62
|
+
* dataSources: ["IOC_MATCHES"],
|
|
63
|
+
* },
|
|
64
|
+
* visualization: {
|
|
65
|
+
* series: [{
|
|
66
|
+
* seriesType: "LINE",
|
|
67
|
+
* encode: {
|
|
68
|
+
* x: "timestamp",
|
|
69
|
+
* y: "total_count",
|
|
70
|
+
* },
|
|
71
|
+
* dataLabel: {
|
|
72
|
+
* show: true,
|
|
73
|
+
* },
|
|
74
|
+
* }],
|
|
75
|
+
* xAxes: [{
|
|
76
|
+
* axisType: "CATEGORY",
|
|
77
|
+
* displayName: "Date",
|
|
78
|
+
* }],
|
|
79
|
+
* yAxes: [{
|
|
80
|
+
* axisType: "CATEGORY",
|
|
81
|
+
* displayName: "Sources",
|
|
82
|
+
* }],
|
|
83
|
+
* legends: [{
|
|
84
|
+
* top: 12,
|
|
85
|
+
* legendOrient: "HORIZONTAL",
|
|
86
|
+
* show: true,
|
|
87
|
+
* id: "test_map_legend_01",
|
|
88
|
+
* bottom: 10,
|
|
89
|
+
* left: 10,
|
|
90
|
+
* right: 5,
|
|
91
|
+
* legendAlign: "LEFT",
|
|
92
|
+
* paddings: [10],
|
|
93
|
+
* z: 2,
|
|
94
|
+
* zLevel: 1,
|
|
95
|
+
* }],
|
|
96
|
+
* seriesColumns: ["health_status"],
|
|
97
|
+
* groupingType: "Grouped",
|
|
98
|
+
* },
|
|
99
|
+
* drillDownConfig: {
|
|
100
|
+
* leftDrillDowns: [{
|
|
101
|
+
* id: "D89B834D-977A-4E0C-83B0-12AB1D05E76B",
|
|
102
|
+
* displayName: "Link to the google",
|
|
103
|
+
* customSettings: {
|
|
104
|
+
* newTab: true,
|
|
105
|
+
* externalLink: {
|
|
106
|
+
* description: "This is an external link",
|
|
107
|
+
* link: "www.google.com",
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* }],
|
|
111
|
+
* },
|
|
112
|
+
* },
|
|
113
|
+
* dashboardQuery: {
|
|
114
|
+
* query: `IOC_Type = ioc.ioc_type
|
|
115
|
+
*
|
|
116
|
+
* match:
|
|
117
|
+
* IOC_Type
|
|
118
|
+
*
|
|
119
|
+
* outcome:
|
|
120
|
+
* IOC_Count = count(ioc.ioc_value)
|
|
121
|
+
*
|
|
122
|
+
* order:
|
|
123
|
+
* IOC_Count desc
|
|
124
|
+
* `,
|
|
125
|
+
* input: {
|
|
126
|
+
* relativeTime: {
|
|
127
|
+
* timeUnit: "DAY",
|
|
128
|
+
* startTimeVal: "1",
|
|
129
|
+
* },
|
|
130
|
+
* },
|
|
131
|
+
* },
|
|
132
|
+
* });
|
|
133
|
+
* const buttonTile = new gcp.chronicle.DashboardChart("button_tile", {
|
|
134
|
+
* location: myDashboard.location,
|
|
135
|
+
* instance: myDashboard.instance,
|
|
136
|
+
* nativeDashboard: myDashboard.name,
|
|
137
|
+
* chartLayout: {
|
|
138
|
+
* startX: 0,
|
|
139
|
+
* spanX: 12,
|
|
140
|
+
* startY: 66,
|
|
141
|
+
* spanY: 4,
|
|
142
|
+
* },
|
|
143
|
+
* dashboardChart: {
|
|
144
|
+
* displayName: "Navigation Button",
|
|
145
|
+
* tileType: "TILE_TYPE_BUTTON",
|
|
146
|
+
* visualization: {
|
|
147
|
+
* button: {
|
|
148
|
+
* description: "This is a button tile",
|
|
149
|
+
* label: "View Custom Detection Rules",
|
|
150
|
+
* hyperlink: "/rulesDashboard",
|
|
151
|
+
* newTab: true,
|
|
152
|
+
* properties: {
|
|
153
|
+
* color: "#1a73e8",
|
|
154
|
+
* buttonStyle: "BUTTON_STYLE_TRANSPARENT",
|
|
155
|
+
* },
|
|
156
|
+
* },
|
|
157
|
+
* },
|
|
158
|
+
* },
|
|
159
|
+
* });
|
|
160
|
+
* const markdownTile = new gcp.chronicle.DashboardChart("markdown_tile", {
|
|
161
|
+
* location: myDashboard.location,
|
|
162
|
+
* instance: myDashboard.instance,
|
|
163
|
+
* nativeDashboard: myDashboard.name,
|
|
164
|
+
* chartLayout: {
|
|
165
|
+
* startX: 0,
|
|
166
|
+
* spanX: 24,
|
|
167
|
+
* startY: 48,
|
|
168
|
+
* spanY: 4,
|
|
169
|
+
* },
|
|
170
|
+
* dashboardChart: {
|
|
171
|
+
* displayName: "markdown",
|
|
172
|
+
* tileType: "TILE_TYPE_MARKDOWN",
|
|
173
|
+
* visualization: {
|
|
174
|
+
* markdown: {
|
|
175
|
+
* content: `### Dashboard Header
|
|
176
|
+
* This is a markdown block used for descriptions or section headers.`,
|
|
177
|
+
* properties: {
|
|
178
|
+
* backgroundColor: "#09326C",
|
|
179
|
+
* },
|
|
180
|
+
* },
|
|
181
|
+
* },
|
|
182
|
+
* },
|
|
183
|
+
* });
|
|
184
|
+
* ```
|
|
185
|
+
*
|
|
186
|
+
* ## Import
|
|
187
|
+
*
|
|
188
|
+
* DashboardChart can be imported using any of these accepted formats:
|
|
189
|
+
*
|
|
190
|
+
* * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/dashboardCharts/{{chart_id}}`
|
|
191
|
+
* * `{{project}}/{{location}}/{{instance}}/{{chart_id}}`
|
|
192
|
+
* * `{{location}}/{{instance}}/{{chart_id}}`
|
|
193
|
+
*
|
|
194
|
+
* When using the `pulumi import` command, DashboardChart can be imported using one of the formats above. For example:
|
|
195
|
+
*
|
|
196
|
+
* ```sh
|
|
197
|
+
* $ pulumi import gcp:chronicle/dashboardChart:DashboardChart default projects/{{project}}/locations/{{location}}/instances/{{instance}}/dashboardCharts/{{chart_id}}
|
|
198
|
+
* $ pulumi import gcp:chronicle/dashboardChart:DashboardChart default {{project}}/{{location}}/{{instance}}/{{chart_id}}
|
|
199
|
+
* $ pulumi import gcp:chronicle/dashboardChart:DashboardChart default {{location}}/{{instance}}/{{chart_id}}
|
|
200
|
+
* ```
|
|
201
|
+
*/
|
|
202
|
+
export declare class DashboardChart extends pulumi.CustomResource {
|
|
203
|
+
/**
|
|
204
|
+
* Get an existing DashboardChart resource's state with the given name, ID, and optional extra
|
|
205
|
+
* properties used to qualify the lookup.
|
|
206
|
+
*
|
|
207
|
+
* @param name The _unique_ name of the resulting resource.
|
|
208
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
209
|
+
* @param state Any extra arguments used during the lookup.
|
|
210
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
211
|
+
*/
|
|
212
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DashboardChartState, opts?: pulumi.CustomResourceOptions): DashboardChart;
|
|
213
|
+
/**
|
|
214
|
+
* Returns true if the given object is an instance of DashboardChart. This is designed to work even
|
|
215
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
216
|
+
*/
|
|
217
|
+
static isInstance(obj: any): obj is DashboardChart;
|
|
218
|
+
/**
|
|
219
|
+
* The unique identifier of the chart, automatically extracted from the full resource name.
|
|
220
|
+
*/
|
|
221
|
+
readonly chartId: pulumi.Output<string>;
|
|
222
|
+
/**
|
|
223
|
+
* The layout of this chart within the NativeDashboard.
|
|
224
|
+
* Structure is documented below.
|
|
225
|
+
*/
|
|
226
|
+
readonly chartLayout: pulumi.Output<outputs.chronicle.DashboardChartChartLayout | undefined>;
|
|
227
|
+
/**
|
|
228
|
+
* Core configuration details for the DashboardChart.
|
|
229
|
+
* Structure is documented below.
|
|
230
|
+
*/
|
|
231
|
+
readonly dashboardChart: pulumi.Output<outputs.chronicle.DashboardChartDashboardChart>;
|
|
232
|
+
/**
|
|
233
|
+
* The complete specification of the query for this chart. This includes the raw query string, execution parameters (like time windows), and server-generated metadata.
|
|
234
|
+
* Structure is documented below.
|
|
235
|
+
*/
|
|
236
|
+
readonly dashboardQuery: pulumi.Output<outputs.chronicle.DashboardChartDashboardQuery | undefined>;
|
|
237
|
+
/**
|
|
238
|
+
* The ID of the Chronicle instance.
|
|
239
|
+
*/
|
|
240
|
+
readonly instance: pulumi.Output<string>;
|
|
241
|
+
/**
|
|
242
|
+
* The location of the Chronicle instance.
|
|
243
|
+
*/
|
|
244
|
+
readonly location: pulumi.Output<string>;
|
|
245
|
+
/**
|
|
246
|
+
* The full resource name of the DashboardChart.
|
|
247
|
+
*/
|
|
248
|
+
readonly name: pulumi.Output<string>;
|
|
249
|
+
/**
|
|
250
|
+
* The parent NativeDashboard resource name, formatted as projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard_id}
|
|
251
|
+
*/
|
|
252
|
+
readonly nativeDashboard: pulumi.Output<string | undefined>;
|
|
253
|
+
/**
|
|
254
|
+
* The ID of the project in which the resource belongs.
|
|
255
|
+
* If it is not provided, the provider project is used.
|
|
256
|
+
*/
|
|
257
|
+
readonly project: pulumi.Output<string>;
|
|
258
|
+
/**
|
|
259
|
+
* Create a DashboardChart resource with the given unique name, arguments, and options.
|
|
260
|
+
*
|
|
261
|
+
* @param name The _unique_ name of the resource.
|
|
262
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
263
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
264
|
+
*/
|
|
265
|
+
constructor(name: string, args: DashboardChartArgs, opts?: pulumi.CustomResourceOptions);
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Input properties used for looking up and filtering DashboardChart resources.
|
|
269
|
+
*/
|
|
270
|
+
export interface DashboardChartState {
|
|
271
|
+
/**
|
|
272
|
+
* The unique identifier of the chart, automatically extracted from the full resource name.
|
|
273
|
+
*/
|
|
274
|
+
chartId?: pulumi.Input<string>;
|
|
275
|
+
/**
|
|
276
|
+
* The layout of this chart within the NativeDashboard.
|
|
277
|
+
* Structure is documented below.
|
|
278
|
+
*/
|
|
279
|
+
chartLayout?: pulumi.Input<inputs.chronicle.DashboardChartChartLayout>;
|
|
280
|
+
/**
|
|
281
|
+
* Core configuration details for the DashboardChart.
|
|
282
|
+
* Structure is documented below.
|
|
283
|
+
*/
|
|
284
|
+
dashboardChart?: pulumi.Input<inputs.chronicle.DashboardChartDashboardChart>;
|
|
285
|
+
/**
|
|
286
|
+
* The complete specification of the query for this chart. This includes the raw query string, execution parameters (like time windows), and server-generated metadata.
|
|
287
|
+
* Structure is documented below.
|
|
288
|
+
*/
|
|
289
|
+
dashboardQuery?: pulumi.Input<inputs.chronicle.DashboardChartDashboardQuery>;
|
|
290
|
+
/**
|
|
291
|
+
* The ID of the Chronicle instance.
|
|
292
|
+
*/
|
|
293
|
+
instance?: pulumi.Input<string>;
|
|
294
|
+
/**
|
|
295
|
+
* The location of the Chronicle instance.
|
|
296
|
+
*/
|
|
297
|
+
location?: pulumi.Input<string>;
|
|
298
|
+
/**
|
|
299
|
+
* The full resource name of the DashboardChart.
|
|
300
|
+
*/
|
|
301
|
+
name?: pulumi.Input<string>;
|
|
302
|
+
/**
|
|
303
|
+
* The parent NativeDashboard resource name, formatted as projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard_id}
|
|
304
|
+
*/
|
|
305
|
+
nativeDashboard?: pulumi.Input<string>;
|
|
306
|
+
/**
|
|
307
|
+
* The ID of the project in which the resource belongs.
|
|
308
|
+
* If it is not provided, the provider project is used.
|
|
309
|
+
*/
|
|
310
|
+
project?: pulumi.Input<string>;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* The set of arguments for constructing a DashboardChart resource.
|
|
314
|
+
*/
|
|
315
|
+
export interface DashboardChartArgs {
|
|
316
|
+
/**
|
|
317
|
+
* The layout of this chart within the NativeDashboard.
|
|
318
|
+
* Structure is documented below.
|
|
319
|
+
*/
|
|
320
|
+
chartLayout?: pulumi.Input<inputs.chronicle.DashboardChartChartLayout>;
|
|
321
|
+
/**
|
|
322
|
+
* Core configuration details for the DashboardChart.
|
|
323
|
+
* Structure is documented below.
|
|
324
|
+
*/
|
|
325
|
+
dashboardChart: pulumi.Input<inputs.chronicle.DashboardChartDashboardChart>;
|
|
326
|
+
/**
|
|
327
|
+
* The complete specification of the query for this chart. This includes the raw query string, execution parameters (like time windows), and server-generated metadata.
|
|
328
|
+
* Structure is documented below.
|
|
329
|
+
*/
|
|
330
|
+
dashboardQuery?: pulumi.Input<inputs.chronicle.DashboardChartDashboardQuery>;
|
|
331
|
+
/**
|
|
332
|
+
* The ID of the Chronicle instance.
|
|
333
|
+
*/
|
|
334
|
+
instance: pulumi.Input<string>;
|
|
335
|
+
/**
|
|
336
|
+
* The location of the Chronicle instance.
|
|
337
|
+
*/
|
|
338
|
+
location: pulumi.Input<string>;
|
|
339
|
+
/**
|
|
340
|
+
* The parent NativeDashboard resource name, formatted as projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard_id}
|
|
341
|
+
*/
|
|
342
|
+
nativeDashboard?: pulumi.Input<string>;
|
|
343
|
+
/**
|
|
344
|
+
* The ID of the project in which the resource belongs.
|
|
345
|
+
* If it is not provided, the provider project is used.
|
|
346
|
+
*/
|
|
347
|
+
project?: pulumi.Input<string>;
|
|
348
|
+
}
|
|
@@ -0,0 +1,272 @@
|
|
|
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.DashboardChart = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A chart resource used within a NativeDashboard. Its lifecycle (Create, Update, Delete) is managed via custom methods on the NativeDashboard resource.
|
|
10
|
+
*
|
|
11
|
+
* > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
|
|
12
|
+
* See Provider Versions for more details on beta resources.
|
|
13
|
+
*
|
|
14
|
+
* To get more information about DashboardChart, see:
|
|
15
|
+
*
|
|
16
|
+
* * [API documentation](https://cloud.google.com/chronicle/docs/reference/rest/v1beta/projects.locations.instances.dashboardCharts)
|
|
17
|
+
* * How-to Guides
|
|
18
|
+
* * [Google SecOps Guides](https://cloud.google.com/chronicle/docs/secops/secops-overview)
|
|
19
|
+
*
|
|
20
|
+
* ## Example Usage
|
|
21
|
+
*
|
|
22
|
+
* ### Chronicle Dashboardchart Full
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as gcp from "@pulumi/gcp";
|
|
27
|
+
*
|
|
28
|
+
* // A Native Dashboard is required to create a Dashboard Chart.
|
|
29
|
+
* const myDashboard = new gcp.chronicle.NativeDashboard("my_dashboard", {
|
|
30
|
+
* location: "us",
|
|
31
|
+
* instance: "00000000-0000-0000-0000-000000000000",
|
|
32
|
+
* displayName: "dashboard_1",
|
|
33
|
+
* description: "dashboard_description",
|
|
34
|
+
* access: "DASHBOARD_PRIVATE",
|
|
35
|
+
* type: "CUSTOM",
|
|
36
|
+
* filters: [{
|
|
37
|
+
* id: "GlobalTimeFilter",
|
|
38
|
+
* displayName: "Global Time Filter",
|
|
39
|
+
* dataSource: "GLOBAL",
|
|
40
|
+
* isStandardTimeRangeFilter: true,
|
|
41
|
+
* isStandardTimeRangeFilterEnabled: true,
|
|
42
|
+
* filterOperatorAndFieldValues: [{
|
|
43
|
+
* filterOperator: "PAST",
|
|
44
|
+
* fieldValues: [
|
|
45
|
+
* "1",
|
|
46
|
+
* "DAY",
|
|
47
|
+
* ],
|
|
48
|
+
* }],
|
|
49
|
+
* }],
|
|
50
|
+
* });
|
|
51
|
+
* const myChart = new gcp.chronicle.DashboardChart("my_chart", {
|
|
52
|
+
* location: myDashboard.location,
|
|
53
|
+
* instance: myDashboard.instance,
|
|
54
|
+
* nativeDashboard: myDashboard.name,
|
|
55
|
+
* chartLayout: {
|
|
56
|
+
* startX: 0,
|
|
57
|
+
* spanX: 50,
|
|
58
|
+
* startY: 12,
|
|
59
|
+
* spanY: 18,
|
|
60
|
+
* },
|
|
61
|
+
* dashboardChart: {
|
|
62
|
+
* displayName: "Data Source Health Overview",
|
|
63
|
+
* description: "Health of data sources over time",
|
|
64
|
+
* tileType: "TILE_TYPE_VISUALIZATION",
|
|
65
|
+
* chartDatasource: {
|
|
66
|
+
* dataSources: ["IOC_MATCHES"],
|
|
67
|
+
* },
|
|
68
|
+
* visualization: {
|
|
69
|
+
* series: [{
|
|
70
|
+
* seriesType: "LINE",
|
|
71
|
+
* encode: {
|
|
72
|
+
* x: "timestamp",
|
|
73
|
+
* y: "total_count",
|
|
74
|
+
* },
|
|
75
|
+
* dataLabel: {
|
|
76
|
+
* show: true,
|
|
77
|
+
* },
|
|
78
|
+
* }],
|
|
79
|
+
* xAxes: [{
|
|
80
|
+
* axisType: "CATEGORY",
|
|
81
|
+
* displayName: "Date",
|
|
82
|
+
* }],
|
|
83
|
+
* yAxes: [{
|
|
84
|
+
* axisType: "CATEGORY",
|
|
85
|
+
* displayName: "Sources",
|
|
86
|
+
* }],
|
|
87
|
+
* legends: [{
|
|
88
|
+
* top: 12,
|
|
89
|
+
* legendOrient: "HORIZONTAL",
|
|
90
|
+
* show: true,
|
|
91
|
+
* id: "test_map_legend_01",
|
|
92
|
+
* bottom: 10,
|
|
93
|
+
* left: 10,
|
|
94
|
+
* right: 5,
|
|
95
|
+
* legendAlign: "LEFT",
|
|
96
|
+
* paddings: [10],
|
|
97
|
+
* z: 2,
|
|
98
|
+
* zLevel: 1,
|
|
99
|
+
* }],
|
|
100
|
+
* seriesColumns: ["health_status"],
|
|
101
|
+
* groupingType: "Grouped",
|
|
102
|
+
* },
|
|
103
|
+
* drillDownConfig: {
|
|
104
|
+
* leftDrillDowns: [{
|
|
105
|
+
* id: "D89B834D-977A-4E0C-83B0-12AB1D05E76B",
|
|
106
|
+
* displayName: "Link to the google",
|
|
107
|
+
* customSettings: {
|
|
108
|
+
* newTab: true,
|
|
109
|
+
* externalLink: {
|
|
110
|
+
* description: "This is an external link",
|
|
111
|
+
* link: "www.google.com",
|
|
112
|
+
* },
|
|
113
|
+
* },
|
|
114
|
+
* }],
|
|
115
|
+
* },
|
|
116
|
+
* },
|
|
117
|
+
* dashboardQuery: {
|
|
118
|
+
* query: `IOC_Type = ioc.ioc_type
|
|
119
|
+
*
|
|
120
|
+
* match:
|
|
121
|
+
* IOC_Type
|
|
122
|
+
*
|
|
123
|
+
* outcome:
|
|
124
|
+
* IOC_Count = count(ioc.ioc_value)
|
|
125
|
+
*
|
|
126
|
+
* order:
|
|
127
|
+
* IOC_Count desc
|
|
128
|
+
* `,
|
|
129
|
+
* input: {
|
|
130
|
+
* relativeTime: {
|
|
131
|
+
* timeUnit: "DAY",
|
|
132
|
+
* startTimeVal: "1",
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* },
|
|
136
|
+
* });
|
|
137
|
+
* const buttonTile = new gcp.chronicle.DashboardChart("button_tile", {
|
|
138
|
+
* location: myDashboard.location,
|
|
139
|
+
* instance: myDashboard.instance,
|
|
140
|
+
* nativeDashboard: myDashboard.name,
|
|
141
|
+
* chartLayout: {
|
|
142
|
+
* startX: 0,
|
|
143
|
+
* spanX: 12,
|
|
144
|
+
* startY: 66,
|
|
145
|
+
* spanY: 4,
|
|
146
|
+
* },
|
|
147
|
+
* dashboardChart: {
|
|
148
|
+
* displayName: "Navigation Button",
|
|
149
|
+
* tileType: "TILE_TYPE_BUTTON",
|
|
150
|
+
* visualization: {
|
|
151
|
+
* button: {
|
|
152
|
+
* description: "This is a button tile",
|
|
153
|
+
* label: "View Custom Detection Rules",
|
|
154
|
+
* hyperlink: "/rulesDashboard",
|
|
155
|
+
* newTab: true,
|
|
156
|
+
* properties: {
|
|
157
|
+
* color: "#1a73e8",
|
|
158
|
+
* buttonStyle: "BUTTON_STYLE_TRANSPARENT",
|
|
159
|
+
* },
|
|
160
|
+
* },
|
|
161
|
+
* },
|
|
162
|
+
* },
|
|
163
|
+
* });
|
|
164
|
+
* const markdownTile = new gcp.chronicle.DashboardChart("markdown_tile", {
|
|
165
|
+
* location: myDashboard.location,
|
|
166
|
+
* instance: myDashboard.instance,
|
|
167
|
+
* nativeDashboard: myDashboard.name,
|
|
168
|
+
* chartLayout: {
|
|
169
|
+
* startX: 0,
|
|
170
|
+
* spanX: 24,
|
|
171
|
+
* startY: 48,
|
|
172
|
+
* spanY: 4,
|
|
173
|
+
* },
|
|
174
|
+
* dashboardChart: {
|
|
175
|
+
* displayName: "markdown",
|
|
176
|
+
* tileType: "TILE_TYPE_MARKDOWN",
|
|
177
|
+
* visualization: {
|
|
178
|
+
* markdown: {
|
|
179
|
+
* content: `### Dashboard Header
|
|
180
|
+
* This is a markdown block used for descriptions or section headers.`,
|
|
181
|
+
* properties: {
|
|
182
|
+
* backgroundColor: "#09326C",
|
|
183
|
+
* },
|
|
184
|
+
* },
|
|
185
|
+
* },
|
|
186
|
+
* },
|
|
187
|
+
* });
|
|
188
|
+
* ```
|
|
189
|
+
*
|
|
190
|
+
* ## Import
|
|
191
|
+
*
|
|
192
|
+
* DashboardChart can be imported using any of these accepted formats:
|
|
193
|
+
*
|
|
194
|
+
* * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/dashboardCharts/{{chart_id}}`
|
|
195
|
+
* * `{{project}}/{{location}}/{{instance}}/{{chart_id}}`
|
|
196
|
+
* * `{{location}}/{{instance}}/{{chart_id}}`
|
|
197
|
+
*
|
|
198
|
+
* When using the `pulumi import` command, DashboardChart can be imported using one of the formats above. For example:
|
|
199
|
+
*
|
|
200
|
+
* ```sh
|
|
201
|
+
* $ pulumi import gcp:chronicle/dashboardChart:DashboardChart default projects/{{project}}/locations/{{location}}/instances/{{instance}}/dashboardCharts/{{chart_id}}
|
|
202
|
+
* $ pulumi import gcp:chronicle/dashboardChart:DashboardChart default {{project}}/{{location}}/{{instance}}/{{chart_id}}
|
|
203
|
+
* $ pulumi import gcp:chronicle/dashboardChart:DashboardChart default {{location}}/{{instance}}/{{chart_id}}
|
|
204
|
+
* ```
|
|
205
|
+
*/
|
|
206
|
+
class DashboardChart extends pulumi.CustomResource {
|
|
207
|
+
/**
|
|
208
|
+
* Get an existing DashboardChart resource's state with the given name, ID, and optional extra
|
|
209
|
+
* properties used to qualify the lookup.
|
|
210
|
+
*
|
|
211
|
+
* @param name The _unique_ name of the resulting resource.
|
|
212
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
213
|
+
* @param state Any extra arguments used during the lookup.
|
|
214
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
215
|
+
*/
|
|
216
|
+
static get(name, id, state, opts) {
|
|
217
|
+
return new DashboardChart(name, state, { ...opts, id: id });
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Returns true if the given object is an instance of DashboardChart. This is designed to work even
|
|
221
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
222
|
+
*/
|
|
223
|
+
static isInstance(obj) {
|
|
224
|
+
if (obj === undefined || obj === null) {
|
|
225
|
+
return false;
|
|
226
|
+
}
|
|
227
|
+
return obj['__pulumiType'] === DashboardChart.__pulumiType;
|
|
228
|
+
}
|
|
229
|
+
constructor(name, argsOrState, opts) {
|
|
230
|
+
let resourceInputs = {};
|
|
231
|
+
opts = opts || {};
|
|
232
|
+
if (opts.id) {
|
|
233
|
+
const state = argsOrState;
|
|
234
|
+
resourceInputs["chartId"] = state?.chartId;
|
|
235
|
+
resourceInputs["chartLayout"] = state?.chartLayout;
|
|
236
|
+
resourceInputs["dashboardChart"] = state?.dashboardChart;
|
|
237
|
+
resourceInputs["dashboardQuery"] = state?.dashboardQuery;
|
|
238
|
+
resourceInputs["instance"] = state?.instance;
|
|
239
|
+
resourceInputs["location"] = state?.location;
|
|
240
|
+
resourceInputs["name"] = state?.name;
|
|
241
|
+
resourceInputs["nativeDashboard"] = state?.nativeDashboard;
|
|
242
|
+
resourceInputs["project"] = state?.project;
|
|
243
|
+
}
|
|
244
|
+
else {
|
|
245
|
+
const args = argsOrState;
|
|
246
|
+
if (args?.dashboardChart === undefined && !opts.urn) {
|
|
247
|
+
throw new Error("Missing required property 'dashboardChart'");
|
|
248
|
+
}
|
|
249
|
+
if (args?.instance === undefined && !opts.urn) {
|
|
250
|
+
throw new Error("Missing required property 'instance'");
|
|
251
|
+
}
|
|
252
|
+
if (args?.location === undefined && !opts.urn) {
|
|
253
|
+
throw new Error("Missing required property 'location'");
|
|
254
|
+
}
|
|
255
|
+
resourceInputs["chartLayout"] = args?.chartLayout;
|
|
256
|
+
resourceInputs["dashboardChart"] = args?.dashboardChart;
|
|
257
|
+
resourceInputs["dashboardQuery"] = args?.dashboardQuery;
|
|
258
|
+
resourceInputs["instance"] = args?.instance;
|
|
259
|
+
resourceInputs["location"] = args?.location;
|
|
260
|
+
resourceInputs["nativeDashboard"] = args?.nativeDashboard;
|
|
261
|
+
resourceInputs["project"] = args?.project;
|
|
262
|
+
resourceInputs["chartId"] = undefined /*out*/;
|
|
263
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
264
|
+
}
|
|
265
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
266
|
+
super(DashboardChart.__pulumiType, name, resourceInputs, opts);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
exports.DashboardChart = DashboardChart;
|
|
270
|
+
/** @internal */
|
|
271
|
+
DashboardChart.__pulumiType = 'gcp:chronicle/dashboardChart:DashboardChart';
|
|
272
|
+
//# sourceMappingURL=dashboardChart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboardChart.js","sourceRoot":"","sources":["../../chronicle/dashboardChart.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAlHL,wCAmHC;AArGG,gBAAgB;AACO,2BAAY,GAAG,6CAA6C,CAAC"}
|
package/chronicle/dataTable.d.ts
CHANGED
|
@@ -44,7 +44,6 @@ import * as outputs from "../types/output";
|
|
|
44
44
|
* export const dataTableUuid = example.dataTableUuid;
|
|
45
45
|
* export const dataTableDescription = example.description;
|
|
46
46
|
* export const dataTableCreateTime = example.createTime;
|
|
47
|
-
* export const dataTableTtl = example.rowTimeToLive;
|
|
48
47
|
* ```
|
|
49
48
|
* ### Chronicle Data Table With Optional Fields
|
|
50
49
|
*
|
|
@@ -89,10 +88,6 @@ import * as outputs from "../types/output";
|
|
|
89
88
|
* }, {
|
|
90
89
|
* dependsOn: [testScopeAllowEveryone],
|
|
91
90
|
* });
|
|
92
|
-
* export const dataTableName = exampleDt.name;
|
|
93
|
-
* export const dataTableId = exampleDt.id;
|
|
94
|
-
* export const dataTableCreateTime = exampleDt.createTime;
|
|
95
|
-
* export const dataTableColumnInfo = exampleDt.columnInfos;
|
|
96
91
|
* ```
|
|
97
92
|
*
|
|
98
93
|
* ## Import
|
package/chronicle/dataTable.js
CHANGED
|
@@ -48,7 +48,6 @@ const utilities = require("../utilities");
|
|
|
48
48
|
* export const dataTableUuid = example.dataTableUuid;
|
|
49
49
|
* export const dataTableDescription = example.description;
|
|
50
50
|
* export const dataTableCreateTime = example.createTime;
|
|
51
|
-
* export const dataTableTtl = example.rowTimeToLive;
|
|
52
51
|
* ```
|
|
53
52
|
* ### Chronicle Data Table With Optional Fields
|
|
54
53
|
*
|
|
@@ -93,10 +92,6 @@ const utilities = require("../utilities");
|
|
|
93
92
|
* }, {
|
|
94
93
|
* dependsOn: [testScopeAllowEveryone],
|
|
95
94
|
* });
|
|
96
|
-
* export const dataTableName = exampleDt.name;
|
|
97
|
-
* export const dataTableId = exampleDt.id;
|
|
98
|
-
* export const dataTableCreateTime = exampleDt.createTime;
|
|
99
|
-
* export const dataTableColumnInfo = exampleDt.columnInfos;
|
|
100
95
|
* ```
|
|
101
96
|
*
|
|
102
97
|
* ## Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataTable.js","sourceRoot":"","sources":["../../chronicle/dataTable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"dataTable.js","sourceRoot":"","sources":["../../chronicle/dataTable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwGG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAyGD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI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