pulumi-gcp 8.18.0a1738650987__py3-none-any.whl → 8.19.0__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 (130) hide show
  1. pulumi_gcp/__init__.py +104 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +288 -78
  3. pulumi_gcp/accesscontextmanager/outputs.py +186 -54
  4. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
  5. pulumi_gcp/alloydb/user.py +10 -1
  6. pulumi_gcp/appengine/_inputs.py +3 -0
  7. pulumi_gcp/appengine/outputs.py +2 -0
  8. pulumi_gcp/assuredworkloads/workload.py +7 -7
  9. pulumi_gcp/beyondcorp/__init__.py +9 -0
  10. pulumi_gcp/beyondcorp/_inputs.py +319 -0
  11. pulumi_gcp/beyondcorp/application.py +604 -0
  12. pulumi_gcp/beyondcorp/application_iam_binding.py +1049 -0
  13. pulumi_gcp/beyondcorp/application_iam_member.py +1049 -0
  14. pulumi_gcp/beyondcorp/application_iam_policy.py +868 -0
  15. pulumi_gcp/beyondcorp/get_application_iam_policy.py +174 -0
  16. pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +180 -0
  17. pulumi_gcp/beyondcorp/outputs.py +187 -0
  18. pulumi_gcp/beyondcorp/security_gateway.py +52 -25
  19. pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +1075 -0
  20. pulumi_gcp/beyondcorp/security_gateway_iam_member.py +1075 -0
  21. pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +894 -0
  22. pulumi_gcp/bigquery/_inputs.py +33 -0
  23. pulumi_gcp/bigquery/dataset.py +7 -7
  24. pulumi_gcp/bigquery/outputs.py +36 -0
  25. pulumi_gcp/bigquery/table.py +61 -7
  26. pulumi_gcp/bigqueryanalyticshub/__init__.py +1 -0
  27. pulumi_gcp/bigqueryanalyticshub/_inputs.py +318 -0
  28. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +808 -0
  29. pulumi_gcp/bigqueryanalyticshub/outputs.py +263 -0
  30. pulumi_gcp/certificateauthority/_inputs.py +54 -0
  31. pulumi_gcp/certificateauthority/authority.py +149 -3
  32. pulumi_gcp/certificateauthority/get_authority.py +15 -4
  33. pulumi_gcp/certificateauthority/outputs.py +81 -0
  34. pulumi_gcp/chronicle/retrohunt.py +0 -16
  35. pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +23 -23
  36. pulumi_gcp/cloudrunv2/_inputs.py +112 -0
  37. pulumi_gcp/cloudrunv2/outputs.py +144 -1
  38. pulumi_gcp/cloudrunv2/service.py +2 -0
  39. pulumi_gcp/colab/__init__.py +2 -0
  40. pulumi_gcp/colab/_inputs.py +655 -0
  41. pulumi_gcp/colab/notebook_execution.py +1259 -0
  42. pulumi_gcp/colab/outputs.py +512 -0
  43. pulumi_gcp/colab/runtime.py +266 -2
  44. pulumi_gcp/colab/runtime_template.py +79 -3
  45. pulumi_gcp/colab/schedule.py +1318 -0
  46. pulumi_gcp/compute/__init__.py +1 -0
  47. pulumi_gcp/compute/_inputs.py +213 -9
  48. pulumi_gcp/compute/firewall_policy.py +54 -43
  49. pulumi_gcp/compute/forwarding_rule.py +103 -0
  50. pulumi_gcp/compute/get_forwarding_rule.py +12 -1
  51. pulumi_gcp/compute/get_network.py +3 -3
  52. pulumi_gcp/compute/interconnect_attachment.py +12 -0
  53. pulumi_gcp/compute/network.py +7 -7
  54. pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +1011 -0
  55. pulumi_gcp/compute/outputs.py +193 -6
  56. pulumi_gcp/compute/public_advertised_prefix.py +35 -7
  57. pulumi_gcp/compute/public_delegated_prefix.py +171 -7
  58. pulumi_gcp/compute/region_resize_request.py +21 -22
  59. pulumi_gcp/compute/resize_request.py +22 -23
  60. pulumi_gcp/compute/router_peer.py +112 -0
  61. pulumi_gcp/compute/subnetwork.py +14 -7
  62. pulumi_gcp/container/_inputs.py +133 -21
  63. pulumi_gcp/container/outputs.py +154 -13
  64. pulumi_gcp/dataproc/_inputs.py +34 -0
  65. pulumi_gcp/dataproc/outputs.py +37 -0
  66. pulumi_gcp/dataproc/workflow_template.py +47 -0
  67. pulumi_gcp/datastream/connection_profile.py +120 -46
  68. pulumi_gcp/discoveryengine/chat_engine.py +7 -7
  69. pulumi_gcp/filestore/_inputs.py +222 -0
  70. pulumi_gcp/filestore/get_instance.py +23 -1
  71. pulumi_gcp/filestore/instance.py +86 -0
  72. pulumi_gcp/filestore/outputs.py +282 -0
  73. pulumi_gcp/firestore/field.py +60 -0
  74. pulumi_gcp/gemini/__init__.py +2 -0
  75. pulumi_gcp/gemini/logging_setting.py +671 -0
  76. pulumi_gcp/gemini/release_channel_setting.py +639 -0
  77. pulumi_gcp/gkehub/_inputs.py +20 -0
  78. pulumi_gcp/gkehub/membership_binding.py +6 -6
  79. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  80. pulumi_gcp/gkehub/namespace.py +4 -4
  81. pulumi_gcp/gkehub/outputs.py +26 -1
  82. pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
  83. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  84. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  85. pulumi_gcp/memorystore/_inputs.py +296 -0
  86. pulumi_gcp/memorystore/instance.py +32 -28
  87. pulumi_gcp/memorystore/outputs.py +224 -0
  88. pulumi_gcp/monitoring/_inputs.py +12 -9
  89. pulumi_gcp/monitoring/outputs.py +8 -6
  90. pulumi_gcp/netapp/storage_pool.py +1 -1
  91. pulumi_gcp/networkconnectivity/spoke.py +76 -14
  92. pulumi_gcp/networkservices/_inputs.py +89 -0
  93. pulumi_gcp/networkservices/outputs.py +75 -0
  94. pulumi_gcp/orgpolicy/policy.py +2 -2
  95. pulumi_gcp/parametermanager/__init__.py +5 -0
  96. pulumi_gcp/parametermanager/get_parameter_version.py +216 -0
  97. pulumi_gcp/parametermanager/get_parameter_version_render.py +199 -0
  98. pulumi_gcp/parametermanager/get_parameters.py +140 -0
  99. pulumi_gcp/parametermanager/get_regional_parameter_version.py +235 -0
  100. pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +220 -0
  101. pulumi_gcp/parametermanager/outputs.py +156 -0
  102. pulumi_gcp/privilegedaccessmanager/entitlement.py +14 -0
  103. pulumi_gcp/pubsub/_inputs.py +264 -0
  104. pulumi_gcp/pubsub/outputs.py +353 -0
  105. pulumi_gcp/pubsub/subscription.py +6 -6
  106. pulumi_gcp/pubsub/topic.py +70 -0
  107. pulumi_gcp/pulumi-plugin.json +1 -1
  108. pulumi_gcp/resourcemanager/lien.py +12 -0
  109. pulumi_gcp/secretmanager/regional_secret.py +4 -0
  110. pulumi_gcp/secretmanager/regional_secret_version.py +12 -0
  111. pulumi_gcp/secretmanager/secret.py +4 -0
  112. pulumi_gcp/secretmanager/secret_version.py +12 -0
  113. pulumi_gcp/securesourcemanager/branch_rule.py +4 -0
  114. pulumi_gcp/securesourcemanager/repository.py +4 -0
  115. pulumi_gcp/securityposture/posture.py +4 -0
  116. pulumi_gcp/securityposture/posture_deployment.py +4 -0
  117. pulumi_gcp/serviceaccount/get_s.py +98 -8
  118. pulumi_gcp/spanner/_inputs.py +68 -0
  119. pulumi_gcp/spanner/backup_schedule.py +70 -4
  120. pulumi_gcp/spanner/outputs.py +60 -0
  121. pulumi_gcp/storage/bucket_object.py +8 -0
  122. pulumi_gcp/storage/get_bucket_object_content.py +4 -4
  123. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  124. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  125. pulumi_gcp/workbench/instance.py +70 -2
  126. pulumi_gcp/workflows/workflow.py +175 -0
  127. {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0.dist-info}/METADATA +1 -1
  128. {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0.dist-info}/RECORD +130 -110
  129. {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0.dist-info}/WHEEL +0 -0
  130. {pulumi_gcp-8.18.0a1738650987.dist-info → pulumi_gcp-8.19.0.dist-info}/top_level.txt +0 -0
@@ -73,6 +73,8 @@ __all__ = [
73
73
  'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicyArgsDict',
74
74
  'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionUrlRewriteArgs',
75
75
  'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionUrlRewriteArgsDict',
76
+ 'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethodsArgs',
77
+ 'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethodsArgsDict',
76
78
  'EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirectArgs',
77
79
  'EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirectArgsDict',
78
80
  'EndpointPolicyEndpointMatcherArgs',
@@ -1097,6 +1099,12 @@ if not MYPY:
1097
1099
  In response to a matching path, the routeAction performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected origin.
1098
1100
  Structure is documented below.
1099
1101
  """
1102
+ route_methods: NotRequired[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethodsArgsDict']]
1103
+ """
1104
+ Allow overriding the set of methods that are allowed for this route.
1105
+ When not set, Media CDN allows only "GET", "HEAD", and "OPTIONS".
1106
+ Structure is documented below.
1107
+ """
1100
1108
  url_redirect: NotRequired[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirectArgsDict']]
1101
1109
  """
1102
1110
  The URL redirect configuration for requests that match this route.
@@ -1114,6 +1122,7 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleArgs:
1114
1122
  header_action: Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleHeaderActionArgs']] = None,
1115
1123
  origin: Optional[pulumi.Input[str]] = None,
1116
1124
  route_action: Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionArgs']] = None,
1125
+ route_methods: Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethodsArgs']] = None,
1117
1126
  url_redirect: Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirectArgs']] = None):
1118
1127
  """
1119
1128
  :param pulumi.Input[Sequence[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleArgs']]] match_rules: The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates
@@ -1130,6 +1139,9 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleArgs:
1130
1139
  Only one of origin or urlRedirect can be set.
1131
1140
  :param pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionArgs'] route_action: In response to a matching path, the routeAction performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected origin.
1132
1141
  Structure is documented below.
1142
+ :param pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethodsArgs'] route_methods: Allow overriding the set of methods that are allowed for this route.
1143
+ When not set, Media CDN allows only "GET", "HEAD", and "OPTIONS".
1144
+ Structure is documented below.
1133
1145
  :param pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirectArgs'] url_redirect: The URL redirect configuration for requests that match this route.
1134
1146
  Structure is documented below.
1135
1147
  """
@@ -1143,6 +1155,8 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleArgs:
1143
1155
  pulumi.set(__self__, "origin", origin)
1144
1156
  if route_action is not None:
1145
1157
  pulumi.set(__self__, "route_action", route_action)
1158
+ if route_methods is not None:
1159
+ pulumi.set(__self__, "route_methods", route_methods)
1146
1160
  if url_redirect is not None:
1147
1161
  pulumi.set(__self__, "url_redirect", url_redirect)
1148
1162
 
@@ -1226,6 +1240,20 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleArgs:
1226
1240
  def route_action(self, value: Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionArgs']]):
1227
1241
  pulumi.set(self, "route_action", value)
1228
1242
 
1243
+ @property
1244
+ @pulumi.getter(name="routeMethods")
1245
+ def route_methods(self) -> Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethodsArgs']]:
1246
+ """
1247
+ Allow overriding the set of methods that are allowed for this route.
1248
+ When not set, Media CDN allows only "GET", "HEAD", and "OPTIONS".
1249
+ Structure is documented below.
1250
+ """
1251
+ return pulumi.get(self, "route_methods")
1252
+
1253
+ @route_methods.setter
1254
+ def route_methods(self, value: Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethodsArgs']]):
1255
+ pulumi.set(self, "route_methods", value)
1256
+
1229
1257
  @property
1230
1258
  @pulumi.getter(name="urlRedirect")
1231
1259
  def url_redirect(self) -> Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirectArgs']]:
@@ -1923,6 +1951,12 @@ if not MYPY:
1923
1951
  The policy to use for defining caching and signed request behaviour for requests that match this route.
1924
1952
  Structure is documented below.
1925
1953
  """
1954
+ compression_mode: NotRequired[pulumi.Input[str]]
1955
+ """
1956
+ Setting the compression mode to automatic enables dynamic compression for every eligible response.
1957
+ When dynamic compression is enabled, it is recommended to also set a cache policy to maximize efficiency.
1958
+ Possible values are: `DISABLED`, `AUTOMATIC`.
1959
+ """
1926
1960
  cors_policy: NotRequired[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicyArgsDict']]
1927
1961
  """
1928
1962
  CORSPolicy defines Cross-Origin-Resource-Sharing configuration, including which CORS response headers will be set.
@@ -1940,11 +1974,15 @@ elif False:
1940
1974
  class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionArgs:
1941
1975
  def __init__(__self__, *,
1942
1976
  cdn_policy: Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyArgs']] = None,
1977
+ compression_mode: Optional[pulumi.Input[str]] = None,
1943
1978
  cors_policy: Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicyArgs']] = None,
1944
1979
  url_rewrite: Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionUrlRewriteArgs']] = None):
1945
1980
  """
1946
1981
  :param pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyArgs'] cdn_policy: The policy to use for defining caching and signed request behaviour for requests that match this route.
1947
1982
  Structure is documented below.
1983
+ :param pulumi.Input[str] compression_mode: Setting the compression mode to automatic enables dynamic compression for every eligible response.
1984
+ When dynamic compression is enabled, it is recommended to also set a cache policy to maximize efficiency.
1985
+ Possible values are: `DISABLED`, `AUTOMATIC`.
1948
1986
  :param pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicyArgs'] cors_policy: CORSPolicy defines Cross-Origin-Resource-Sharing configuration, including which CORS response headers will be set.
1949
1987
  Structure is documented below.
1950
1988
  :param pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionUrlRewriteArgs'] url_rewrite: The URL rewrite configuration for requests that match this route.
@@ -1952,6 +1990,8 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionArgs:
1952
1990
  """
1953
1991
  if cdn_policy is not None:
1954
1992
  pulumi.set(__self__, "cdn_policy", cdn_policy)
1993
+ if compression_mode is not None:
1994
+ pulumi.set(__self__, "compression_mode", compression_mode)
1955
1995
  if cors_policy is not None:
1956
1996
  pulumi.set(__self__, "cors_policy", cors_policy)
1957
1997
  if url_rewrite is not None:
@@ -1970,6 +2010,20 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionArgs:
1970
2010
  def cdn_policy(self, value: Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyArgs']]):
1971
2011
  pulumi.set(self, "cdn_policy", value)
1972
2012
 
2013
+ @property
2014
+ @pulumi.getter(name="compressionMode")
2015
+ def compression_mode(self) -> Optional[pulumi.Input[str]]:
2016
+ """
2017
+ Setting the compression mode to automatic enables dynamic compression for every eligible response.
2018
+ When dynamic compression is enabled, it is recommended to also set a cache policy to maximize efficiency.
2019
+ Possible values are: `DISABLED`, `AUTOMATIC`.
2020
+ """
2021
+ return pulumi.get(self, "compression_mode")
2022
+
2023
+ @compression_mode.setter
2024
+ def compression_mode(self, value: Optional[pulumi.Input[str]]):
2025
+ pulumi.set(self, "compression_mode", value)
2026
+
1973
2027
  @property
1974
2028
  @pulumi.getter(name="corsPolicy")
1975
2029
  def cors_policy(self) -> Optional[pulumi.Input['EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicyArgs']]:
@@ -3081,6 +3135,41 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionUrlRewriteArgs:
3081
3135
  pulumi.set(self, "path_template_rewrite", value)
3082
3136
 
3083
3137
 
3138
+ if not MYPY:
3139
+ class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethodsArgsDict(TypedDict):
3140
+ allowed_methods: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
3141
+ """
3142
+ The non-empty set of HTTP methods that are allowed for this route.
3143
+ Any combination of "GET", "HEAD", "OPTIONS", "PUT", "POST", "DELETE", and "PATCH".
3144
+ """
3145
+ elif False:
3146
+ EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethodsArgsDict: TypeAlias = Mapping[str, Any]
3147
+
3148
+ @pulumi.input_type
3149
+ class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethodsArgs:
3150
+ def __init__(__self__, *,
3151
+ allowed_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
3152
+ """
3153
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_methods: The non-empty set of HTTP methods that are allowed for this route.
3154
+ Any combination of "GET", "HEAD", "OPTIONS", "PUT", "POST", "DELETE", and "PATCH".
3155
+ """
3156
+ if allowed_methods is not None:
3157
+ pulumi.set(__self__, "allowed_methods", allowed_methods)
3158
+
3159
+ @property
3160
+ @pulumi.getter(name="allowedMethods")
3161
+ def allowed_methods(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
3162
+ """
3163
+ The non-empty set of HTTP methods that are allowed for this route.
3164
+ Any combination of "GET", "HEAD", "OPTIONS", "PUT", "POST", "DELETE", and "PATCH".
3165
+ """
3166
+ return pulumi.get(self, "allowed_methods")
3167
+
3168
+ @allowed_methods.setter
3169
+ def allowed_methods(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
3170
+ pulumi.set(self, "allowed_methods", value)
3171
+
3172
+
3084
3173
  if not MYPY:
3085
3174
  class EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirectArgsDict(TypedDict):
3086
3175
  host_redirect: NotRequired[pulumi.Input[str]]
@@ -45,6 +45,7 @@ __all__ = [
45
45
  'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicySignedTokenOptions',
46
46
  'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy',
47
47
  'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionUrlRewrite',
48
+ 'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethods',
48
49
  'EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirect',
49
50
  'EndpointPolicyEndpointMatcher',
50
51
  'EndpointPolicyEndpointMatcherMetadataLabelMatcher',
@@ -863,6 +864,8 @@ class EdgeCacheServiceRoutingPathMatcherRouteRule(dict):
863
864
  suggest = "header_action"
864
865
  elif key == "routeAction":
865
866
  suggest = "route_action"
867
+ elif key == "routeMethods":
868
+ suggest = "route_methods"
866
869
  elif key == "urlRedirect":
867
870
  suggest = "url_redirect"
868
871
 
@@ -884,6 +887,7 @@ class EdgeCacheServiceRoutingPathMatcherRouteRule(dict):
884
887
  header_action: Optional['outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleHeaderAction'] = None,
885
888
  origin: Optional[str] = None,
886
889
  route_action: Optional['outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleRouteAction'] = None,
890
+ route_methods: Optional['outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethods'] = None,
887
891
  url_redirect: Optional['outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirect'] = None):
888
892
  """
889
893
  :param Sequence['EdgeCacheServiceRoutingPathMatcherRouteRuleMatchRuleArgs'] match_rules: The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates
@@ -900,6 +904,9 @@ class EdgeCacheServiceRoutingPathMatcherRouteRule(dict):
900
904
  Only one of origin or urlRedirect can be set.
901
905
  :param 'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionArgs' route_action: In response to a matching path, the routeAction performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected origin.
902
906
  Structure is documented below.
907
+ :param 'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethodsArgs' route_methods: Allow overriding the set of methods that are allowed for this route.
908
+ When not set, Media CDN allows only "GET", "HEAD", and "OPTIONS".
909
+ Structure is documented below.
903
910
  :param 'EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirectArgs' url_redirect: The URL redirect configuration for requests that match this route.
904
911
  Structure is documented below.
905
912
  """
@@ -913,6 +920,8 @@ class EdgeCacheServiceRoutingPathMatcherRouteRule(dict):
913
920
  pulumi.set(__self__, "origin", origin)
914
921
  if route_action is not None:
915
922
  pulumi.set(__self__, "route_action", route_action)
923
+ if route_methods is not None:
924
+ pulumi.set(__self__, "route_methods", route_methods)
916
925
  if url_redirect is not None:
917
926
  pulumi.set(__self__, "url_redirect", url_redirect)
918
927
 
@@ -972,6 +981,16 @@ class EdgeCacheServiceRoutingPathMatcherRouteRule(dict):
972
981
  """
973
982
  return pulumi.get(self, "route_action")
974
983
 
984
+ @property
985
+ @pulumi.getter(name="routeMethods")
986
+ def route_methods(self) -> Optional['outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethods']:
987
+ """
988
+ Allow overriding the set of methods that are allowed for this route.
989
+ When not set, Media CDN allows only "GET", "HEAD", and "OPTIONS".
990
+ Structure is documented below.
991
+ """
992
+ return pulumi.get(self, "route_methods")
993
+
975
994
  @property
976
995
  @pulumi.getter(name="urlRedirect")
977
996
  def url_redirect(self) -> Optional['outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirect']:
@@ -1561,6 +1580,8 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteAction(dict):
1561
1580
  suggest = None
1562
1581
  if key == "cdnPolicy":
1563
1582
  suggest = "cdn_policy"
1583
+ elif key == "compressionMode":
1584
+ suggest = "compression_mode"
1564
1585
  elif key == "corsPolicy":
1565
1586
  suggest = "cors_policy"
1566
1587
  elif key == "urlRewrite":
@@ -1579,11 +1600,15 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteAction(dict):
1579
1600
 
1580
1601
  def __init__(__self__, *,
1581
1602
  cdn_policy: Optional['outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicy'] = None,
1603
+ compression_mode: Optional[str] = None,
1582
1604
  cors_policy: Optional['outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy'] = None,
1583
1605
  url_rewrite: Optional['outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionUrlRewrite'] = None):
1584
1606
  """
1585
1607
  :param 'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyArgs' cdn_policy: The policy to use for defining caching and signed request behaviour for requests that match this route.
1586
1608
  Structure is documented below.
1609
+ :param str compression_mode: Setting the compression mode to automatic enables dynamic compression for every eligible response.
1610
+ When dynamic compression is enabled, it is recommended to also set a cache policy to maximize efficiency.
1611
+ Possible values are: `DISABLED`, `AUTOMATIC`.
1587
1612
  :param 'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicyArgs' cors_policy: CORSPolicy defines Cross-Origin-Resource-Sharing configuration, including which CORS response headers will be set.
1588
1613
  Structure is documented below.
1589
1614
  :param 'EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionUrlRewriteArgs' url_rewrite: The URL rewrite configuration for requests that match this route.
@@ -1591,6 +1616,8 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteAction(dict):
1591
1616
  """
1592
1617
  if cdn_policy is not None:
1593
1618
  pulumi.set(__self__, "cdn_policy", cdn_policy)
1619
+ if compression_mode is not None:
1620
+ pulumi.set(__self__, "compression_mode", compression_mode)
1594
1621
  if cors_policy is not None:
1595
1622
  pulumi.set(__self__, "cors_policy", cors_policy)
1596
1623
  if url_rewrite is not None:
@@ -1605,6 +1632,16 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteAction(dict):
1605
1632
  """
1606
1633
  return pulumi.get(self, "cdn_policy")
1607
1634
 
1635
+ @property
1636
+ @pulumi.getter(name="compressionMode")
1637
+ def compression_mode(self) -> Optional[str]:
1638
+ """
1639
+ Setting the compression mode to automatic enables dynamic compression for every eligible response.
1640
+ When dynamic compression is enabled, it is recommended to also set a cache policy to maximize efficiency.
1641
+ Possible values are: `DISABLED`, `AUTOMATIC`.
1642
+ """
1643
+ return pulumi.get(self, "compression_mode")
1644
+
1608
1645
  @property
1609
1646
  @pulumi.getter(name="corsPolicy")
1610
1647
  def cors_policy(self) -> Optional['outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCorsPolicy']:
@@ -2448,6 +2485,44 @@ class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionUrlRewrite(dict):
2448
2485
  return pulumi.get(self, "path_template_rewrite")
2449
2486
 
2450
2487
 
2488
+ @pulumi.output_type
2489
+ class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethods(dict):
2490
+ @staticmethod
2491
+ def __key_warning(key: str):
2492
+ suggest = None
2493
+ if key == "allowedMethods":
2494
+ suggest = "allowed_methods"
2495
+
2496
+ if suggest:
2497
+ pulumi.log.warn(f"Key '{key}' not found in EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethods. Access the value via the '{suggest}' property getter instead.")
2498
+
2499
+ def __getitem__(self, key: str) -> Any:
2500
+ EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethods.__key_warning(key)
2501
+ return super().__getitem__(key)
2502
+
2503
+ def get(self, key: str, default = None) -> Any:
2504
+ EdgeCacheServiceRoutingPathMatcherRouteRuleRouteMethods.__key_warning(key)
2505
+ return super().get(key, default)
2506
+
2507
+ def __init__(__self__, *,
2508
+ allowed_methods: Optional[Sequence[str]] = None):
2509
+ """
2510
+ :param Sequence[str] allowed_methods: The non-empty set of HTTP methods that are allowed for this route.
2511
+ Any combination of "GET", "HEAD", "OPTIONS", "PUT", "POST", "DELETE", and "PATCH".
2512
+ """
2513
+ if allowed_methods is not None:
2514
+ pulumi.set(__self__, "allowed_methods", allowed_methods)
2515
+
2516
+ @property
2517
+ @pulumi.getter(name="allowedMethods")
2518
+ def allowed_methods(self) -> Optional[Sequence[str]]:
2519
+ """
2520
+ The non-empty set of HTTP methods that are allowed for this route.
2521
+ Any combination of "GET", "HEAD", "OPTIONS", "PUT", "POST", "DELETE", and "PATCH".
2522
+ """
2523
+ return pulumi.get(self, "allowed_methods")
2524
+
2525
+
2451
2526
  @pulumi.output_type
2452
2527
  class EdgeCacheServiceRoutingPathMatcherRouteRuleUrlRedirect(dict):
2453
2528
  @staticmethod
@@ -313,7 +313,7 @@ class Policy(pulumi.CustomResource):
313
313
  import pulumi_gcp as gcp
314
314
 
315
315
  constraint = gcp.orgpolicy.CustomConstraint("constraint",
316
- name="custom.disableGkeAutoUpgrade_69391",
316
+ name="custom.disableGkeAutoUpgrade_8270",
317
317
  parent="organizations/123456789",
318
318
  display_name="Disable GKE auto upgrade",
319
319
  description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
@@ -502,7 +502,7 @@ class Policy(pulumi.CustomResource):
502
502
  import pulumi_gcp as gcp
503
503
 
504
504
  constraint = gcp.orgpolicy.CustomConstraint("constraint",
505
- name="custom.disableGkeAutoUpgrade_69391",
505
+ name="custom.disableGkeAutoUpgrade_8270",
506
506
  parent="organizations/123456789",
507
507
  display_name="Disable GKE auto upgrade",
508
508
  description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
@@ -6,7 +6,12 @@ from .. import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
8
  from .get_parameter import *
9
+ from .get_parameter_version import *
10
+ from .get_parameter_version_render import *
11
+ from .get_parameters import *
9
12
  from .get_regional_parameter import *
13
+ from .get_regional_parameter_version import *
14
+ from .get_regional_parameter_version_render import *
10
15
  from .get_regional_parameters import *
11
16
  from .parameter import *
12
17
  from .parameter_version import *
@@ -0,0 +1,216 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = [
18
+ 'GetParameterVersionResult',
19
+ 'AwaitableGetParameterVersionResult',
20
+ 'get_parameter_version',
21
+ 'get_parameter_version_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetParameterVersionResult:
26
+ """
27
+ A collection of values returned by getParameterVersion.
28
+ """
29
+ def __init__(__self__, create_time=None, disabled=None, id=None, name=None, parameter=None, parameter_data=None, parameter_version_id=None, project=None, update_time=None):
30
+ if create_time and not isinstance(create_time, str):
31
+ raise TypeError("Expected argument 'create_time' to be a str")
32
+ pulumi.set(__self__, "create_time", create_time)
33
+ if disabled and not isinstance(disabled, bool):
34
+ raise TypeError("Expected argument 'disabled' to be a bool")
35
+ pulumi.set(__self__, "disabled", disabled)
36
+ if id and not isinstance(id, str):
37
+ raise TypeError("Expected argument 'id' to be a str")
38
+ pulumi.set(__self__, "id", id)
39
+ if name and not isinstance(name, str):
40
+ raise TypeError("Expected argument 'name' to be a str")
41
+ pulumi.set(__self__, "name", name)
42
+ if parameter and not isinstance(parameter, str):
43
+ raise TypeError("Expected argument 'parameter' to be a str")
44
+ pulumi.set(__self__, "parameter", parameter)
45
+ if parameter_data and not isinstance(parameter_data, str):
46
+ raise TypeError("Expected argument 'parameter_data' to be a str")
47
+ pulumi.set(__self__, "parameter_data", parameter_data)
48
+ if parameter_version_id and not isinstance(parameter_version_id, str):
49
+ raise TypeError("Expected argument 'parameter_version_id' to be a str")
50
+ pulumi.set(__self__, "parameter_version_id", parameter_version_id)
51
+ if project and not isinstance(project, str):
52
+ raise TypeError("Expected argument 'project' to be a str")
53
+ pulumi.set(__self__, "project", project)
54
+ if update_time and not isinstance(update_time, str):
55
+ raise TypeError("Expected argument 'update_time' to be a str")
56
+ pulumi.set(__self__, "update_time", update_time)
57
+
58
+ @property
59
+ @pulumi.getter(name="createTime")
60
+ def create_time(self) -> str:
61
+ """
62
+ The time at which the Parameter Version was created.
63
+ """
64
+ return pulumi.get(self, "create_time")
65
+
66
+ @property
67
+ @pulumi.getter
68
+ def disabled(self) -> bool:
69
+ """
70
+ The current state of the Parameter Version.
71
+ """
72
+ return pulumi.get(self, "disabled")
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def id(self) -> str:
77
+ """
78
+ The provider-assigned unique ID for this managed resource.
79
+ """
80
+ return pulumi.get(self, "id")
81
+
82
+ @property
83
+ @pulumi.getter
84
+ def name(self) -> str:
85
+ """
86
+ The resource name of the ParameterVersion. Format:
87
+ `projects/{{project}}/locations/global/parameters/{{parameter_id}}/versions/{{parameter_version_id}}`
88
+ """
89
+ return pulumi.get(self, "name")
90
+
91
+ @property
92
+ @pulumi.getter
93
+ def parameter(self) -> str:
94
+ return pulumi.get(self, "parameter")
95
+
96
+ @property
97
+ @pulumi.getter(name="parameterData")
98
+ def parameter_data(self) -> str:
99
+ """
100
+ The parameter data.
101
+ """
102
+ return pulumi.get(self, "parameter_data")
103
+
104
+ @property
105
+ @pulumi.getter(name="parameterVersionId")
106
+ def parameter_version_id(self) -> str:
107
+ return pulumi.get(self, "parameter_version_id")
108
+
109
+ @property
110
+ @pulumi.getter
111
+ def project(self) -> str:
112
+ return pulumi.get(self, "project")
113
+
114
+ @property
115
+ @pulumi.getter(name="updateTime")
116
+ def update_time(self) -> str:
117
+ """
118
+ The time at which the Parameter Version was last updated.
119
+ """
120
+ return pulumi.get(self, "update_time")
121
+
122
+
123
+ class AwaitableGetParameterVersionResult(GetParameterVersionResult):
124
+ # pylint: disable=using-constant-test
125
+ def __await__(self):
126
+ if False:
127
+ yield self
128
+ return GetParameterVersionResult(
129
+ create_time=self.create_time,
130
+ disabled=self.disabled,
131
+ id=self.id,
132
+ name=self.name,
133
+ parameter=self.parameter,
134
+ parameter_data=self.parameter_data,
135
+ parameter_version_id=self.parameter_version_id,
136
+ project=self.project,
137
+ update_time=self.update_time)
138
+
139
+
140
+ def get_parameter_version(parameter: Optional[str] = None,
141
+ parameter_version_id: Optional[str] = None,
142
+ project: Optional[str] = None,
143
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetParameterVersionResult:
144
+ """
145
+ ## Example Usage
146
+
147
+ ```python
148
+ import pulumi
149
+ import pulumi_gcp as gcp
150
+
151
+ basic = gcp.parametermanager.get_parameter_version(parameter="test-parameter",
152
+ parameter_version_id="test-parameter-version")
153
+ ```
154
+
155
+
156
+ :param str parameter: The parameter for obtaining the Parameter Version.
157
+ This can be either the reference of the parameter as in `projects/{{project}}/locations/global/parameters/{{parameter_id}}` or only the name of the parameter as in `{{parameter_id}}`.
158
+ :param str parameter_version_id: The version of the parameter to get.
159
+ :param str project: The project for retrieving the Parameter Version. If it's not specified,
160
+ the provider project will be used.
161
+ """
162
+ __args__ = dict()
163
+ __args__['parameter'] = parameter
164
+ __args__['parameterVersionId'] = parameter_version_id
165
+ __args__['project'] = project
166
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
167
+ __ret__ = pulumi.runtime.invoke('gcp:parametermanager/getParameterVersion:getParameterVersion', __args__, opts=opts, typ=GetParameterVersionResult).value
168
+
169
+ return AwaitableGetParameterVersionResult(
170
+ create_time=pulumi.get(__ret__, 'create_time'),
171
+ disabled=pulumi.get(__ret__, 'disabled'),
172
+ id=pulumi.get(__ret__, 'id'),
173
+ name=pulumi.get(__ret__, 'name'),
174
+ parameter=pulumi.get(__ret__, 'parameter'),
175
+ parameter_data=pulumi.get(__ret__, 'parameter_data'),
176
+ parameter_version_id=pulumi.get(__ret__, 'parameter_version_id'),
177
+ project=pulumi.get(__ret__, 'project'),
178
+ update_time=pulumi.get(__ret__, 'update_time'))
179
+ def get_parameter_version_output(parameter: Optional[pulumi.Input[str]] = None,
180
+ parameter_version_id: Optional[pulumi.Input[str]] = None,
181
+ project: Optional[pulumi.Input[Optional[str]]] = None,
182
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetParameterVersionResult]:
183
+ """
184
+ ## Example Usage
185
+
186
+ ```python
187
+ import pulumi
188
+ import pulumi_gcp as gcp
189
+
190
+ basic = gcp.parametermanager.get_parameter_version(parameter="test-parameter",
191
+ parameter_version_id="test-parameter-version")
192
+ ```
193
+
194
+
195
+ :param str parameter: The parameter for obtaining the Parameter Version.
196
+ This can be either the reference of the parameter as in `projects/{{project}}/locations/global/parameters/{{parameter_id}}` or only the name of the parameter as in `{{parameter_id}}`.
197
+ :param str parameter_version_id: The version of the parameter to get.
198
+ :param str project: The project for retrieving the Parameter Version. If it's not specified,
199
+ the provider project will be used.
200
+ """
201
+ __args__ = dict()
202
+ __args__['parameter'] = parameter
203
+ __args__['parameterVersionId'] = parameter_version_id
204
+ __args__['project'] = project
205
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
206
+ __ret__ = pulumi.runtime.invoke_output('gcp:parametermanager/getParameterVersion:getParameterVersion', __args__, opts=opts, typ=GetParameterVersionResult)
207
+ return __ret__.apply(lambda __response__: GetParameterVersionResult(
208
+ create_time=pulumi.get(__response__, 'create_time'),
209
+ disabled=pulumi.get(__response__, 'disabled'),
210
+ id=pulumi.get(__response__, 'id'),
211
+ name=pulumi.get(__response__, 'name'),
212
+ parameter=pulumi.get(__response__, 'parameter'),
213
+ parameter_data=pulumi.get(__response__, 'parameter_data'),
214
+ parameter_version_id=pulumi.get(__response__, 'parameter_version_id'),
215
+ project=pulumi.get(__response__, 'project'),
216
+ update_time=pulumi.get(__response__, 'update_time')))