pulumi-gcp 8.20.0a1739946722__py3-none-any.whl → 8.21.0a1740551699__py3-none-any.whl

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 (189) hide show
  1. pulumi_gcp/__init__.py +48 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +168 -8
  3. pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +2 -2
  4. pulumi_gcp/accesscontextmanager/outputs.py +104 -8
  5. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +78 -3
  6. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +78 -3
  7. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +78 -3
  8. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +78 -3
  9. pulumi_gcp/alloydb/__init__.py +1 -0
  10. pulumi_gcp/alloydb/get_instance.py +466 -0
  11. pulumi_gcp/alloydb/outputs.py +352 -0
  12. pulumi_gcp/apigateway/get_api_config_iam_policy.py +20 -2
  13. pulumi_gcp/apigateway/get_api_iam_policy.py +20 -2
  14. pulumi_gcp/apigateway/get_gateway_iam_policy.py +22 -2
  15. pulumi_gcp/apigee/get_environment_iam_policy.py +2 -2
  16. pulumi_gcp/artifactregistry/get_repository_iam_policy.py +2 -2
  17. pulumi_gcp/beyondcorp/get_application_iam_policy.py +2 -2
  18. pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -2
  19. pulumi_gcp/bigquery/connection.py +2 -14
  20. pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -2
  21. pulumi_gcp/bigquery/get_table_iam_policy.py +2 -2
  22. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +8 -8
  23. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +8 -8
  24. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +8 -8
  25. pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
  26. pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
  27. pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +8 -8
  28. pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +8 -8
  29. pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +8 -8
  30. pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -2
  31. pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +2 -2
  32. pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -2
  33. pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +2 -2
  34. pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -2
  35. pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +2 -2
  36. pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +2 -2
  37. pulumi_gcp/clouddeploy/get_target_iam_policy.py +2 -2
  38. pulumi_gcp/cloudfunctions/get_function_iam_policy.py +2 -2
  39. pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +2 -2
  40. pulumi_gcp/cloudrun/_inputs.py +6 -3
  41. pulumi_gcp/cloudrun/get_service_iam_policy.py +2 -2
  42. pulumi_gcp/cloudrun/outputs.py +4 -2
  43. pulumi_gcp/cloudrunv2/get_job_iam_policy.py +2 -2
  44. pulumi_gcp/cloudrunv2/get_service_iam_policy.py +2 -2
  45. pulumi_gcp/cloudtasks/get_queue_iam_policy.py +2 -2
  46. pulumi_gcp/colab/get_runtime_template_iam_policy.py +2 -2
  47. pulumi_gcp/composer/_inputs.py +6 -6
  48. pulumi_gcp/composer/outputs.py +8 -8
  49. pulumi_gcp/compute/_inputs.py +756 -30
  50. pulumi_gcp/compute/firewall_policy_rule.py +0 -2
  51. pulumi_gcp/compute/get_backend_bucket_iam_policy.py +20 -2
  52. pulumi_gcp/compute/get_backend_service_iam_policy.py +20 -2
  53. pulumi_gcp/compute/get_disk_iam_policy.py +2 -2
  54. pulumi_gcp/compute/get_hc_vpn_gateway.py +45 -1
  55. pulumi_gcp/compute/get_image_iam_policy.py +2 -2
  56. pulumi_gcp/compute/get_instance_iam_policy.py +2 -2
  57. pulumi_gcp/compute/get_instance_template_iam_policy.py +2 -2
  58. pulumi_gcp/compute/get_machine_image_iam_policy.py +20 -2
  59. pulumi_gcp/compute/get_region_backend_service_iam_policy.py +22 -2
  60. pulumi_gcp/compute/get_region_disk_iam_policy.py +2 -2
  61. pulumi_gcp/compute/get_snapshot_iam_policy.py +2 -2
  62. pulumi_gcp/compute/get_subnetwork_iam_policy.py +2 -2
  63. pulumi_gcp/compute/ha_vpn_gateway.py +189 -2
  64. pulumi_gcp/compute/instance_template.py +14 -35
  65. pulumi_gcp/compute/outputs.py +796 -18
  66. pulumi_gcp/config/__init__.pyi +2 -0
  67. pulumi_gcp/config/vars.py +4 -0
  68. pulumi_gcp/container/_inputs.py +447 -3
  69. pulumi_gcp/container/outputs.py +469 -5
  70. pulumi_gcp/containeranalysis/get_note_iam_policy.py +2 -2
  71. pulumi_gcp/datacatalog/entry_group_iam_binding.py +8 -8
  72. pulumi_gcp/datacatalog/entry_group_iam_member.py +8 -8
  73. pulumi_gcp/datacatalog/entry_group_iam_policy.py +8 -8
  74. pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +2 -2
  75. pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +2 -2
  76. pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +2 -2
  77. pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +2 -2
  78. pulumi_gcp/datacatalog/policy_tag_iam_binding.py +8 -8
  79. pulumi_gcp/datacatalog/policy_tag_iam_member.py +8 -8
  80. pulumi_gcp/datacatalog/policy_tag_iam_policy.py +8 -8
  81. pulumi_gcp/datacatalog/tag_template_iam_binding.py +8 -8
  82. pulumi_gcp/datacatalog/tag_template_iam_member.py +8 -8
  83. pulumi_gcp/datacatalog/tag_template_iam_policy.py +8 -8
  84. pulumi_gcp/datacatalog/taxonomy_iam_binding.py +8 -8
  85. pulumi_gcp/datacatalog/taxonomy_iam_member.py +8 -8
  86. pulumi_gcp/datacatalog/taxonomy_iam_policy.py +8 -8
  87. pulumi_gcp/dataform/get_repository_iam_policy.py +22 -2
  88. pulumi_gcp/datafusion/get_instance_iam_policy.py +2 -2
  89. pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -2
  90. pulumi_gcp/dataplex/get_asset_iam_policy.py +2 -2
  91. pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -2
  92. pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -2
  93. pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -2
  94. pulumi_gcp/dataplex/get_lake_iam_policy.py +2 -2
  95. pulumi_gcp/dataplex/get_task_iam_policy.py +2 -2
  96. pulumi_gcp/dataplex/get_zone_iam_policy.py +2 -2
  97. pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -2
  98. pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -2
  99. pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -2
  100. pulumi_gcp/dataproc/metastore_federation_iam_binding.py +8 -8
  101. pulumi_gcp/dataproc/metastore_federation_iam_member.py +8 -8
  102. pulumi_gcp/dataproc/metastore_federation_iam_policy.py +8 -8
  103. pulumi_gcp/dataproc/metastore_service_iam_binding.py +8 -8
  104. pulumi_gcp/dataproc/metastore_service_iam_member.py +8 -8
  105. pulumi_gcp/dataproc/metastore_service_iam_policy.py +8 -8
  106. pulumi_gcp/dns/get_managed_zone_iam_policy.py +2 -2
  107. pulumi_gcp/endpoints/get_service_iam_policy.py +2 -2
  108. pulumi_gcp/eventarc/_inputs.py +29 -8
  109. pulumi_gcp/eventarc/google_channel_config.py +58 -46
  110. pulumi_gcp/eventarc/outputs.py +20 -6
  111. pulumi_gcp/eventarc/trigger.py +95 -72
  112. pulumi_gcp/filestore/backup.py +4 -4
  113. pulumi_gcp/firebase/__init__.py +1 -0
  114. pulumi_gcp/firebase/data_connect_service.py +937 -0
  115. pulumi_gcp/gemini/__init__.py +4 -0
  116. pulumi_gcp/gemini/data_sharing_with_google_setting.py +607 -0
  117. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +608 -0
  118. pulumi_gcp/gemini/get_repository_group_iam_policy.py +2 -2
  119. pulumi_gcp/gemini/logging_setting.py +42 -54
  120. pulumi_gcp/gemini/logging_setting_binding.py +722 -0
  121. pulumi_gcp/gemini/release_channel_setting.py +39 -43
  122. pulumi_gcp/gemini/release_channel_setting_binding.py +734 -0
  123. pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +2 -2
  124. pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +2 -2
  125. pulumi_gcp/gkehub/get_feature_iam_policy.py +2 -2
  126. pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -2
  127. pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -2
  128. pulumi_gcp/healthcare/get_consent_store_iam_policy.py +2 -2
  129. pulumi_gcp/iap/get_app_engine_service_iam_policy.py +2 -2
  130. pulumi_gcp/iap/get_app_engine_version_iam_policy.py +2 -2
  131. pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -2
  132. pulumi_gcp/iap/get_tunnel_iam_policy.py +2 -2
  133. pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +2 -2
  134. pulumi_gcp/iap/get_web_backend_service_iam_policy.py +2 -2
  135. pulumi_gcp/iap/get_web_iam_policy.py +2 -2
  136. pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +2 -2
  137. pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
  138. pulumi_gcp/iap/get_web_type_compute_iam_policy.py +2 -2
  139. pulumi_gcp/kms/get_ekm_connection_iam_policy.py +2 -2
  140. pulumi_gcp/logging/get_log_view_iam_policy.py +2 -2
  141. pulumi_gcp/monitoring/_inputs.py +588 -0
  142. pulumi_gcp/monitoring/outputs.py +410 -0
  143. pulumi_gcp/netapp/__init__.py +1 -0
  144. pulumi_gcp/netapp/volume_quota_rule.py +895 -0
  145. pulumi_gcp/networksecurity/address_group_iam_binding.py +4 -4
  146. pulumi_gcp/networksecurity/address_group_iam_member.py +4 -4
  147. pulumi_gcp/networksecurity/address_group_iam_policy.py +4 -4
  148. pulumi_gcp/networkservices/authz_extension.py +8 -15
  149. pulumi_gcp/networkservices/mesh.py +79 -12
  150. pulumi_gcp/notebooks/get_instance_iam_policy.py +2 -2
  151. pulumi_gcp/notebooks/get_runtime_iam_policy.py +2 -2
  152. pulumi_gcp/provider.py +20 -0
  153. pulumi_gcp/pubsub/get_schema_iam_policy.py +2 -2
  154. pulumi_gcp/pubsub/get_topic_iam_policy.py +2 -2
  155. pulumi_gcp/pulumi-plugin.json +1 -1
  156. pulumi_gcp/runtimeconfig/get_config_iam_policy.py +20 -2
  157. pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -2
  158. pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -2
  159. pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -2
  160. pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -2
  161. pulumi_gcp/securitycenter/get_source_iam_policy.py +2 -2
  162. pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +2 -2
  163. pulumi_gcp/securitycenter/mute_config.py +136 -3
  164. pulumi_gcp/securitycenter/v2_folder_notification_config.py +2 -14
  165. pulumi_gcp/securitycenter/v2_organization_notification_config.py +2 -14
  166. pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +8 -8
  167. pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +8 -8
  168. pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +8 -8
  169. pulumi_gcp/securitycenter/v2_project_notification_config.py +2 -14
  170. pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +18 -2
  171. pulumi_gcp/servicedirectory/get_service_iam_policy.py +18 -2
  172. pulumi_gcp/sourcerepo/get_repository_iam_policy.py +2 -2
  173. pulumi_gcp/spanner/instance.py +0 -46
  174. pulumi_gcp/sql/_inputs.py +6 -6
  175. pulumi_gcp/sql/outputs.py +4 -4
  176. pulumi_gcp/storage/bucket.py +30 -0
  177. pulumi_gcp/storage/get_bucket_iam_policy.py +2 -2
  178. pulumi_gcp/tags/get_tag_key_iam_policy.py +2 -2
  179. pulumi_gcp/tags/get_tag_value_iam_policy.py +2 -2
  180. pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +22 -2
  181. pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +20 -2
  182. pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +22 -2
  183. pulumi_gcp/workbench/get_instance_iam_policy.py +2 -2
  184. pulumi_gcp/workstations/get_workstation_config_iam_policy.py +24 -2
  185. pulumi_gcp/workstations/get_workstation_iam_policy.py +26 -2
  186. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/METADATA +1 -1
  187. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/RECORD +189 -182
  188. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/WHEEL +1 -1
  189. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/top_level.txt +0 -0
@@ -52,6 +52,15 @@ __all__ = [
52
52
  'InstancePscInstanceConfig',
53
53
  'InstanceQueryInsightsConfig',
54
54
  'InstanceReadPoolConfig',
55
+ 'GetInstanceClientConnectionConfigResult',
56
+ 'GetInstanceClientConnectionConfigSslConfigResult',
57
+ 'GetInstanceMachineConfigResult',
58
+ 'GetInstanceNetworkConfigResult',
59
+ 'GetInstanceNetworkConfigAuthorizedExternalNetworkResult',
60
+ 'GetInstanceObservabilityConfigResult',
61
+ 'GetInstancePscInstanceConfigResult',
62
+ 'GetInstanceQueryInsightsConfigResult',
63
+ 'GetInstanceReadPoolConfigResult',
55
64
  'GetLocationsLocationResult',
56
65
  'GetSupportedDatabaseFlagsSupportedDatabaseFlagResult',
57
66
  'GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsResult',
@@ -1991,6 +2000,349 @@ class InstanceReadPoolConfig(dict):
1991
2000
  return pulumi.get(self, "node_count")
1992
2001
 
1993
2002
 
2003
+ @pulumi.output_type
2004
+ class GetInstanceClientConnectionConfigResult(dict):
2005
+ def __init__(__self__, *,
2006
+ require_connectors: bool,
2007
+ ssl_configs: Sequence['outputs.GetInstanceClientConnectionConfigSslConfigResult']):
2008
+ """
2009
+ :param bool require_connectors: Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
2010
+ :param Sequence['GetInstanceClientConnectionConfigSslConfigArgs'] ssl_configs: SSL config option for this instance.
2011
+ """
2012
+ pulumi.set(__self__, "require_connectors", require_connectors)
2013
+ pulumi.set(__self__, "ssl_configs", ssl_configs)
2014
+
2015
+ @property
2016
+ @pulumi.getter(name="requireConnectors")
2017
+ def require_connectors(self) -> bool:
2018
+ """
2019
+ Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
2020
+ """
2021
+ return pulumi.get(self, "require_connectors")
2022
+
2023
+ @property
2024
+ @pulumi.getter(name="sslConfigs")
2025
+ def ssl_configs(self) -> Sequence['outputs.GetInstanceClientConnectionConfigSslConfigResult']:
2026
+ """
2027
+ SSL config option for this instance.
2028
+ """
2029
+ return pulumi.get(self, "ssl_configs")
2030
+
2031
+
2032
+ @pulumi.output_type
2033
+ class GetInstanceClientConnectionConfigSslConfigResult(dict):
2034
+ def __init__(__self__, *,
2035
+ ssl_mode: str):
2036
+ """
2037
+ :param str ssl_mode: SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
2038
+ """
2039
+ pulumi.set(__self__, "ssl_mode", ssl_mode)
2040
+
2041
+ @property
2042
+ @pulumi.getter(name="sslMode")
2043
+ def ssl_mode(self) -> str:
2044
+ """
2045
+ SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
2046
+ """
2047
+ return pulumi.get(self, "ssl_mode")
2048
+
2049
+
2050
+ @pulumi.output_type
2051
+ class GetInstanceMachineConfigResult(dict):
2052
+ def __init__(__self__, *,
2053
+ cpu_count: int):
2054
+ """
2055
+ :param int cpu_count: The number of CPU's in the VM instance.
2056
+ """
2057
+ pulumi.set(__self__, "cpu_count", cpu_count)
2058
+
2059
+ @property
2060
+ @pulumi.getter(name="cpuCount")
2061
+ def cpu_count(self) -> int:
2062
+ """
2063
+ The number of CPU's in the VM instance.
2064
+ """
2065
+ return pulumi.get(self, "cpu_count")
2066
+
2067
+
2068
+ @pulumi.output_type
2069
+ class GetInstanceNetworkConfigResult(dict):
2070
+ def __init__(__self__, *,
2071
+ authorized_external_networks: Sequence['outputs.GetInstanceNetworkConfigAuthorizedExternalNetworkResult'],
2072
+ enable_outbound_public_ip: bool,
2073
+ enable_public_ip: bool):
2074
+ """
2075
+ :param Sequence['GetInstanceNetworkConfigAuthorizedExternalNetworkArgs'] authorized_external_networks: A list of external networks authorized to access this instance. This
2076
+ field is only allowed to be set when 'enable_public_ip' is set to
2077
+ true.
2078
+ :param bool enable_outbound_public_ip: Enabling outbound public ip for the instance.
2079
+ :param bool enable_public_ip: Enabling public ip for the instance. If a user wishes to disable this,
2080
+ please also clear the list of the authorized external networks set on
2081
+ the same instance.
2082
+ """
2083
+ pulumi.set(__self__, "authorized_external_networks", authorized_external_networks)
2084
+ pulumi.set(__self__, "enable_outbound_public_ip", enable_outbound_public_ip)
2085
+ pulumi.set(__self__, "enable_public_ip", enable_public_ip)
2086
+
2087
+ @property
2088
+ @pulumi.getter(name="authorizedExternalNetworks")
2089
+ def authorized_external_networks(self) -> Sequence['outputs.GetInstanceNetworkConfigAuthorizedExternalNetworkResult']:
2090
+ """
2091
+ A list of external networks authorized to access this instance. This
2092
+ field is only allowed to be set when 'enable_public_ip' is set to
2093
+ true.
2094
+ """
2095
+ return pulumi.get(self, "authorized_external_networks")
2096
+
2097
+ @property
2098
+ @pulumi.getter(name="enableOutboundPublicIp")
2099
+ def enable_outbound_public_ip(self) -> bool:
2100
+ """
2101
+ Enabling outbound public ip for the instance.
2102
+ """
2103
+ return pulumi.get(self, "enable_outbound_public_ip")
2104
+
2105
+ @property
2106
+ @pulumi.getter(name="enablePublicIp")
2107
+ def enable_public_ip(self) -> bool:
2108
+ """
2109
+ Enabling public ip for the instance. If a user wishes to disable this,
2110
+ please also clear the list of the authorized external networks set on
2111
+ the same instance.
2112
+ """
2113
+ return pulumi.get(self, "enable_public_ip")
2114
+
2115
+
2116
+ @pulumi.output_type
2117
+ class GetInstanceNetworkConfigAuthorizedExternalNetworkResult(dict):
2118
+ def __init__(__self__, *,
2119
+ cidr_range: str):
2120
+ """
2121
+ :param str cidr_range: CIDR range for one authorized network of the instance.
2122
+ """
2123
+ pulumi.set(__self__, "cidr_range", cidr_range)
2124
+
2125
+ @property
2126
+ @pulumi.getter(name="cidrRange")
2127
+ def cidr_range(self) -> str:
2128
+ """
2129
+ CIDR range for one authorized network of the instance.
2130
+ """
2131
+ return pulumi.get(self, "cidr_range")
2132
+
2133
+
2134
+ @pulumi.output_type
2135
+ class GetInstanceObservabilityConfigResult(dict):
2136
+ def __init__(__self__, *,
2137
+ enabled: bool,
2138
+ max_query_string_length: int,
2139
+ preserve_comments: bool,
2140
+ query_plans_per_minute: int,
2141
+ record_application_tags: bool,
2142
+ track_active_queries: bool,
2143
+ track_wait_event_types: bool,
2144
+ track_wait_events: bool):
2145
+ """
2146
+ :param bool enabled: Observability feature status for an instance.
2147
+ :param int max_query_string_length: Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
2148
+ :param bool preserve_comments: Preserve comments in the query string.
2149
+ :param int query_plans_per_minute: Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 200 is considered valid.
2150
+ :param bool record_application_tags: Record application tags for an instance. This flag is turned "on" by default.
2151
+ :param bool track_active_queries: Track actively running queries. If not set, default value is "off".
2152
+ :param bool track_wait_event_types: Record wait event types during query execution for an instance.
2153
+ :param bool track_wait_events: Record wait events during query execution for an instance.
2154
+ """
2155
+ pulumi.set(__self__, "enabled", enabled)
2156
+ pulumi.set(__self__, "max_query_string_length", max_query_string_length)
2157
+ pulumi.set(__self__, "preserve_comments", preserve_comments)
2158
+ pulumi.set(__self__, "query_plans_per_minute", query_plans_per_minute)
2159
+ pulumi.set(__self__, "record_application_tags", record_application_tags)
2160
+ pulumi.set(__self__, "track_active_queries", track_active_queries)
2161
+ pulumi.set(__self__, "track_wait_event_types", track_wait_event_types)
2162
+ pulumi.set(__self__, "track_wait_events", track_wait_events)
2163
+
2164
+ @property
2165
+ @pulumi.getter
2166
+ def enabled(self) -> bool:
2167
+ """
2168
+ Observability feature status for an instance.
2169
+ """
2170
+ return pulumi.get(self, "enabled")
2171
+
2172
+ @property
2173
+ @pulumi.getter(name="maxQueryStringLength")
2174
+ def max_query_string_length(self) -> int:
2175
+ """
2176
+ Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
2177
+ """
2178
+ return pulumi.get(self, "max_query_string_length")
2179
+
2180
+ @property
2181
+ @pulumi.getter(name="preserveComments")
2182
+ def preserve_comments(self) -> bool:
2183
+ """
2184
+ Preserve comments in the query string.
2185
+ """
2186
+ return pulumi.get(self, "preserve_comments")
2187
+
2188
+ @property
2189
+ @pulumi.getter(name="queryPlansPerMinute")
2190
+ def query_plans_per_minute(self) -> int:
2191
+ """
2192
+ Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 200 is considered valid.
2193
+ """
2194
+ return pulumi.get(self, "query_plans_per_minute")
2195
+
2196
+ @property
2197
+ @pulumi.getter(name="recordApplicationTags")
2198
+ def record_application_tags(self) -> bool:
2199
+ """
2200
+ Record application tags for an instance. This flag is turned "on" by default.
2201
+ """
2202
+ return pulumi.get(self, "record_application_tags")
2203
+
2204
+ @property
2205
+ @pulumi.getter(name="trackActiveQueries")
2206
+ def track_active_queries(self) -> bool:
2207
+ """
2208
+ Track actively running queries. If not set, default value is "off".
2209
+ """
2210
+ return pulumi.get(self, "track_active_queries")
2211
+
2212
+ @property
2213
+ @pulumi.getter(name="trackWaitEventTypes")
2214
+ def track_wait_event_types(self) -> bool:
2215
+ """
2216
+ Record wait event types during query execution for an instance.
2217
+ """
2218
+ return pulumi.get(self, "track_wait_event_types")
2219
+
2220
+ @property
2221
+ @pulumi.getter(name="trackWaitEvents")
2222
+ def track_wait_events(self) -> bool:
2223
+ """
2224
+ Record wait events during query execution for an instance.
2225
+ """
2226
+ return pulumi.get(self, "track_wait_events")
2227
+
2228
+
2229
+ @pulumi.output_type
2230
+ class GetInstancePscInstanceConfigResult(dict):
2231
+ def __init__(__self__, *,
2232
+ allowed_consumer_projects: Sequence[str],
2233
+ psc_dns_name: str,
2234
+ service_attachment_link: str):
2235
+ """
2236
+ :param Sequence[str] allowed_consumer_projects: List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
2237
+ These should be specified as project numbers only.
2238
+ :param str psc_dns_name: The DNS name of the instance for PSC connectivity.
2239
+ Name convention: <uid>.<uid>.<region>.alloydb-psc.goog
2240
+ :param str service_attachment_link: The service attachment created when Private Service Connect (PSC) is enabled for the instance.
2241
+ The name of the resource will be in the format of
2242
+ 'projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>'
2243
+ """
2244
+ pulumi.set(__self__, "allowed_consumer_projects", allowed_consumer_projects)
2245
+ pulumi.set(__self__, "psc_dns_name", psc_dns_name)
2246
+ pulumi.set(__self__, "service_attachment_link", service_attachment_link)
2247
+
2248
+ @property
2249
+ @pulumi.getter(name="allowedConsumerProjects")
2250
+ def allowed_consumer_projects(self) -> Sequence[str]:
2251
+ """
2252
+ List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
2253
+ These should be specified as project numbers only.
2254
+ """
2255
+ return pulumi.get(self, "allowed_consumer_projects")
2256
+
2257
+ @property
2258
+ @pulumi.getter(name="pscDnsName")
2259
+ def psc_dns_name(self) -> str:
2260
+ """
2261
+ The DNS name of the instance for PSC connectivity.
2262
+ Name convention: <uid>.<uid>.<region>.alloydb-psc.goog
2263
+ """
2264
+ return pulumi.get(self, "psc_dns_name")
2265
+
2266
+ @property
2267
+ @pulumi.getter(name="serviceAttachmentLink")
2268
+ def service_attachment_link(self) -> str:
2269
+ """
2270
+ The service attachment created when Private Service Connect (PSC) is enabled for the instance.
2271
+ The name of the resource will be in the format of
2272
+ 'projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>'
2273
+ """
2274
+ return pulumi.get(self, "service_attachment_link")
2275
+
2276
+
2277
+ @pulumi.output_type
2278
+ class GetInstanceQueryInsightsConfigResult(dict):
2279
+ def __init__(__self__, *,
2280
+ query_plans_per_minute: int,
2281
+ query_string_length: int,
2282
+ record_application_tags: bool,
2283
+ record_client_address: bool):
2284
+ """
2285
+ :param int query_plans_per_minute: Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
2286
+ :param int query_string_length: Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
2287
+ :param bool record_application_tags: Record application tags for an instance. This flag is turned "on" by default.
2288
+ :param bool record_client_address: Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
2289
+ """
2290
+ pulumi.set(__self__, "query_plans_per_minute", query_plans_per_minute)
2291
+ pulumi.set(__self__, "query_string_length", query_string_length)
2292
+ pulumi.set(__self__, "record_application_tags", record_application_tags)
2293
+ pulumi.set(__self__, "record_client_address", record_client_address)
2294
+
2295
+ @property
2296
+ @pulumi.getter(name="queryPlansPerMinute")
2297
+ def query_plans_per_minute(self) -> int:
2298
+ """
2299
+ Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
2300
+ """
2301
+ return pulumi.get(self, "query_plans_per_minute")
2302
+
2303
+ @property
2304
+ @pulumi.getter(name="queryStringLength")
2305
+ def query_string_length(self) -> int:
2306
+ """
2307
+ Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
2308
+ """
2309
+ return pulumi.get(self, "query_string_length")
2310
+
2311
+ @property
2312
+ @pulumi.getter(name="recordApplicationTags")
2313
+ def record_application_tags(self) -> bool:
2314
+ """
2315
+ Record application tags for an instance. This flag is turned "on" by default.
2316
+ """
2317
+ return pulumi.get(self, "record_application_tags")
2318
+
2319
+ @property
2320
+ @pulumi.getter(name="recordClientAddress")
2321
+ def record_client_address(self) -> bool:
2322
+ """
2323
+ Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
2324
+ """
2325
+ return pulumi.get(self, "record_client_address")
2326
+
2327
+
2328
+ @pulumi.output_type
2329
+ class GetInstanceReadPoolConfigResult(dict):
2330
+ def __init__(__self__, *,
2331
+ node_count: int):
2332
+ """
2333
+ :param int node_count: Read capacity, i.e. number of nodes in a read pool instance.
2334
+ """
2335
+ pulumi.set(__self__, "node_count", node_count)
2336
+
2337
+ @property
2338
+ @pulumi.getter(name="nodeCount")
2339
+ def node_count(self) -> int:
2340
+ """
2341
+ Read capacity, i.e. number of nodes in a read pool instance.
2342
+ """
2343
+ return pulumi.get(self, "node_count")
2344
+
2345
+
1994
2346
  @pulumi.output_type
1995
2347
  class GetLocationsLocationResult(dict):
1996
2348
  def __init__(__self__, *,
@@ -106,7 +106,16 @@ def get_api_config_iam_policy(api: Optional[str] = None,
106
106
  project: Optional[str] = None,
107
107
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApiConfigIamPolicyResult:
108
108
  """
109
- Use this data source to access information about an existing resource.
109
+ ## Example Usage
110
+
111
+ ```python
112
+ import pulumi
113
+ import pulumi_gcp as gcp
114
+
115
+ policy = gcp.apigateway.get_api_config_iam_policy(api=api_cfg["api"],
116
+ api_config=api_cfg["apiConfigId"])
117
+ ```
118
+
110
119
 
111
120
  :param str api: The API to attach the config to.
112
121
  Used to find the parent resource to bind the IAM policy to
@@ -132,7 +141,16 @@ def get_api_config_iam_policy_output(api: Optional[pulumi.Input[str]] = None,
132
141
  project: Optional[pulumi.Input[Optional[str]]] = None,
133
142
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApiConfigIamPolicyResult]:
134
143
  """
135
- Use this data source to access information about an existing resource.
144
+ ## Example Usage
145
+
146
+ ```python
147
+ import pulumi
148
+ import pulumi_gcp as gcp
149
+
150
+ policy = gcp.apigateway.get_api_config_iam_policy(api=api_cfg["api"],
151
+ api_config=api_cfg["apiConfigId"])
152
+ ```
153
+
136
154
 
137
155
  :param str api: The API to attach the config to.
138
156
  Used to find the parent resource to bind the IAM policy to
@@ -96,7 +96,16 @@ def get_api_iam_policy(api: Optional[str] = None,
96
96
  project: Optional[str] = None,
97
97
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetApiIamPolicyResult:
98
98
  """
99
- Use this data source to access information about an existing resource.
99
+ ## Example Usage
100
+
101
+ ```python
102
+ import pulumi
103
+ import pulumi_gcp as gcp
104
+
105
+ policy = gcp.apigateway.get_api_iam_policy(project=api["project"],
106
+ api=api["apiId"])
107
+ ```
108
+
100
109
 
101
110
  :param str project: The ID of the project in which the resource belongs.
102
111
  If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
@@ -117,7 +126,16 @@ def get_api_iam_policy_output(api: Optional[pulumi.Input[str]] = None,
117
126
  project: Optional[pulumi.Input[Optional[str]]] = None,
118
127
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApiIamPolicyResult]:
119
128
  """
120
- Use this data source to access information about an existing resource.
129
+ ## Example Usage
130
+
131
+ ```python
132
+ import pulumi
133
+ import pulumi_gcp as gcp
134
+
135
+ policy = gcp.apigateway.get_api_iam_policy(project=api["project"],
136
+ api=api["apiId"])
137
+ ```
138
+
121
139
 
122
140
  :param str project: The ID of the project in which the resource belongs.
123
141
  If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
@@ -106,7 +106,17 @@ def get_gateway_iam_policy(gateway: Optional[str] = None,
106
106
  region: Optional[str] = None,
107
107
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGatewayIamPolicyResult:
108
108
  """
109
- Use this data source to access information about an existing resource.
109
+ ## Example Usage
110
+
111
+ ```python
112
+ import pulumi
113
+ import pulumi_gcp as gcp
114
+
115
+ policy = gcp.apigateway.get_gateway_iam_policy(project=api_gw["project"],
116
+ region=api_gw["region"],
117
+ gateway=api_gw["gatewayId"])
118
+ ```
119
+
110
120
 
111
121
  :param str project: The ID of the project in which the resource belongs.
112
122
  If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
@@ -134,7 +144,17 @@ def get_gateway_iam_policy_output(gateway: Optional[pulumi.Input[str]] = None,
134
144
  region: Optional[pulumi.Input[Optional[str]]] = None,
135
145
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGatewayIamPolicyResult]:
136
146
  """
137
- Use this data source to access information about an existing resource.
147
+ ## Example Usage
148
+
149
+ ```python
150
+ import pulumi
151
+ import pulumi_gcp as gcp
152
+
153
+ policy = gcp.apigateway.get_gateway_iam_policy(project=api_gw["project"],
154
+ region=api_gw["region"],
155
+ gateway=api_gw["gatewayId"])
156
+ ```
157
+
138
158
 
139
159
  :param str project: The ID of the project in which the resource belongs.
140
160
  If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
@@ -98,7 +98,7 @@ def get_environment_iam_policy(env_id: Optional[str] = None,
98
98
  """
99
99
  Retrieves the current IAM policy data for environment
100
100
 
101
- ## example
101
+ ## Example Usage
102
102
 
103
103
  ```python
104
104
  import pulumi
@@ -129,7 +129,7 @@ def get_environment_iam_policy_output(env_id: Optional[pulumi.Input[str]] = None
129
129
  """
130
130
  Retrieves the current IAM policy data for environment
131
131
 
132
- ## example
132
+ ## Example Usage
133
133
 
134
134
  ```python
135
135
  import pulumi
@@ -108,7 +108,7 @@ def get_repository_iam_policy(location: Optional[str] = None,
108
108
  """
109
109
  Retrieves the current IAM policy data for repository
110
110
 
111
- ## example
111
+ ## Example Usage
112
112
 
113
113
  ```python
114
114
  import pulumi
@@ -153,7 +153,7 @@ def get_repository_iam_policy_output(location: Optional[pulumi.Input[Optional[st
153
153
  """
154
154
  Retrieves the current IAM policy data for repository
155
155
 
156
- ## example
156
+ ## Example Usage
157
157
 
158
158
  ```python
159
159
  import pulumi
@@ -108,7 +108,7 @@ def get_application_iam_policy(application_id: Optional[str] = None,
108
108
  """
109
109
  Retrieves the current IAM policy data for application
110
110
 
111
- ## example
111
+ ## Example Usage
112
112
 
113
113
  ```python
114
114
  import pulumi
@@ -144,7 +144,7 @@ def get_application_iam_policy_output(application_id: Optional[pulumi.Input[str]
144
144
  """
145
145
  Retrieves the current IAM policy data for application
146
146
 
147
- ## example
147
+ ## Example Usage
148
148
 
149
149
  ```python
150
150
  import pulumi
@@ -108,7 +108,7 @@ def get_security_gateway_iam_policy(location: Optional[str] = None,
108
108
  """
109
109
  Retrieves the current IAM policy data for securitygateway
110
110
 
111
- ## example
111
+ ## Example Usage
112
112
 
113
113
  ```python
114
114
  import pulumi
@@ -147,7 +147,7 @@ def get_security_gateway_iam_policy_output(location: Optional[pulumi.Input[Optio
147
147
  """
148
148
  Retrieves the current IAM policy data for securitygateway
149
149
 
150
- ## example
150
+ ## Example Usage
151
151
 
152
152
  ```python
153
153
  import pulumi
@@ -751,11 +751,6 @@ class Connection(pulumi.CustomResource):
751
751
  name="user",
752
752
  instance=instance.name,
753
753
  password="tf-test-my-password_15222")
754
- bq_sa = gcp.bigquery.get_default_service_account()
755
- key_sa_user = gcp.kms.CryptoKeyIAMMember("key_sa_user",
756
- crypto_key_id="projects/project/locations/us-central1/keyRings/us-central1/cryptoKeys/bq-key",
757
- role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
758
- member=f"serviceAccount:{bq_sa.email}")
759
754
  bq_connection_cmek = gcp.bigquery.Connection("bq-connection-cmek",
760
755
  friendly_name="👋",
761
756
  description="a riveting description",
@@ -769,8 +764,7 @@ class Connection(pulumi.CustomResource):
769
764
  "username": user.name,
770
765
  "password": user.password,
771
766
  },
772
- },
773
- opts = pulumi.ResourceOptions(depends_on=[key_sa_user]))
767
+ })
774
768
  ```
775
769
 
776
770
  ## Import
@@ -1057,11 +1051,6 @@ class Connection(pulumi.CustomResource):
1057
1051
  name="user",
1058
1052
  instance=instance.name,
1059
1053
  password="tf-test-my-password_15222")
1060
- bq_sa = gcp.bigquery.get_default_service_account()
1061
- key_sa_user = gcp.kms.CryptoKeyIAMMember("key_sa_user",
1062
- crypto_key_id="projects/project/locations/us-central1/keyRings/us-central1/cryptoKeys/bq-key",
1063
- role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
1064
- member=f"serviceAccount:{bq_sa.email}")
1065
1054
  bq_connection_cmek = gcp.bigquery.Connection("bq-connection-cmek",
1066
1055
  friendly_name="👋",
1067
1056
  description="a riveting description",
@@ -1075,8 +1064,7 @@ class Connection(pulumi.CustomResource):
1075
1064
  "username": user.name,
1076
1065
  "password": user.password,
1077
1066
  },
1078
- },
1079
- opts = pulumi.ResourceOptions(depends_on=[key_sa_user]))
1067
+ })
1080
1068
  ```
1081
1069
 
1082
1070
  ## Import
@@ -108,7 +108,7 @@ def get_connection_iam_policy(connection_id: Optional[str] = None,
108
108
  """
109
109
  Retrieves the current IAM policy data for connection
110
110
 
111
- ## example
111
+ ## Example Usage
112
112
 
113
113
  ```python
114
114
  import pulumi
@@ -155,7 +155,7 @@ def get_connection_iam_policy_output(connection_id: Optional[pulumi.Input[str]]
155
155
  """
156
156
  Retrieves the current IAM policy data for connection
157
157
 
158
- ## example
158
+ ## Example Usage
159
159
 
160
160
  ```python
161
161
  import pulumi
@@ -108,7 +108,7 @@ def get_table_iam_policy(dataset_id: Optional[str] = None,
108
108
  """
109
109
  Retrieves the current IAM policy data for table
110
110
 
111
- ## example
111
+ ## Example Usage
112
112
 
113
113
  ```python
114
114
  import pulumi
@@ -144,7 +144,7 @@ def get_table_iam_policy_output(dataset_id: Optional[pulumi.Input[str]] = None,
144
144
  """
145
145
  Retrieves the current IAM policy data for table
146
146
 
147
- ## example
147
+ ## Example Usage
148
148
 
149
149
  ```python
150
150
  import pulumi