pulumi-gcp 8.25.0a1743489606__py3-none-any.whl → 8.25.0a1743706148__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 (126) hide show
  1. pulumi_gcp/__init__.py +104 -0
  2. pulumi_gcp/_inputs.py +48 -0
  3. pulumi_gcp/accesscontextmanager/_inputs.py +324 -12
  4. pulumi_gcp/accesscontextmanager/outputs.py +204 -12
  5. pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
  6. pulumi_gcp/apigee/__init__.py +1 -0
  7. pulumi_gcp/apigee/_inputs.py +58 -0
  8. pulumi_gcp/apigee/dns_zone.py +491 -0
  9. pulumi_gcp/apigee/outputs.py +53 -0
  10. pulumi_gcp/bigquery/reservation_assignment.py +7 -7
  11. pulumi_gcp/bigtable/table.py +8 -8
  12. pulumi_gcp/chronicle/data_access_label.py +2 -2
  13. pulumi_gcp/chronicle/data_access_scope.py +16 -0
  14. pulumi_gcp/chronicle/reference_list.py +16 -0
  15. pulumi_gcp/chronicle/retrohunt.py +16 -0
  16. pulumi_gcp/chronicle/rule.py +16 -0
  17. pulumi_gcp/chronicle/rule_deployment.py +16 -0
  18. pulumi_gcp/chronicle/watchlist.py +16 -0
  19. pulumi_gcp/cloudfunctionsv2/_inputs.py +20 -0
  20. pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
  21. pulumi_gcp/cloudrunv2/_inputs.py +20 -0
  22. pulumi_gcp/cloudrunv2/outputs.py +25 -0
  23. pulumi_gcp/compute/__init__.py +1 -0
  24. pulumi_gcp/compute/_inputs.py +2011 -43
  25. pulumi_gcp/compute/backend_service.py +121 -3
  26. pulumi_gcp/compute/get_backend_service.py +15 -4
  27. pulumi_gcp/compute/get_instance.py +12 -1
  28. pulumi_gcp/compute/get_region_backend_service.py +482 -0
  29. pulumi_gcp/compute/get_router.py +12 -1
  30. pulumi_gcp/compute/get_subnetwork.py +43 -1
  31. pulumi_gcp/compute/instance.py +47 -0
  32. pulumi_gcp/compute/instance_from_machine_image.py +94 -0
  33. pulumi_gcp/compute/instance_from_template.py +47 -0
  34. pulumi_gcp/compute/outputs.py +3578 -139
  35. pulumi_gcp/compute/public_delegated_prefix.py +69 -15
  36. pulumi_gcp/compute/router.py +54 -0
  37. pulumi_gcp/compute/subnetwork.py +35 -5
  38. pulumi_gcp/config/__init__.pyi +2 -0
  39. pulumi_gcp/config/outputs.py +27 -0
  40. pulumi_gcp/config/vars.py +4 -0
  41. pulumi_gcp/container/_inputs.py +12 -12
  42. pulumi_gcp/container/cluster.py +47 -0
  43. pulumi_gcp/container/get_cluster.py +12 -1
  44. pulumi_gcp/container/get_registry_image.py +4 -0
  45. pulumi_gcp/container/get_registry_repository.py +4 -0
  46. pulumi_gcp/container/outputs.py +8 -8
  47. pulumi_gcp/container/registry.py +4 -0
  48. pulumi_gcp/datafusion/instance.py +68 -0
  49. pulumi_gcp/dataproc/__init__.py +8 -0
  50. pulumi_gcp/dataproc/_inputs.py +196 -0
  51. pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +193 -0
  52. pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +210 -0
  53. pulumi_gcp/dataproc/metastore_database_iam_binding.py +848 -0
  54. pulumi_gcp/dataproc/metastore_database_iam_member.py +848 -0
  55. pulumi_gcp/dataproc/metastore_database_iam_policy.py +687 -0
  56. pulumi_gcp/dataproc/metastore_federation.py +38 -2
  57. pulumi_gcp/dataproc/metastore_table_iam_binding.py +895 -0
  58. pulumi_gcp/dataproc/metastore_table_iam_member.py +895 -0
  59. pulumi_gcp/dataproc/metastore_table_iam_policy.py +734 -0
  60. pulumi_gcp/dataproc/outputs.py +112 -0
  61. pulumi_gcp/datastream/_inputs.py +311 -94
  62. pulumi_gcp/datastream/connection_profile.py +40 -0
  63. pulumi_gcp/datastream/outputs.py +244 -51
  64. pulumi_gcp/datastream/stream.py +216 -0
  65. pulumi_gcp/discoveryengine/__init__.py +1 -0
  66. pulumi_gcp/discoveryengine/sitemap.py +504 -0
  67. pulumi_gcp/eventarc/__init__.py +1 -0
  68. pulumi_gcp/eventarc/enrollment.py +980 -0
  69. pulumi_gcp/firebase/__init__.py +1 -0
  70. pulumi_gcp/firebase/_inputs.py +484 -0
  71. pulumi_gcp/firebase/app_hosting_build.py +1232 -0
  72. pulumi_gcp/firebase/outputs.py +333 -0
  73. pulumi_gcp/identityplatform/_inputs.py +91 -0
  74. pulumi_gcp/identityplatform/outputs.py +73 -0
  75. pulumi_gcp/identityplatform/tenant.py +56 -0
  76. pulumi_gcp/managedkafka/cluster.py +2 -2
  77. pulumi_gcp/memorystore/__init__.py +1 -0
  78. pulumi_gcp/memorystore/_inputs.py +826 -0
  79. pulumi_gcp/memorystore/get_instance.py +23 -1
  80. pulumi_gcp/memorystore/instance.py +344 -23
  81. pulumi_gcp/memorystore/instance_desired_user_created_endpoints.py +843 -0
  82. pulumi_gcp/memorystore/outputs.py +889 -8
  83. pulumi_gcp/networksecurity/_inputs.py +473 -0
  84. pulumi_gcp/networksecurity/mirroring_deployment_group.py +44 -16
  85. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +94 -36
  86. pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +53 -8
  87. pulumi_gcp/networksecurity/outputs.py +291 -1
  88. pulumi_gcp/networksecurity/security_profile.py +8 -0
  89. pulumi_gcp/organizations/__init__.py +1 -0
  90. pulumi_gcp/organizations/get_iam_custom_roles.py +164 -0
  91. pulumi_gcp/organizations/outputs.py +96 -0
  92. pulumi_gcp/parametermanager/get_parameter.py +16 -1
  93. pulumi_gcp/parametermanager/get_parameter_version.py +19 -1
  94. pulumi_gcp/parametermanager/get_parameter_version_render.py +4 -0
  95. pulumi_gcp/parametermanager/get_parameters.py +4 -0
  96. pulumi_gcp/parametermanager/get_regional_parameter.py +4 -0
  97. pulumi_gcp/parametermanager/get_regional_parameter_version.py +4 -0
  98. pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +8 -0
  99. pulumi_gcp/parametermanager/get_regional_parameters.py +4 -0
  100. pulumi_gcp/parametermanager/outputs.py +11 -0
  101. pulumi_gcp/parametermanager/parameter.py +88 -0
  102. pulumi_gcp/parametermanager/parameter_version.py +74 -0
  103. pulumi_gcp/parametermanager/regional_parameter.py +12 -0
  104. pulumi_gcp/parametermanager/regional_parameter_version.py +12 -0
  105. pulumi_gcp/provider.py +15 -0
  106. pulumi_gcp/pulumi-plugin.json +1 -1
  107. pulumi_gcp/redis/_inputs.py +136 -0
  108. pulumi_gcp/redis/cluster.py +54 -0
  109. pulumi_gcp/redis/outputs.py +114 -0
  110. pulumi_gcp/secretmanager/regional_secret_version.py +0 -16
  111. pulumi_gcp/storage/__init__.py +4 -0
  112. pulumi_gcp/storage/_inputs.py +596 -0
  113. pulumi_gcp/storage/bucket.py +7 -7
  114. pulumi_gcp/storage/control_folder_intelligence_config.py +420 -0
  115. pulumi_gcp/storage/control_organization_intelligence_config.py +420 -0
  116. pulumi_gcp/storage/control_project_intelligence_config.py +49 -7
  117. pulumi_gcp/storage/get_bucket_object_content.py +16 -1
  118. pulumi_gcp/storage/get_control_folder_intelligence_config.py +160 -0
  119. pulumi_gcp/storage/get_control_organization_intelligence_config.py +160 -0
  120. pulumi_gcp/storage/get_control_project_intelligence_config.py +32 -2
  121. pulumi_gcp/storage/outputs.py +2132 -1312
  122. pulumi_gcp/workbench/instance.py +14 -2
  123. {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/METADATA +1 -1
  124. {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/RECORD +126 -107
  125. {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/WHEEL +0 -0
  126. {pulumi_gcp-8.25.0a1743489606.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,504 @@
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__ = ['SitemapArgs', 'Sitemap']
18
+
19
+ @pulumi.input_type
20
+ class SitemapArgs:
21
+ def __init__(__self__, *,
22
+ data_store_id: pulumi.Input[str],
23
+ location: pulumi.Input[str],
24
+ project: Optional[pulumi.Input[str]] = None,
25
+ uri: Optional[pulumi.Input[str]] = None):
26
+ """
27
+ The set of arguments for constructing a Sitemap resource.
28
+ :param pulumi.Input[str] data_store_id: The unique id of the data store.
29
+
30
+
31
+ - - -
32
+ :param pulumi.Input[str] location: The geographic location where the data store should reside. The value can
33
+ only be one of "global", "us" and "eu".
34
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
35
+ If it is not provided, the provider project is used.
36
+ :param pulumi.Input[str] uri: Public URI for the sitemap, e.g. "www.example.com/sitemap.xml".
37
+ """
38
+ pulumi.set(__self__, "data_store_id", data_store_id)
39
+ pulumi.set(__self__, "location", location)
40
+ if project is not None:
41
+ pulumi.set(__self__, "project", project)
42
+ if uri is not None:
43
+ pulumi.set(__self__, "uri", uri)
44
+
45
+ @property
46
+ @pulumi.getter(name="dataStoreId")
47
+ def data_store_id(self) -> pulumi.Input[str]:
48
+ """
49
+ The unique id of the data store.
50
+
51
+
52
+ - - -
53
+ """
54
+ return pulumi.get(self, "data_store_id")
55
+
56
+ @data_store_id.setter
57
+ def data_store_id(self, value: pulumi.Input[str]):
58
+ pulumi.set(self, "data_store_id", value)
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def location(self) -> pulumi.Input[str]:
63
+ """
64
+ The geographic location where the data store should reside. The value can
65
+ only be one of "global", "us" and "eu".
66
+ """
67
+ return pulumi.get(self, "location")
68
+
69
+ @location.setter
70
+ def location(self, value: pulumi.Input[str]):
71
+ pulumi.set(self, "location", value)
72
+
73
+ @property
74
+ @pulumi.getter
75
+ def project(self) -> Optional[pulumi.Input[str]]:
76
+ """
77
+ The ID of the project in which the resource belongs.
78
+ If it is not provided, the provider project is used.
79
+ """
80
+ return pulumi.get(self, "project")
81
+
82
+ @project.setter
83
+ def project(self, value: Optional[pulumi.Input[str]]):
84
+ pulumi.set(self, "project", value)
85
+
86
+ @property
87
+ @pulumi.getter
88
+ def uri(self) -> Optional[pulumi.Input[str]]:
89
+ """
90
+ Public URI for the sitemap, e.g. "www.example.com/sitemap.xml".
91
+ """
92
+ return pulumi.get(self, "uri")
93
+
94
+ @uri.setter
95
+ def uri(self, value: Optional[pulumi.Input[str]]):
96
+ pulumi.set(self, "uri", value)
97
+
98
+
99
+ @pulumi.input_type
100
+ class _SitemapState:
101
+ def __init__(__self__, *,
102
+ create_time: Optional[pulumi.Input[str]] = None,
103
+ data_store_id: Optional[pulumi.Input[str]] = None,
104
+ location: Optional[pulumi.Input[str]] = None,
105
+ name: Optional[pulumi.Input[str]] = None,
106
+ project: Optional[pulumi.Input[str]] = None,
107
+ sitemap_id: Optional[pulumi.Input[str]] = None,
108
+ uri: Optional[pulumi.Input[str]] = None):
109
+ """
110
+ Input properties used for looking up and filtering Sitemap resources.
111
+ :param pulumi.Input[str] create_time: Timestamp when the sitemap was created.
112
+ :param pulumi.Input[str] data_store_id: The unique id of the data store.
113
+
114
+
115
+ - - -
116
+ :param pulumi.Input[str] location: The geographic location where the data store should reside. The value can
117
+ only be one of "global", "us" and "eu".
118
+ :param pulumi.Input[str] name: The unique full resource name of the sitemap. Values are of the format
119
+ `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/siteSearchEngine/sitemaps/{sitemap_id}`.
120
+ This field must be a UTF-8 encoded string with a length limit of 1024
121
+ characters.
122
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
123
+ If it is not provided, the provider project is used.
124
+ :param pulumi.Input[str] sitemap_id: The unique id of the sitemap.
125
+ :param pulumi.Input[str] uri: Public URI for the sitemap, e.g. "www.example.com/sitemap.xml".
126
+ """
127
+ if create_time is not None:
128
+ pulumi.set(__self__, "create_time", create_time)
129
+ if data_store_id is not None:
130
+ pulumi.set(__self__, "data_store_id", data_store_id)
131
+ if location is not None:
132
+ pulumi.set(__self__, "location", location)
133
+ if name is not None:
134
+ pulumi.set(__self__, "name", name)
135
+ if project is not None:
136
+ pulumi.set(__self__, "project", project)
137
+ if sitemap_id is not None:
138
+ pulumi.set(__self__, "sitemap_id", sitemap_id)
139
+ if uri is not None:
140
+ pulumi.set(__self__, "uri", uri)
141
+
142
+ @property
143
+ @pulumi.getter(name="createTime")
144
+ def create_time(self) -> Optional[pulumi.Input[str]]:
145
+ """
146
+ Timestamp when the sitemap was created.
147
+ """
148
+ return pulumi.get(self, "create_time")
149
+
150
+ @create_time.setter
151
+ def create_time(self, value: Optional[pulumi.Input[str]]):
152
+ pulumi.set(self, "create_time", value)
153
+
154
+ @property
155
+ @pulumi.getter(name="dataStoreId")
156
+ def data_store_id(self) -> Optional[pulumi.Input[str]]:
157
+ """
158
+ The unique id of the data store.
159
+
160
+
161
+ - - -
162
+ """
163
+ return pulumi.get(self, "data_store_id")
164
+
165
+ @data_store_id.setter
166
+ def data_store_id(self, value: Optional[pulumi.Input[str]]):
167
+ pulumi.set(self, "data_store_id", value)
168
+
169
+ @property
170
+ @pulumi.getter
171
+ def location(self) -> Optional[pulumi.Input[str]]:
172
+ """
173
+ The geographic location where the data store should reside. The value can
174
+ only be one of "global", "us" and "eu".
175
+ """
176
+ return pulumi.get(self, "location")
177
+
178
+ @location.setter
179
+ def location(self, value: Optional[pulumi.Input[str]]):
180
+ pulumi.set(self, "location", value)
181
+
182
+ @property
183
+ @pulumi.getter
184
+ def name(self) -> Optional[pulumi.Input[str]]:
185
+ """
186
+ The unique full resource name of the sitemap. Values are of the format
187
+ `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/siteSearchEngine/sitemaps/{sitemap_id}`.
188
+ This field must be a UTF-8 encoded string with a length limit of 1024
189
+ characters.
190
+ """
191
+ return pulumi.get(self, "name")
192
+
193
+ @name.setter
194
+ def name(self, value: Optional[pulumi.Input[str]]):
195
+ pulumi.set(self, "name", value)
196
+
197
+ @property
198
+ @pulumi.getter
199
+ def project(self) -> Optional[pulumi.Input[str]]:
200
+ """
201
+ The ID of the project in which the resource belongs.
202
+ If it is not provided, the provider project is used.
203
+ """
204
+ return pulumi.get(self, "project")
205
+
206
+ @project.setter
207
+ def project(self, value: Optional[pulumi.Input[str]]):
208
+ pulumi.set(self, "project", value)
209
+
210
+ @property
211
+ @pulumi.getter(name="sitemapId")
212
+ def sitemap_id(self) -> Optional[pulumi.Input[str]]:
213
+ """
214
+ The unique id of the sitemap.
215
+ """
216
+ return pulumi.get(self, "sitemap_id")
217
+
218
+ @sitemap_id.setter
219
+ def sitemap_id(self, value: Optional[pulumi.Input[str]]):
220
+ pulumi.set(self, "sitemap_id", value)
221
+
222
+ @property
223
+ @pulumi.getter
224
+ def uri(self) -> Optional[pulumi.Input[str]]:
225
+ """
226
+ Public URI for the sitemap, e.g. "www.example.com/sitemap.xml".
227
+ """
228
+ return pulumi.get(self, "uri")
229
+
230
+ @uri.setter
231
+ def uri(self, value: Optional[pulumi.Input[str]]):
232
+ pulumi.set(self, "uri", value)
233
+
234
+
235
+ class Sitemap(pulumi.CustomResource):
236
+ @overload
237
+ def __init__(__self__,
238
+ resource_name: str,
239
+ opts: Optional[pulumi.ResourceOptions] = None,
240
+ data_store_id: Optional[pulumi.Input[str]] = None,
241
+ location: Optional[pulumi.Input[str]] = None,
242
+ project: Optional[pulumi.Input[str]] = None,
243
+ uri: Optional[pulumi.Input[str]] = None,
244
+ __props__=None):
245
+ """
246
+ Sitemap is a file where you provide information about the pages, videos, and
247
+ other files on your site, and the relationships between them.
248
+
249
+ To get more information about Sitemap, see:
250
+
251
+ * [API documentation](https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.collections.dataStores.siteSearchEngine.sitemaps)
252
+
253
+ ## Example Usage
254
+
255
+ ### Discoveryengine Sitemap Basic
256
+
257
+ ```python
258
+ import pulumi
259
+ import pulumi_gcp as gcp
260
+
261
+ advanced = gcp.discoveryengine.DataStore("advanced",
262
+ location="global",
263
+ data_store_id="data-store-id",
264
+ display_name="tf-test-advanced-site-search-datastore",
265
+ industry_vertical="GENERIC",
266
+ content_config="PUBLIC_WEBSITE",
267
+ solution_types=["SOLUTION_TYPE_SEARCH"],
268
+ create_advanced_site_search=True,
269
+ skip_default_schema_creation=False)
270
+ basic = gcp.discoveryengine.Sitemap("basic",
271
+ location=advanced.location,
272
+ data_store_id=advanced.data_store_id,
273
+ uri="https://www.test.com/sitemap.xml")
274
+ ```
275
+
276
+ ## Import
277
+
278
+ Sitemap can be imported using any of these accepted formats:
279
+
280
+ * `{{name}}`
281
+
282
+ When using the `pulumi import` command, Sitemap can be imported using one of the formats above. For example:
283
+
284
+ ```sh
285
+ $ pulumi import gcp:discoveryengine/sitemap:Sitemap default {{name}}
286
+ ```
287
+
288
+ :param str resource_name: The name of the resource.
289
+ :param pulumi.ResourceOptions opts: Options for the resource.
290
+ :param pulumi.Input[str] data_store_id: The unique id of the data store.
291
+
292
+
293
+ - - -
294
+ :param pulumi.Input[str] location: The geographic location where the data store should reside. The value can
295
+ only be one of "global", "us" and "eu".
296
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
297
+ If it is not provided, the provider project is used.
298
+ :param pulumi.Input[str] uri: Public URI for the sitemap, e.g. "www.example.com/sitemap.xml".
299
+ """
300
+ ...
301
+ @overload
302
+ def __init__(__self__,
303
+ resource_name: str,
304
+ args: SitemapArgs,
305
+ opts: Optional[pulumi.ResourceOptions] = None):
306
+ """
307
+ Sitemap is a file where you provide information about the pages, videos, and
308
+ other files on your site, and the relationships between them.
309
+
310
+ To get more information about Sitemap, see:
311
+
312
+ * [API documentation](https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.collections.dataStores.siteSearchEngine.sitemaps)
313
+
314
+ ## Example Usage
315
+
316
+ ### Discoveryengine Sitemap Basic
317
+
318
+ ```python
319
+ import pulumi
320
+ import pulumi_gcp as gcp
321
+
322
+ advanced = gcp.discoveryengine.DataStore("advanced",
323
+ location="global",
324
+ data_store_id="data-store-id",
325
+ display_name="tf-test-advanced-site-search-datastore",
326
+ industry_vertical="GENERIC",
327
+ content_config="PUBLIC_WEBSITE",
328
+ solution_types=["SOLUTION_TYPE_SEARCH"],
329
+ create_advanced_site_search=True,
330
+ skip_default_schema_creation=False)
331
+ basic = gcp.discoveryengine.Sitemap("basic",
332
+ location=advanced.location,
333
+ data_store_id=advanced.data_store_id,
334
+ uri="https://www.test.com/sitemap.xml")
335
+ ```
336
+
337
+ ## Import
338
+
339
+ Sitemap can be imported using any of these accepted formats:
340
+
341
+ * `{{name}}`
342
+
343
+ When using the `pulumi import` command, Sitemap can be imported using one of the formats above. For example:
344
+
345
+ ```sh
346
+ $ pulumi import gcp:discoveryengine/sitemap:Sitemap default {{name}}
347
+ ```
348
+
349
+ :param str resource_name: The name of the resource.
350
+ :param SitemapArgs args: The arguments to use to populate this resource's properties.
351
+ :param pulumi.ResourceOptions opts: Options for the resource.
352
+ """
353
+ ...
354
+ def __init__(__self__, resource_name: str, *args, **kwargs):
355
+ resource_args, opts = _utilities.get_resource_args_opts(SitemapArgs, pulumi.ResourceOptions, *args, **kwargs)
356
+ if resource_args is not None:
357
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
358
+ else:
359
+ __self__._internal_init(resource_name, *args, **kwargs)
360
+
361
+ def _internal_init(__self__,
362
+ resource_name: str,
363
+ opts: Optional[pulumi.ResourceOptions] = None,
364
+ data_store_id: Optional[pulumi.Input[str]] = None,
365
+ location: Optional[pulumi.Input[str]] = None,
366
+ project: Optional[pulumi.Input[str]] = None,
367
+ uri: Optional[pulumi.Input[str]] = None,
368
+ __props__=None):
369
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
370
+ if not isinstance(opts, pulumi.ResourceOptions):
371
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
372
+ if opts.id is None:
373
+ if __props__ is not None:
374
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
375
+ __props__ = SitemapArgs.__new__(SitemapArgs)
376
+
377
+ if data_store_id is None and not opts.urn:
378
+ raise TypeError("Missing required property 'data_store_id'")
379
+ __props__.__dict__["data_store_id"] = data_store_id
380
+ if location is None and not opts.urn:
381
+ raise TypeError("Missing required property 'location'")
382
+ __props__.__dict__["location"] = location
383
+ __props__.__dict__["project"] = project
384
+ __props__.__dict__["uri"] = uri
385
+ __props__.__dict__["create_time"] = None
386
+ __props__.__dict__["name"] = None
387
+ __props__.__dict__["sitemap_id"] = None
388
+ super(Sitemap, __self__).__init__(
389
+ 'gcp:discoveryengine/sitemap:Sitemap',
390
+ resource_name,
391
+ __props__,
392
+ opts)
393
+
394
+ @staticmethod
395
+ def get(resource_name: str,
396
+ id: pulumi.Input[str],
397
+ opts: Optional[pulumi.ResourceOptions] = None,
398
+ create_time: Optional[pulumi.Input[str]] = None,
399
+ data_store_id: Optional[pulumi.Input[str]] = None,
400
+ location: Optional[pulumi.Input[str]] = None,
401
+ name: Optional[pulumi.Input[str]] = None,
402
+ project: Optional[pulumi.Input[str]] = None,
403
+ sitemap_id: Optional[pulumi.Input[str]] = None,
404
+ uri: Optional[pulumi.Input[str]] = None) -> 'Sitemap':
405
+ """
406
+ Get an existing Sitemap resource's state with the given name, id, and optional extra
407
+ properties used to qualify the lookup.
408
+
409
+ :param str resource_name: The unique name of the resulting resource.
410
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
411
+ :param pulumi.ResourceOptions opts: Options for the resource.
412
+ :param pulumi.Input[str] create_time: Timestamp when the sitemap was created.
413
+ :param pulumi.Input[str] data_store_id: The unique id of the data store.
414
+
415
+
416
+ - - -
417
+ :param pulumi.Input[str] location: The geographic location where the data store should reside. The value can
418
+ only be one of "global", "us" and "eu".
419
+ :param pulumi.Input[str] name: The unique full resource name of the sitemap. Values are of the format
420
+ `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/siteSearchEngine/sitemaps/{sitemap_id}`.
421
+ This field must be a UTF-8 encoded string with a length limit of 1024
422
+ characters.
423
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
424
+ If it is not provided, the provider project is used.
425
+ :param pulumi.Input[str] sitemap_id: The unique id of the sitemap.
426
+ :param pulumi.Input[str] uri: Public URI for the sitemap, e.g. "www.example.com/sitemap.xml".
427
+ """
428
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
429
+
430
+ __props__ = _SitemapState.__new__(_SitemapState)
431
+
432
+ __props__.__dict__["create_time"] = create_time
433
+ __props__.__dict__["data_store_id"] = data_store_id
434
+ __props__.__dict__["location"] = location
435
+ __props__.__dict__["name"] = name
436
+ __props__.__dict__["project"] = project
437
+ __props__.__dict__["sitemap_id"] = sitemap_id
438
+ __props__.__dict__["uri"] = uri
439
+ return Sitemap(resource_name, opts=opts, __props__=__props__)
440
+
441
+ @property
442
+ @pulumi.getter(name="createTime")
443
+ def create_time(self) -> pulumi.Output[str]:
444
+ """
445
+ Timestamp when the sitemap was created.
446
+ """
447
+ return pulumi.get(self, "create_time")
448
+
449
+ @property
450
+ @pulumi.getter(name="dataStoreId")
451
+ def data_store_id(self) -> pulumi.Output[str]:
452
+ """
453
+ The unique id of the data store.
454
+
455
+
456
+ - - -
457
+ """
458
+ return pulumi.get(self, "data_store_id")
459
+
460
+ @property
461
+ @pulumi.getter
462
+ def location(self) -> pulumi.Output[str]:
463
+ """
464
+ The geographic location where the data store should reside. The value can
465
+ only be one of "global", "us" and "eu".
466
+ """
467
+ return pulumi.get(self, "location")
468
+
469
+ @property
470
+ @pulumi.getter
471
+ def name(self) -> pulumi.Output[str]:
472
+ """
473
+ The unique full resource name of the sitemap. Values are of the format
474
+ `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/siteSearchEngine/sitemaps/{sitemap_id}`.
475
+ This field must be a UTF-8 encoded string with a length limit of 1024
476
+ characters.
477
+ """
478
+ return pulumi.get(self, "name")
479
+
480
+ @property
481
+ @pulumi.getter
482
+ def project(self) -> pulumi.Output[str]:
483
+ """
484
+ The ID of the project in which the resource belongs.
485
+ If it is not provided, the provider project is used.
486
+ """
487
+ return pulumi.get(self, "project")
488
+
489
+ @property
490
+ @pulumi.getter(name="sitemapId")
491
+ def sitemap_id(self) -> pulumi.Output[str]:
492
+ """
493
+ The unique id of the sitemap.
494
+ """
495
+ return pulumi.get(self, "sitemap_id")
496
+
497
+ @property
498
+ @pulumi.getter
499
+ def uri(self) -> pulumi.Output[Optional[str]]:
500
+ """
501
+ Public URI for the sitemap, e.g. "www.example.com/sitemap.xml".
502
+ """
503
+ return pulumi.get(self, "uri")
504
+
@@ -6,6 +6,7 @@ from .. import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
8
  from .channel import *
9
+ from .enrollment import *
9
10
  from .google_api_source import *
10
11
  from .google_channel_config import *
11
12
  from .message_bus import *