pulumi-gcp 8.17.0a1738274430__py3-none-any.whl → 8.18.0a1738391833__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 (83) hide show
  1. pulumi_gcp/__init__.py +91 -0
  2. pulumi_gcp/alloydb/cluster.py +75 -7
  3. pulumi_gcp/apigee/_inputs.py +91 -0
  4. pulumi_gcp/apigee/endpoint_attachment.py +0 -64
  5. pulumi_gcp/apigee/environment.py +54 -0
  6. pulumi_gcp/apigee/outputs.py +54 -0
  7. pulumi_gcp/apihub/__init__.py +10 -0
  8. pulumi_gcp/apihub/_inputs.py +154 -0
  9. pulumi_gcp/apihub/api_hub_instance.py +784 -0
  10. pulumi_gcp/apihub/outputs.py +124 -0
  11. pulumi_gcp/chronicle/__init__.py +1 -0
  12. pulumi_gcp/chronicle/_inputs.py +124 -0
  13. pulumi_gcp/chronicle/outputs.py +112 -0
  14. pulumi_gcp/chronicle/retrohunt.py +645 -0
  15. pulumi_gcp/cloudrunv2/_inputs.py +197 -0
  16. pulumi_gcp/cloudrunv2/get_service.py +12 -1
  17. pulumi_gcp/cloudrunv2/outputs.py +256 -0
  18. pulumi_gcp/cloudrunv2/service.py +159 -0
  19. pulumi_gcp/colab/__init__.py +5 -0
  20. pulumi_gcp/colab/_inputs.py +131 -0
  21. pulumi_gcp/colab/get_runtime_template_iam_policy.py +182 -0
  22. pulumi_gcp/colab/outputs.py +92 -0
  23. pulumi_gcp/colab/runtime.py +696 -0
  24. pulumi_gcp/colab/runtime_template_iam_binding.py +828 -0
  25. pulumi_gcp/colab/runtime_template_iam_member.py +828 -0
  26. pulumi_gcp/colab/runtime_template_iam_policy.py +667 -0
  27. pulumi_gcp/compute/__init__.py +4 -0
  28. pulumi_gcp/compute/_inputs.py +526 -0
  29. pulumi_gcp/compute/firewall_policy_rule.py +104 -22
  30. pulumi_gcp/compute/firewall_policy_with_rules.py +114 -42
  31. pulumi_gcp/compute/get_instance_template_iam_policy.py +159 -0
  32. pulumi_gcp/compute/instance_template_iam_binding.py +998 -0
  33. pulumi_gcp/compute/instance_template_iam_member.py +998 -0
  34. pulumi_gcp/compute/instance_template_iam_policy.py +817 -0
  35. pulumi_gcp/compute/interconnect_attachment.py +189 -2
  36. pulumi_gcp/compute/network_firewall_policy_rule.py +122 -10
  37. pulumi_gcp/compute/network_firewall_policy_with_rules.py +116 -44
  38. pulumi_gcp/compute/outputs.py +352 -0
  39. pulumi_gcp/compute/project_metadata_item.py +12 -0
  40. pulumi_gcp/compute/public_advertised_prefix.py +87 -0
  41. pulumi_gcp/compute/region_network_firewall_policy_rule.py +130 -10
  42. pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +104 -32
  43. pulumi_gcp/compute/router_peer.py +115 -3
  44. pulumi_gcp/config/__init__.pyi +2 -0
  45. pulumi_gcp/config/vars.py +4 -0
  46. pulumi_gcp/filestore/get_instance.py +12 -1
  47. pulumi_gcp/filestore/instance.py +75 -0
  48. pulumi_gcp/gemini/code_repository_index.py +29 -33
  49. pulumi_gcp/gemini/get_repository_group_iam_policy.py +28 -2
  50. pulumi_gcp/gemini/repository_group.py +76 -26
  51. pulumi_gcp/gemini/repository_group_iam_binding.py +258 -0
  52. pulumi_gcp/gemini/repository_group_iam_member.py +258 -0
  53. pulumi_gcp/gemini/repository_group_iam_policy.py +258 -0
  54. pulumi_gcp/kms/__init__.py +1 -0
  55. pulumi_gcp/kms/get_key_handles.py +172 -0
  56. pulumi_gcp/kms/outputs.py +45 -0
  57. pulumi_gcp/networksecurity/_inputs.py +72 -0
  58. pulumi_gcp/networksecurity/outputs.py +76 -0
  59. pulumi_gcp/networksecurity/security_profile.py +233 -7
  60. pulumi_gcp/networksecurity/security_profile_group.py +218 -0
  61. pulumi_gcp/organizations/__init__.py +1 -0
  62. pulumi_gcp/organizations/get_s.py +128 -0
  63. pulumi_gcp/organizations/outputs.py +63 -0
  64. pulumi_gcp/parametermanager/__init__.py +3 -0
  65. pulumi_gcp/parametermanager/get_parameter.py +211 -0
  66. pulumi_gcp/parametermanager/get_regional_parameters.py +157 -0
  67. pulumi_gcp/parametermanager/outputs.py +210 -0
  68. pulumi_gcp/parametermanager/parameter_version.py +496 -0
  69. pulumi_gcp/parametermanager/regional_parameter_version.py +10 -38
  70. pulumi_gcp/provider.py +20 -0
  71. pulumi_gcp/pubsub/_inputs.py +213 -1
  72. pulumi_gcp/pubsub/outputs.py +278 -2
  73. pulumi_gcp/pubsub/topic.py +42 -0
  74. pulumi_gcp/pulumi-plugin.json +1 -1
  75. pulumi_gcp/redis/__init__.py +1 -0
  76. pulumi_gcp/redis/_inputs.py +342 -6
  77. pulumi_gcp/redis/cluster.py +223 -102
  78. pulumi_gcp/redis/cluster_user_created_connections.py +845 -0
  79. pulumi_gcp/redis/outputs.py +268 -4
  80. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0a1738391833.dist-info}/METADATA +1 -1
  81. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0a1738391833.dist-info}/RECORD +83 -63
  82. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0a1738391833.dist-info}/WHEEL +0 -0
  83. {pulumi_gcp-8.17.0a1738274430.dist-info → pulumi_gcp-8.18.0a1738391833.dist-info}/top_level.txt +0 -0
@@ -34,6 +34,7 @@ class InstanceArgs:
34
34
  performance_config: Optional[pulumi.Input['InstancePerformanceConfigArgs']] = None,
35
35
  project: Optional[pulumi.Input[str]] = None,
36
36
  protocol: Optional[pulumi.Input[str]] = None,
37
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
37
38
  zone: Optional[pulumi.Input[str]] = None):
38
39
  """
39
40
  The set of arguments for constructing a Instance resource.
@@ -58,6 +59,11 @@ class InstanceArgs:
58
59
  :param pulumi.Input[str] protocol: Either NFSv3, for using NFS version 3 as file sharing protocol, or NFSv4.1, for using NFS version 4.1 as file sharing
59
60
  protocol. NFSv4.1 can be used with HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE. The default is NFSv3. Default value:
60
61
  "NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
62
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
63
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
64
+ empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
65
+ modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
66
+ 'google_tags_tag_value' resource.
61
67
  :param pulumi.Input[str] zone: The name of the Filestore zone of the instance.
62
68
  """
63
69
  pulumi.set(__self__, "file_shares", file_shares)
@@ -83,6 +89,8 @@ class InstanceArgs:
83
89
  pulumi.set(__self__, "project", project)
84
90
  if protocol is not None:
85
91
  pulumi.set(__self__, "protocol", protocol)
92
+ if tags is not None:
93
+ pulumi.set(__self__, "tags", tags)
86
94
  if zone is not None:
87
95
  warnings.warn("""`zone` is deprecated and will be removed in a future major release. Use `location` instead.""", DeprecationWarning)
88
96
  pulumi.log.warn("""zone is deprecated: `zone` is deprecated and will be removed in a future major release. Use `location` instead.""")
@@ -251,6 +259,22 @@ class InstanceArgs:
251
259
  def protocol(self, value: Optional[pulumi.Input[str]]):
252
260
  pulumi.set(self, "protocol", value)
253
261
 
262
+ @property
263
+ @pulumi.getter
264
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
265
+ """
266
+ A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
267
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
268
+ empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
269
+ modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
270
+ 'google_tags_tag_value' resource.
271
+ """
272
+ return pulumi.get(self, "tags")
273
+
274
+ @tags.setter
275
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
276
+ pulumi.set(self, "tags", value)
277
+
254
278
  @property
255
279
  @pulumi.getter
256
280
  @_utilities.deprecated("""`zone` is deprecated and will be removed in a future major release. Use `location` instead.""")
@@ -284,6 +308,7 @@ class _InstanceState:
284
308
  project: Optional[pulumi.Input[str]] = None,
285
309
  protocol: Optional[pulumi.Input[str]] = None,
286
310
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
311
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
287
312
  tier: Optional[pulumi.Input[str]] = None,
288
313
  zone: Optional[pulumi.Input[str]] = None):
289
314
  """
@@ -313,6 +338,11 @@ class _InstanceState:
313
338
  "NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
314
339
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
315
340
  and default labels configured on the provider.
341
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
342
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
343
+ empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
344
+ modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
345
+ 'google_tags_tag_value' resource.
316
346
  :param pulumi.Input[str] tier: The service tier of the instance.
317
347
  Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
318
348
  :param pulumi.Input[str] zone: The name of the Filestore zone of the instance.
@@ -349,6 +379,8 @@ class _InstanceState:
349
379
  pulumi.set(__self__, "protocol", protocol)
350
380
  if pulumi_labels is not None:
351
381
  pulumi.set(__self__, "pulumi_labels", pulumi_labels)
382
+ if tags is not None:
383
+ pulumi.set(__self__, "tags", tags)
352
384
  if tier is not None:
353
385
  pulumi.set(__self__, "tier", tier)
354
386
  if zone is not None:
@@ -556,6 +588,22 @@ class _InstanceState:
556
588
  def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
557
589
  pulumi.set(self, "pulumi_labels", value)
558
590
 
591
+ @property
592
+ @pulumi.getter
593
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
594
+ """
595
+ A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
596
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
597
+ empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
598
+ modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
599
+ 'google_tags_tag_value' resource.
600
+ """
601
+ return pulumi.get(self, "tags")
602
+
603
+ @tags.setter
604
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
605
+ pulumi.set(self, "tags", value)
606
+
559
607
  @property
560
608
  @pulumi.getter
561
609
  def tier(self) -> Optional[pulumi.Input[str]]:
@@ -600,6 +648,7 @@ class Instance(pulumi.CustomResource):
600
648
  performance_config: Optional[pulumi.Input[Union['InstancePerformanceConfigArgs', 'InstancePerformanceConfigArgsDict']]] = None,
601
649
  project: Optional[pulumi.Input[str]] = None,
602
650
  protocol: Optional[pulumi.Input[str]] = None,
651
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
603
652
  tier: Optional[pulumi.Input[str]] = None,
604
653
  zone: Optional[pulumi.Input[str]] = None,
605
654
  __props__=None):
@@ -761,6 +810,11 @@ class Instance(pulumi.CustomResource):
761
810
  :param pulumi.Input[str] protocol: Either NFSv3, for using NFS version 3 as file sharing protocol, or NFSv4.1, for using NFS version 4.1 as file sharing
762
811
  protocol. NFSv4.1 can be used with HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE. The default is NFSv3. Default value:
763
812
  "NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
813
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
814
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
815
+ empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
816
+ modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
817
+ 'google_tags_tag_value' resource.
764
818
  :param pulumi.Input[str] tier: The service tier of the instance.
765
819
  Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
766
820
  :param pulumi.Input[str] zone: The name of the Filestore zone of the instance.
@@ -935,6 +989,7 @@ class Instance(pulumi.CustomResource):
935
989
  performance_config: Optional[pulumi.Input[Union['InstancePerformanceConfigArgs', 'InstancePerformanceConfigArgsDict']]] = None,
936
990
  project: Optional[pulumi.Input[str]] = None,
937
991
  protocol: Optional[pulumi.Input[str]] = None,
992
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
938
993
  tier: Optional[pulumi.Input[str]] = None,
939
994
  zone: Optional[pulumi.Input[str]] = None,
940
995
  __props__=None):
@@ -962,6 +1017,7 @@ class Instance(pulumi.CustomResource):
962
1017
  __props__.__dict__["performance_config"] = performance_config
963
1018
  __props__.__dict__["project"] = project
964
1019
  __props__.__dict__["protocol"] = protocol
1020
+ __props__.__dict__["tags"] = tags
965
1021
  if tier is None and not opts.urn:
966
1022
  raise TypeError("Missing required property 'tier'")
967
1023
  __props__.__dict__["tier"] = tier
@@ -998,6 +1054,7 @@ class Instance(pulumi.CustomResource):
998
1054
  project: Optional[pulumi.Input[str]] = None,
999
1055
  protocol: Optional[pulumi.Input[str]] = None,
1000
1056
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1057
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1001
1058
  tier: Optional[pulumi.Input[str]] = None,
1002
1059
  zone: Optional[pulumi.Input[str]] = None) -> 'Instance':
1003
1060
  """
@@ -1032,6 +1089,11 @@ class Instance(pulumi.CustomResource):
1032
1089
  "NFS_V3" Possible values: ["NFS_V3", "NFS_V4_1"]
1033
1090
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
1034
1091
  and default labels configured on the provider.
1092
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
1093
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
1094
+ empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
1095
+ modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
1096
+ 'google_tags_tag_value' resource.
1035
1097
  :param pulumi.Input[str] tier: The service tier of the instance.
1036
1098
  Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE
1037
1099
  :param pulumi.Input[str] zone: The name of the Filestore zone of the instance.
@@ -1056,6 +1118,7 @@ class Instance(pulumi.CustomResource):
1056
1118
  __props__.__dict__["project"] = project
1057
1119
  __props__.__dict__["protocol"] = protocol
1058
1120
  __props__.__dict__["pulumi_labels"] = pulumi_labels
1121
+ __props__.__dict__["tags"] = tags
1059
1122
  __props__.__dict__["tier"] = tier
1060
1123
  __props__.__dict__["zone"] = zone
1061
1124
  return Instance(resource_name, opts=opts, __props__=__props__)
@@ -1195,6 +1258,18 @@ class Instance(pulumi.CustomResource):
1195
1258
  """
1196
1259
  return pulumi.get(self, "pulumi_labels")
1197
1260
 
1261
+ @property
1262
+ @pulumi.getter
1263
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
1264
+ """
1265
+ A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags.
1266
+ Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored when
1267
+ empty. The field is immutable and causes resource replacement when mutated. This field is only set at create time and
1268
+ modifying this field after creation will trigger recreation. To apply tags to an existing resource, see the
1269
+ 'google_tags_tag_value' resource.
1270
+ """
1271
+ return pulumi.get(self, "tags")
1272
+
1198
1273
  @property
1199
1274
  @pulumi.getter
1200
1275
  def tier(self) -> pulumi.Output[str]:
@@ -34,7 +34,7 @@ class CodeRepositoryIndexArgs:
34
34
  :param pulumi.Input[str] location: The location of the Code Repository Index, for example `us-central1`.
35
35
  :param pulumi.Input[bool] force_destroy: If set to true, will allow deletion of the CodeRepositoryIndex even if there are existing RepositoryGroups for the resource. These RepositoryGroups will also be deleted.
36
36
  :param pulumi.Input[str] kms_key: Optional. Immutable. Customer-managed encryption key name, in the format
37
- projects/*/locations/*/keyRings/*/cryptoKeys/*.
37
+ `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
38
38
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
39
39
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
40
40
  Please refer to the field `effective_labels` for all of the labels present on the resource.
@@ -96,7 +96,7 @@ class CodeRepositoryIndexArgs:
96
96
  def kms_key(self) -> Optional[pulumi.Input[str]]:
97
97
  """
98
98
  Optional. Immutable. Customer-managed encryption key name, in the format
99
- projects/*/locations/*/keyRings/*/cryptoKeys/*.
99
+ `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
100
100
  """
101
101
  return pulumi.get(self, "kms_key")
102
102
 
@@ -157,7 +157,7 @@ class _CodeRepositoryIndexState:
157
157
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
158
158
  :param pulumi.Input[bool] force_destroy: If set to true, will allow deletion of the CodeRepositoryIndex even if there are existing RepositoryGroups for the resource. These RepositoryGroups will also be deleted.
159
159
  :param pulumi.Input[str] kms_key: Optional. Immutable. Customer-managed encryption key name, in the format
160
- projects/*/locations/*/keyRings/*/cryptoKeys/*.
160
+ `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
161
161
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
162
162
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
163
163
  Please refer to the field `effective_labels` for all of the labels present on the resource.
@@ -168,12 +168,7 @@ class _CodeRepositoryIndexState:
168
168
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
169
169
  and default labels configured on the provider.
170
170
  :param pulumi.Input[str] state: Output only. Code Repository Index instance State.
171
- Possible values:
172
- STATE_UNSPECIFIED
173
- CREATING
174
- ACTIVE
175
- DELETING
176
- SUSPENDED
171
+ Possible values are: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`, `SUSPENDED`.
177
172
  :param pulumi.Input[str] update_time: Output only. Update time stamp.
178
173
  """
179
174
  if code_repository_index_id is not None:
@@ -257,7 +252,7 @@ class _CodeRepositoryIndexState:
257
252
  def kms_key(self) -> Optional[pulumi.Input[str]]:
258
253
  """
259
254
  Optional. Immutable. Customer-managed encryption key name, in the format
260
- projects/*/locations/*/keyRings/*/cryptoKeys/*.
255
+ `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
261
256
  """
262
257
  return pulumi.get(self, "kms_key")
263
258
 
@@ -334,12 +329,7 @@ class _CodeRepositoryIndexState:
334
329
  def state(self) -> Optional[pulumi.Input[str]]:
335
330
  """
336
331
  Output only. Code Repository Index instance State.
337
- Possible values:
338
- STATE_UNSPECIFIED
339
- CREATING
340
- ACTIVE
341
- DELETING
342
- SUSPENDED
332
+ Possible values are: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`, `SUSPENDED`.
343
333
  """
344
334
  return pulumi.get(self, "state")
345
335
 
@@ -373,6 +363,14 @@ class CodeRepositoryIndex(pulumi.CustomResource):
373
363
  project: Optional[pulumi.Input[str]] = None,
374
364
  __props__=None):
375
365
  """
366
+ The resource for managing Code Repository Index for Gemini Code Assist.
367
+
368
+ To get more information about CodeRepositoryIndex, see:
369
+
370
+ * [API documentation](https://cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.codeRepositoryIndexes)
371
+ * How-to Guides
372
+ * [Gemini Code Assist overview](https://cloud.google.com/gemini/docs/codeassist/overview)
373
+
376
374
  ## Example Usage
377
375
 
378
376
  ### Gemini Code Repository Index Basic
@@ -383,7 +381,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
383
381
 
384
382
  example = gcp.gemini.CodeRepositoryIndex("example",
385
383
  location="us-central1",
386
- code_repository_index_id="",
384
+ code_repository_index_id="code-repository-index-example",
387
385
  kms_key="projects/projectExample/locations/locationExample/keyRings/keyRingExample/cryptoKeys/cryptoKeyExample")
388
386
  ```
389
387
 
@@ -419,7 +417,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
419
417
  - - -
420
418
  :param pulumi.Input[bool] force_destroy: If set to true, will allow deletion of the CodeRepositoryIndex even if there are existing RepositoryGroups for the resource. These RepositoryGroups will also be deleted.
421
419
  :param pulumi.Input[str] kms_key: Optional. Immutable. Customer-managed encryption key name, in the format
422
- projects/*/locations/*/keyRings/*/cryptoKeys/*.
420
+ `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
423
421
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
424
422
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
425
423
  Please refer to the field `effective_labels` for all of the labels present on the resource.
@@ -434,6 +432,14 @@ class CodeRepositoryIndex(pulumi.CustomResource):
434
432
  args: CodeRepositoryIndexArgs,
435
433
  opts: Optional[pulumi.ResourceOptions] = None):
436
434
  """
435
+ The resource for managing Code Repository Index for Gemini Code Assist.
436
+
437
+ To get more information about CodeRepositoryIndex, see:
438
+
439
+ * [API documentation](https://cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.codeRepositoryIndexes)
440
+ * How-to Guides
441
+ * [Gemini Code Assist overview](https://cloud.google.com/gemini/docs/codeassist/overview)
442
+
437
443
  ## Example Usage
438
444
 
439
445
  ### Gemini Code Repository Index Basic
@@ -444,7 +450,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
444
450
 
445
451
  example = gcp.gemini.CodeRepositoryIndex("example",
446
452
  location="us-central1",
447
- code_repository_index_id="",
453
+ code_repository_index_id="code-repository-index-example",
448
454
  kms_key="projects/projectExample/locations/locationExample/keyRings/keyRingExample/cryptoKeys/cryptoKeyExample")
449
455
  ```
450
456
 
@@ -557,7 +563,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
557
563
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
558
564
  :param pulumi.Input[bool] force_destroy: If set to true, will allow deletion of the CodeRepositoryIndex even if there are existing RepositoryGroups for the resource. These RepositoryGroups will also be deleted.
559
565
  :param pulumi.Input[str] kms_key: Optional. Immutable. Customer-managed encryption key name, in the format
560
- projects/*/locations/*/keyRings/*/cryptoKeys/*.
566
+ `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
561
567
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
562
568
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
563
569
  Please refer to the field `effective_labels` for all of the labels present on the resource.
@@ -568,12 +574,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
568
574
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
569
575
  and default labels configured on the provider.
570
576
  :param pulumi.Input[str] state: Output only. Code Repository Index instance State.
571
- Possible values:
572
- STATE_UNSPECIFIED
573
- CREATING
574
- ACTIVE
575
- DELETING
576
- SUSPENDED
577
+ Possible values are: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`, `SUSPENDED`.
577
578
  :param pulumi.Input[str] update_time: Output only. Update time stamp.
578
579
  """
579
580
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -634,7 +635,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
634
635
  def kms_key(self) -> pulumi.Output[Optional[str]]:
635
636
  """
636
637
  Optional. Immutable. Customer-managed encryption key name, in the format
637
- projects/*/locations/*/keyRings/*/cryptoKeys/*.
638
+ `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
638
639
  """
639
640
  return pulumi.get(self, "kms_key")
640
641
 
@@ -687,12 +688,7 @@ class CodeRepositoryIndex(pulumi.CustomResource):
687
688
  def state(self) -> pulumi.Output[str]:
688
689
  """
689
690
  Output only. Code Repository Index instance State.
690
- Possible values:
691
- STATE_UNSPECIFIED
692
- CREATING
693
- ACTIVE
694
- DELETING
695
- SUSPENDED
691
+ Possible values are: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`, `SUSPENDED`.
696
692
  """
697
693
  return pulumi.get(self, "state")
698
694
 
@@ -116,7 +116,20 @@ def get_repository_group_iam_policy(code_repository_index: Optional[str] = None,
116
116
  repository_group_id: Optional[str] = None,
117
117
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRepositoryGroupIamPolicyResult:
118
118
  """
119
- Use this data source to access information about an existing resource.
119
+ Retrieves the current IAM policy data for repositorygroup
120
+
121
+ ## example
122
+
123
+ ```python
124
+ import pulumi
125
+ import pulumi_gcp as gcp
126
+
127
+ policy = gcp.gemini.get_repository_group_iam_policy(project=example["project"],
128
+ location=example["location"],
129
+ code_repository_index=example["codeRepositoryIndex"],
130
+ repository_group_id=example["repositoryGroupId"])
131
+ ```
132
+
120
133
 
121
134
  :param str location: The location of the Code Repository Index, for example `us-central1`. Used to find the parent resource to bind the IAM policy to. If not specified,
122
135
  the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
@@ -146,7 +159,20 @@ def get_repository_group_iam_policy_output(code_repository_index: Optional[pulum
146
159
  repository_group_id: Optional[pulumi.Input[str]] = None,
147
160
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRepositoryGroupIamPolicyResult]:
148
161
  """
149
- Use this data source to access information about an existing resource.
162
+ Retrieves the current IAM policy data for repositorygroup
163
+
164
+ ## example
165
+
166
+ ```python
167
+ import pulumi
168
+ import pulumi_gcp as gcp
169
+
170
+ policy = gcp.gemini.get_repository_group_iam_policy(project=example["project"],
171
+ location=example["location"],
172
+ code_repository_index=example["codeRepositoryIndex"],
173
+ repository_group_id=example["repositoryGroupId"])
174
+ ```
175
+
150
176
 
151
177
  :param str location: The location of the Code Repository Index, for example `us-central1`. Used to find the parent resource to bind the IAM policy to. If not specified,
152
178
  the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
@@ -31,10 +31,10 @@ class RepositoryGroupArgs:
31
31
  The set of arguments for constructing a RepositoryGroup resource.
32
32
  :param pulumi.Input[str] code_repository_index: Required. Id of the Code Repository Index.
33
33
  :param pulumi.Input[str] location: The location of the Code Repository Index, for example `us-central1`.
34
- :param pulumi.Input[Sequence[pulumi.Input['RepositoryGroupRepositoryArgs']]] repositories: Required. List of repositories to group
34
+ :param pulumi.Input[Sequence[pulumi.Input['RepositoryGroupRepositoryArgs']]] repositories: Required. List of repositories to group.
35
35
  Structure is documented below.
36
36
  :param pulumi.Input[str] repository_group_id: Required. Id of the Repository Group.
37
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs **Note**: This field is non-authoritative, and will only manage the labels present
37
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present
38
38
  in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
39
39
  """
40
40
  pulumi.set(__self__, "code_repository_index", code_repository_index)
@@ -74,7 +74,7 @@ class RepositoryGroupArgs:
74
74
  @pulumi.getter
75
75
  def repositories(self) -> pulumi.Input[Sequence[pulumi.Input['RepositoryGroupRepositoryArgs']]]:
76
76
  """
77
- Required. List of repositories to group
77
+ Required. List of repositories to group.
78
78
  Structure is documented below.
79
79
  """
80
80
  return pulumi.get(self, "repositories")
@@ -99,7 +99,7 @@ class RepositoryGroupArgs:
99
99
  @pulumi.getter
100
100
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
101
101
  """
102
- Optional. Labels as key value pairs **Note**: This field is non-authoritative, and will only manage the labels present
102
+ Optional. Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present
103
103
  in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
104
104
  """
105
105
  return pulumi.get(self, "labels")
@@ -135,18 +135,18 @@ class _RepositoryGroupState:
135
135
  """
136
136
  Input properties used for looking up and filtering RepositoryGroup resources.
137
137
  :param pulumi.Input[str] code_repository_index: Required. Id of the Code Repository Index.
138
- :param pulumi.Input[str] create_time: Output only. Create time stamp
138
+ :param pulumi.Input[str] create_time: Output only. Create time stamp.
139
139
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
140
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs **Note**: This field is non-authoritative, and will only manage the labels present
140
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present
141
141
  in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
142
142
  :param pulumi.Input[str] location: The location of the Code Repository Index, for example `us-central1`.
143
- :param pulumi.Input[str] name: Immutable. Identifier. name of resource
143
+ :param pulumi.Input[str] name: Immutable. Identifier. Name of Repository Group.
144
144
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
145
145
  and default labels configured on the provider.
146
- :param pulumi.Input[Sequence[pulumi.Input['RepositoryGroupRepositoryArgs']]] repositories: Required. List of repositories to group
146
+ :param pulumi.Input[Sequence[pulumi.Input['RepositoryGroupRepositoryArgs']]] repositories: Required. List of repositories to group.
147
147
  Structure is documented below.
148
148
  :param pulumi.Input[str] repository_group_id: Required. Id of the Repository Group.
149
- :param pulumi.Input[str] update_time: Output only. Update time stamp
149
+ :param pulumi.Input[str] update_time: Output only. Update time stamp.
150
150
  """
151
151
  if code_repository_index is not None:
152
152
  pulumi.set(__self__, "code_repository_index", code_repository_index)
@@ -187,7 +187,7 @@ class _RepositoryGroupState:
187
187
  @pulumi.getter(name="createTime")
188
188
  def create_time(self) -> Optional[pulumi.Input[str]]:
189
189
  """
190
- Output only. Create time stamp
190
+ Output only. Create time stamp.
191
191
  """
192
192
  return pulumi.get(self, "create_time")
193
193
 
@@ -211,7 +211,7 @@ class _RepositoryGroupState:
211
211
  @pulumi.getter
212
212
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
213
213
  """
214
- Optional. Labels as key value pairs **Note**: This field is non-authoritative, and will only manage the labels present
214
+ Optional. Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present
215
215
  in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
216
216
  """
217
217
  return pulumi.get(self, "labels")
@@ -236,7 +236,7 @@ class _RepositoryGroupState:
236
236
  @pulumi.getter
237
237
  def name(self) -> Optional[pulumi.Input[str]]:
238
238
  """
239
- Immutable. Identifier. name of resource
239
+ Immutable. Identifier. Name of Repository Group.
240
240
  """
241
241
  return pulumi.get(self, "name")
242
242
 
@@ -270,7 +270,7 @@ class _RepositoryGroupState:
270
270
  @pulumi.getter
271
271
  def repositories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RepositoryGroupRepositoryArgs']]]]:
272
272
  """
273
- Required. List of repositories to group
273
+ Required. List of repositories to group.
274
274
  Structure is documented below.
275
275
  """
276
276
  return pulumi.get(self, "repositories")
@@ -295,7 +295,7 @@ class _RepositoryGroupState:
295
295
  @pulumi.getter(name="updateTime")
296
296
  def update_time(self) -> Optional[pulumi.Input[str]]:
297
297
  """
298
- Output only. Update time stamp
298
+ Output only. Update time stamp.
299
299
  """
300
300
  return pulumi.get(self, "update_time")
301
301
 
@@ -317,8 +317,33 @@ class RepositoryGroup(pulumi.CustomResource):
317
317
  repository_group_id: Optional[pulumi.Input[str]] = None,
318
318
  __props__=None):
319
319
  """
320
+ The resource for managing Repository Group for Gemini Code Assist.
321
+
322
+ To get more information about RepositoryGroup, see:
323
+
324
+ * [API documentation](https://cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.codeRepositoryIndexes.repositoryGroups)
325
+
320
326
  ## Example Usage
321
327
 
328
+ ### Gemini Repository Group Basic
329
+
330
+ ```python
331
+ import pulumi
332
+ import pulumi_gcp as gcp
333
+
334
+ example = gcp.gemini.RepositoryGroup("example",
335
+ location="us-central1",
336
+ code_repository_index="example-cri",
337
+ repository_group_id="example-repository-group",
338
+ repositories=[{
339
+ "resource": "projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo",
340
+ "branch_pattern": "main",
341
+ }],
342
+ labels={
343
+ "label1": "value1",
344
+ })
345
+ ```
346
+
322
347
  ## Import
323
348
 
324
349
  RepositoryGroup can be imported using any of these accepted formats:
@@ -346,10 +371,10 @@ class RepositoryGroup(pulumi.CustomResource):
346
371
  :param str resource_name: The name of the resource.
347
372
  :param pulumi.ResourceOptions opts: Options for the resource.
348
373
  :param pulumi.Input[str] code_repository_index: Required. Id of the Code Repository Index.
349
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs **Note**: This field is non-authoritative, and will only manage the labels present
374
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present
350
375
  in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
351
376
  :param pulumi.Input[str] location: The location of the Code Repository Index, for example `us-central1`.
352
- :param pulumi.Input[Sequence[pulumi.Input[Union['RepositoryGroupRepositoryArgs', 'RepositoryGroupRepositoryArgsDict']]]] repositories: Required. List of repositories to group
377
+ :param pulumi.Input[Sequence[pulumi.Input[Union['RepositoryGroupRepositoryArgs', 'RepositoryGroupRepositoryArgsDict']]]] repositories: Required. List of repositories to group.
353
378
  Structure is documented below.
354
379
  :param pulumi.Input[str] repository_group_id: Required. Id of the Repository Group.
355
380
  """
@@ -360,8 +385,33 @@ class RepositoryGroup(pulumi.CustomResource):
360
385
  args: RepositoryGroupArgs,
361
386
  opts: Optional[pulumi.ResourceOptions] = None):
362
387
  """
388
+ The resource for managing Repository Group for Gemini Code Assist.
389
+
390
+ To get more information about RepositoryGroup, see:
391
+
392
+ * [API documentation](https://cloud.google.com/gemini/docs/api/reference/rest/v1/projects.locations.codeRepositoryIndexes.repositoryGroups)
393
+
363
394
  ## Example Usage
364
395
 
396
+ ### Gemini Repository Group Basic
397
+
398
+ ```python
399
+ import pulumi
400
+ import pulumi_gcp as gcp
401
+
402
+ example = gcp.gemini.RepositoryGroup("example",
403
+ location="us-central1",
404
+ code_repository_index="example-cri",
405
+ repository_group_id="example-repository-group",
406
+ repositories=[{
407
+ "resource": "projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo",
408
+ "branch_pattern": "main",
409
+ }],
410
+ labels={
411
+ "label1": "value1",
412
+ })
413
+ ```
414
+
365
415
  ## Import
366
416
 
367
417
  RepositoryGroup can be imported using any of these accepted formats:
@@ -466,18 +516,18 @@ class RepositoryGroup(pulumi.CustomResource):
466
516
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
467
517
  :param pulumi.ResourceOptions opts: Options for the resource.
468
518
  :param pulumi.Input[str] code_repository_index: Required. Id of the Code Repository Index.
469
- :param pulumi.Input[str] create_time: Output only. Create time stamp
519
+ :param pulumi.Input[str] create_time: Output only. Create time stamp.
470
520
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
471
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs **Note**: This field is non-authoritative, and will only manage the labels present
521
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present
472
522
  in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
473
523
  :param pulumi.Input[str] location: The location of the Code Repository Index, for example `us-central1`.
474
- :param pulumi.Input[str] name: Immutable. Identifier. name of resource
524
+ :param pulumi.Input[str] name: Immutable. Identifier. Name of Repository Group.
475
525
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
476
526
  and default labels configured on the provider.
477
- :param pulumi.Input[Sequence[pulumi.Input[Union['RepositoryGroupRepositoryArgs', 'RepositoryGroupRepositoryArgsDict']]]] repositories: Required. List of repositories to group
527
+ :param pulumi.Input[Sequence[pulumi.Input[Union['RepositoryGroupRepositoryArgs', 'RepositoryGroupRepositoryArgsDict']]]] repositories: Required. List of repositories to group.
478
528
  Structure is documented below.
479
529
  :param pulumi.Input[str] repository_group_id: Required. Id of the Repository Group.
480
- :param pulumi.Input[str] update_time: Output only. Update time stamp
530
+ :param pulumi.Input[str] update_time: Output only. Update time stamp.
481
531
  """
482
532
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
483
533
 
@@ -508,7 +558,7 @@ class RepositoryGroup(pulumi.CustomResource):
508
558
  @pulumi.getter(name="createTime")
509
559
  def create_time(self) -> pulumi.Output[str]:
510
560
  """
511
- Output only. Create time stamp
561
+ Output only. Create time stamp.
512
562
  """
513
563
  return pulumi.get(self, "create_time")
514
564
 
@@ -524,7 +574,7 @@ class RepositoryGroup(pulumi.CustomResource):
524
574
  @pulumi.getter
525
575
  def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
526
576
  """
527
- Optional. Labels as key value pairs **Note**: This field is non-authoritative, and will only manage the labels present
577
+ Optional. Labels as key value pairs. **Note**: This field is non-authoritative, and will only manage the labels present
528
578
  in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
529
579
  """
530
580
  return pulumi.get(self, "labels")
@@ -541,7 +591,7 @@ class RepositoryGroup(pulumi.CustomResource):
541
591
  @pulumi.getter
542
592
  def name(self) -> pulumi.Output[str]:
543
593
  """
544
- Immutable. Identifier. name of resource
594
+ Immutable. Identifier. Name of Repository Group.
545
595
  """
546
596
  return pulumi.get(self, "name")
547
597
 
@@ -563,7 +613,7 @@ class RepositoryGroup(pulumi.CustomResource):
563
613
  @pulumi.getter
564
614
  def repositories(self) -> pulumi.Output[Sequence['outputs.RepositoryGroupRepository']]:
565
615
  """
566
- Required. List of repositories to group
616
+ Required. List of repositories to group.
567
617
  Structure is documented below.
568
618
  """
569
619
  return pulumi.get(self, "repositories")
@@ -580,7 +630,7 @@ class RepositoryGroup(pulumi.CustomResource):
580
630
  @pulumi.getter(name="updateTime")
581
631
  def update_time(self) -> pulumi.Output[str]:
582
632
  """
583
- Output only. Update time stamp
633
+ Output only. Update time stamp.
584
634
  """
585
635
  return pulumi.get(self, "update_time")
586
636