@pulumi/gcp 6.14.0 → 6.15.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 (71) hide show
  1. package/apigee/endpointAttachment.d.ts +161 -0
  2. package/apigee/endpointAttachment.js +127 -0
  3. package/apigee/endpointAttachment.js.map +1 -0
  4. package/apigee/index.d.ts +1 -0
  5. package/apigee/index.js +5 -0
  6. package/apigee/index.js.map +1 -1
  7. package/certificateauthority/caPool.d.ts +91 -0
  8. package/certificateauthority/caPool.js +91 -0
  9. package/certificateauthority/caPool.js.map +1 -1
  10. package/certificateauthority/getAuthority.d.ts +97 -0
  11. package/certificateauthority/getAuthority.js +43 -0
  12. package/certificateauthority/getAuthority.js.map +1 -0
  13. package/certificateauthority/index.d.ts +1 -0
  14. package/certificateauthority/index.js +1 -0
  15. package/certificateauthority/index.js.map +1 -1
  16. package/cloudfunctionsv2/function.d.ts +301 -0
  17. package/cloudfunctionsv2/function.js +186 -0
  18. package/cloudfunctionsv2/function.js.map +1 -0
  19. package/cloudfunctionsv2/index.d.ts +1 -0
  20. package/cloudfunctionsv2/index.js +37 -0
  21. package/cloudfunctionsv2/index.js.map +1 -0
  22. package/composer/environment.d.ts +1 -1
  23. package/compute/address.d.ts +3 -3
  24. package/compute/globalForwardingRule.d.ts +153 -0
  25. package/compute/globalForwardingRule.js +153 -0
  26. package/compute/globalForwardingRule.js.map +1 -1
  27. package/compute/index.d.ts +3 -0
  28. package/compute/index.js +15 -0
  29. package/compute/index.js.map +1 -1
  30. package/compute/regionBackendServiceIamBinding.d.ts +57 -0
  31. package/compute/regionBackendServiceIamBinding.js +67 -0
  32. package/compute/regionBackendServiceIamBinding.js.map +1 -0
  33. package/compute/regionBackendServiceIamMember.d.ts +57 -0
  34. package/compute/regionBackendServiceIamMember.js +67 -0
  35. package/compute/regionBackendServiceIamMember.js.map +1 -0
  36. package/compute/regionBackendServiceIamPolicy.d.ts +50 -0
  37. package/compute/regionBackendServiceIamPolicy.js +60 -0
  38. package/compute/regionBackendServiceIamPolicy.js.map +1 -0
  39. package/config/vars.d.ts +1 -0
  40. package/config/vars.js +6 -0
  41. package/config/vars.js.map +1 -1
  42. package/container/cluster.d.ts +1 -1
  43. package/dns/getRecordSet.d.ts +83 -0
  44. package/dns/getRecordSet.js +48 -0
  45. package/dns/getRecordSet.js.map +1 -0
  46. package/dns/index.d.ts +1 -0
  47. package/dns/index.js +1 -0
  48. package/dns/index.js.map +1 -1
  49. package/index.d.ts +2 -1
  50. package/index.js +4 -2
  51. package/index.js.map +1 -1
  52. package/package.json +2 -2
  53. package/package.json.dev +2 -2
  54. package/provider.d.ts +2 -0
  55. package/provider.js +1 -0
  56. package/provider.js.map +1 -1
  57. package/serviceaccount/iambinding.d.ts +12 -12
  58. package/serviceaccount/iambinding.js +12 -12
  59. package/serviceaccount/iammember.d.ts +12 -12
  60. package/serviceaccount/iammember.js +12 -12
  61. package/serviceaccount/iampolicy.d.ts +12 -12
  62. package/serviceaccount/iampolicy.js +12 -12
  63. package/sql/database.d.ts +1 -0
  64. package/sql/database.js +1 -0
  65. package/sql/database.js.map +1 -1
  66. package/sql/user.d.ts +6 -3
  67. package/sql/user.js.map +1 -1
  68. package/storage/getTransferProjectServieAccount.d.ts +5 -1
  69. package/storage/getTransferProjectServieAccount.js.map +1 -1
  70. package/types/input.d.ts +236 -3
  71. package/types/output.d.ts +327 -4
package/types/input.d.ts CHANGED
@@ -5656,6 +5656,209 @@ export declare namespace cloudfunctions {
5656
5656
  url: pulumi.Input<string>;
5657
5657
  }
5658
5658
  }
5659
+ export declare namespace cloudfunctionsv2 {
5660
+ interface FunctionBuildConfig {
5661
+ /**
5662
+ * -
5663
+ * The Cloud Build name of the latest successful
5664
+ * deployment of the function.
5665
+ */
5666
+ build?: pulumi.Input<string>;
5667
+ /**
5668
+ * User managed repository created in Artifact Registry optionally with a customer managed encryption key.
5669
+ */
5670
+ dockerRepository?: pulumi.Input<string>;
5671
+ /**
5672
+ * The name of the function (as defined in source code) that will be executed.
5673
+ * Defaults to the resource name suffix, if not specified. For backward
5674
+ * compatibility, if function with given name is not found, then the system
5675
+ * will try to use function named "function". For Node.js this is name of a
5676
+ * function exported by the module specified in source_location.
5677
+ */
5678
+ entryPoint?: pulumi.Input<string>;
5679
+ /**
5680
+ * Environment variables that shall be available during function execution.
5681
+ */
5682
+ environmentVariables?: pulumi.Input<{
5683
+ [key: string]: pulumi.Input<string>;
5684
+ }>;
5685
+ /**
5686
+ * The runtime in which to run the function. Required when deploying a new
5687
+ * function, optional when updating an existing function.
5688
+ */
5689
+ runtime?: pulumi.Input<string>;
5690
+ /**
5691
+ * The location of the function source code.
5692
+ * Structure is documented below.
5693
+ */
5694
+ source?: pulumi.Input<inputs.cloudfunctionsv2.FunctionBuildConfigSource>;
5695
+ /**
5696
+ * Name of the Cloud Build Custom Worker Pool that should be used to build the function.
5697
+ */
5698
+ workerPool?: pulumi.Input<string>;
5699
+ }
5700
+ interface FunctionBuildConfigSource {
5701
+ /**
5702
+ * If provided, get the source from this location in a Cloud Source Repository.
5703
+ * Structure is documented below.
5704
+ */
5705
+ repoSource?: pulumi.Input<inputs.cloudfunctionsv2.FunctionBuildConfigSourceRepoSource>;
5706
+ /**
5707
+ * If provided, get the source from this location in Google Cloud Storage.
5708
+ * Structure is documented below.
5709
+ */
5710
+ storageSource?: pulumi.Input<inputs.cloudfunctionsv2.FunctionBuildConfigSourceStorageSource>;
5711
+ }
5712
+ interface FunctionBuildConfigSourceRepoSource {
5713
+ /**
5714
+ * Regex matching branches to build.
5715
+ */
5716
+ branchName?: pulumi.Input<string>;
5717
+ /**
5718
+ * Regex matching tags to build.
5719
+ */
5720
+ commitSha?: pulumi.Input<string>;
5721
+ /**
5722
+ * Directory, relative to the source root, in which to run the build.
5723
+ */
5724
+ dir?: pulumi.Input<string>;
5725
+ /**
5726
+ * Only trigger a build if the revision regex does
5727
+ * NOT match the revision regex.
5728
+ */
5729
+ invertRegex?: pulumi.Input<boolean>;
5730
+ /**
5731
+ * ID of the project that owns the Cloud Source Repository. If omitted, the
5732
+ * project ID requesting the build is assumed.
5733
+ */
5734
+ projectId?: pulumi.Input<string>;
5735
+ /**
5736
+ * Name of the Cloud Source Repository.
5737
+ */
5738
+ repoName?: pulumi.Input<string>;
5739
+ /**
5740
+ * Regex matching tags to build.
5741
+ */
5742
+ tagName?: pulumi.Input<string>;
5743
+ }
5744
+ interface FunctionBuildConfigSourceStorageSource {
5745
+ /**
5746
+ * Google Cloud Storage bucket containing the source
5747
+ */
5748
+ bucket?: pulumi.Input<string>;
5749
+ /**
5750
+ * Google Cloud Storage generation for the object. If the generation
5751
+ * is omitted, the latest generation will be used.
5752
+ */
5753
+ generation?: pulumi.Input<number>;
5754
+ /**
5755
+ * Google Cloud Storage object containing the source.
5756
+ */
5757
+ object?: pulumi.Input<string>;
5758
+ }
5759
+ interface FunctionEventTrigger {
5760
+ /**
5761
+ * Required. The type of event to observe.
5762
+ */
5763
+ eventType?: pulumi.Input<string>;
5764
+ /**
5765
+ * The name of a Pub/Sub topic in the same project that will be used
5766
+ * as the transport topic for the event delivery.
5767
+ */
5768
+ pubsubTopic?: pulumi.Input<string>;
5769
+ /**
5770
+ * Describes the retry policy in case of function's execution failure.
5771
+ * Retried execution is charged as any other execution.
5772
+ * Possible values are `RETRY_POLICY_UNSPECIFIED`, `RETRY_POLICY_DO_NOT_RETRY`, and `RETRY_POLICY_RETRY`.
5773
+ */
5774
+ retryPolicy?: pulumi.Input<string>;
5775
+ /**
5776
+ * -
5777
+ * The email of the service account for this function.
5778
+ */
5779
+ serviceAccountEmail?: pulumi.Input<string>;
5780
+ /**
5781
+ * -
5782
+ * The resource name of the Eventarc trigger.
5783
+ */
5784
+ trigger?: pulumi.Input<string>;
5785
+ /**
5786
+ * The region that the trigger will be in. The trigger will only receive
5787
+ * events originating in this region. It can be the same
5788
+ * region as the function, a different region or multi-region, or the global
5789
+ * region. If not provided, defaults to the same region as the function.
5790
+ */
5791
+ triggerRegion?: pulumi.Input<string>;
5792
+ }
5793
+ interface FunctionServiceConfig {
5794
+ /**
5795
+ * Whether 100% of traffic is routed to the latest revision. Defaults to true.
5796
+ */
5797
+ allTrafficOnLatestRevision?: pulumi.Input<boolean>;
5798
+ /**
5799
+ * The amount of memory available for a function.
5800
+ * Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is
5801
+ * supplied the value is interpreted as bytes.
5802
+ */
5803
+ availableMemory?: pulumi.Input<string>;
5804
+ /**
5805
+ * Environment variables that shall be available during function execution.
5806
+ */
5807
+ environmentVariables?: pulumi.Input<{
5808
+ [key: string]: pulumi.Input<string>;
5809
+ }>;
5810
+ /**
5811
+ * -
5812
+ * URIs of the Service deployed
5813
+ */
5814
+ gcfUri?: pulumi.Input<string>;
5815
+ /**
5816
+ * Available ingress settings. Defaults to "ALLOW_ALL" if unspecified.
5817
+ * Default value is `ALLOW_ALL`.
5818
+ * Possible values are `ALLOW_ALL`, `ALLOW_INTERNAL_ONLY`, and `ALLOW_INTERNAL_AND_GCLB`.
5819
+ */
5820
+ ingressSettings?: pulumi.Input<string>;
5821
+ /**
5822
+ * The limit on the maximum number of function instances that may coexist at a
5823
+ * given time.
5824
+ */
5825
+ maxInstanceCount?: pulumi.Input<number>;
5826
+ /**
5827
+ * The limit on the minimum number of function instances that may coexist at a
5828
+ * given time.
5829
+ */
5830
+ minInstanceCount?: pulumi.Input<number>;
5831
+ /**
5832
+ * Name of the service associated with a Function.
5833
+ */
5834
+ service?: pulumi.Input<string>;
5835
+ /**
5836
+ * -
5837
+ * The email of the service account for this function.
5838
+ */
5839
+ serviceAccountEmail?: pulumi.Input<string>;
5840
+ /**
5841
+ * The function execution timeout. Execution is considered failed and
5842
+ * can be terminated if the function is not completed at the end of the
5843
+ * timeout period. Defaults to 60 seconds.
5844
+ */
5845
+ timeoutSeconds?: pulumi.Input<number>;
5846
+ /**
5847
+ * -
5848
+ * URI of the Service deployed.
5849
+ */
5850
+ uri?: pulumi.Input<string>;
5851
+ /**
5852
+ * The Serverless VPC Access connector that this cloud function can connect to.
5853
+ */
5854
+ vpcConnector?: pulumi.Input<string>;
5855
+ /**
5856
+ * Available egress settings.
5857
+ * Possible values are `VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED`, `PRIVATE_RANGES_ONLY`, and `ALL_TRAFFIC`.
5858
+ */
5859
+ vpcConnectorEgressSettings?: pulumi.Input<string>;
5860
+ }
5861
+ }
5659
5862
  export declare namespace cloudidentity {
5660
5863
  interface GroupGroupKey {
5661
5864
  /**
@@ -8246,7 +8449,7 @@ export declare namespace compute {
8246
8449
  deviceName?: pulumi.Input<string>;
8247
8450
  /**
8248
8451
  * A 256-bit [customer-supplied encryption key]
8249
- * (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
8452
+ * (<https://cloud.google.com/compute/docs/disks/customer-supplied-encryption>),
8250
8453
  * encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
8251
8454
  * to encrypt this disk. Only one of `kmsKeySelfLink` and `diskEncryptionKeyRaw` may be set.
8252
8455
  */
@@ -8283,7 +8486,7 @@ export declare namespace compute {
8283
8486
  deviceName?: pulumi.Input<string>;
8284
8487
  /**
8285
8488
  * A 256-bit [customer-supplied encryption key]
8286
- * (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption),
8489
+ * (<https://cloud.google.com/compute/docs/disks/customer-supplied-encryption>),
8287
8490
  * encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
8288
8491
  * to encrypt this disk. Only one of `kmsKeySelfLink` and `diskEncryptionKeyRaw` may be set.
8289
8492
  */
@@ -8912,6 +9115,12 @@ export declare namespace compute {
8912
9115
  * set to false. Defaults to false.
8913
9116
  */
8914
9117
  preemptible?: pulumi.Input<boolean>;
9118
+ /**
9119
+ * Describe the type of preemptible VM. This field accepts the value `STANDARD` or `SPOT`. If the value is `STANDARD`, there will be no discount. If this is set to `SPOT`,
9120
+ * `preemptible` should be `true` and `autoRestart` should be
9121
+ * `false`. For more info about
9122
+ * `SPOT`, read [here](https://cloud.google.com/compute/docs/instances/spot)
9123
+ */
8915
9124
  provisioningModel?: pulumi.Input<string>;
8916
9125
  }
8917
9126
  interface InstanceSchedulingNodeAffinity {
@@ -9236,6 +9445,12 @@ export declare namespace compute {
9236
9445
  * [here](https://cloud.google.com/compute/docs/instances/preemptible).
9237
9446
  */
9238
9447
  preemptible?: pulumi.Input<boolean>;
9448
+ /**
9449
+ * Describe the type of preemptible VM. This field accepts the value `STANDARD` or `SPOT`. If the value is `STANDARD`, there will be no discount. If this is set to `SPOT`,
9450
+ * `preemptible` should be `true` and `autoRestart` should be
9451
+ * `false`. For more info about
9452
+ * `SPOT`, read [here](https://cloud.google.com/compute/docs/instances/spot)
9453
+ */
9239
9454
  provisioningModel?: pulumi.Input<string>;
9240
9455
  }
9241
9456
  interface InstanceTemplateSchedulingNodeAffinity {
@@ -10158,6 +10373,16 @@ export declare namespace compute {
10158
10373
  */
10159
10374
  failoverRatio?: pulumi.Input<number>;
10160
10375
  }
10376
+ interface RegionBackendServiceIamBindingCondition {
10377
+ description?: pulumi.Input<string>;
10378
+ expression: pulumi.Input<string>;
10379
+ title: pulumi.Input<string>;
10380
+ }
10381
+ interface RegionBackendServiceIamMemberCondition {
10382
+ description?: pulumi.Input<string>;
10383
+ expression: pulumi.Input<string>;
10384
+ title: pulumi.Input<string>;
10385
+ }
10161
10386
  interface RegionBackendServiceIap {
10162
10387
  /**
10163
10388
  * OAuth2 Client ID for IAP
@@ -12362,6 +12587,14 @@ export declare namespace compute {
12362
12587
  * will have the same local ASN.
12363
12588
  */
12364
12589
  asn: pulumi.Input<number>;
12590
+ /**
12591
+ * The interval in seconds between BGP keepalive messages that are sent to the peer.
12592
+ * Hold time is three times the interval at which keepalive messages are sent, and the hold time is the
12593
+ * maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer.
12594
+ * BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for
12595
+ * the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.
12596
+ */
12597
+ keepaliveInterval?: pulumi.Input<number>;
12365
12598
  }
12366
12599
  interface RouterBgpAdvertisedIpRange {
12367
12600
  /**
@@ -19149,7 +19382,7 @@ export declare namespace dataproc {
19149
19382
  /**
19150
19383
  * Required. Cloud Storage URI of executable file.
19151
19384
  */
19152
- executableFile?: pulumi.Input<string>;
19385
+ executableFile: pulumi.Input<string>;
19153
19386
  /**
19154
19387
  * Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of (https://developers.google.com/protocol-buffers/docs/proto3#json)). Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.
19155
19388
  */