pulumi-gcp 9.3.0a1759561069__py3-none-any.whl → 9.4.0a1759906655__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 (76) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/apigee/__init__.py +1 -0
  3. pulumi_gcp/apigee/api_deployment.py +372 -0
  4. pulumi_gcp/apihub/plugin.py +1 -1
  5. pulumi_gcp/artifactregistry/__init__.py +2 -0
  6. pulumi_gcp/artifactregistry/get_maven_artifacts.py +164 -0
  7. pulumi_gcp/artifactregistry/get_npm_packages.py +164 -0
  8. pulumi_gcp/artifactregistry/outputs.py +165 -0
  9. pulumi_gcp/cloudrunv2/_inputs.py +823 -15
  10. pulumi_gcp/cloudrunv2/outputs.py +1749 -743
  11. pulumi_gcp/cloudrunv2/worker_pool.py +110 -0
  12. pulumi_gcp/compute/_inputs.py +28 -0
  13. pulumi_gcp/compute/outputs.py +20 -1
  14. pulumi_gcp/compute/vpn_tunnel.py +97 -23
  15. pulumi_gcp/compute/wire_group.py +2 -0
  16. pulumi_gcp/dataloss/_inputs.py +970 -30
  17. pulumi_gcp/dataloss/outputs.py +850 -20
  18. pulumi_gcp/dataloss/prevention_discovery_config.py +54 -0
  19. pulumi_gcp/diagflow/_inputs.py +66 -0
  20. pulumi_gcp/diagflow/conversation_profile.py +84 -0
  21. pulumi_gcp/diagflow/outputs.py +57 -0
  22. pulumi_gcp/discoveryengine/__init__.py +1 -0
  23. pulumi_gcp/discoveryengine/_inputs.py +187 -0
  24. pulumi_gcp/discoveryengine/data_connector.py +1368 -0
  25. pulumi_gcp/discoveryengine/outputs.py +135 -0
  26. pulumi_gcp/discoveryengine/search_engine.py +47 -0
  27. pulumi_gcp/gkebackup/_inputs.py +111 -0
  28. pulumi_gcp/gkebackup/backup_plan.py +72 -0
  29. pulumi_gcp/gkebackup/outputs.py +84 -0
  30. pulumi_gcp/kms/__init__.py +1 -0
  31. pulumi_gcp/kms/_inputs.py +43 -0
  32. pulumi_gcp/kms/organization_kaj_policy_config.py +290 -0
  33. pulumi_gcp/kms/outputs.py +43 -0
  34. pulumi_gcp/logging/metric.py +2 -2
  35. pulumi_gcp/looker/instance.py +51 -0
  36. pulumi_gcp/managedkafka/connect_cluster.py +20 -82
  37. pulumi_gcp/managedkafka/connector.py +24 -94
  38. pulumi_gcp/netapp/_inputs.py +28 -5
  39. pulumi_gcp/netapp/outputs.py +19 -3
  40. pulumi_gcp/netapp/storage_pool.py +56 -0
  41. pulumi_gcp/netapp/volume.py +28 -0
  42. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  43. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +211 -23
  44. pulumi_gcp/oracledatabase/odb_network.py +101 -2
  45. pulumi_gcp/orgpolicy/policy.py +2 -2
  46. pulumi_gcp/privilegedaccessmanager/_inputs.py +27 -4
  47. pulumi_gcp/privilegedaccessmanager/outputs.py +31 -6
  48. pulumi_gcp/pubsub/get_subscription.py +12 -1
  49. pulumi_gcp/pubsub/get_topic.py +15 -4
  50. pulumi_gcp/pubsub/subscription.py +153 -7
  51. pulumi_gcp/pubsub/topic.py +145 -3
  52. pulumi_gcp/pulumi-plugin.json +1 -1
  53. pulumi_gcp/saasruntime/__init__.py +1 -0
  54. pulumi_gcp/saasruntime/_inputs.py +60 -0
  55. pulumi_gcp/saasruntime/outputs.py +55 -0
  56. pulumi_gcp/saasruntime/rollout_kind.py +1086 -0
  57. pulumi_gcp/sql/_inputs.py +122 -3
  58. pulumi_gcp/sql/database_instance.py +47 -0
  59. pulumi_gcp/sql/get_database_instance.py +12 -1
  60. pulumi_gcp/sql/outputs.py +233 -2
  61. pulumi_gcp/storage/bucket.py +52 -24
  62. pulumi_gcp/storage/get_insights_dataset_config.py +12 -1
  63. pulumi_gcp/storage/insights_dataset_config.py +49 -0
  64. pulumi_gcp/storage/insights_report_config.py +47 -0
  65. pulumi_gcp/vertex/_inputs.py +339 -1
  66. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  67. pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +102 -0
  68. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  69. pulumi_gcp/vertex/ai_index.py +74 -2
  70. pulumi_gcp/vertex/ai_index_endpoint.py +54 -0
  71. pulumi_gcp/vertex/get_ai_index.py +12 -1
  72. pulumi_gcp/vertex/outputs.py +303 -1
  73. {pulumi_gcp-9.3.0a1759561069.dist-info → pulumi_gcp-9.4.0a1759906655.dist-info}/METADATA +1 -1
  74. {pulumi_gcp-9.3.0a1759561069.dist-info → pulumi_gcp-9.4.0a1759906655.dist-info}/RECORD +76 -70
  75. {pulumi_gcp-9.3.0a1759561069.dist-info → pulumi_gcp-9.4.0a1759906655.dist-info}/WHEEL +0 -0
  76. {pulumi_gcp-9.3.0a1759561069.dist-info → pulumi_gcp-9.4.0a1759906655.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,164 @@
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
+
18
+ __all__ = [
19
+ 'GetNpmPackagesResult',
20
+ 'AwaitableGetNpmPackagesResult',
21
+ 'get_npm_packages',
22
+ 'get_npm_packages_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetNpmPackagesResult:
27
+ """
28
+ A collection of values returned by getNpmPackages.
29
+ """
30
+ def __init__(__self__, id=None, location=None, npm_packages=None, project=None, repository_id=None):
31
+ if id and not isinstance(id, str):
32
+ raise TypeError("Expected argument 'id' to be a str")
33
+ pulumi.set(__self__, "id", id)
34
+ if location and not isinstance(location, str):
35
+ raise TypeError("Expected argument 'location' to be a str")
36
+ pulumi.set(__self__, "location", location)
37
+ if npm_packages and not isinstance(npm_packages, list):
38
+ raise TypeError("Expected argument 'npm_packages' to be a list")
39
+ pulumi.set(__self__, "npm_packages", npm_packages)
40
+ if project and not isinstance(project, str):
41
+ raise TypeError("Expected argument 'project' to be a str")
42
+ pulumi.set(__self__, "project", project)
43
+ if repository_id and not isinstance(repository_id, str):
44
+ raise TypeError("Expected argument 'repository_id' to be a str")
45
+ pulumi.set(__self__, "repository_id", repository_id)
46
+
47
+ @_builtins.property
48
+ @pulumi.getter
49
+ def id(self) -> _builtins.str:
50
+ """
51
+ The provider-assigned unique ID for this managed resource.
52
+ """
53
+ return pulumi.get(self, "id")
54
+
55
+ @_builtins.property
56
+ @pulumi.getter
57
+ def location(self) -> _builtins.str:
58
+ return pulumi.get(self, "location")
59
+
60
+ @_builtins.property
61
+ @pulumi.getter(name="npmPackages")
62
+ def npm_packages(self) -> Sequence['outputs.GetNpmPackagesNpmPackageResult']:
63
+ """
64
+ A list of all retrieved Artifact Registry Npm packages. Structure is defined below.
65
+ """
66
+ return pulumi.get(self, "npm_packages")
67
+
68
+ @_builtins.property
69
+ @pulumi.getter
70
+ def project(self) -> Optional[_builtins.str]:
71
+ return pulumi.get(self, "project")
72
+
73
+ @_builtins.property
74
+ @pulumi.getter(name="repositoryId")
75
+ def repository_id(self) -> _builtins.str:
76
+ return pulumi.get(self, "repository_id")
77
+
78
+
79
+ class AwaitableGetNpmPackagesResult(GetNpmPackagesResult):
80
+ # pylint: disable=using-constant-test
81
+ def __await__(self):
82
+ if False:
83
+ yield self
84
+ return GetNpmPackagesResult(
85
+ id=self.id,
86
+ location=self.location,
87
+ npm_packages=self.npm_packages,
88
+ project=self.project,
89
+ repository_id=self.repository_id)
90
+
91
+
92
+ def get_npm_packages(location: Optional[_builtins.str] = None,
93
+ project: Optional[_builtins.str] = None,
94
+ repository_id: Optional[_builtins.str] = None,
95
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNpmPackagesResult:
96
+ """
97
+ Get information about Artifact Registry Npm packages.
98
+ See [the official documentation](https://cloud.google.com/artifact-registry/docs/nodejs)
99
+ and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.npmPackages/list).
100
+
101
+ ## Example Usage
102
+
103
+ ```python
104
+ import pulumi
105
+ import pulumi_gcp as gcp
106
+
107
+ my_packages = gcp.artifactregistry.get_npm_packages(location="us-central1",
108
+ repository_id="example-repo")
109
+ ```
110
+
111
+
112
+ :param _builtins.str location: The location of the Artifact Registry repository.
113
+ :param _builtins.str project: The project ID in which the resource belongs. If it is not provided, the provider project is used.
114
+ :param _builtins.str repository_id: The last part of the repository name to fetch from.
115
+ """
116
+ __args__ = dict()
117
+ __args__['location'] = location
118
+ __args__['project'] = project
119
+ __args__['repositoryId'] = repository_id
120
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
121
+ __ret__ = pulumi.runtime.invoke('gcp:artifactregistry/getNpmPackages:getNpmPackages', __args__, opts=opts, typ=GetNpmPackagesResult).value
122
+
123
+ return AwaitableGetNpmPackagesResult(
124
+ id=pulumi.get(__ret__, 'id'),
125
+ location=pulumi.get(__ret__, 'location'),
126
+ npm_packages=pulumi.get(__ret__, 'npm_packages'),
127
+ project=pulumi.get(__ret__, 'project'),
128
+ repository_id=pulumi.get(__ret__, 'repository_id'))
129
+ def get_npm_packages_output(location: Optional[pulumi.Input[_builtins.str]] = None,
130
+ project: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
131
+ repository_id: Optional[pulumi.Input[_builtins.str]] = None,
132
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNpmPackagesResult]:
133
+ """
134
+ Get information about Artifact Registry Npm packages.
135
+ See [the official documentation](https://cloud.google.com/artifact-registry/docs/nodejs)
136
+ and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.npmPackages/list).
137
+
138
+ ## Example Usage
139
+
140
+ ```python
141
+ import pulumi
142
+ import pulumi_gcp as gcp
143
+
144
+ my_packages = gcp.artifactregistry.get_npm_packages(location="us-central1",
145
+ repository_id="example-repo")
146
+ ```
147
+
148
+
149
+ :param _builtins.str location: The location of the Artifact Registry repository.
150
+ :param _builtins.str project: The project ID in which the resource belongs. If it is not provided, the provider project is used.
151
+ :param _builtins.str repository_id: The last part of the repository name to fetch from.
152
+ """
153
+ __args__ = dict()
154
+ __args__['location'] = location
155
+ __args__['project'] = project
156
+ __args__['repositoryId'] = repository_id
157
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
158
+ __ret__ = pulumi.runtime.invoke_output('gcp:artifactregistry/getNpmPackages:getNpmPackages', __args__, opts=opts, typ=GetNpmPackagesResult)
159
+ return __ret__.apply(lambda __response__: GetNpmPackagesResult(
160
+ id=pulumi.get(__response__, 'id'),
161
+ location=pulumi.get(__response__, 'location'),
162
+ npm_packages=pulumi.get(__response__, 'npm_packages'),
163
+ project=pulumi.get(__response__, 'project'),
164
+ repository_id=pulumi.get(__response__, 'repository_id')))
@@ -43,6 +43,8 @@ __all__ = [
43
43
  'RepositoryVirtualRepositoryConfigUpstreamPolicy',
44
44
  'RepositoryVulnerabilityScanningConfig',
45
45
  'GetDockerImagesDockerImageResult',
46
+ 'GetMavenArtifactsMavenArtifactResult',
47
+ 'GetNpmPackagesNpmPackageResult',
46
48
  'GetRepositoriesRepositoryResult',
47
49
  'GetRepositoryCleanupPolicyResult',
48
50
  'GetRepositoryCleanupPolicyConditionResult',
@@ -1478,6 +1480,169 @@ class GetDockerImagesDockerImageResult(dict):
1478
1480
  return pulumi.get(self, "upload_time")
1479
1481
 
1480
1482
 
1483
+ @pulumi.output_type
1484
+ class GetMavenArtifactsMavenArtifactResult(dict):
1485
+ def __init__(__self__, *,
1486
+ artifact_id: _builtins.str,
1487
+ create_time: _builtins.str,
1488
+ group_id: _builtins.str,
1489
+ name: _builtins.str,
1490
+ pom_uri: _builtins.str,
1491
+ update_time: _builtins.str,
1492
+ version: _builtins.str):
1493
+ """
1494
+ :param _builtins.str artifact_id: The name of the artifact to fetch.
1495
+ :param _builtins.str create_time: The time the artifact was created.
1496
+ :param _builtins.str group_id: Group ID for the artifact.
1497
+ :param _builtins.str name: The fully qualified name of the fetched artifact. Format:
1498
+ ```
1499
+ projects/{{project}}/locations/{{location}}/repositories/{{repository_id}}/mavenArtifacts/{{group_id}}:{{artifact_id}}:{{version}}
1500
+ ```
1501
+ :param _builtins.str pom_uri: URL to access the pom file of the artifact.
1502
+ :param _builtins.str update_time: The time the artifact was last updated.
1503
+ :param _builtins.str version: The version of the Maven artifact.
1504
+ """
1505
+ pulumi.set(__self__, "artifact_id", artifact_id)
1506
+ pulumi.set(__self__, "create_time", create_time)
1507
+ pulumi.set(__self__, "group_id", group_id)
1508
+ pulumi.set(__self__, "name", name)
1509
+ pulumi.set(__self__, "pom_uri", pom_uri)
1510
+ pulumi.set(__self__, "update_time", update_time)
1511
+ pulumi.set(__self__, "version", version)
1512
+
1513
+ @_builtins.property
1514
+ @pulumi.getter(name="artifactId")
1515
+ def artifact_id(self) -> _builtins.str:
1516
+ """
1517
+ The name of the artifact to fetch.
1518
+ """
1519
+ return pulumi.get(self, "artifact_id")
1520
+
1521
+ @_builtins.property
1522
+ @pulumi.getter(name="createTime")
1523
+ def create_time(self) -> _builtins.str:
1524
+ """
1525
+ The time the artifact was created.
1526
+ """
1527
+ return pulumi.get(self, "create_time")
1528
+
1529
+ @_builtins.property
1530
+ @pulumi.getter(name="groupId")
1531
+ def group_id(self) -> _builtins.str:
1532
+ """
1533
+ Group ID for the artifact.
1534
+ """
1535
+ return pulumi.get(self, "group_id")
1536
+
1537
+ @_builtins.property
1538
+ @pulumi.getter
1539
+ def name(self) -> _builtins.str:
1540
+ """
1541
+ The fully qualified name of the fetched artifact. Format:
1542
+ ```
1543
+ projects/{{project}}/locations/{{location}}/repositories/{{repository_id}}/mavenArtifacts/{{group_id}}:{{artifact_id}}:{{version}}
1544
+ ```
1545
+ """
1546
+ return pulumi.get(self, "name")
1547
+
1548
+ @_builtins.property
1549
+ @pulumi.getter(name="pomUri")
1550
+ def pom_uri(self) -> _builtins.str:
1551
+ """
1552
+ URL to access the pom file of the artifact.
1553
+ """
1554
+ return pulumi.get(self, "pom_uri")
1555
+
1556
+ @_builtins.property
1557
+ @pulumi.getter(name="updateTime")
1558
+ def update_time(self) -> _builtins.str:
1559
+ """
1560
+ The time the artifact was last updated.
1561
+ """
1562
+ return pulumi.get(self, "update_time")
1563
+
1564
+ @_builtins.property
1565
+ @pulumi.getter
1566
+ def version(self) -> _builtins.str:
1567
+ """
1568
+ The version of the Maven artifact.
1569
+ """
1570
+ return pulumi.get(self, "version")
1571
+
1572
+
1573
+ @pulumi.output_type
1574
+ class GetNpmPackagesNpmPackageResult(dict):
1575
+ def __init__(__self__, *,
1576
+ create_time: _builtins.str,
1577
+ name: _builtins.str,
1578
+ package_name: _builtins.str,
1579
+ tags: Sequence[_builtins.str],
1580
+ update_time: _builtins.str,
1581
+ version: _builtins.str):
1582
+ """
1583
+ :param _builtins.str create_time: The time, as a RFC 3339 string, this package was created.
1584
+ :param _builtins.str name: The fully qualified name of the fetched package. This name has the form: `projects/{{project}}/locations/{{location}}/repository/{{repository_id}}/npmPackages/{{npmPackage}}`. For example, `projects/example-project/locations/us-central1/repository/example-repo/npmPackages/my-test-package:0.0.1`
1585
+ :param _builtins.str package_name: Extracted short name of the package (last part of `name`, without version). For example, from `.../my-test-package:0.0.1` → `my-test-package`.
1586
+ :param Sequence[_builtins.str] tags: The tags associated with the Npm package.
1587
+ :param _builtins.str update_time: The time, as a RFC 3339 string, this package was updated.
1588
+ :param _builtins.str version: Version of this package.
1589
+ """
1590
+ pulumi.set(__self__, "create_time", create_time)
1591
+ pulumi.set(__self__, "name", name)
1592
+ pulumi.set(__self__, "package_name", package_name)
1593
+ pulumi.set(__self__, "tags", tags)
1594
+ pulumi.set(__self__, "update_time", update_time)
1595
+ pulumi.set(__self__, "version", version)
1596
+
1597
+ @_builtins.property
1598
+ @pulumi.getter(name="createTime")
1599
+ def create_time(self) -> _builtins.str:
1600
+ """
1601
+ The time, as a RFC 3339 string, this package was created.
1602
+ """
1603
+ return pulumi.get(self, "create_time")
1604
+
1605
+ @_builtins.property
1606
+ @pulumi.getter
1607
+ def name(self) -> _builtins.str:
1608
+ """
1609
+ The fully qualified name of the fetched package. This name has the form: `projects/{{project}}/locations/{{location}}/repository/{{repository_id}}/npmPackages/{{npmPackage}}`. For example, `projects/example-project/locations/us-central1/repository/example-repo/npmPackages/my-test-package:0.0.1`
1610
+ """
1611
+ return pulumi.get(self, "name")
1612
+
1613
+ @_builtins.property
1614
+ @pulumi.getter(name="packageName")
1615
+ def package_name(self) -> _builtins.str:
1616
+ """
1617
+ Extracted short name of the package (last part of `name`, without version). For example, from `.../my-test-package:0.0.1` → `my-test-package`.
1618
+ """
1619
+ return pulumi.get(self, "package_name")
1620
+
1621
+ @_builtins.property
1622
+ @pulumi.getter
1623
+ def tags(self) -> Sequence[_builtins.str]:
1624
+ """
1625
+ The tags associated with the Npm package.
1626
+ """
1627
+ return pulumi.get(self, "tags")
1628
+
1629
+ @_builtins.property
1630
+ @pulumi.getter(name="updateTime")
1631
+ def update_time(self) -> _builtins.str:
1632
+ """
1633
+ The time, as a RFC 3339 string, this package was updated.
1634
+ """
1635
+ return pulumi.get(self, "update_time")
1636
+
1637
+ @_builtins.property
1638
+ @pulumi.getter
1639
+ def version(self) -> _builtins.str:
1640
+ """
1641
+ Version of this package.
1642
+ """
1643
+ return pulumi.get(self, "version")
1644
+
1645
+
1481
1646
  @pulumi.output_type
1482
1647
  class GetRepositoriesRepositoryResult(dict):
1483
1648
  def __init__(__self__, *,