@pulumi/gcp 6.45.0 → 6.46.0-alpha.1673304792

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/logging/metric.js CHANGED
@@ -93,6 +93,22 @@ const utilities = require("../utilities");
93
93
  * },
94
94
  * });
95
95
  * ```
96
+ * ### Logging Metric Logging Bucket
97
+ *
98
+ * ```typescript
99
+ * import * as pulumi from "@pulumi/pulumi";
100
+ * import * as gcp from "@pulumi/gcp";
101
+ *
102
+ * const loggingMetricProjectBucketConfig = new gcp.logging.ProjectBucketConfig("loggingMetricProjectBucketConfig", {
103
+ * location: "global",
104
+ * project: "my-project-name",
105
+ * bucketId: "_Default",
106
+ * });
107
+ * const loggingMetricMetric = new gcp.logging.Metric("loggingMetricMetric", {
108
+ * filter: "resource.type=gae_app AND severity>=ERROR",
109
+ * bucketName: loggingMetricProjectBucketConfig.id,
110
+ * });
111
+ * ```
96
112
  *
97
113
  * ## Import
98
114
  *
@@ -134,6 +150,7 @@ class Metric extends pulumi.CustomResource {
134
150
  opts = opts || {};
135
151
  if (opts.id) {
136
152
  const state = argsOrState;
153
+ resourceInputs["bucketName"] = state ? state.bucketName : undefined;
137
154
  resourceInputs["bucketOptions"] = state ? state.bucketOptions : undefined;
138
155
  resourceInputs["description"] = state ? state.description : undefined;
139
156
  resourceInputs["filter"] = state ? state.filter : undefined;
@@ -148,9 +165,7 @@ class Metric extends pulumi.CustomResource {
148
165
  if ((!args || args.filter === undefined) && !opts.urn) {
149
166
  throw new Error("Missing required property 'filter'");
150
167
  }
151
- if ((!args || args.metricDescriptor === undefined) && !opts.urn) {
152
- throw new Error("Missing required property 'metricDescriptor'");
153
- }
168
+ resourceInputs["bucketName"] = args ? args.bucketName : undefined;
154
169
  resourceInputs["bucketOptions"] = args ? args.bucketOptions : undefined;
155
170
  resourceInputs["description"] = args ? args.description : undefined;
156
171
  resourceInputs["filter"] = args ? args.filter : undefined;
@@ -1 +1 @@
1
- {"version":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AM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA9HL,wBA+HC;AAjHG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/gcp",
3
- "version": "v6.45.0",
3
+ "version": "v6.46.0-alpha.1673304792+38e44009",
4
4
  "description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource gcp v6.45.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource gcp v6.46.0-alpha.1673304792+38e44009"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0",
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/gcp",
3
- "version": "v6.45.0",
3
+ "version": "v6.46.0-alpha.1673304792+38e44009",
4
4
  "description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource gcp v6.45.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource gcp v6.46.0-alpha.1673304792+38e44009"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0",
package/sql/database.d.ts CHANGED
@@ -102,7 +102,7 @@ export declare class Database extends pulumi.CustomResource {
102
102
  * The deletion policy for the database. Setting ABANDON allows the resource
103
103
  * to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be
104
104
  * deleted from the API if there are users other than cloudsqlsuperuser with access. Possible
105
- * values are: "ABANDON".
105
+ * values are: "ABANDON", "DELETE". Defaults to "DELETE".
106
106
  */
107
107
  readonly deletionPolicy: pulumi.Output<string | undefined>;
108
108
  /**
@@ -157,7 +157,7 @@ export interface DatabaseState {
157
157
  * The deletion policy for the database. Setting ABANDON allows the resource
158
158
  * to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be
159
159
  * deleted from the API if there are users other than cloudsqlsuperuser with access. Possible
160
- * values are: "ABANDON".
160
+ * values are: "ABANDON", "DELETE". Defaults to "DELETE".
161
161
  */
162
162
  deletionPolicy?: pulumi.Input<string>;
163
163
  /**
@@ -204,7 +204,7 @@ export interface DatabaseArgs {
204
204
  * The deletion policy for the database. Setting ABANDON allows the resource
205
205
  * to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be
206
206
  * deleted from the API if there are users other than cloudsqlsuperuser with access. Possible
207
- * values are: "ABANDON".
207
+ * values are: "ABANDON", "DELETE". Defaults to "DELETE".
208
208
  */
209
209
  deletionPolicy?: pulumi.Input<string>;
210
210
  /**
package/types/input.d.ts CHANGED
@@ -18248,7 +18248,7 @@ export declare namespace container {
18248
18248
  */
18249
18249
  gcpFilestoreCsiDriverConfig?: pulumi.Input<inputs.container.ClusterAddonsConfigGcpFilestoreCsiDriverConfig>;
18250
18250
  /**
18251
- * ).
18251
+ * .
18252
18252
  * The status of the Backup for GKE agent addon. It is disabled by default; Set `enabled = true` to enable.
18253
18253
  */
18254
18254
  gkeBackupAgentConfig?: pulumi.Input<inputs.container.ClusterAddonsConfigGkeBackupAgentConfig>;
@@ -18466,6 +18466,10 @@ export declare namespace container {
18466
18466
  * Shielded Instance options. Structure is documented below.
18467
18467
  */
18468
18468
  shieldedInstanceConfig?: pulumi.Input<inputs.container.ClusterClusterAutoscalingAutoProvisioningDefaultsShieldedInstanceConfig>;
18469
+ /**
18470
+ * Specifies the upgrade settings for NAP created node pools. Structure is documented below.
18471
+ */
18472
+ upgradeSettings?: pulumi.Input<inputs.container.ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettings>;
18469
18473
  }
18470
18474
  interface ClusterClusterAutoscalingAutoProvisioningDefaultsManagement {
18471
18475
  /**
@@ -18495,6 +18499,42 @@ export declare namespace container {
18495
18499
  */
18496
18500
  enableSecureBoot?: pulumi.Input<boolean>;
18497
18501
  }
18502
+ interface ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettings {
18503
+ /**
18504
+ * Settings for blue-green upgrade strategy. To be specified when strategy is set to BLUE_GREEN. Structure is documented below.
18505
+ */
18506
+ blueGreenSettings?: pulumi.Input<inputs.container.ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettingsBlueGreenSettings>;
18507
+ /**
18508
+ * The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process. To be used when strategy is set to SURGE. Default is 0.
18509
+ */
18510
+ maxSurge?: pulumi.Input<number>;
18511
+ /**
18512
+ * The maximum number of nodes that can be simultaneously unavailable during the upgrade process. To be used when strategy is set to SURGE. Default is 0.
18513
+ */
18514
+ maxUnavailable?: pulumi.Input<number>;
18515
+ /**
18516
+ * Strategy used for node pool update. Strategy can only be one of BLUE_GREEN or SURGE. The default is value is SURGE.
18517
+ */
18518
+ strategy?: pulumi.Input<string>;
18519
+ }
18520
+ interface ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettingsBlueGreenSettings {
18521
+ /**
18522
+ * Time needed after draining entire blue pool. After this period, blue pool will be cleaned up. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
18523
+ */
18524
+ nodePoolSoakDuration?: pulumi.Input<string>;
18525
+ standardRolloutPolicy?: pulumi.Input<inputs.container.ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy>;
18526
+ }
18527
+ interface ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy {
18528
+ /**
18529
+ * Number of blue nodes to drain in a batch. Only one of the batchPercentage or batchNodeCount can be specified.
18530
+ */
18531
+ batchNodeCount?: pulumi.Input<number>;
18532
+ batchPercentage?: pulumi.Input<number>;
18533
+ /**
18534
+ * Soak time after each batch gets drained. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".`.
18535
+ */
18536
+ batchSoakDuration?: pulumi.Input<string>;
18537
+ }
18498
18538
  interface ClusterClusterAutoscalingResourceLimit {
18499
18539
  /**
18500
18540
  * Maximum amount of the resource in the cluster.
@@ -18562,6 +18602,17 @@ export declare namespace container {
18562
18602
  */
18563
18603
  clusterDnsScope?: pulumi.Input<string>;
18564
18604
  }
18605
+ interface ClusterGatewayApiConfig {
18606
+ /**
18607
+ * The selected release channel.
18608
+ * Accepted values are:
18609
+ * * UNSPECIFIED: Not set.
18610
+ * * RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
18611
+ * * REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
18612
+ * * STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
18613
+ */
18614
+ channel: pulumi.Input<string>;
18615
+ }
18565
18616
  interface ClusterIdentityServiceConfig {
18566
18617
  /**
18567
18618
  * Enable the PodSecurityPolicy controller for this cluster.
@@ -19052,6 +19103,9 @@ export declare namespace container {
19052
19103
  */
19053
19104
  nodeLocations?: pulumi.Input<pulumi.Input<string>[]>;
19054
19105
  placementPolicy?: pulumi.Input<inputs.container.ClusterNodePoolPlacementPolicy>;
19106
+ /**
19107
+ * Specifies the upgrade settings for NAP created node pools. Structure is documented below.
19108
+ */
19055
19109
  upgradeSettings?: pulumi.Input<inputs.container.ClusterNodePoolUpgradeSettings>;
19056
19110
  version?: pulumi.Input<string>;
19057
19111
  }
@@ -19426,18 +19480,39 @@ export declare namespace container {
19426
19480
  type: pulumi.Input<string>;
19427
19481
  }
19428
19482
  interface ClusterNodePoolUpgradeSettings {
19483
+ /**
19484
+ * Settings for blue-green upgrade strategy. To be specified when strategy is set to BLUE_GREEN. Structure is documented below.
19485
+ */
19429
19486
  blueGreenSettings?: pulumi.Input<inputs.container.ClusterNodePoolUpgradeSettingsBlueGreenSettings>;
19487
+ /**
19488
+ * The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process. To be used when strategy is set to SURGE. Default is 0.
19489
+ */
19430
19490
  maxSurge?: pulumi.Input<number>;
19491
+ /**
19492
+ * The maximum number of nodes that can be simultaneously unavailable during the upgrade process. To be used when strategy is set to SURGE. Default is 0.
19493
+ */
19431
19494
  maxUnavailable?: pulumi.Input<number>;
19495
+ /**
19496
+ * Strategy used for node pool update. Strategy can only be one of BLUE_GREEN or SURGE. The default is value is SURGE.
19497
+ */
19432
19498
  strategy?: pulumi.Input<string>;
19433
19499
  }
19434
19500
  interface ClusterNodePoolUpgradeSettingsBlueGreenSettings {
19501
+ /**
19502
+ * Time needed after draining entire blue pool. After this period, blue pool will be cleaned up. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
19503
+ */
19435
19504
  nodePoolSoakDuration?: pulumi.Input<string>;
19436
19505
  standardRolloutPolicy: pulumi.Input<inputs.container.ClusterNodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy>;
19437
19506
  }
19438
19507
  interface ClusterNodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy {
19508
+ /**
19509
+ * Number of blue nodes to drain in a batch. Only one of the batchPercentage or batchNodeCount can be specified.
19510
+ */
19439
19511
  batchNodeCount?: pulumi.Input<number>;
19440
19512
  batchPercentage?: pulumi.Input<number>;
19513
+ /**
19514
+ * Soak time after each batch gets drained. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".`.
19515
+ */
19441
19516
  batchSoakDuration?: pulumi.Input<string>;
19442
19517
  }
19443
19518
  interface ClusterNotificationConfig {
@@ -24817,6 +24892,13 @@ export declare namespace filestore {
24817
24892
  * Structure is documented below.
24818
24893
  */
24819
24894
  nfsExportOptions?: pulumi.Input<pulumi.Input<inputs.filestore.InstanceFileSharesNfsExportOption>[]>;
24895
+ /**
24896
+ * -
24897
+ * The resource name of the backup, in the format
24898
+ * projects/{projectId}/locations/{locationId}/backups/{backupId},
24899
+ * that this file share has been restored from.
24900
+ */
24901
+ sourceBackup?: pulumi.Input<string>;
24820
24902
  }
24821
24903
  interface InstanceFileSharesNfsExportOption {
24822
24904
  /**
@@ -26553,8 +26635,7 @@ export declare namespace logging {
26553
26635
  }
26554
26636
  interface MetricMetricDescriptorLabel {
26555
26637
  /**
26556
- * A description of this metric, which is used in documentation. The maximum length of the
26557
- * description is 8000 characters.
26638
+ * A human-readable description for the label.
26558
26639
  */
26559
26640
  description?: pulumi.Input<string>;
26560
26641
  /**
package/types/output.d.ts CHANGED
@@ -19919,7 +19919,7 @@ export declare namespace container {
19919
19919
  */
19920
19920
  gcpFilestoreCsiDriverConfig: outputs.container.ClusterAddonsConfigGcpFilestoreCsiDriverConfig;
19921
19921
  /**
19922
- * ).
19922
+ * .
19923
19923
  * The status of the Backup for GKE agent addon. It is disabled by default; Set `enabled = true` to enable.
19924
19924
  */
19925
19925
  gkeBackupAgentConfig: outputs.container.ClusterAddonsConfigGkeBackupAgentConfig;
@@ -20137,6 +20137,10 @@ export declare namespace container {
20137
20137
  * Shielded Instance options. Structure is documented below.
20138
20138
  */
20139
20139
  shieldedInstanceConfig?: outputs.container.ClusterClusterAutoscalingAutoProvisioningDefaultsShieldedInstanceConfig;
20140
+ /**
20141
+ * Specifies the upgrade settings for NAP created node pools. Structure is documented below.
20142
+ */
20143
+ upgradeSettings: outputs.container.ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettings;
20140
20144
  }
20141
20145
  interface ClusterClusterAutoscalingAutoProvisioningDefaultsManagement {
20142
20146
  /**
@@ -20166,6 +20170,42 @@ export declare namespace container {
20166
20170
  */
20167
20171
  enableSecureBoot?: boolean;
20168
20172
  }
20173
+ interface ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettings {
20174
+ /**
20175
+ * Settings for blue-green upgrade strategy. To be specified when strategy is set to BLUE_GREEN. Structure is documented below.
20176
+ */
20177
+ blueGreenSettings: outputs.container.ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettingsBlueGreenSettings;
20178
+ /**
20179
+ * The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process. To be used when strategy is set to SURGE. Default is 0.
20180
+ */
20181
+ maxSurge?: number;
20182
+ /**
20183
+ * The maximum number of nodes that can be simultaneously unavailable during the upgrade process. To be used when strategy is set to SURGE. Default is 0.
20184
+ */
20185
+ maxUnavailable?: number;
20186
+ /**
20187
+ * Strategy used for node pool update. Strategy can only be one of BLUE_GREEN or SURGE. The default is value is SURGE.
20188
+ */
20189
+ strategy: string;
20190
+ }
20191
+ interface ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettingsBlueGreenSettings {
20192
+ /**
20193
+ * Time needed after draining entire blue pool. After this period, blue pool will be cleaned up. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
20194
+ */
20195
+ nodePoolSoakDuration: string;
20196
+ standardRolloutPolicy: outputs.container.ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy;
20197
+ }
20198
+ interface ClusterClusterAutoscalingAutoProvisioningDefaultsUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy {
20199
+ /**
20200
+ * Number of blue nodes to drain in a batch. Only one of the batchPercentage or batchNodeCount can be specified.
20201
+ */
20202
+ batchNodeCount: number;
20203
+ batchPercentage: number;
20204
+ /**
20205
+ * Soak time after each batch gets drained. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".`.
20206
+ */
20207
+ batchSoakDuration?: string;
20208
+ }
20169
20209
  interface ClusterClusterAutoscalingResourceLimit {
20170
20210
  /**
20171
20211
  * Maximum amount of the resource in the cluster.
@@ -20233,6 +20273,17 @@ export declare namespace container {
20233
20273
  */
20234
20274
  clusterDnsScope?: string;
20235
20275
  }
20276
+ interface ClusterGatewayApiConfig {
20277
+ /**
20278
+ * The selected release channel.
20279
+ * Accepted values are:
20280
+ * * UNSPECIFIED: Not set.
20281
+ * * RAPID: Weekly upgrade cadence; Early testers and developers who requires new features.
20282
+ * * REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel.
20283
+ * * STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky.
20284
+ */
20285
+ channel: string;
20286
+ }
20236
20287
  interface ClusterIdentityServiceConfig {
20237
20288
  /**
20238
20289
  * Enable the PodSecurityPolicy controller for this cluster.
@@ -20723,6 +20774,9 @@ export declare namespace container {
20723
20774
  */
20724
20775
  nodeLocations: string[];
20725
20776
  placementPolicy?: outputs.container.ClusterNodePoolPlacementPolicy;
20777
+ /**
20778
+ * Specifies the upgrade settings for NAP created node pools. Structure is documented below.
20779
+ */
20726
20780
  upgradeSettings: outputs.container.ClusterNodePoolUpgradeSettings;
20727
20781
  version: string;
20728
20782
  }
@@ -21097,18 +21151,39 @@ export declare namespace container {
21097
21151
  type: string;
21098
21152
  }
21099
21153
  interface ClusterNodePoolUpgradeSettings {
21154
+ /**
21155
+ * Settings for blue-green upgrade strategy. To be specified when strategy is set to BLUE_GREEN. Structure is documented below.
21156
+ */
21100
21157
  blueGreenSettings: outputs.container.ClusterNodePoolUpgradeSettingsBlueGreenSettings;
21158
+ /**
21159
+ * The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process. To be used when strategy is set to SURGE. Default is 0.
21160
+ */
21101
21161
  maxSurge: number;
21162
+ /**
21163
+ * The maximum number of nodes that can be simultaneously unavailable during the upgrade process. To be used when strategy is set to SURGE. Default is 0.
21164
+ */
21102
21165
  maxUnavailable: number;
21166
+ /**
21167
+ * Strategy used for node pool update. Strategy can only be one of BLUE_GREEN or SURGE. The default is value is SURGE.
21168
+ */
21103
21169
  strategy?: string;
21104
21170
  }
21105
21171
  interface ClusterNodePoolUpgradeSettingsBlueGreenSettings {
21172
+ /**
21173
+ * Time needed after draining entire blue pool. After this period, blue pool will be cleaned up. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
21174
+ */
21106
21175
  nodePoolSoakDuration: string;
21107
21176
  standardRolloutPolicy: outputs.container.ClusterNodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy;
21108
21177
  }
21109
21178
  interface ClusterNodePoolUpgradeSettingsBlueGreenSettingsStandardRolloutPolicy {
21179
+ /**
21180
+ * Number of blue nodes to drain in a batch. Only one of the batchPercentage or batchNodeCount can be specified.
21181
+ */
21110
21182
  batchNodeCount: number;
21111
21183
  batchPercentage: number;
21184
+ /**
21185
+ * Soak time after each batch gets drained. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".`.
21186
+ */
21112
21187
  batchSoakDuration: string;
21113
21188
  }
21114
21189
  interface ClusterNotificationConfig {
@@ -21333,6 +21408,7 @@ export declare namespace container {
21333
21408
  oauthScopes: string[];
21334
21409
  serviceAccount: string;
21335
21410
  shieldedInstanceConfigs: outputs.container.GetClusterClusterAutoscalingAutoProvisioningDefaultShieldedInstanceConfig[];
21411
+ upgradeSettings: outputs.container.GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSetting[];
21336
21412
  }
21337
21413
  interface GetClusterClusterAutoscalingAutoProvisioningDefaultManagement {
21338
21414
  autoRepair: boolean;
@@ -21347,6 +21423,21 @@ export declare namespace container {
21347
21423
  enableIntegrityMonitoring: boolean;
21348
21424
  enableSecureBoot: boolean;
21349
21425
  }
21426
+ interface GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSetting {
21427
+ blueGreenSettings: outputs.container.GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSettingBlueGreenSetting[];
21428
+ maxSurge: number;
21429
+ maxUnavailable: number;
21430
+ strategy: string;
21431
+ }
21432
+ interface GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSettingBlueGreenSetting {
21433
+ nodePoolSoakDuration: string;
21434
+ standardRolloutPolicies: outputs.container.GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSettingBlueGreenSettingStandardRolloutPolicy[];
21435
+ }
21436
+ interface GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSettingBlueGreenSettingStandardRolloutPolicy {
21437
+ batchNodeCount: number;
21438
+ batchPercentage: number;
21439
+ batchSoakDuration: string;
21440
+ }
21350
21441
  interface GetClusterClusterAutoscalingResourceLimit {
21351
21442
  maximum: number;
21352
21443
  minimum: number;
@@ -21373,6 +21464,9 @@ export declare namespace container {
21373
21464
  clusterDnsDomain: string;
21374
21465
  clusterDnsScope: string;
21375
21466
  }
21467
+ interface GetClusterGatewayApiConfig {
21468
+ channel: string;
21469
+ }
21376
21470
  interface GetClusterIdentityServiceConfig {
21377
21471
  enabled: boolean;
21378
21472
  }
@@ -22126,11 +22220,11 @@ export declare namespace datacatalog {
22126
22220
  /**
22127
22221
  * A description for this field.
22128
22222
  */
22129
- description?: string;
22223
+ description: string;
22130
22224
  /**
22131
22225
  * The display name for this template.
22132
22226
  */
22133
- displayName?: string;
22227
+ displayName: string;
22134
22228
  /**
22135
22229
  * The identifier for this object. Format specified above.
22136
22230
  */
@@ -22138,7 +22232,7 @@ export declare namespace datacatalog {
22138
22232
  /**
22139
22233
  * Whether this is a required field. Defaults to false.
22140
22234
  */
22141
- isRequired?: boolean;
22235
+ isRequired: boolean;
22142
22236
  /**
22143
22237
  * -
22144
22238
  * The resource name of the tag template field in URL format. Example: projects/{project_id}/locations/{location}/tagTemplates/{tagTemplateId}/fields/{field}
@@ -22149,7 +22243,7 @@ export declare namespace datacatalog {
22149
22243
  * A higher value indicates a more important field. The value can be negative.
22150
22244
  * Multiple fields can have the same order, and field orders within a tag do not have to be sequential.
22151
22245
  */
22152
- order?: number;
22246
+ order: number;
22153
22247
  /**
22154
22248
  * The type of value this tag field can contain.
22155
22249
  * Structure is documented below.
@@ -22168,7 +22262,7 @@ export declare namespace datacatalog {
22168
22262
  * Exactly one of `primitiveType` or `enumType` must be set
22169
22263
  * Possible values are `DOUBLE`, `STRING`, `BOOL`, and `TIMESTAMP`.
22170
22264
  */
22171
- primitiveType?: string;
22265
+ primitiveType: string;
22172
22266
  }
22173
22267
  interface TagTemplateFieldTypeEnumType {
22174
22268
  /**
@@ -27058,6 +27152,13 @@ export declare namespace filestore {
27058
27152
  * Structure is documented below.
27059
27153
  */
27060
27154
  nfsExportOptions?: outputs.filestore.InstanceFileSharesNfsExportOption[];
27155
+ /**
27156
+ * -
27157
+ * The resource name of the backup, in the format
27158
+ * projects/{projectId}/locations/{locationId}/backups/{backupId},
27159
+ * that this file share has been restored from.
27160
+ */
27161
+ sourceBackup: string;
27061
27162
  }
27062
27163
  interface InstanceFileSharesNfsExportOption {
27063
27164
  /**
@@ -28864,8 +28965,7 @@ export declare namespace logging {
28864
28965
  }
28865
28966
  interface MetricMetricDescriptorLabel {
28866
28967
  /**
28867
- * A description of this metric, which is used in documentation. The maximum length of the
28868
- * description is 8000 characters.
28968
+ * A human-readable description for the label.
28869
28969
  */
28870
28970
  description?: string;
28871
28971
  /**