Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit fade594

Browse files
gcf-owl-bot[bot]dinagravesparthea
authored
feat: support self-signed JWT flow for service accounts (#25)
* chore: upgrade gapic-generator-python to 0.46.3 PiperOrigin-RevId: 373649163 Source-Link: googleapis/googleapis@7e1b14e Source-Link: https://github.com/googleapis/googleapis-gen/commit/0a3c7d272d697796db75857bac73905c68e498c3 * 🦉 Updates from OwlBot * add workaround for gapic generator docstring bug * run post processor Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Dina Graves Portman <dinagraves@google.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent b1e4de0 commit fade594

File tree

28 files changed

+1367
-1195
lines changed

28 files changed

+1367
-1195
lines changed

docs/artifactregistry_v1beta2/artifact_registry.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ArtifactRegistry
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.artifactregistry_v1beta2.services.artifact_registry.pagers
109
:members:
1110
:inherited-members:

google/cloud/artifactregistry/__init__.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,12 +14,13 @@
1514
# limitations under the License.
1615
#
1716

18-
from google.cloud.artifactregistry_v1beta2.services.artifact_registry.async_client import (
19-
ArtifactRegistryAsyncClient,
20-
)
2117
from google.cloud.artifactregistry_v1beta2.services.artifact_registry.client import (
2218
ArtifactRegistryClient,
2319
)
20+
from google.cloud.artifactregistry_v1beta2.services.artifact_registry.async_client import (
21+
ArtifactRegistryAsyncClient,
22+
)
23+
2424
from google.cloud.artifactregistry_v1beta2.types.file import File
2525
from google.cloud.artifactregistry_v1beta2.types.file import GetFileRequest
2626
from google.cloud.artifactregistry_v1beta2.types.file import Hash
@@ -64,37 +64,37 @@
6464
from google.cloud.artifactregistry_v1beta2.types.version import VersionView
6565

6666
__all__ = (
67-
"ArtifactRegistryAsyncClient",
6867
"ArtifactRegistryClient",
69-
"CreateRepositoryRequest",
70-
"CreateTagRequest",
71-
"DeletePackageRequest",
72-
"DeleteRepositoryRequest",
73-
"DeleteTagRequest",
74-
"DeleteVersionRequest",
68+
"ArtifactRegistryAsyncClient",
7569
"File",
7670
"GetFileRequest",
77-
"GetPackageRequest",
78-
"GetRepositoryRequest",
79-
"GetTagRequest",
80-
"GetVersionRequest",
8171
"Hash",
8272
"ListFilesRequest",
8373
"ListFilesResponse",
74+
"DeletePackageRequest",
75+
"GetPackageRequest",
8476
"ListPackagesRequest",
8577
"ListPackagesResponse",
78+
"Package",
79+
"CreateRepositoryRequest",
80+
"DeleteRepositoryRequest",
81+
"GetRepositoryRequest",
8682
"ListRepositoriesRequest",
8783
"ListRepositoriesResponse",
84+
"Repository",
85+
"UpdateRepositoryRequest",
86+
"OperationMetadata",
87+
"CreateTagRequest",
88+
"DeleteTagRequest",
89+
"GetTagRequest",
8890
"ListTagsRequest",
8991
"ListTagsResponse",
90-
"ListVersionsRequest",
91-
"ListVersionsResponse",
92-
"OperationMetadata",
93-
"Package",
94-
"Repository",
9592
"Tag",
96-
"UpdateRepositoryRequest",
9793
"UpdateTagRequest",
94+
"DeleteVersionRequest",
95+
"GetVersionRequest",
96+
"ListVersionsRequest",
97+
"ListVersionsResponse",
9898
"Version",
9999
"VersionView",
100100
)

google/cloud/artifactregistry_v1beta2/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,6 +15,8 @@
1615
#
1716

1817
from .services.artifact_registry import ArtifactRegistryClient
18+
from .services.artifact_registry import ArtifactRegistryAsyncClient
19+
1920
from .types.file import File
2021
from .types.file import GetFileRequest
2122
from .types.file import Hash
@@ -48,8 +49,9 @@
4849
from .types.version import Version
4950
from .types.version import VersionView
5051

51-
5252
__all__ = (
53+
"ArtifactRegistryAsyncClient",
54+
"ArtifactRegistryClient",
5355
"CreateRepositoryRequest",
5456
"CreateTagRequest",
5557
"DeletePackageRequest",
@@ -81,5 +83,4 @@
8183
"UpdateTagRequest",
8284
"Version",
8385
"VersionView",
84-
"ArtifactRegistryClient",
8586
)
Lines changed: 233 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.cloud.artifactregistry_v1beta2",
5+
"protoPackage": "google.devtools.artifactregistry.v1beta2",
6+
"schema": "1.0",
7+
"services": {
8+
"ArtifactRegistry": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "ArtifactRegistryClient",
12+
"rpcs": {
13+
"CreateRepository": {
14+
"methods": [
15+
"create_repository"
16+
]
17+
},
18+
"CreateTag": {
19+
"methods": [
20+
"create_tag"
21+
]
22+
},
23+
"DeletePackage": {
24+
"methods": [
25+
"delete_package"
26+
]
27+
},
28+
"DeleteRepository": {
29+
"methods": [
30+
"delete_repository"
31+
]
32+
},
33+
"DeleteTag": {
34+
"methods": [
35+
"delete_tag"
36+
]
37+
},
38+
"DeleteVersion": {
39+
"methods": [
40+
"delete_version"
41+
]
42+
},
43+
"GetFile": {
44+
"methods": [
45+
"get_file"
46+
]
47+
},
48+
"GetIamPolicy": {
49+
"methods": [
50+
"get_iam_policy"
51+
]
52+
},
53+
"GetPackage": {
54+
"methods": [
55+
"get_package"
56+
]
57+
},
58+
"GetRepository": {
59+
"methods": [
60+
"get_repository"
61+
]
62+
},
63+
"GetTag": {
64+
"methods": [
65+
"get_tag"
66+
]
67+
},
68+
"GetVersion": {
69+
"methods": [
70+
"get_version"
71+
]
72+
},
73+
"ListFiles": {
74+
"methods": [
75+
"list_files"
76+
]
77+
},
78+
"ListPackages": {
79+
"methods": [
80+
"list_packages"
81+
]
82+
},
83+
"ListRepositories": {
84+
"methods": [
85+
"list_repositories"
86+
]
87+
},
88+
"ListTags": {
89+
"methods": [
90+
"list_tags"
91+
]
92+
},
93+
"ListVersions": {
94+
"methods": [
95+
"list_versions"
96+
]
97+
},
98+
"SetIamPolicy": {
99+
"methods": [
100+
"set_iam_policy"
101+
]
102+
},
103+
"TestIamPermissions": {
104+
"methods": [
105+
"test_iam_permissions"
106+
]
107+
},
108+
"UpdateRepository": {
109+
"methods": [
110+
"update_repository"
111+
]
112+
},
113+
"UpdateTag": {
114+
"methods": [
115+
"update_tag"
116+
]
117+
}
118+
}
119+
},
120+
"grpc-async": {
121+
"libraryClient": "ArtifactRegistryAsyncClient",
122+
"rpcs": {
123+
"CreateRepository": {
124+
"methods": [
125+
"create_repository"
126+
]
127+
},
128+
"CreateTag": {
129+
"methods": [
130+
"create_tag"
131+
]
132+
},
133+
"DeletePackage": {
134+
"methods": [
135+
"delete_package"
136+
]
137+
},
138+
"DeleteRepository": {
139+
"methods": [
140+
"delete_repository"
141+
]
142+
},
143+
"DeleteTag": {
144+
"methods": [
145+
"delete_tag"
146+
]
147+
},
148+
"DeleteVersion": {
149+
"methods": [
150+
"delete_version"
151+
]
152+
},
153+
"GetFile": {
154+
"methods": [
155+
"get_file"
156+
]
157+
},
158+
"GetIamPolicy": {
159+
"methods": [
160+
"get_iam_policy"
161+
]
162+
},
163+
"GetPackage": {
164+
"methods": [
165+
"get_package"
166+
]
167+
},
168+
"GetRepository": {
169+
"methods": [
170+
"get_repository"
171+
]
172+
},
173+
"GetTag": {
174+
"methods": [
175+
"get_tag"
176+
]
177+
},
178+
"GetVersion": {
179+
"methods": [
180+
"get_version"
181+
]
182+
},
183+
"ListFiles": {
184+
"methods": [
185+
"list_files"
186+
]
187+
},
188+
"ListPackages": {
189+
"methods": [
190+
"list_packages"
191+
]
192+
},
193+
"ListRepositories": {
194+
"methods": [
195+
"list_repositories"
196+
]
197+
},
198+
"ListTags": {
199+
"methods": [
200+
"list_tags"
201+
]
202+
},
203+
"ListVersions": {
204+
"methods": [
205+
"list_versions"
206+
]
207+
},
208+
"SetIamPolicy": {
209+
"methods": [
210+
"set_iam_policy"
211+
]
212+
},
213+
"TestIamPermissions": {
214+
"methods": [
215+
"test_iam_permissions"
216+
]
217+
},
218+
"UpdateRepository": {
219+
"methods": [
220+
"update_repository"
221+
]
222+
},
223+
"UpdateTag": {
224+
"methods": [
225+
"update_tag"
226+
]
227+
}
228+
}
229+
}
230+
}
231+
}
232+
}
233+
}

google/cloud/artifactregistry_v1beta2/services/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

google/cloud/artifactregistry_v1beta2/services/artifact_registry/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +13,6 @@
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
1615
#
17-
1816
from .client import ArtifactRegistryClient
1917
from .async_client import ArtifactRegistryAsyncClient
2018

0 commit comments

Comments
 (0)