@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
package/types/output.d.ts CHANGED
@@ -2467,6 +2467,16 @@ export declare namespace bigquery {
2467
2467
  */
2468
2468
  username: string;
2469
2469
  }
2470
+ interface ConnectionIamBindingCondition {
2471
+ description?: string;
2472
+ expression: string;
2473
+ title: string;
2474
+ }
2475
+ interface ConnectionIamMemberCondition {
2476
+ description?: string;
2477
+ expression: string;
2478
+ title: string;
2479
+ }
2470
2480
  interface DataTransferConfigEmailPreferences {
2471
2481
  /**
2472
2482
  * If true, email notifications will be sent on transfer run failures.
@@ -3008,7 +3018,7 @@ export declare namespace bigquery {
3008
3018
  * The destination table.
3009
3019
  * Structure is documented below.
3010
3020
  */
3011
- destinationTable?: outputs.bigquery.JobQueryDestinationTable;
3021
+ destinationTable: outputs.bigquery.JobQueryDestinationTable;
3012
3022
  /**
3013
3023
  * If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results.
3014
3024
  * allowLargeResults must be true if this is set to false. For standard SQL queries, this flag is ignored and results are never flattened.
@@ -3613,12 +3623,17 @@ export declare namespace billing {
3613
3623
  }
3614
3624
  interface BudgetBudgetFilter {
3615
3625
  /**
3616
- * A set of subaccounts of the form billingAccounts/{account_id},
3617
- * specifying that usage from only this set of subaccounts should
3618
- * be included in the budget. If a subaccount is set to the name of
3619
- * the parent account, usage from the parent account will be included.
3620
- * If the field is omitted, the report will include usage from the parent
3621
- * account and all subaccounts, if they exist.
3626
+ * A CalendarPeriod represents the abstract concept of a recurring time period that has a
3627
+ * canonical start. Grammatically, "the start of the current CalendarPeriod".
3628
+ * All calendar times begin at 12 AM US and Canadian Pacific Time (UTC-8).
3629
+ * Exactly one of `calendarPeriod`, `customPeriod` must be provided.
3630
+ * Possible values are `MONTH`, `QUARTER`, `YEAR`, and `CALENDAR_PERIOD_UNSPECIFIED`.
3631
+ */
3632
+ calendarPeriod?: string;
3633
+ /**
3634
+ * Optional. If creditTypesTreatment is INCLUDE_SPECIFIED_CREDITS,
3635
+ * 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.
3636
+ * If creditTypesTreatment is not INCLUDE_SPECIFIED_CREDITS, this field must be empty.
3622
3637
  */
3623
3638
  creditTypes: string[];
3624
3639
  /**
@@ -3628,6 +3643,13 @@ export declare namespace billing {
3628
3643
  * Possible values are `INCLUDE_ALL_CREDITS`, `EXCLUDE_ALL_CREDITS`, and `INCLUDE_SPECIFIED_CREDITS`.
3629
3644
  */
3630
3645
  creditTypesTreatment?: string;
3646
+ /**
3647
+ * Specifies to track usage from any start date (required) to any end date (optional).
3648
+ * This time period is static, it does not recur.
3649
+ * Exactly one of `calendarPeriod`, `customPeriod` must be provided.
3650
+ * Structure is documented below.
3651
+ */
3652
+ customPeriod?: outputs.billing.BudgetBudgetFilterCustomPeriod;
3631
3653
  /**
3632
3654
  * A single label and value pair specifying that usage from only
3633
3655
  * this set of labeled resources should be included in the budget.
@@ -3662,6 +3684,47 @@ export declare namespace billing {
3662
3684
  */
3663
3685
  subaccounts: string[];
3664
3686
  }
3687
+ interface BudgetBudgetFilterCustomPeriod {
3688
+ /**
3689
+ * Optional. The end date of the time period. Budgets with elapsed end date won't be processed.
3690
+ * If unset, specifies to track all usage incurred since the startDate.
3691
+ * Structure is documented below.
3692
+ */
3693
+ endDate?: outputs.billing.BudgetBudgetFilterCustomPeriodEndDate;
3694
+ /**
3695
+ * A start date is required. The start date must be after January 1, 2017.
3696
+ * Structure is documented below.
3697
+ */
3698
+ startDate: outputs.billing.BudgetBudgetFilterCustomPeriodStartDate;
3699
+ }
3700
+ interface BudgetBudgetFilterCustomPeriodEndDate {
3701
+ /**
3702
+ * Day of a month. Must be from 1 to 31 and valid for the year and month.
3703
+ */
3704
+ day: number;
3705
+ /**
3706
+ * Month of a year. Must be from 1 to 12.
3707
+ */
3708
+ month: number;
3709
+ /**
3710
+ * Year of the date. Must be from 1 to 9999.
3711
+ */
3712
+ year: number;
3713
+ }
3714
+ interface BudgetBudgetFilterCustomPeriodStartDate {
3715
+ /**
3716
+ * Day of a month. Must be from 1 to 31 and valid for the year and month.
3717
+ */
3718
+ day: number;
3719
+ /**
3720
+ * Month of a year. Must be from 1 to 12.
3721
+ */
3722
+ month: number;
3723
+ /**
3724
+ * Year of the date. Must be from 1 to 9999.
3725
+ */
3726
+ year: number;
3727
+ }
3665
3728
  interface BudgetThresholdRule {
3666
3729
  /**
3667
3730
  * The type of basis used to determine if spend has passed
@@ -4093,6 +4156,27 @@ export declare namespace certificateauthority {
4093
4156
  */
4094
4157
  cloudKmsKeyVersion?: string;
4095
4158
  }
4159
+ interface AuthoritySubordinateConfig {
4160
+ /**
4161
+ * This can refer to a CertificateAuthority that was used to create a
4162
+ * subordinate CertificateAuthority. This field is used for information
4163
+ * and usability purposes only. The resource name is in the format
4164
+ * `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
4165
+ */
4166
+ certificateAuthority?: string;
4167
+ /**
4168
+ * Contains the PEM certificate chain for the issuers of this CertificateAuthority,
4169
+ * but not pem certificate for this CA itself.
4170
+ * Structure is documented below.
4171
+ */
4172
+ pemIssuerChain?: outputs.certificateauthority.AuthoritySubordinateConfigPemIssuerChain;
4173
+ }
4174
+ interface AuthoritySubordinateConfigPemIssuerChain {
4175
+ /**
4176
+ * Expected to be in leaf-to-root order according to RFC 5246.
4177
+ */
4178
+ pemCertificates?: string[];
4179
+ }
4096
4180
  interface CaPoolIamBindingCondition {
4097
4181
  /**
4098
4182
  * An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
@@ -5354,6 +5438,13 @@ export declare namespace certificateauthority {
5354
5438
  algorithm: string;
5355
5439
  cloudKmsKeyVersion: string;
5356
5440
  }
5441
+ interface GetAuthoritySubordinateConfig {
5442
+ certificateAuthority: string;
5443
+ pemIssuerChains: outputs.certificateauthority.GetAuthoritySubordinateConfigPemIssuerChain[];
5444
+ }
5445
+ interface GetAuthoritySubordinateConfigPemIssuerChain {
5446
+ pemCertificates: string[];
5447
+ }
5357
5448
  }
5358
5449
  export declare namespace certificatemanager {
5359
5450
  interface CertificateManaged {
@@ -7620,6 +7711,16 @@ export declare namespace cloudtasks {
7620
7711
  */
7621
7712
  version?: string;
7622
7713
  }
7714
+ interface QueueIamBindingCondition {
7715
+ description?: string;
7716
+ expression: string;
7717
+ title: string;
7718
+ }
7719
+ interface QueueIamMemberCondition {
7720
+ description?: string;
7721
+ expression: string;
7722
+ title: string;
7723
+ }
7623
7724
  interface QueueRateLimits {
7624
7725
  /**
7625
7726
  * -
@@ -8477,6 +8578,8 @@ export declare namespace compute {
8477
8578
  * For global HTTP(S) or TCP/SSL load balancing, the default is
8478
8579
  * UTILIZATION. Valid values are UTILIZATION, RATE (for HTTP(S))
8479
8580
  * and CONNECTION (for TCP/SSL).
8581
+ * See the [Backend Services Overview](https://cloud.google.com/load-balancing/docs/backend-service#balancing-mode)
8582
+ * for an explanation of load balancing modes.
8480
8583
  * Default value is `UTILIZATION`.
8481
8584
  * Possible values are `UTILIZATION`, `RATE`, and `CONNECTION`.
8482
8585
  */
@@ -11969,6 +12072,8 @@ export declare namespace compute {
11969
12072
  interface RegionBackendServiceBackend {
11970
12073
  /**
11971
12074
  * Specifies the balancing mode for this backend.
12075
+ * See the [Backend Services Overview](https://cloud.google.com/load-balancing/docs/backend-service#balancing-mode)
12076
+ * for an explanation of load balancing modes.
11972
12077
  * Default value is `CONNECTION`.
11973
12078
  * Possible values are `UTILIZATION`, `RATE`, and `CONNECTION`.
11974
12079
  */
@@ -17514,7 +17619,7 @@ export declare namespace container {
17514
17619
  dnsCacheConfig: outputs.container.ClusterAddonsConfigDnsCacheConfig;
17515
17620
  /**
17516
17621
  * .
17517
- * Whether this cluster should enable the Google Compute Engine Persistent Disk Container Storage Interface (CSI) Driver. Defaults to disabled; set `enabled = true` to enable.
17622
+ * Whether this cluster should enable the Google Compute Engine Persistent Disk Container Storage Interface (CSI) Driver. Defaults to disabled; set `enabled = true` to enabled.
17518
17623
  */
17519
17624
  gcePersistentDiskCsiDriverConfig: outputs.container.ClusterAddonsConfigGcePersistentDiskCsiDriverConfig;
17520
17625
  /**
@@ -17999,7 +18104,7 @@ export declare namespace container {
17999
18104
  * [official documentation](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
18000
18105
  * for more information.
18001
18106
  */
18002
- minCpuPlatform?: string;
18107
+ minCpuPlatform: string;
18003
18108
  /**
18004
18109
  * Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
18005
18110
  */
@@ -18318,7 +18423,7 @@ export declare namespace container {
18318
18423
  * [official documentation](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
18319
18424
  * for more information.
18320
18425
  */
18321
- minCpuPlatform?: string;
18426
+ minCpuPlatform: string;
18322
18427
  /**
18323
18428
  * Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
18324
18429
  */
@@ -19035,7 +19140,7 @@ export declare namespace container {
19035
19140
  metadata: {
19036
19141
  [key: string]: string;
19037
19142
  };
19038
- minCpuPlatform?: string;
19143
+ minCpuPlatform: string;
19039
19144
  nodeGroup?: string;
19040
19145
  oauthScopes: string[];
19041
19146
  preemptible?: boolean;
@@ -20504,6 +20609,16 @@ export declare namespace dataproc {
20504
20609
  */
20505
20610
  scaleUpMinWorkerFraction?: number;
20506
20611
  }
20612
+ interface AutoscalingPolicyIamBindingCondition {
20613
+ description?: string;
20614
+ expression: string;
20615
+ title: string;
20616
+ }
20617
+ interface AutoscalingPolicyIamMemberCondition {
20618
+ description?: string;
20619
+ expression: string;
20620
+ title: string;
20621
+ }
20507
20622
  interface AutoscalingPolicySecondaryWorkerConfig {
20508
20623
  /**
20509
20624
  * Maximum number of instances for this group. Note that by default, clusters will not use
@@ -21397,6 +21512,16 @@ export declare namespace dataproc {
21397
21512
  */
21398
21513
  cloudSecret: string;
21399
21514
  }
21515
+ interface MetastoreServiceIamBindingCondition {
21516
+ description?: string;
21517
+ expression: string;
21518
+ title: string;
21519
+ }
21520
+ interface MetastoreServiceIamMemberCondition {
21521
+ description?: string;
21522
+ expression: string;
21523
+ title: string;
21524
+ }
21400
21525
  interface MetastoreServiceMaintenanceWindow {
21401
21526
  /**
21402
21527
  * The day of week, when the window starts.
@@ -30451,6 +30576,7 @@ export declare namespace sql {
30451
30576
  * Pricing plan for this instance, can only be `PER_USE`.
30452
30577
  */
30453
30578
  pricingPlan?: string;
30579
+ sqlServerAuditConfig?: outputs.sql.DatabaseInstanceSettingsSqlServerAuditConfig;
30454
30580
  /**
30455
30581
  * The machine type to use. See [tiers](https://cloud.google.com/sql/docs/admin-api/v1beta4/tiers)
30456
30582
  * for more details and supported versions. Postgres supports only shared-core machine types,
@@ -30593,6 +30719,10 @@ export declare namespace sql {
30593
30719
  * in. Must be in the same region as this instance.
30594
30720
  */
30595
30721
  followGaeApplication?: string;
30722
+ /**
30723
+ * The preferred Compute Engine zone for the secondary/failover.
30724
+ */
30725
+ secondaryZone?: string;
30596
30726
  /**
30597
30727
  * The preferred compute engine
30598
30728
  * [zone](https://cloud.google.com/compute/docs/zones?hl=en).
@@ -30614,6 +30744,20 @@ export declare namespace sql {
30614
30744
  */
30615
30745
  updateTrack?: string;
30616
30746
  }
30747
+ interface DatabaseInstanceSettingsSqlServerAuditConfig {
30748
+ /**
30749
+ * The name of the destination bucket (e.g., gs://mybucket).
30750
+ */
30751
+ bucket: string;
30752
+ /**
30753
+ * How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
30754
+ */
30755
+ retentionInterval?: string;
30756
+ /**
30757
+ * How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
30758
+ */
30759
+ uploadInterval?: string;
30760
+ }
30617
30761
  interface GetCaCertsCert {
30618
30762
  /**
30619
30763
  * The CA certificate used to connect to the SQL instance via SSL.
@@ -30690,6 +30834,7 @@ export declare namespace sql {
30690
30834
  locationPreferences: outputs.sql.GetDatabaseInstanceSettingLocationPreference[];
30691
30835
  maintenanceWindows: outputs.sql.GetDatabaseInstanceSettingMaintenanceWindow[];
30692
30836
  pricingPlan: string;
30837
+ sqlServerAuditConfigs: outputs.sql.GetDatabaseInstanceSettingSqlServerAuditConfig[];
30693
30838
  tier: string;
30694
30839
  userLabels: {
30695
30840
  [key: string]: string;
@@ -30742,6 +30887,7 @@ export declare namespace sql {
30742
30887
  }
30743
30888
  interface GetDatabaseInstanceSettingLocationPreference {
30744
30889
  followGaeApplication: string;
30890
+ secondaryZone: string;
30745
30891
  zone: string;
30746
30892
  }
30747
30893
  interface GetDatabaseInstanceSettingMaintenanceWindow {
@@ -30749,6 +30895,11 @@ export declare namespace sql {
30749
30895
  hour: number;
30750
30896
  updateTrack: string;
30751
30897
  }
30898
+ interface GetDatabaseInstanceSettingSqlServerAuditConfig {
30899
+ bucket: string;
30900
+ retentionInterval: string;
30901
+ uploadInterval: string;
30902
+ }
30752
30903
  interface UserSqlServerUserDetails {
30753
30904
  disabled?: boolean;
30754
30905
  serverRoles?: string[];