google-cloud-run 0.10.17__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 (87) hide show
  1. google/cloud/run/__init__.py +211 -0
  2. google/cloud/run/gapic_version.py +16 -0
  3. google/cloud/run/py.typed +2 -0
  4. google/cloud/run_v2/__init__.py +201 -0
  5. google/cloud/run_v2/gapic_metadata.json +528 -0
  6. google/cloud/run_v2/gapic_version.py +16 -0
  7. google/cloud/run_v2/py.typed +2 -0
  8. google/cloud/run_v2/services/__init__.py +15 -0
  9. google/cloud/run_v2/services/builds/__init__.py +22 -0
  10. google/cloud/run_v2/services/builds/async_client.py +612 -0
  11. google/cloud/run_v2/services/builds/client.py +1059 -0
  12. google/cloud/run_v2/services/builds/transports/__init__.py +36 -0
  13. google/cloud/run_v2/services/builds/transports/base.py +219 -0
  14. google/cloud/run_v2/services/builds/transports/grpc.py +429 -0
  15. google/cloud/run_v2/services/builds/transports/grpc_asyncio.py +471 -0
  16. google/cloud/run_v2/services/builds/transports/rest.py +1037 -0
  17. google/cloud/run_v2/services/builds/transports/rest_base.py +256 -0
  18. google/cloud/run_v2/services/executions/__init__.py +22 -0
  19. google/cloud/run_v2/services/executions/async_client.py +1038 -0
  20. google/cloud/run_v2/services/executions/client.py +1568 -0
  21. google/cloud/run_v2/services/executions/pagers.py +197 -0
  22. google/cloud/run_v2/services/executions/transports/__init__.py +36 -0
  23. google/cloud/run_v2/services/executions/transports/base.py +269 -0
  24. google/cloud/run_v2/services/executions/transports/grpc.py +525 -0
  25. google/cloud/run_v2/services/executions/transports/grpc_asyncio.py +588 -0
  26. google/cloud/run_v2/services/executions/transports/rest.py +1739 -0
  27. google/cloud/run_v2/services/executions/transports/rest_base.py +397 -0
  28. google/cloud/run_v2/services/jobs/__init__.py +22 -0
  29. google/cloud/run_v2/services/jobs/async_client.py +1691 -0
  30. google/cloud/run_v2/services/jobs/client.py +2231 -0
  31. google/cloud/run_v2/services/jobs/pagers.py +197 -0
  32. google/cloud/run_v2/services/jobs/transports/__init__.py +36 -0
  33. google/cloud/run_v2/services/jobs/transports/base.py +339 -0
  34. google/cloud/run_v2/services/jobs/transports/grpc.py +659 -0
  35. google/cloud/run_v2/services/jobs/transports/grpc_asyncio.py +747 -0
  36. google/cloud/run_v2/services/jobs/transports/rest.py +2911 -0
  37. google/cloud/run_v2/services/jobs/transports/rest_base.py +677 -0
  38. google/cloud/run_v2/services/revisions/__init__.py +22 -0
  39. google/cloud/run_v2/services/revisions/async_client.py +951 -0
  40. google/cloud/run_v2/services/revisions/client.py +1504 -0
  41. google/cloud/run_v2/services/revisions/pagers.py +197 -0
  42. google/cloud/run_v2/services/revisions/transports/__init__.py +36 -0
  43. google/cloud/run_v2/services/revisions/transports/base.py +254 -0
  44. google/cloud/run_v2/services/revisions/transports/grpc.py +500 -0
  45. google/cloud/run_v2/services/revisions/transports/grpc_asyncio.py +556 -0
  46. google/cloud/run_v2/services/revisions/transports/rest.py +1522 -0
  47. google/cloud/run_v2/services/revisions/transports/rest_base.py +340 -0
  48. google/cloud/run_v2/services/services/__init__.py +22 -0
  49. google/cloud/run_v2/services/services/async_client.py +1600 -0
  50. google/cloud/run_v2/services/services/client.py +2201 -0
  51. google/cloud/run_v2/services/services/pagers.py +197 -0
  52. google/cloud/run_v2/services/services/transports/__init__.py +36 -0
  53. google/cloud/run_v2/services/services/transports/base.py +345 -0
  54. google/cloud/run_v2/services/services/transports/grpc.py +642 -0
  55. google/cloud/run_v2/services/services/transports/grpc_asyncio.py +745 -0
  56. google/cloud/run_v2/services/services/transports/rest.py +2755 -0
  57. google/cloud/run_v2/services/services/transports/rest_base.py +620 -0
  58. google/cloud/run_v2/services/tasks/__init__.py +22 -0
  59. google/cloud/run_v2/services/tasks/async_client.py +778 -0
  60. google/cloud/run_v2/services/tasks/client.py +1344 -0
  61. google/cloud/run_v2/services/tasks/pagers.py +197 -0
  62. google/cloud/run_v2/services/tasks/transports/__init__.py +36 -0
  63. google/cloud/run_v2/services/tasks/transports/base.py +230 -0
  64. google/cloud/run_v2/services/tasks/transports/grpc.py +451 -0
  65. google/cloud/run_v2/services/tasks/transports/grpc_asyncio.py +500 -0
  66. google/cloud/run_v2/services/tasks/transports/rest.py +1226 -0
  67. google/cloud/run_v2/services/tasks/transports/rest_base.py +293 -0
  68. google/cloud/run_v2/types/__init__.py +178 -0
  69. google/cloud/run_v2/types/build.py +259 -0
  70. google/cloud/run_v2/types/condition.py +305 -0
  71. google/cloud/run_v2/types/execution.py +440 -0
  72. google/cloud/run_v2/types/execution_template.py +113 -0
  73. google/cloud/run_v2/types/job.py +706 -0
  74. google/cloud/run_v2/types/k8s_min.py +894 -0
  75. google/cloud/run_v2/types/revision.py +442 -0
  76. google/cloud/run_v2/types/revision_template.py +217 -0
  77. google/cloud/run_v2/types/service.py +611 -0
  78. google/cloud/run_v2/types/status.py +45 -0
  79. google/cloud/run_v2/types/task.py +428 -0
  80. google/cloud/run_v2/types/task_template.py +120 -0
  81. google/cloud/run_v2/types/traffic_target.py +128 -0
  82. google/cloud/run_v2/types/vendor_settings.py +437 -0
  83. google_cloud_run-0.10.17.dist-info/LICENSE +202 -0
  84. google_cloud_run-0.10.17.dist-info/METADATA +229 -0
  85. google_cloud_run-0.10.17.dist-info/RECORD +87 -0
  86. google_cloud_run-0.10.17.dist-info/WHEEL +5 -0
  87. google_cloud_run-0.10.17.dist-info/top_level.txt +1 -0
@@ -0,0 +1,211 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2024 Google LLC
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ from google.cloud.run import gapic_version as package_version
17
+
18
+ __version__ = package_version.__version__
19
+
20
+
21
+ from google.cloud.run_v2.services.builds.async_client import BuildsAsyncClient
22
+ from google.cloud.run_v2.services.builds.client import BuildsClient
23
+ from google.cloud.run_v2.services.executions.async_client import ExecutionsAsyncClient
24
+ from google.cloud.run_v2.services.executions.client import ExecutionsClient
25
+ from google.cloud.run_v2.services.jobs.async_client import JobsAsyncClient
26
+ from google.cloud.run_v2.services.jobs.client import JobsClient
27
+ from google.cloud.run_v2.services.revisions.async_client import RevisionsAsyncClient
28
+ from google.cloud.run_v2.services.revisions.client import RevisionsClient
29
+ from google.cloud.run_v2.services.services.async_client import ServicesAsyncClient
30
+ from google.cloud.run_v2.services.services.client import ServicesClient
31
+ from google.cloud.run_v2.services.tasks.async_client import TasksAsyncClient
32
+ from google.cloud.run_v2.services.tasks.client import TasksClient
33
+ from google.cloud.run_v2.types.build import (
34
+ StorageSource,
35
+ SubmitBuildRequest,
36
+ SubmitBuildResponse,
37
+ )
38
+ from google.cloud.run_v2.types.condition import Condition
39
+ from google.cloud.run_v2.types.execution import (
40
+ CancelExecutionRequest,
41
+ DeleteExecutionRequest,
42
+ Execution,
43
+ GetExecutionRequest,
44
+ ListExecutionsRequest,
45
+ ListExecutionsResponse,
46
+ )
47
+ from google.cloud.run_v2.types.execution_template import ExecutionTemplate
48
+ from google.cloud.run_v2.types.job import (
49
+ CreateJobRequest,
50
+ DeleteJobRequest,
51
+ ExecutionReference,
52
+ GetJobRequest,
53
+ Job,
54
+ ListJobsRequest,
55
+ ListJobsResponse,
56
+ RunJobRequest,
57
+ UpdateJobRequest,
58
+ )
59
+ from google.cloud.run_v2.types.k8s_min import (
60
+ BuildInfo,
61
+ CloudSqlInstance,
62
+ Container,
63
+ ContainerPort,
64
+ EmptyDirVolumeSource,
65
+ EnvVar,
66
+ EnvVarSource,
67
+ GCSVolumeSource,
68
+ GRPCAction,
69
+ HTTPGetAction,
70
+ HTTPHeader,
71
+ NFSVolumeSource,
72
+ Probe,
73
+ ResourceRequirements,
74
+ SecretKeySelector,
75
+ SecretVolumeSource,
76
+ TCPSocketAction,
77
+ VersionToPath,
78
+ Volume,
79
+ VolumeMount,
80
+ )
81
+ from google.cloud.run_v2.types.revision import (
82
+ DeleteRevisionRequest,
83
+ GetRevisionRequest,
84
+ ListRevisionsRequest,
85
+ ListRevisionsResponse,
86
+ Revision,
87
+ )
88
+ from google.cloud.run_v2.types.revision_template import RevisionTemplate
89
+ from google.cloud.run_v2.types.service import (
90
+ CreateServiceRequest,
91
+ DeleteServiceRequest,
92
+ GetServiceRequest,
93
+ ListServicesRequest,
94
+ ListServicesResponse,
95
+ Service,
96
+ UpdateServiceRequest,
97
+ )
98
+ from google.cloud.run_v2.types.status import RevisionScalingStatus
99
+ from google.cloud.run_v2.types.task import (
100
+ GetTaskRequest,
101
+ ListTasksRequest,
102
+ ListTasksResponse,
103
+ Task,
104
+ TaskAttemptResult,
105
+ )
106
+ from google.cloud.run_v2.types.task_template import TaskTemplate
107
+ from google.cloud.run_v2.types.traffic_target import (
108
+ TrafficTarget,
109
+ TrafficTargetAllocationType,
110
+ TrafficTargetStatus,
111
+ )
112
+ from google.cloud.run_v2.types.vendor_settings import (
113
+ BinaryAuthorization,
114
+ BuildConfig,
115
+ EncryptionKeyRevocationAction,
116
+ ExecutionEnvironment,
117
+ IngressTraffic,
118
+ NodeSelector,
119
+ RevisionScaling,
120
+ ServiceMesh,
121
+ ServiceScaling,
122
+ VpcAccess,
123
+ )
124
+
125
+ __all__ = (
126
+ "BuildsClient",
127
+ "BuildsAsyncClient",
128
+ "ExecutionsClient",
129
+ "ExecutionsAsyncClient",
130
+ "JobsClient",
131
+ "JobsAsyncClient",
132
+ "RevisionsClient",
133
+ "RevisionsAsyncClient",
134
+ "ServicesClient",
135
+ "ServicesAsyncClient",
136
+ "TasksClient",
137
+ "TasksAsyncClient",
138
+ "StorageSource",
139
+ "SubmitBuildRequest",
140
+ "SubmitBuildResponse",
141
+ "Condition",
142
+ "CancelExecutionRequest",
143
+ "DeleteExecutionRequest",
144
+ "Execution",
145
+ "GetExecutionRequest",
146
+ "ListExecutionsRequest",
147
+ "ListExecutionsResponse",
148
+ "ExecutionTemplate",
149
+ "CreateJobRequest",
150
+ "DeleteJobRequest",
151
+ "ExecutionReference",
152
+ "GetJobRequest",
153
+ "Job",
154
+ "ListJobsRequest",
155
+ "ListJobsResponse",
156
+ "RunJobRequest",
157
+ "UpdateJobRequest",
158
+ "BuildInfo",
159
+ "CloudSqlInstance",
160
+ "Container",
161
+ "ContainerPort",
162
+ "EmptyDirVolumeSource",
163
+ "EnvVar",
164
+ "EnvVarSource",
165
+ "GCSVolumeSource",
166
+ "GRPCAction",
167
+ "HTTPGetAction",
168
+ "HTTPHeader",
169
+ "NFSVolumeSource",
170
+ "Probe",
171
+ "ResourceRequirements",
172
+ "SecretKeySelector",
173
+ "SecretVolumeSource",
174
+ "TCPSocketAction",
175
+ "VersionToPath",
176
+ "Volume",
177
+ "VolumeMount",
178
+ "DeleteRevisionRequest",
179
+ "GetRevisionRequest",
180
+ "ListRevisionsRequest",
181
+ "ListRevisionsResponse",
182
+ "Revision",
183
+ "RevisionTemplate",
184
+ "CreateServiceRequest",
185
+ "DeleteServiceRequest",
186
+ "GetServiceRequest",
187
+ "ListServicesRequest",
188
+ "ListServicesResponse",
189
+ "Service",
190
+ "UpdateServiceRequest",
191
+ "RevisionScalingStatus",
192
+ "GetTaskRequest",
193
+ "ListTasksRequest",
194
+ "ListTasksResponse",
195
+ "Task",
196
+ "TaskAttemptResult",
197
+ "TaskTemplate",
198
+ "TrafficTarget",
199
+ "TrafficTargetStatus",
200
+ "TrafficTargetAllocationType",
201
+ "BinaryAuthorization",
202
+ "BuildConfig",
203
+ "NodeSelector",
204
+ "RevisionScaling",
205
+ "ServiceMesh",
206
+ "ServiceScaling",
207
+ "VpcAccess",
208
+ "EncryptionKeyRevocationAction",
209
+ "ExecutionEnvironment",
210
+ "IngressTraffic",
211
+ )
@@ -0,0 +1,16 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2024 Google LLC
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ __version__ = "0.10.17" # {x-release-please-version}
@@ -0,0 +1,2 @@
1
+ # Marker file for PEP 561.
2
+ # The google-cloud-run package uses inline types.
@@ -0,0 +1,201 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2024 Google LLC
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ from google.cloud.run_v2 import gapic_version as package_version
17
+
18
+ __version__ = package_version.__version__
19
+
20
+
21
+ from .services.builds import BuildsAsyncClient, BuildsClient
22
+ from .services.executions import ExecutionsAsyncClient, ExecutionsClient
23
+ from .services.jobs import JobsAsyncClient, JobsClient
24
+ from .services.revisions import RevisionsAsyncClient, RevisionsClient
25
+ from .services.services import ServicesAsyncClient, ServicesClient
26
+ from .services.tasks import TasksAsyncClient, TasksClient
27
+ from .types.build import StorageSource, SubmitBuildRequest, SubmitBuildResponse
28
+ from .types.condition import Condition
29
+ from .types.execution import (
30
+ CancelExecutionRequest,
31
+ DeleteExecutionRequest,
32
+ Execution,
33
+ GetExecutionRequest,
34
+ ListExecutionsRequest,
35
+ ListExecutionsResponse,
36
+ )
37
+ from .types.execution_template import ExecutionTemplate
38
+ from .types.job import (
39
+ CreateJobRequest,
40
+ DeleteJobRequest,
41
+ ExecutionReference,
42
+ GetJobRequest,
43
+ Job,
44
+ ListJobsRequest,
45
+ ListJobsResponse,
46
+ RunJobRequest,
47
+ UpdateJobRequest,
48
+ )
49
+ from .types.k8s_min import (
50
+ BuildInfo,
51
+ CloudSqlInstance,
52
+ Container,
53
+ ContainerPort,
54
+ EmptyDirVolumeSource,
55
+ EnvVar,
56
+ EnvVarSource,
57
+ GCSVolumeSource,
58
+ GRPCAction,
59
+ HTTPGetAction,
60
+ HTTPHeader,
61
+ NFSVolumeSource,
62
+ Probe,
63
+ ResourceRequirements,
64
+ SecretKeySelector,
65
+ SecretVolumeSource,
66
+ TCPSocketAction,
67
+ VersionToPath,
68
+ Volume,
69
+ VolumeMount,
70
+ )
71
+ from .types.revision import (
72
+ DeleteRevisionRequest,
73
+ GetRevisionRequest,
74
+ ListRevisionsRequest,
75
+ ListRevisionsResponse,
76
+ Revision,
77
+ )
78
+ from .types.revision_template import RevisionTemplate
79
+ from .types.service import (
80
+ CreateServiceRequest,
81
+ DeleteServiceRequest,
82
+ GetServiceRequest,
83
+ ListServicesRequest,
84
+ ListServicesResponse,
85
+ Service,
86
+ UpdateServiceRequest,
87
+ )
88
+ from .types.status import RevisionScalingStatus
89
+ from .types.task import (
90
+ GetTaskRequest,
91
+ ListTasksRequest,
92
+ ListTasksResponse,
93
+ Task,
94
+ TaskAttemptResult,
95
+ )
96
+ from .types.task_template import TaskTemplate
97
+ from .types.traffic_target import (
98
+ TrafficTarget,
99
+ TrafficTargetAllocationType,
100
+ TrafficTargetStatus,
101
+ )
102
+ from .types.vendor_settings import (
103
+ BinaryAuthorization,
104
+ BuildConfig,
105
+ EncryptionKeyRevocationAction,
106
+ ExecutionEnvironment,
107
+ IngressTraffic,
108
+ NodeSelector,
109
+ RevisionScaling,
110
+ ServiceMesh,
111
+ ServiceScaling,
112
+ VpcAccess,
113
+ )
114
+
115
+ __all__ = (
116
+ "BuildsAsyncClient",
117
+ "ExecutionsAsyncClient",
118
+ "JobsAsyncClient",
119
+ "RevisionsAsyncClient",
120
+ "ServicesAsyncClient",
121
+ "TasksAsyncClient",
122
+ "BinaryAuthorization",
123
+ "BuildConfig",
124
+ "BuildInfo",
125
+ "BuildsClient",
126
+ "CancelExecutionRequest",
127
+ "CloudSqlInstance",
128
+ "Condition",
129
+ "Container",
130
+ "ContainerPort",
131
+ "CreateJobRequest",
132
+ "CreateServiceRequest",
133
+ "DeleteExecutionRequest",
134
+ "DeleteJobRequest",
135
+ "DeleteRevisionRequest",
136
+ "DeleteServiceRequest",
137
+ "EmptyDirVolumeSource",
138
+ "EncryptionKeyRevocationAction",
139
+ "EnvVar",
140
+ "EnvVarSource",
141
+ "Execution",
142
+ "ExecutionEnvironment",
143
+ "ExecutionReference",
144
+ "ExecutionTemplate",
145
+ "ExecutionsClient",
146
+ "GCSVolumeSource",
147
+ "GRPCAction",
148
+ "GetExecutionRequest",
149
+ "GetJobRequest",
150
+ "GetRevisionRequest",
151
+ "GetServiceRequest",
152
+ "GetTaskRequest",
153
+ "HTTPGetAction",
154
+ "HTTPHeader",
155
+ "IngressTraffic",
156
+ "Job",
157
+ "JobsClient",
158
+ "ListExecutionsRequest",
159
+ "ListExecutionsResponse",
160
+ "ListJobsRequest",
161
+ "ListJobsResponse",
162
+ "ListRevisionsRequest",
163
+ "ListRevisionsResponse",
164
+ "ListServicesRequest",
165
+ "ListServicesResponse",
166
+ "ListTasksRequest",
167
+ "ListTasksResponse",
168
+ "NFSVolumeSource",
169
+ "NodeSelector",
170
+ "Probe",
171
+ "ResourceRequirements",
172
+ "Revision",
173
+ "RevisionScaling",
174
+ "RevisionScalingStatus",
175
+ "RevisionTemplate",
176
+ "RevisionsClient",
177
+ "RunJobRequest",
178
+ "SecretKeySelector",
179
+ "SecretVolumeSource",
180
+ "Service",
181
+ "ServiceMesh",
182
+ "ServiceScaling",
183
+ "ServicesClient",
184
+ "StorageSource",
185
+ "SubmitBuildRequest",
186
+ "SubmitBuildResponse",
187
+ "TCPSocketAction",
188
+ "Task",
189
+ "TaskAttemptResult",
190
+ "TaskTemplate",
191
+ "TasksClient",
192
+ "TrafficTarget",
193
+ "TrafficTargetAllocationType",
194
+ "TrafficTargetStatus",
195
+ "UpdateJobRequest",
196
+ "UpdateServiceRequest",
197
+ "VersionToPath",
198
+ "Volume",
199
+ "VolumeMount",
200
+ "VpcAccess",
201
+ )