@pulumi/gcp 6.30.0 → 6.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/bigquery/connection.d.ts +14 -14
  2. package/bigquery/connection.js +14 -14
  3. package/bigquery/connectionIamBinding.d.ts +214 -0
  4. package/bigquery/connectionIamBinding.js +155 -0
  5. package/bigquery/connectionIamBinding.js.map +1 -0
  6. package/bigquery/connectionIamMember.d.ts +214 -0
  7. package/bigquery/connectionIamMember.js +155 -0
  8. package/bigquery/connectionIamMember.js.map +1 -0
  9. package/bigquery/connectionIamPolicy.d.ts +204 -0
  10. package/bigquery/connectionIamPolicy.js +148 -0
  11. package/bigquery/connectionIamPolicy.js.map +1 -0
  12. package/bigquery/index.d.ts +3 -0
  13. package/bigquery/index.js +15 -0
  14. package/bigquery/index.js.map +1 -1
  15. package/billing/budget.d.ts +46 -0
  16. package/billing/budget.js +46 -0
  17. package/billing/budget.js.map +1 -1
  18. package/certificateauthority/authority.d.ts +85 -23
  19. package/certificateauthority/authority.js +56 -17
  20. package/certificateauthority/authority.js.map +1 -1
  21. package/certificateauthority/certificate.d.ts +14 -5
  22. package/certificateauthority/certificate.js.map +1 -1
  23. package/certificateauthority/getAuthority.d.ts +2 -0
  24. package/certificateauthority/getAuthority.js.map +1 -1
  25. package/cloudfunctions/function.d.ts +4 -3
  26. package/cloudfunctions/function.js +1 -0
  27. package/cloudfunctions/function.js.map +1 -1
  28. package/cloudfunctionsv2/function.d.ts +6 -2
  29. package/cloudfunctionsv2/function.js +6 -2
  30. package/cloudfunctionsv2/function.js.map +1 -1
  31. package/cloudrun/service.d.ts +424 -0
  32. package/cloudrun/service.js +424 -0
  33. package/cloudrun/service.js.map +1 -1
  34. package/cloudtasks/index.d.ts +3 -0
  35. package/cloudtasks/index.js +15 -0
  36. package/cloudtasks/index.js.map +1 -1
  37. package/cloudtasks/queueIamBinding.d.ts +190 -0
  38. package/cloudtasks/queueIamBinding.js +149 -0
  39. package/cloudtasks/queueIamBinding.js.map +1 -0
  40. package/cloudtasks/queueIamMember.d.ts +190 -0
  41. package/cloudtasks/queueIamMember.js +149 -0
  42. package/cloudtasks/queueIamMember.js.map +1 -0
  43. package/cloudtasks/queueIamPolicy.d.ts +180 -0
  44. package/cloudtasks/queueIamPolicy.js +142 -0
  45. package/cloudtasks/queueIamPolicy.js.map +1 -0
  46. package/compute/globalForwardingRule.d.ts +17 -2
  47. package/compute/globalForwardingRule.js +17 -2
  48. package/compute/globalForwardingRule.js.map +1 -1
  49. package/compute/networkEndpointGroup.d.ts +6 -3
  50. package/compute/networkEndpointGroup.js.map +1 -1
  51. package/dataproc/autoscalingPolicyIamBinding.d.ts +208 -0
  52. package/dataproc/autoscalingPolicyIamBinding.js +155 -0
  53. package/dataproc/autoscalingPolicyIamBinding.js.map +1 -0
  54. package/dataproc/autoscalingPolicyIamMember.d.ts +208 -0
  55. package/dataproc/autoscalingPolicyIamMember.js +155 -0
  56. package/dataproc/autoscalingPolicyIamMember.js.map +1 -0
  57. package/dataproc/autoscalingPolicyIamPolicy.d.ts +198 -0
  58. package/dataproc/autoscalingPolicyIamPolicy.js +148 -0
  59. package/dataproc/autoscalingPolicyIamPolicy.js.map +1 -0
  60. package/dataproc/index.d.ts +6 -0
  61. package/dataproc/index.js +30 -0
  62. package/dataproc/index.js.map +1 -1
  63. package/dataproc/metastoreServiceIamBinding.d.ts +130 -0
  64. package/dataproc/metastoreServiceIamBinding.js +95 -0
  65. package/dataproc/metastoreServiceIamBinding.js.map +1 -0
  66. package/dataproc/metastoreServiceIamMember.d.ts +130 -0
  67. package/dataproc/metastoreServiceIamMember.js +95 -0
  68. package/dataproc/metastoreServiceIamMember.js.map +1 -0
  69. package/dataproc/metastoreServiceIamPolicy.d.ts +120 -0
  70. package/dataproc/metastoreServiceIamPolicy.js +88 -0
  71. package/dataproc/metastoreServiceIamPolicy.js.map +1 -0
  72. package/logging/projectSink.d.ts +80 -0
  73. package/logging/projectSink.js +80 -0
  74. package/logging/projectSink.js.map +1 -1
  75. package/monitoring/monitoredProject.d.ts +2 -6
  76. package/monitoring/monitoredProject.js +2 -6
  77. package/monitoring/monitoredProject.js.map +1 -1
  78. package/package.json +2 -2
  79. package/package.json.dev +2 -2
  80. package/projects/serviceIdentity.d.ts +4 -0
  81. package/projects/serviceIdentity.js +1 -1
  82. package/projects/serviceIdentity.js.map +1 -1
  83. package/redis/getInstance.d.ts +1 -0
  84. package/redis/getInstance.js.map +1 -1
  85. package/redis/instance.d.ts +42 -0
  86. package/redis/instance.js +29 -0
  87. package/redis/instance.js.map +1 -1
  88. package/spanner/database.d.ts +44 -12
  89. package/spanner/database.js +13 -0
  90. package/spanner/database.js.map +1 -1
  91. package/sql/getBackupRun.d.ts +11 -0
  92. package/sql/getBackupRun.js +1 -0
  93. package/sql/getBackupRun.js.map +1 -1
  94. package/types/input.d.ts +144 -7
  95. package/types/output.d.ts +162 -11
@@ -1,6 +1,16 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "../types";
3
3
  /**
4
+ * A Cloud Spanner Database which is hosted on a Spanner instance.
5
+ *
6
+ * To get more information about Database, see:
7
+ *
8
+ * * [API documentation](https://cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.databases)
9
+ * * How-to Guides
10
+ * * [Official Documentation](https://cloud.google.com/spanner/)
11
+ *
12
+ * > **Warning:** It is strongly recommended to set `lifecycle { preventDestroy = true }` on databases in order to prevent accidental data loss.
13
+ *
4
14
  * ## Example Usage
5
15
  * ### Spanner Database Basic
6
16
  *
@@ -15,6 +25,7 @@ import { input as inputs, output as outputs } from "../types";
15
25
  * });
16
26
  * const database = new gcp.spanner.Database("database", {
17
27
  * instance: main.name,
28
+ * versionRetentionPeriod: "3d",
18
29
  * ddls: [
19
30
  * "CREATE TABLE t1 (t1 INT64 NOT NULL,) PRIMARY KEY(t1)",
20
31
  * "CREATE TABLE t2 (t2 INT64 NOT NULL,) PRIMARY KEY(t2)",
@@ -60,10 +71,9 @@ export declare class Database extends pulumi.CustomResource {
60
71
  */
61
72
  static isInstance(obj: any): obj is Database;
62
73
  /**
63
- * The dialect of the Cloud Spanner Database. If it is not provided, "GOOGLE_STANDARD_SQL" will be used. Note: Databases
64
- * that are created with POSTGRESQL dialect do not support extra DDL statements in the 'CreateDatabase' call. You must
65
- * therefore re-apply terraform with ddl on the same database after creation. Possible values: ["GOOGLE_STANDARD_SQL",
66
- * "POSTGRESQL"]
74
+ * The dialect of the Cloud Spanner Database.
75
+ * If it is not provided, "GOOGLE_STANDARD_SQL" will be used.
76
+ * Possible values are `GOOGLE_STANDARD_SQL` and `POSTGRESQL`.
67
77
  */
68
78
  readonly databaseDialect: pulumi.Output<string>;
69
79
  /**
@@ -101,6 +111,14 @@ export declare class Database extends pulumi.CustomResource {
101
111
  * An explanation of the status of the database.
102
112
  */
103
113
  readonly state: pulumi.Output<string>;
114
+ /**
115
+ * The retention period for the database. The retention period must be between 1 hour
116
+ * and 7 days, and can be specified in days, hours, minutes, or seconds. For example,
117
+ * the values 1d, 24h, 1440m, and 86400s are equivalent. Default value is 1h.
118
+ * If this property is used, you must avoid adding new DDL statements to `ddl` that
119
+ * update the database's version_retention_period.
120
+ */
121
+ readonly versionRetentionPeriod: pulumi.Output<string>;
104
122
  /**
105
123
  * Create a Database resource with the given unique name, arguments, and options.
106
124
  *
@@ -115,10 +133,9 @@ export declare class Database extends pulumi.CustomResource {
115
133
  */
116
134
  export interface DatabaseState {
117
135
  /**
118
- * The dialect of the Cloud Spanner Database. If it is not provided, "GOOGLE_STANDARD_SQL" will be used. Note: Databases
119
- * that are created with POSTGRESQL dialect do not support extra DDL statements in the 'CreateDatabase' call. You must
120
- * therefore re-apply terraform with ddl on the same database after creation. Possible values: ["GOOGLE_STANDARD_SQL",
121
- * "POSTGRESQL"]
136
+ * The dialect of the Cloud Spanner Database.
137
+ * If it is not provided, "GOOGLE_STANDARD_SQL" will be used.
138
+ * Possible values are `GOOGLE_STANDARD_SQL` and `POSTGRESQL`.
122
139
  */
123
140
  databaseDialect?: pulumi.Input<string>;
124
141
  /**
@@ -156,16 +173,23 @@ export interface DatabaseState {
156
173
  * An explanation of the status of the database.
157
174
  */
158
175
  state?: pulumi.Input<string>;
176
+ /**
177
+ * The retention period for the database. The retention period must be between 1 hour
178
+ * and 7 days, and can be specified in days, hours, minutes, or seconds. For example,
179
+ * the values 1d, 24h, 1440m, and 86400s are equivalent. Default value is 1h.
180
+ * If this property is used, you must avoid adding new DDL statements to `ddl` that
181
+ * update the database's version_retention_period.
182
+ */
183
+ versionRetentionPeriod?: pulumi.Input<string>;
159
184
  }
160
185
  /**
161
186
  * The set of arguments for constructing a Database resource.
162
187
  */
163
188
  export interface DatabaseArgs {
164
189
  /**
165
- * The dialect of the Cloud Spanner Database. If it is not provided, "GOOGLE_STANDARD_SQL" will be used. Note: Databases
166
- * that are created with POSTGRESQL dialect do not support extra DDL statements in the 'CreateDatabase' call. You must
167
- * therefore re-apply terraform with ddl on the same database after creation. Possible values: ["GOOGLE_STANDARD_SQL",
168
- * "POSTGRESQL"]
190
+ * The dialect of the Cloud Spanner Database.
191
+ * If it is not provided, "GOOGLE_STANDARD_SQL" will be used.
192
+ * Possible values are `GOOGLE_STANDARD_SQL` and `POSTGRESQL`.
169
193
  */
170
194
  databaseDialect?: pulumi.Input<string>;
171
195
  /**
@@ -199,4 +223,12 @@ export interface DatabaseArgs {
199
223
  * If it is not provided, the provider project is used.
200
224
  */
201
225
  project?: pulumi.Input<string>;
226
+ /**
227
+ * The retention period for the database. The retention period must be between 1 hour
228
+ * and 7 days, and can be specified in days, hours, minutes, or seconds. For example,
229
+ * the values 1d, 24h, 1440m, and 86400s are equivalent. Default value is 1h.
230
+ * If this property is used, you must avoid adding new DDL statements to `ddl` that
231
+ * update the database's version_retention_period.
232
+ */
233
+ versionRetentionPeriod?: pulumi.Input<string>;
202
234
  }
@@ -6,6 +6,16 @@ exports.Database = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
+ * A Cloud Spanner Database which is hosted on a Spanner instance.
10
+ *
11
+ * To get more information about Database, see:
12
+ *
13
+ * * [API documentation](https://cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.databases)
14
+ * * How-to Guides
15
+ * * [Official Documentation](https://cloud.google.com/spanner/)
16
+ *
17
+ * > **Warning:** It is strongly recommended to set `lifecycle { preventDestroy = true }` on databases in order to prevent accidental data loss.
18
+ *
9
19
  * ## Example Usage
10
20
  * ### Spanner Database Basic
11
21
  *
@@ -20,6 +30,7 @@ const utilities = require("../utilities");
20
30
  * });
21
31
  * const database = new gcp.spanner.Database("database", {
22
32
  * instance: main.name,
33
+ * versionRetentionPeriod: "3d",
23
34
  * ddls: [
24
35
  * "CREATE TABLE t1 (t1 INT64 NOT NULL,) PRIMARY KEY(t1)",
25
36
  * "CREATE TABLE t2 (t2 INT64 NOT NULL,) PRIMARY KEY(t2)",
@@ -62,6 +73,7 @@ class Database extends pulumi.CustomResource {
62
73
  resourceInputs["name"] = state ? state.name : undefined;
63
74
  resourceInputs["project"] = state ? state.project : undefined;
64
75
  resourceInputs["state"] = state ? state.state : undefined;
76
+ resourceInputs["versionRetentionPeriod"] = state ? state.versionRetentionPeriod : undefined;
65
77
  }
66
78
  else {
67
79
  const args = argsOrState;
@@ -75,6 +87,7 @@ class Database extends pulumi.CustomResource {
75
87
  resourceInputs["instance"] = args ? args.instance : undefined;
76
88
  resourceInputs["name"] = args ? args.name : undefined;
77
89
  resourceInputs["project"] = args ? args.project : undefined;
90
+ resourceInputs["versionRetentionPeriod"] = args ? args.versionRetentionPeriod : undefined;
78
91
  resourceInputs["state"] = undefined /*out*/;
79
92
  }
80
93
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"database.js","sourceRoot":"","sources":["../../spanner/database.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;A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AQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BAsHC;AAxGG,gBAAgB;AACO,qBAAY,GAAG,+BAA+B,CAAC"}
@@ -33,6 +33,11 @@ export interface GetBackupRunArgs {
33
33
  * Cloud SQL instance.
34
34
  */
35
35
  mostRecent?: boolean;
36
+ /**
37
+ * The project to list instances for. If it
38
+ * is not provided, the provider project is used.
39
+ */
40
+ project?: string;
36
41
  }
37
42
  /**
38
43
  * A collection of values returned by getBackupRun.
@@ -49,6 +54,7 @@ export interface GetBackupRunResult {
49
54
  */
50
55
  readonly location: string;
51
56
  readonly mostRecent?: boolean;
57
+ readonly project: string;
52
58
  /**
53
59
  * The time the backup operation actually started in UTC timezone in RFC 3339 format, for
54
60
  * example 2012-11-15T16:19:00.094Z.
@@ -78,4 +84,9 @@ export interface GetBackupRunOutputArgs {
78
84
  * Cloud SQL instance.
79
85
  */
80
86
  mostRecent?: pulumi.Input<boolean>;
87
+ /**
88
+ * The project to list instances for. If it
89
+ * is not provided, the provider project is used.
90
+ */
91
+ project?: pulumi.Input<string>;
81
92
  }
@@ -29,6 +29,7 @@ function getBackupRun(args, opts) {
29
29
  "backupId": args.backupId,
30
30
  "instance": args.instance,
31
31
  "mostRecent": args.mostRecent,
32
+ "project": args.project,
32
33
  }, opts);
33
34
  }
34
35
  exports.getBackupRun = getBackupRun;
@@ -1 +1 @@
1
- {"version":3,"file":"getBackupRun.js","sourceRoot":"","sources":["../../sql/getBackupRun.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,M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AI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
package/types/input.d.ts CHANGED
@@ -2472,6 +2472,16 @@ export declare namespace bigquery {
2472
2472
  */
2473
2473
  username: pulumi.Input<string>;
2474
2474
  }
2475
+ interface ConnectionIamBindingCondition {
2476
+ description?: pulumi.Input<string>;
2477
+ expression: pulumi.Input<string>;
2478
+ title: pulumi.Input<string>;
2479
+ }
2480
+ interface ConnectionIamMemberCondition {
2481
+ description?: pulumi.Input<string>;
2482
+ expression: pulumi.Input<string>;
2483
+ title: pulumi.Input<string>;
2484
+ }
2475
2485
  interface DataTransferConfigEmailPreferences {
2476
2486
  /**
2477
2487
  * If true, email notifications will be sent on transfer run failures.
@@ -3618,12 +3628,17 @@ export declare namespace billing {
3618
3628
  }
3619
3629
  interface BudgetBudgetFilter {
3620
3630
  /**
3621
- * A set of subaccounts of the form billingAccounts/{account_id},
3622
- * specifying that usage from only this set of subaccounts should
3623
- * be included in the budget. If a subaccount is set to the name of
3624
- * the parent account, usage from the parent account will be included.
3625
- * If the field is omitted, the report will include usage from the parent
3626
- * account and all subaccounts, if they exist.
3631
+ * A CalendarPeriod represents the abstract concept of a recurring time period that has a
3632
+ * canonical start. Grammatically, "the start of the current CalendarPeriod".
3633
+ * All calendar times begin at 12 AM US and Canadian Pacific Time (UTC-8).
3634
+ * Exactly one of `calendarPeriod`, `customPeriod` must be provided.
3635
+ * Possible values are `MONTH`, `QUARTER`, `YEAR`, and `CALENDAR_PERIOD_UNSPECIFIED`.
3636
+ */
3637
+ calendarPeriod?: pulumi.Input<string>;
3638
+ /**
3639
+ * Optional. If creditTypesTreatment is INCLUDE_SPECIFIED_CREDITS,
3640
+ * this is a list of credit types to be subtracted from gross cost to determine the spend for threshold calculations. See a list of acceptable credit type values.
3641
+ * If creditTypesTreatment is not INCLUDE_SPECIFIED_CREDITS, this field must be empty.
3627
3642
  */
3628
3643
  creditTypes?: pulumi.Input<pulumi.Input<string>[]>;
3629
3644
  /**
@@ -3633,6 +3648,13 @@ export declare namespace billing {
3633
3648
  * Possible values are `INCLUDE_ALL_CREDITS`, `EXCLUDE_ALL_CREDITS`, and `INCLUDE_SPECIFIED_CREDITS`.
3634
3649
  */
3635
3650
  creditTypesTreatment?: pulumi.Input<string>;
3651
+ /**
3652
+ * Specifies to track usage from any start date (required) to any end date (optional).
3653
+ * This time period is static, it does not recur.
3654
+ * Exactly one of `calendarPeriod`, `customPeriod` must be provided.
3655
+ * Structure is documented below.
3656
+ */
3657
+ customPeriod?: pulumi.Input<inputs.billing.BudgetBudgetFilterCustomPeriod>;
3636
3658
  /**
3637
3659
  * A single label and value pair specifying that usage from only
3638
3660
  * this set of labeled resources should be included in the budget.
@@ -3667,6 +3689,47 @@ export declare namespace billing {
3667
3689
  */
3668
3690
  subaccounts?: pulumi.Input<pulumi.Input<string>[]>;
3669
3691
  }
3692
+ interface BudgetBudgetFilterCustomPeriod {
3693
+ /**
3694
+ * Optional. The end date of the time period. Budgets with elapsed end date won't be processed.
3695
+ * If unset, specifies to track all usage incurred since the startDate.
3696
+ * Structure is documented below.
3697
+ */
3698
+ endDate?: pulumi.Input<inputs.billing.BudgetBudgetFilterCustomPeriodEndDate>;
3699
+ /**
3700
+ * A start date is required. The start date must be after January 1, 2017.
3701
+ * Structure is documented below.
3702
+ */
3703
+ startDate: pulumi.Input<inputs.billing.BudgetBudgetFilterCustomPeriodStartDate>;
3704
+ }
3705
+ interface BudgetBudgetFilterCustomPeriodEndDate {
3706
+ /**
3707
+ * Day of a month. Must be from 1 to 31 and valid for the year and month.
3708
+ */
3709
+ day: pulumi.Input<number>;
3710
+ /**
3711
+ * Month of a year. Must be from 1 to 12.
3712
+ */
3713
+ month: pulumi.Input<number>;
3714
+ /**
3715
+ * Year of the date. Must be from 1 to 9999.
3716
+ */
3717
+ year: pulumi.Input<number>;
3718
+ }
3719
+ interface BudgetBudgetFilterCustomPeriodStartDate {
3720
+ /**
3721
+ * Day of a month. Must be from 1 to 31 and valid for the year and month.
3722
+ */
3723
+ day: pulumi.Input<number>;
3724
+ /**
3725
+ * Month of a year. Must be from 1 to 12.
3726
+ */
3727
+ month: pulumi.Input<number>;
3728
+ /**
3729
+ * Year of the date. Must be from 1 to 9999.
3730
+ */
3731
+ year: pulumi.Input<number>;
3732
+ }
3670
3733
  interface BudgetThresholdRule {
3671
3734
  /**
3672
3735
  * The type of basis used to determine if spend has passed
@@ -4098,6 +4161,27 @@ export declare namespace certificateauthority {
4098
4161
  */
4099
4162
  cloudKmsKeyVersion?: pulumi.Input<string>;
4100
4163
  }
4164
+ interface AuthoritySubordinateConfig {
4165
+ /**
4166
+ * This can refer to a CertificateAuthority that was used to create a
4167
+ * subordinate CertificateAuthority. This field is used for information
4168
+ * and usability purposes only. The resource name is in the format
4169
+ * `projects/*&#47;locations/*&#47;caPools/*&#47;certificateAuthorities/*`.
4170
+ */
4171
+ certificateAuthority?: pulumi.Input<string>;
4172
+ /**
4173
+ * Contains the PEM certificate chain for the issuers of this CertificateAuthority,
4174
+ * but not pem certificate for this CA itself.
4175
+ * Structure is documented below.
4176
+ */
4177
+ pemIssuerChain?: pulumi.Input<inputs.certificateauthority.AuthoritySubordinateConfigPemIssuerChain>;
4178
+ }
4179
+ interface AuthoritySubordinateConfigPemIssuerChain {
4180
+ /**
4181
+ * Expected to be in leaf-to-root order according to RFC 5246.
4182
+ */
4183
+ pemCertificates?: pulumi.Input<pulumi.Input<string>[]>;
4184
+ }
4101
4185
  interface CaPoolIamBindingCondition {
4102
4186
  /**
4103
4187
  * An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
@@ -7266,6 +7350,16 @@ export declare namespace cloudtasks {
7266
7350
  */
7267
7351
  version?: pulumi.Input<string>;
7268
7352
  }
7353
+ interface QueueIamBindingCondition {
7354
+ description?: pulumi.Input<string>;
7355
+ expression: pulumi.Input<string>;
7356
+ title: pulumi.Input<string>;
7357
+ }
7358
+ interface QueueIamMemberCondition {
7359
+ description?: pulumi.Input<string>;
7360
+ expression: pulumi.Input<string>;
7361
+ title: pulumi.Input<string>;
7362
+ }
7269
7363
  interface QueueRateLimits {
7270
7364
  /**
7271
7365
  * -
@@ -8001,6 +8095,8 @@ export declare namespace compute {
8001
8095
  * For global HTTP(S) or TCP/SSL load balancing, the default is
8002
8096
  * UTILIZATION. Valid values are UTILIZATION, RATE (for HTTP(S))
8003
8097
  * and CONNECTION (for TCP/SSL).
8098
+ * See the [Backend Services Overview](https://cloud.google.com/load-balancing/docs/backend-service#balancing-mode)
8099
+ * for an explanation of load balancing modes.
8004
8100
  * Default value is `UTILIZATION`.
8005
8101
  * Possible values are `UTILIZATION`, `RATE`, and `CONNECTION`.
8006
8102
  */
@@ -10623,6 +10719,8 @@ export declare namespace compute {
10623
10719
  interface RegionBackendServiceBackend {
10624
10720
  /**
10625
10721
  * Specifies the balancing mode for this backend.
10722
+ * See the [Backend Services Overview](https://cloud.google.com/load-balancing/docs/backend-service#balancing-mode)
10723
+ * for an explanation of load balancing modes.
10626
10724
  * Default value is `CONNECTION`.
10627
10725
  * Possible values are `UTILIZATION`, `RATE`, and `CONNECTION`.
10628
10726
  */
@@ -16108,7 +16206,7 @@ export declare namespace container {
16108
16206
  dnsCacheConfig?: pulumi.Input<inputs.container.ClusterAddonsConfigDnsCacheConfig>;
16109
16207
  /**
16110
16208
  * .
16111
- * Whether this cluster should enable the Google Compute Engine Persistent Disk Container Storage Interface (CSI) Driver. Defaults to disabled; set `enabled = true` to enable.
16209
+ * Whether this cluster should enable the Google Compute Engine Persistent Disk Container Storage Interface (CSI) Driver. Defaults to disabled; set `enabled = true` to enabled.
16112
16210
  */
16113
16211
  gcePersistentDiskCsiDriverConfig?: pulumi.Input<inputs.container.ClusterAddonsConfigGcePersistentDiskCsiDriverConfig>;
16114
16212
  /**
@@ -18726,6 +18824,16 @@ export declare namespace dataproc {
18726
18824
  */
18727
18825
  scaleUpMinWorkerFraction?: pulumi.Input<number>;
18728
18826
  }
18827
+ interface AutoscalingPolicyIamBindingCondition {
18828
+ description?: pulumi.Input<string>;
18829
+ expression: pulumi.Input<string>;
18830
+ title: pulumi.Input<string>;
18831
+ }
18832
+ interface AutoscalingPolicyIamMemberCondition {
18833
+ description?: pulumi.Input<string>;
18834
+ expression: pulumi.Input<string>;
18835
+ title: pulumi.Input<string>;
18836
+ }
18729
18837
  interface AutoscalingPolicySecondaryWorkerConfig {
18730
18838
  /**
18731
18839
  * Maximum number of instances for this group. Note that by default, clusters will not use
@@ -19619,6 +19727,16 @@ export declare namespace dataproc {
19619
19727
  */
19620
19728
  cloudSecret: pulumi.Input<string>;
19621
19729
  }
19730
+ interface MetastoreServiceIamBindingCondition {
19731
+ description?: pulumi.Input<string>;
19732
+ expression: pulumi.Input<string>;
19733
+ title: pulumi.Input<string>;
19734
+ }
19735
+ interface MetastoreServiceIamMemberCondition {
19736
+ description?: pulumi.Input<string>;
19737
+ expression: pulumi.Input<string>;
19738
+ title: pulumi.Input<string>;
19739
+ }
19622
19740
  interface MetastoreServiceMaintenanceWindow {
19623
19741
  /**
19624
19742
  * The day of week, when the window starts.
@@ -28371,6 +28489,7 @@ export declare namespace sql {
28371
28489
  * Pricing plan for this instance, can only be `PER_USE`.
28372
28490
  */
28373
28491
  pricingPlan?: pulumi.Input<string>;
28492
+ sqlServerAuditConfig?: pulumi.Input<inputs.sql.DatabaseInstanceSettingsSqlServerAuditConfig>;
28374
28493
  /**
28375
28494
  * The machine type to use. See [tiers](https://cloud.google.com/sql/docs/admin-api/v1beta4/tiers)
28376
28495
  * for more details and supported versions. Postgres supports only shared-core machine types,
@@ -28513,6 +28632,10 @@ export declare namespace sql {
28513
28632
  * in. Must be in the same region as this instance.
28514
28633
  */
28515
28634
  followGaeApplication?: pulumi.Input<string>;
28635
+ /**
28636
+ * The preferred Compute Engine zone for the secondary/failover.
28637
+ */
28638
+ secondaryZone?: pulumi.Input<string>;
28516
28639
  /**
28517
28640
  * The preferred compute engine
28518
28641
  * [zone](https://cloud.google.com/compute/docs/zones?hl=en).
@@ -28534,6 +28657,20 @@ export declare namespace sql {
28534
28657
  */
28535
28658
  updateTrack?: pulumi.Input<string>;
28536
28659
  }
28660
+ interface DatabaseInstanceSettingsSqlServerAuditConfig {
28661
+ /**
28662
+ * The name of the destination bucket (e.g., gs://mybucket).
28663
+ */
28664
+ bucket: pulumi.Input<string>;
28665
+ /**
28666
+ * How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
28667
+ */
28668
+ retentionInterval?: pulumi.Input<string>;
28669
+ /**
28670
+ * How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
28671
+ */
28672
+ uploadInterval?: pulumi.Input<string>;
28673
+ }
28537
28674
  interface UserSqlServerUserDetails {
28538
28675
  disabled?: pulumi.Input<boolean>;
28539
28676
  serverRoles?: pulumi.Input<pulumi.Input<string>[]>;