pulumi-gcp 8.40.0a1754636117__py3-none-any.whl → 8.40.0a1754951145__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 (157) hide show
  1. pulumi_gcp/__init__.py +128 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +24 -4
  3. pulumi_gcp/accesscontextmanager/outputs.py +15 -3
  4. pulumi_gcp/apigee/__init__.py +2 -0
  5. pulumi_gcp/apigee/_inputs.py +1435 -0
  6. pulumi_gcp/apigee/api_product.py +1698 -0
  7. pulumi_gcp/apigee/outputs.py +1081 -0
  8. pulumi_gcp/apigee/security_action.py +1010 -0
  9. pulumi_gcp/artifactregistry/__init__.py +1 -0
  10. pulumi_gcp/artifactregistry/get_docker_images.py +164 -0
  11. pulumi_gcp/artifactregistry/outputs.py +109 -2
  12. pulumi_gcp/artifactregistry/repository.py +6 -6
  13. pulumi_gcp/backupdisasterrecovery/backup_vault.py +56 -0
  14. pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +12 -1
  15. pulumi_gcp/bigquery/_inputs.py +6 -0
  16. pulumi_gcp/bigquery/get_table.py +23 -1
  17. pulumi_gcp/bigquery/outputs.py +4 -0
  18. pulumi_gcp/bigquery/table.py +62 -0
  19. pulumi_gcp/bigqueryanalyticshub/_inputs.py +180 -0
  20. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +80 -0
  21. pulumi_gcp/bigqueryanalyticshub/listing.py +322 -2
  22. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +32 -0
  23. pulumi_gcp/bigqueryanalyticshub/outputs.py +159 -0
  24. pulumi_gcp/bigtable/__init__.py +1 -0
  25. pulumi_gcp/bigtable/_inputs.py +33 -0
  26. pulumi_gcp/bigtable/outputs.py +36 -0
  27. pulumi_gcp/bigtable/schema_bundle.py +568 -0
  28. pulumi_gcp/cloudfunctions/_inputs.py +48 -0
  29. pulumi_gcp/cloudfunctions/function.py +94 -0
  30. pulumi_gcp/cloudfunctions/get_function.py +23 -1
  31. pulumi_gcp/cloudfunctions/outputs.py +70 -0
  32. pulumi_gcp/cloudrunv2/_inputs.py +20 -0
  33. pulumi_gcp/cloudrunv2/job.py +2 -0
  34. pulumi_gcp/cloudrunv2/outputs.py +25 -0
  35. pulumi_gcp/cloudrunv2/worker_pool.py +2 -0
  36. pulumi_gcp/compute/__init__.py +1 -0
  37. pulumi_gcp/compute/_inputs.py +713 -22
  38. pulumi_gcp/compute/firewall_policy_with_rules.py +66 -0
  39. pulumi_gcp/compute/forwarding_rule.py +0 -21
  40. pulumi_gcp/compute/get_router.py +12 -1
  41. pulumi_gcp/compute/outputs.py +562 -22
  42. pulumi_gcp/compute/preview_feature.py +396 -0
  43. pulumi_gcp/compute/region_url_map.py +392 -0
  44. pulumi_gcp/compute/reservation.py +4 -4
  45. pulumi_gcp/compute/router.py +54 -0
  46. pulumi_gcp/compute/storage_pool.py +154 -0
  47. pulumi_gcp/compute/subnetwork.py +54 -0
  48. pulumi_gcp/config/__init__.pyi +2 -0
  49. pulumi_gcp/config/vars.py +4 -0
  50. pulumi_gcp/container/_inputs.py +278 -8
  51. pulumi_gcp/container/cluster.py +61 -21
  52. pulumi_gcp/container/get_cluster.py +12 -1
  53. pulumi_gcp/container/outputs.py +352 -8
  54. pulumi_gcp/dataproc/_inputs.py +249 -14
  55. pulumi_gcp/dataproc/batch.py +6 -0
  56. pulumi_gcp/dataproc/cluster.py +2 -0
  57. pulumi_gcp/dataproc/outputs.py +215 -12
  58. pulumi_gcp/dataproc/session_template.py +14 -2
  59. pulumi_gcp/developerconnect/__init__.py +1 -0
  60. pulumi_gcp/developerconnect/_inputs.py +583 -0
  61. pulumi_gcp/developerconnect/insights_config.py +895 -0
  62. pulumi_gcp/developerconnect/outputs.py +442 -0
  63. pulumi_gcp/diagflow/__init__.py +1 -0
  64. pulumi_gcp/diagflow/_inputs.py +1165 -58
  65. pulumi_gcp/diagflow/cx_generator.py +636 -0
  66. pulumi_gcp/diagflow/cx_tool.py +2 -2
  67. pulumi_gcp/diagflow/cx_webhook.py +380 -36
  68. pulumi_gcp/diagflow/outputs.py +848 -25
  69. pulumi_gcp/discoveryengine/__init__.py +2 -0
  70. pulumi_gcp/discoveryengine/_inputs.py +465 -0
  71. pulumi_gcp/discoveryengine/cmek_config.py +707 -0
  72. pulumi_gcp/discoveryengine/outputs.py +412 -0
  73. pulumi_gcp/discoveryengine/recommendation_engine.py +813 -0
  74. pulumi_gcp/firestore/field.py +6 -6
  75. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +107 -9
  76. pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +2 -2
  77. pulumi_gcp/gkehub/membership_binding.py +6 -6
  78. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  79. pulumi_gcp/gkehub/namespace.py +4 -4
  80. pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
  81. pulumi_gcp/iam/__init__.py +4 -0
  82. pulumi_gcp/iam/_inputs.py +98 -0
  83. pulumi_gcp/iam/get_workforce_pool_iam_policy.py +161 -0
  84. pulumi_gcp/iam/outputs.py +56 -0
  85. pulumi_gcp/iam/workforce_pool_iam_binding.py +761 -0
  86. pulumi_gcp/iam/workforce_pool_iam_member.py +761 -0
  87. pulumi_gcp/iam/workforce_pool_iam_policy.py +600 -0
  88. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  89. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  90. pulumi_gcp/looker/instance.py +28 -7
  91. pulumi_gcp/managedkafka/_inputs.py +127 -0
  92. pulumi_gcp/managedkafka/cluster.py +131 -1
  93. pulumi_gcp/managedkafka/connect_cluster.py +4 -4
  94. pulumi_gcp/managedkafka/connector.py +4 -4
  95. pulumi_gcp/managedkafka/outputs.py +128 -0
  96. pulumi_gcp/memorystore/instance.py +8 -12
  97. pulumi_gcp/modelarmor/__init__.py +1 -0
  98. pulumi_gcp/modelarmor/_inputs.py +683 -0
  99. pulumi_gcp/modelarmor/floorsetting.py +736 -0
  100. pulumi_gcp/modelarmor/outputs.py +618 -0
  101. pulumi_gcp/networkconnectivity/_inputs.py +60 -0
  102. pulumi_gcp/networkconnectivity/internal_range.py +136 -0
  103. pulumi_gcp/networkconnectivity/outputs.py +55 -0
  104. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  105. pulumi_gcp/oracledatabase/__init__.py +2 -0
  106. pulumi_gcp/oracledatabase/autonomous_database.py +262 -38
  107. pulumi_gcp/oracledatabase/cloud_vm_cluster.py +314 -50
  108. pulumi_gcp/oracledatabase/get_autonomous_database.py +23 -1
  109. pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +34 -1
  110. pulumi_gcp/oracledatabase/odb_network.py +721 -0
  111. pulumi_gcp/oracledatabase/odb_subnet.py +803 -0
  112. pulumi_gcp/oracledatabase/outputs.py +83 -0
  113. pulumi_gcp/orgpolicy/policy.py +2 -2
  114. pulumi_gcp/parametermanager/parameter_version.py +62 -0
  115. pulumi_gcp/parametermanager/regional_parameter_version.py +64 -0
  116. pulumi_gcp/provider.py +20 -0
  117. pulumi_gcp/pubsub/subscription.py +46 -6
  118. pulumi_gcp/pubsub/topic.py +36 -0
  119. pulumi_gcp/pulumi-plugin.json +1 -1
  120. pulumi_gcp/redis/cluster.py +70 -0
  121. pulumi_gcp/redis/get_cluster.py +12 -1
  122. pulumi_gcp/redis/instance.py +8 -12
  123. pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
  124. pulumi_gcp/secretmanager/get_secret.py +12 -1
  125. pulumi_gcp/secretmanager/outputs.py +30 -0
  126. pulumi_gcp/secretmanager/regional_secret.py +61 -0
  127. pulumi_gcp/secretmanager/secret.py +61 -0
  128. pulumi_gcp/securesourcemanager/branch_rule.py +16 -8
  129. pulumi_gcp/securesourcemanager/instance.py +112 -4
  130. pulumi_gcp/securesourcemanager/repository.py +112 -8
  131. pulumi_gcp/serviceaccount/get_account_key.py +1 -0
  132. pulumi_gcp/sql/_inputs.py +6 -6
  133. pulumi_gcp/sql/database.py +0 -12
  134. pulumi_gcp/sql/outputs.py +4 -4
  135. pulumi_gcp/storage/__init__.py +2 -0
  136. pulumi_gcp/storage/_inputs.py +451 -0
  137. pulumi_gcp/storage/bucket.py +7 -7
  138. pulumi_gcp/storage/bucket_object.py +34 -0
  139. pulumi_gcp/storage/get_bucket_object.py +12 -1
  140. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  141. pulumi_gcp/storage/get_insights_dataset_config.py +363 -0
  142. pulumi_gcp/storage/insights_dataset_config.py +1280 -0
  143. pulumi_gcp/storage/outputs.py +619 -0
  144. pulumi_gcp/vertex/__init__.py +1 -0
  145. pulumi_gcp/vertex/_inputs.py +3646 -3
  146. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  147. pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +940 -0
  148. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  149. pulumi_gcp/vertex/outputs.py +2609 -2
  150. pulumi_gcp/vmwareengine/network_peering.py +7 -7
  151. pulumi_gcp/workbench/_inputs.py +118 -0
  152. pulumi_gcp/workbench/instance.py +171 -2
  153. pulumi_gcp/workbench/outputs.py +91 -0
  154. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/METADATA +1 -1
  155. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/RECORD +157 -138
  156. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/WHEEL +0 -0
  157. {pulumi_gcp-8.40.0a1754636117.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,568 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
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
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['SchemaBundleArgs', 'SchemaBundle']
20
+
21
+ @pulumi.input_type
22
+ class SchemaBundleArgs:
23
+ def __init__(__self__, *,
24
+ proto_schema: pulumi.Input['SchemaBundleProtoSchemaArgs'],
25
+ schema_bundle_id: pulumi.Input[_builtins.str],
26
+ ignore_warnings: Optional[pulumi.Input[_builtins.bool]] = None,
27
+ instance: Optional[pulumi.Input[_builtins.str]] = None,
28
+ project: Optional[pulumi.Input[_builtins.str]] = None,
29
+ table: Optional[pulumi.Input[_builtins.str]] = None):
30
+ """
31
+ The set of arguments for constructing a SchemaBundle resource.
32
+ :param pulumi.Input['SchemaBundleProtoSchemaArgs'] proto_schema: File descriptor set, generated by protoc.
33
+ To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
34
+ $ protoc --include_imports --include_source_info test.proto -o out.pb
35
+ Structure is documented below.
36
+ :param pulumi.Input[_builtins.str] schema_bundle_id: The unique name of the schema bundle in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
37
+ :param pulumi.Input[_builtins.bool] ignore_warnings: If true, allow backwards incompatible changes.
38
+ :param pulumi.Input[_builtins.str] instance: The name of the instance to create the schema bundle within.
39
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
40
+ If it is not provided, the provider project is used.
41
+ :param pulumi.Input[_builtins.str] table: The name of the table to create the schema bundle within.
42
+ """
43
+ pulumi.set(__self__, "proto_schema", proto_schema)
44
+ pulumi.set(__self__, "schema_bundle_id", schema_bundle_id)
45
+ if ignore_warnings is not None:
46
+ pulumi.set(__self__, "ignore_warnings", ignore_warnings)
47
+ if instance is not None:
48
+ pulumi.set(__self__, "instance", instance)
49
+ if project is not None:
50
+ pulumi.set(__self__, "project", project)
51
+ if table is not None:
52
+ pulumi.set(__self__, "table", table)
53
+
54
+ @_builtins.property
55
+ @pulumi.getter(name="protoSchema")
56
+ def proto_schema(self) -> pulumi.Input['SchemaBundleProtoSchemaArgs']:
57
+ """
58
+ File descriptor set, generated by protoc.
59
+ To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
60
+ $ protoc --include_imports --include_source_info test.proto -o out.pb
61
+ Structure is documented below.
62
+ """
63
+ return pulumi.get(self, "proto_schema")
64
+
65
+ @proto_schema.setter
66
+ def proto_schema(self, value: pulumi.Input['SchemaBundleProtoSchemaArgs']):
67
+ pulumi.set(self, "proto_schema", value)
68
+
69
+ @_builtins.property
70
+ @pulumi.getter(name="schemaBundleId")
71
+ def schema_bundle_id(self) -> pulumi.Input[_builtins.str]:
72
+ """
73
+ The unique name of the schema bundle in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
74
+ """
75
+ return pulumi.get(self, "schema_bundle_id")
76
+
77
+ @schema_bundle_id.setter
78
+ def schema_bundle_id(self, value: pulumi.Input[_builtins.str]):
79
+ pulumi.set(self, "schema_bundle_id", value)
80
+
81
+ @_builtins.property
82
+ @pulumi.getter(name="ignoreWarnings")
83
+ def ignore_warnings(self) -> Optional[pulumi.Input[_builtins.bool]]:
84
+ """
85
+ If true, allow backwards incompatible changes.
86
+ """
87
+ return pulumi.get(self, "ignore_warnings")
88
+
89
+ @ignore_warnings.setter
90
+ def ignore_warnings(self, value: Optional[pulumi.Input[_builtins.bool]]):
91
+ pulumi.set(self, "ignore_warnings", value)
92
+
93
+ @_builtins.property
94
+ @pulumi.getter
95
+ def instance(self) -> Optional[pulumi.Input[_builtins.str]]:
96
+ """
97
+ The name of the instance to create the schema bundle within.
98
+ """
99
+ return pulumi.get(self, "instance")
100
+
101
+ @instance.setter
102
+ def instance(self, value: Optional[pulumi.Input[_builtins.str]]):
103
+ pulumi.set(self, "instance", value)
104
+
105
+ @_builtins.property
106
+ @pulumi.getter
107
+ def project(self) -> Optional[pulumi.Input[_builtins.str]]:
108
+ """
109
+ The ID of the project in which the resource belongs.
110
+ If it is not provided, the provider project is used.
111
+ """
112
+ return pulumi.get(self, "project")
113
+
114
+ @project.setter
115
+ def project(self, value: Optional[pulumi.Input[_builtins.str]]):
116
+ pulumi.set(self, "project", value)
117
+
118
+ @_builtins.property
119
+ @pulumi.getter
120
+ def table(self) -> Optional[pulumi.Input[_builtins.str]]:
121
+ """
122
+ The name of the table to create the schema bundle within.
123
+ """
124
+ return pulumi.get(self, "table")
125
+
126
+ @table.setter
127
+ def table(self, value: Optional[pulumi.Input[_builtins.str]]):
128
+ pulumi.set(self, "table", value)
129
+
130
+
131
+ @pulumi.input_type
132
+ class _SchemaBundleState:
133
+ def __init__(__self__, *,
134
+ ignore_warnings: Optional[pulumi.Input[_builtins.bool]] = None,
135
+ instance: Optional[pulumi.Input[_builtins.str]] = None,
136
+ name: Optional[pulumi.Input[_builtins.str]] = None,
137
+ project: Optional[pulumi.Input[_builtins.str]] = None,
138
+ proto_schema: Optional[pulumi.Input['SchemaBundleProtoSchemaArgs']] = None,
139
+ schema_bundle_id: Optional[pulumi.Input[_builtins.str]] = None,
140
+ table: Optional[pulumi.Input[_builtins.str]] = None):
141
+ """
142
+ Input properties used for looking up and filtering SchemaBundle resources.
143
+ :param pulumi.Input[_builtins.bool] ignore_warnings: If true, allow backwards incompatible changes.
144
+ :param pulumi.Input[_builtins.str] instance: The name of the instance to create the schema bundle within.
145
+ :param pulumi.Input[_builtins.str] name: The unique name of the requested schema bundle. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/schemaBundles/<schemaBundleId>`.
146
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
147
+ If it is not provided, the provider project is used.
148
+ :param pulumi.Input['SchemaBundleProtoSchemaArgs'] proto_schema: File descriptor set, generated by protoc.
149
+ To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
150
+ $ protoc --include_imports --include_source_info test.proto -o out.pb
151
+ Structure is documented below.
152
+ :param pulumi.Input[_builtins.str] schema_bundle_id: The unique name of the schema bundle in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
153
+ :param pulumi.Input[_builtins.str] table: The name of the table to create the schema bundle within.
154
+ """
155
+ if ignore_warnings is not None:
156
+ pulumi.set(__self__, "ignore_warnings", ignore_warnings)
157
+ if instance is not None:
158
+ pulumi.set(__self__, "instance", instance)
159
+ if name is not None:
160
+ pulumi.set(__self__, "name", name)
161
+ if project is not None:
162
+ pulumi.set(__self__, "project", project)
163
+ if proto_schema is not None:
164
+ pulumi.set(__self__, "proto_schema", proto_schema)
165
+ if schema_bundle_id is not None:
166
+ pulumi.set(__self__, "schema_bundle_id", schema_bundle_id)
167
+ if table is not None:
168
+ pulumi.set(__self__, "table", table)
169
+
170
+ @_builtins.property
171
+ @pulumi.getter(name="ignoreWarnings")
172
+ def ignore_warnings(self) -> Optional[pulumi.Input[_builtins.bool]]:
173
+ """
174
+ If true, allow backwards incompatible changes.
175
+ """
176
+ return pulumi.get(self, "ignore_warnings")
177
+
178
+ @ignore_warnings.setter
179
+ def ignore_warnings(self, value: Optional[pulumi.Input[_builtins.bool]]):
180
+ pulumi.set(self, "ignore_warnings", value)
181
+
182
+ @_builtins.property
183
+ @pulumi.getter
184
+ def instance(self) -> Optional[pulumi.Input[_builtins.str]]:
185
+ """
186
+ The name of the instance to create the schema bundle within.
187
+ """
188
+ return pulumi.get(self, "instance")
189
+
190
+ @instance.setter
191
+ def instance(self, value: Optional[pulumi.Input[_builtins.str]]):
192
+ pulumi.set(self, "instance", value)
193
+
194
+ @_builtins.property
195
+ @pulumi.getter
196
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
197
+ """
198
+ The unique name of the requested schema bundle. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/schemaBundles/<schemaBundleId>`.
199
+ """
200
+ return pulumi.get(self, "name")
201
+
202
+ @name.setter
203
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
204
+ pulumi.set(self, "name", value)
205
+
206
+ @_builtins.property
207
+ @pulumi.getter
208
+ def project(self) -> Optional[pulumi.Input[_builtins.str]]:
209
+ """
210
+ The ID of the project in which the resource belongs.
211
+ If it is not provided, the provider project is used.
212
+ """
213
+ return pulumi.get(self, "project")
214
+
215
+ @project.setter
216
+ def project(self, value: Optional[pulumi.Input[_builtins.str]]):
217
+ pulumi.set(self, "project", value)
218
+
219
+ @_builtins.property
220
+ @pulumi.getter(name="protoSchema")
221
+ def proto_schema(self) -> Optional[pulumi.Input['SchemaBundleProtoSchemaArgs']]:
222
+ """
223
+ File descriptor set, generated by protoc.
224
+ To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
225
+ $ protoc --include_imports --include_source_info test.proto -o out.pb
226
+ Structure is documented below.
227
+ """
228
+ return pulumi.get(self, "proto_schema")
229
+
230
+ @proto_schema.setter
231
+ def proto_schema(self, value: Optional[pulumi.Input['SchemaBundleProtoSchemaArgs']]):
232
+ pulumi.set(self, "proto_schema", value)
233
+
234
+ @_builtins.property
235
+ @pulumi.getter(name="schemaBundleId")
236
+ def schema_bundle_id(self) -> Optional[pulumi.Input[_builtins.str]]:
237
+ """
238
+ The unique name of the schema bundle in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
239
+ """
240
+ return pulumi.get(self, "schema_bundle_id")
241
+
242
+ @schema_bundle_id.setter
243
+ def schema_bundle_id(self, value: Optional[pulumi.Input[_builtins.str]]):
244
+ pulumi.set(self, "schema_bundle_id", value)
245
+
246
+ @_builtins.property
247
+ @pulumi.getter
248
+ def table(self) -> Optional[pulumi.Input[_builtins.str]]:
249
+ """
250
+ The name of the table to create the schema bundle within.
251
+ """
252
+ return pulumi.get(self, "table")
253
+
254
+ @table.setter
255
+ def table(self, value: Optional[pulumi.Input[_builtins.str]]):
256
+ pulumi.set(self, "table", value)
257
+
258
+
259
+ @pulumi.type_token("gcp:bigtable/schemaBundle:SchemaBundle")
260
+ class SchemaBundle(pulumi.CustomResource):
261
+ @overload
262
+ def __init__(__self__,
263
+ resource_name: str,
264
+ opts: Optional[pulumi.ResourceOptions] = None,
265
+ ignore_warnings: Optional[pulumi.Input[_builtins.bool]] = None,
266
+ instance: Optional[pulumi.Input[_builtins.str]] = None,
267
+ project: Optional[pulumi.Input[_builtins.str]] = None,
268
+ proto_schema: Optional[pulumi.Input[Union['SchemaBundleProtoSchemaArgs', 'SchemaBundleProtoSchemaArgsDict']]] = None,
269
+ schema_bundle_id: Optional[pulumi.Input[_builtins.str]] = None,
270
+ table: Optional[pulumi.Input[_builtins.str]] = None,
271
+ __props__=None):
272
+ """
273
+ A schema bundle object that can be referenced in SQL queries.
274
+
275
+ To get more information about SchemaBundle, see:
276
+
277
+ * [API documentation](https://cloud.google.com/bigtable/docs/reference/admin/rest/v2/projects.instances.tables.schemaBundles)
278
+
279
+ ## Example Usage
280
+
281
+ ### Bigtable Schema Bundle
282
+
283
+ ```python
284
+ import pulumi
285
+ import pulumi_gcp as gcp
286
+ import pulumi_std as std
287
+
288
+ instance = gcp.bigtable.Instance("instance",
289
+ name="bt-instance",
290
+ clusters=[{
291
+ "cluster_id": "cluster-1",
292
+ "zone": "us-east1-b",
293
+ "num_nodes": 1,
294
+ "storage_type": "HDD",
295
+ }],
296
+ deletion_protection=False)
297
+ table = gcp.bigtable.Table("table",
298
+ name="bt-table",
299
+ instance_name=instance.name,
300
+ column_families=[{
301
+ "family": "CF",
302
+ }])
303
+ schema_bundle = gcp.bigtable.SchemaBundle("schema_bundle",
304
+ schema_bundle_id="bt-schema-bundle",
305
+ instance=instance.name,
306
+ table=table.name,
307
+ proto_schema={
308
+ "proto_descriptors": std.filebase64(input="test-fixtures/proto_schema_bundle.pb").result,
309
+ })
310
+ ```
311
+
312
+ ## Import
313
+
314
+ SchemaBundle can be imported using any of these accepted formats:
315
+
316
+ * `projects/{{project}}/instances/{{instance}}/tables/{{table}}/schemaBundles/{{schema_bundle_id}}`
317
+
318
+ * `{{project}}/{{instance}}/{{table}}/{{schema_bundle_id}}`
319
+
320
+ * `{{instance}}/{{table}}/{{schema_bundle_id}}`
321
+
322
+ When using the `pulumi import` command, SchemaBundle can be imported using one of the formats above. For example:
323
+
324
+ ```sh
325
+ $ pulumi import gcp:bigtable/schemaBundle:SchemaBundle default projects/{{project}}/instances/{{instance}}/tables/{{table}}/schemaBundles/{{schema_bundle_id}}
326
+ ```
327
+
328
+ ```sh
329
+ $ pulumi import gcp:bigtable/schemaBundle:SchemaBundle default {{project}}/{{instance}}/{{table}}/{{schema_bundle_id}}
330
+ ```
331
+
332
+ ```sh
333
+ $ pulumi import gcp:bigtable/schemaBundle:SchemaBundle default {{instance}}/{{table}}/{{schema_bundle_id}}
334
+ ```
335
+
336
+ :param str resource_name: The name of the resource.
337
+ :param pulumi.ResourceOptions opts: Options for the resource.
338
+ :param pulumi.Input[_builtins.bool] ignore_warnings: If true, allow backwards incompatible changes.
339
+ :param pulumi.Input[_builtins.str] instance: The name of the instance to create the schema bundle within.
340
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
341
+ If it is not provided, the provider project is used.
342
+ :param pulumi.Input[Union['SchemaBundleProtoSchemaArgs', 'SchemaBundleProtoSchemaArgsDict']] proto_schema: File descriptor set, generated by protoc.
343
+ To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
344
+ $ protoc --include_imports --include_source_info test.proto -o out.pb
345
+ Structure is documented below.
346
+ :param pulumi.Input[_builtins.str] schema_bundle_id: The unique name of the schema bundle in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
347
+ :param pulumi.Input[_builtins.str] table: The name of the table to create the schema bundle within.
348
+ """
349
+ ...
350
+ @overload
351
+ def __init__(__self__,
352
+ resource_name: str,
353
+ args: SchemaBundleArgs,
354
+ opts: Optional[pulumi.ResourceOptions] = None):
355
+ """
356
+ A schema bundle object that can be referenced in SQL queries.
357
+
358
+ To get more information about SchemaBundle, see:
359
+
360
+ * [API documentation](https://cloud.google.com/bigtable/docs/reference/admin/rest/v2/projects.instances.tables.schemaBundles)
361
+
362
+ ## Example Usage
363
+
364
+ ### Bigtable Schema Bundle
365
+
366
+ ```python
367
+ import pulumi
368
+ import pulumi_gcp as gcp
369
+ import pulumi_std as std
370
+
371
+ instance = gcp.bigtable.Instance("instance",
372
+ name="bt-instance",
373
+ clusters=[{
374
+ "cluster_id": "cluster-1",
375
+ "zone": "us-east1-b",
376
+ "num_nodes": 1,
377
+ "storage_type": "HDD",
378
+ }],
379
+ deletion_protection=False)
380
+ table = gcp.bigtable.Table("table",
381
+ name="bt-table",
382
+ instance_name=instance.name,
383
+ column_families=[{
384
+ "family": "CF",
385
+ }])
386
+ schema_bundle = gcp.bigtable.SchemaBundle("schema_bundle",
387
+ schema_bundle_id="bt-schema-bundle",
388
+ instance=instance.name,
389
+ table=table.name,
390
+ proto_schema={
391
+ "proto_descriptors": std.filebase64(input="test-fixtures/proto_schema_bundle.pb").result,
392
+ })
393
+ ```
394
+
395
+ ## Import
396
+
397
+ SchemaBundle can be imported using any of these accepted formats:
398
+
399
+ * `projects/{{project}}/instances/{{instance}}/tables/{{table}}/schemaBundles/{{schema_bundle_id}}`
400
+
401
+ * `{{project}}/{{instance}}/{{table}}/{{schema_bundle_id}}`
402
+
403
+ * `{{instance}}/{{table}}/{{schema_bundle_id}}`
404
+
405
+ When using the `pulumi import` command, SchemaBundle can be imported using one of the formats above. For example:
406
+
407
+ ```sh
408
+ $ pulumi import gcp:bigtable/schemaBundle:SchemaBundle default projects/{{project}}/instances/{{instance}}/tables/{{table}}/schemaBundles/{{schema_bundle_id}}
409
+ ```
410
+
411
+ ```sh
412
+ $ pulumi import gcp:bigtable/schemaBundle:SchemaBundle default {{project}}/{{instance}}/{{table}}/{{schema_bundle_id}}
413
+ ```
414
+
415
+ ```sh
416
+ $ pulumi import gcp:bigtable/schemaBundle:SchemaBundle default {{instance}}/{{table}}/{{schema_bundle_id}}
417
+ ```
418
+
419
+ :param str resource_name: The name of the resource.
420
+ :param SchemaBundleArgs args: The arguments to use to populate this resource's properties.
421
+ :param pulumi.ResourceOptions opts: Options for the resource.
422
+ """
423
+ ...
424
+ def __init__(__self__, resource_name: str, *args, **kwargs):
425
+ resource_args, opts = _utilities.get_resource_args_opts(SchemaBundleArgs, pulumi.ResourceOptions, *args, **kwargs)
426
+ if resource_args is not None:
427
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
428
+ else:
429
+ __self__._internal_init(resource_name, *args, **kwargs)
430
+
431
+ def _internal_init(__self__,
432
+ resource_name: str,
433
+ opts: Optional[pulumi.ResourceOptions] = None,
434
+ ignore_warnings: Optional[pulumi.Input[_builtins.bool]] = None,
435
+ instance: Optional[pulumi.Input[_builtins.str]] = None,
436
+ project: Optional[pulumi.Input[_builtins.str]] = None,
437
+ proto_schema: Optional[pulumi.Input[Union['SchemaBundleProtoSchemaArgs', 'SchemaBundleProtoSchemaArgsDict']]] = None,
438
+ schema_bundle_id: Optional[pulumi.Input[_builtins.str]] = None,
439
+ table: Optional[pulumi.Input[_builtins.str]] = None,
440
+ __props__=None):
441
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
442
+ if not isinstance(opts, pulumi.ResourceOptions):
443
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
444
+ if opts.id is None:
445
+ if __props__ is not None:
446
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
447
+ __props__ = SchemaBundleArgs.__new__(SchemaBundleArgs)
448
+
449
+ __props__.__dict__["ignore_warnings"] = ignore_warnings
450
+ __props__.__dict__["instance"] = instance
451
+ __props__.__dict__["project"] = project
452
+ if proto_schema is None and not opts.urn:
453
+ raise TypeError("Missing required property 'proto_schema'")
454
+ __props__.__dict__["proto_schema"] = proto_schema
455
+ if schema_bundle_id is None and not opts.urn:
456
+ raise TypeError("Missing required property 'schema_bundle_id'")
457
+ __props__.__dict__["schema_bundle_id"] = schema_bundle_id
458
+ __props__.__dict__["table"] = table
459
+ __props__.__dict__["name"] = None
460
+ super(SchemaBundle, __self__).__init__(
461
+ 'gcp:bigtable/schemaBundle:SchemaBundle',
462
+ resource_name,
463
+ __props__,
464
+ opts)
465
+
466
+ @staticmethod
467
+ def get(resource_name: str,
468
+ id: pulumi.Input[str],
469
+ opts: Optional[pulumi.ResourceOptions] = None,
470
+ ignore_warnings: Optional[pulumi.Input[_builtins.bool]] = None,
471
+ instance: Optional[pulumi.Input[_builtins.str]] = None,
472
+ name: Optional[pulumi.Input[_builtins.str]] = None,
473
+ project: Optional[pulumi.Input[_builtins.str]] = None,
474
+ proto_schema: Optional[pulumi.Input[Union['SchemaBundleProtoSchemaArgs', 'SchemaBundleProtoSchemaArgsDict']]] = None,
475
+ schema_bundle_id: Optional[pulumi.Input[_builtins.str]] = None,
476
+ table: Optional[pulumi.Input[_builtins.str]] = None) -> 'SchemaBundle':
477
+ """
478
+ Get an existing SchemaBundle resource's state with the given name, id, and optional extra
479
+ properties used to qualify the lookup.
480
+
481
+ :param str resource_name: The unique name of the resulting resource.
482
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
483
+ :param pulumi.ResourceOptions opts: Options for the resource.
484
+ :param pulumi.Input[_builtins.bool] ignore_warnings: If true, allow backwards incompatible changes.
485
+ :param pulumi.Input[_builtins.str] instance: The name of the instance to create the schema bundle within.
486
+ :param pulumi.Input[_builtins.str] name: The unique name of the requested schema bundle. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/schemaBundles/<schemaBundleId>`.
487
+ :param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
488
+ If it is not provided, the provider project is used.
489
+ :param pulumi.Input[Union['SchemaBundleProtoSchemaArgs', 'SchemaBundleProtoSchemaArgsDict']] proto_schema: File descriptor set, generated by protoc.
490
+ To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
491
+ $ protoc --include_imports --include_source_info test.proto -o out.pb
492
+ Structure is documented below.
493
+ :param pulumi.Input[_builtins.str] schema_bundle_id: The unique name of the schema bundle in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
494
+ :param pulumi.Input[_builtins.str] table: The name of the table to create the schema bundle within.
495
+ """
496
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
497
+
498
+ __props__ = _SchemaBundleState.__new__(_SchemaBundleState)
499
+
500
+ __props__.__dict__["ignore_warnings"] = ignore_warnings
501
+ __props__.__dict__["instance"] = instance
502
+ __props__.__dict__["name"] = name
503
+ __props__.__dict__["project"] = project
504
+ __props__.__dict__["proto_schema"] = proto_schema
505
+ __props__.__dict__["schema_bundle_id"] = schema_bundle_id
506
+ __props__.__dict__["table"] = table
507
+ return SchemaBundle(resource_name, opts=opts, __props__=__props__)
508
+
509
+ @_builtins.property
510
+ @pulumi.getter(name="ignoreWarnings")
511
+ def ignore_warnings(self) -> pulumi.Output[Optional[_builtins.bool]]:
512
+ """
513
+ If true, allow backwards incompatible changes.
514
+ """
515
+ return pulumi.get(self, "ignore_warnings")
516
+
517
+ @_builtins.property
518
+ @pulumi.getter
519
+ def instance(self) -> pulumi.Output[Optional[_builtins.str]]:
520
+ """
521
+ The name of the instance to create the schema bundle within.
522
+ """
523
+ return pulumi.get(self, "instance")
524
+
525
+ @_builtins.property
526
+ @pulumi.getter
527
+ def name(self) -> pulumi.Output[_builtins.str]:
528
+ """
529
+ The unique name of the requested schema bundle. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/schemaBundles/<schemaBundleId>`.
530
+ """
531
+ return pulumi.get(self, "name")
532
+
533
+ @_builtins.property
534
+ @pulumi.getter
535
+ def project(self) -> pulumi.Output[_builtins.str]:
536
+ """
537
+ The ID of the project in which the resource belongs.
538
+ If it is not provided, the provider project is used.
539
+ """
540
+ return pulumi.get(self, "project")
541
+
542
+ @_builtins.property
543
+ @pulumi.getter(name="protoSchema")
544
+ def proto_schema(self) -> pulumi.Output['outputs.SchemaBundleProtoSchema']:
545
+ """
546
+ File descriptor set, generated by protoc.
547
+ To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.
548
+ $ protoc --include_imports --include_source_info test.proto -o out.pb
549
+ Structure is documented below.
550
+ """
551
+ return pulumi.get(self, "proto_schema")
552
+
553
+ @_builtins.property
554
+ @pulumi.getter(name="schemaBundleId")
555
+ def schema_bundle_id(self) -> pulumi.Output[_builtins.str]:
556
+ """
557
+ The unique name of the schema bundle in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
558
+ """
559
+ return pulumi.get(self, "schema_bundle_id")
560
+
561
+ @_builtins.property
562
+ @pulumi.getter
563
+ def table(self) -> pulumi.Output[Optional[_builtins.str]]:
564
+ """
565
+ The name of the table to create the schema bundle within.
566
+ """
567
+ return pulumi.get(self, "table")
568
+
@@ -15,6 +15,8 @@ else:
15
15
  from .. import _utilities
16
16
 
17
17
  __all__ = [
18
+ 'FunctionAutomaticUpdatePolicyArgs',
19
+ 'FunctionAutomaticUpdatePolicyArgsDict',
18
20
  'FunctionEventTriggerArgs',
19
21
  'FunctionEventTriggerArgsDict',
20
22
  'FunctionEventTriggerFailurePolicyArgs',
@@ -23,6 +25,8 @@ __all__ = [
23
25
  'FunctionIamBindingConditionArgsDict',
24
26
  'FunctionIamMemberConditionArgs',
25
27
  'FunctionIamMemberConditionArgsDict',
28
+ 'FunctionOnDeployUpdatePolicyArgs',
29
+ 'FunctionOnDeployUpdatePolicyArgsDict',
26
30
  'FunctionSecretEnvironmentVariableArgs',
27
31
  'FunctionSecretEnvironmentVariableArgsDict',
28
32
  'FunctionSecretVolumeArgs',
@@ -35,6 +39,18 @@ __all__ = [
35
39
 
36
40
  MYPY = False
37
41
 
42
+ if not MYPY:
43
+ class FunctionAutomaticUpdatePolicyArgsDict(TypedDict):
44
+ pass
45
+ elif False:
46
+ FunctionAutomaticUpdatePolicyArgsDict: TypeAlias = Mapping[str, Any]
47
+
48
+ @pulumi.input_type
49
+ class FunctionAutomaticUpdatePolicyArgs:
50
+ def __init__(__self__):
51
+ pass
52
+
53
+
38
54
  if not MYPY:
39
55
  class FunctionEventTriggerArgsDict(TypedDict):
40
56
  event_type: pulumi.Input[_builtins.str]
@@ -239,6 +255,38 @@ class FunctionIamMemberConditionArgs:
239
255
  pulumi.set(self, "description", value)
240
256
 
241
257
 
258
+ if not MYPY:
259
+ class FunctionOnDeployUpdatePolicyArgsDict(TypedDict):
260
+ runtime_version: NotRequired[pulumi.Input[_builtins.str]]
261
+ """
262
+ The runtime version which was used during latest function deployment.
263
+ """
264
+ elif False:
265
+ FunctionOnDeployUpdatePolicyArgsDict: TypeAlias = Mapping[str, Any]
266
+
267
+ @pulumi.input_type
268
+ class FunctionOnDeployUpdatePolicyArgs:
269
+ def __init__(__self__, *,
270
+ runtime_version: Optional[pulumi.Input[_builtins.str]] = None):
271
+ """
272
+ :param pulumi.Input[_builtins.str] runtime_version: The runtime version which was used during latest function deployment.
273
+ """
274
+ if runtime_version is not None:
275
+ pulumi.set(__self__, "runtime_version", runtime_version)
276
+
277
+ @_builtins.property
278
+ @pulumi.getter(name="runtimeVersion")
279
+ def runtime_version(self) -> Optional[pulumi.Input[_builtins.str]]:
280
+ """
281
+ The runtime version which was used during latest function deployment.
282
+ """
283
+ return pulumi.get(self, "runtime_version")
284
+
285
+ @runtime_version.setter
286
+ def runtime_version(self, value: Optional[pulumi.Input[_builtins.str]]):
287
+ pulumi.set(self, "runtime_version", value)
288
+
289
+
242
290
  if not MYPY:
243
291
  class FunctionSecretEnvironmentVariableArgsDict(TypedDict):
244
292
  key: pulumi.Input[_builtins.str]