Skip to content
Permalink
Browse files
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>
  • Loading branch information
4 people committed May 20, 2021
1 parent b1e4de0 commit fade594980fa8f389abc0e3f84e34cb1bcda1f1e
Show file tree
Hide file tree
Showing 28 changed files with 1,367 additions and 1,195 deletions.
@@ -5,7 +5,6 @@ ArtifactRegistry
:members:
:inherited-members:


.. automodule:: google.cloud.artifactregistry_v1beta2.services.artifact_registry.pagers
:members:
:inherited-members:
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,12 +14,13 @@
# limitations under the License.
#

from google.cloud.artifactregistry_v1beta2.services.artifact_registry.async_client import (
ArtifactRegistryAsyncClient,
)
from google.cloud.artifactregistry_v1beta2.services.artifact_registry.client import (
ArtifactRegistryClient,
)
from google.cloud.artifactregistry_v1beta2.services.artifact_registry.async_client import (
ArtifactRegistryAsyncClient,
)

from google.cloud.artifactregistry_v1beta2.types.file import File
from google.cloud.artifactregistry_v1beta2.types.file import GetFileRequest
from google.cloud.artifactregistry_v1beta2.types.file import Hash
@@ -64,37 +64,37 @@
from google.cloud.artifactregistry_v1beta2.types.version import VersionView

__all__ = (
"ArtifactRegistryAsyncClient",
"ArtifactRegistryClient",
"CreateRepositoryRequest",
"CreateTagRequest",
"DeletePackageRequest",
"DeleteRepositoryRequest",
"DeleteTagRequest",
"DeleteVersionRequest",
"ArtifactRegistryAsyncClient",
"File",
"GetFileRequest",
"GetPackageRequest",
"GetRepositoryRequest",
"GetTagRequest",
"GetVersionRequest",
"Hash",
"ListFilesRequest",
"ListFilesResponse",
"DeletePackageRequest",
"GetPackageRequest",
"ListPackagesRequest",
"ListPackagesResponse",
"Package",
"CreateRepositoryRequest",
"DeleteRepositoryRequest",
"GetRepositoryRequest",
"ListRepositoriesRequest",
"ListRepositoriesResponse",
"Repository",
"UpdateRepositoryRequest",
"OperationMetadata",
"CreateTagRequest",
"DeleteTagRequest",
"GetTagRequest",
"ListTagsRequest",
"ListTagsResponse",
"ListVersionsRequest",
"ListVersionsResponse",
"OperationMetadata",
"Package",
"Repository",
"Tag",
"UpdateRepositoryRequest",
"UpdateTagRequest",
"DeleteVersionRequest",
"GetVersionRequest",
"ListVersionsRequest",
"ListVersionsResponse",
"Version",
"VersionView",
)
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,6 +15,8 @@
#

from .services.artifact_registry import ArtifactRegistryClient
from .services.artifact_registry import ArtifactRegistryAsyncClient

from .types.file import File
from .types.file import GetFileRequest
from .types.file import Hash
@@ -48,8 +49,9 @@
from .types.version import Version
from .types.version import VersionView


__all__ = (
"ArtifactRegistryAsyncClient",
"ArtifactRegistryClient",
"CreateRepositoryRequest",
"CreateTagRequest",
"DeletePackageRequest",
@@ -81,5 +83,4 @@
"UpdateTagRequest",
"Version",
"VersionView",
"ArtifactRegistryClient",
)
@@ -0,0 +1,233 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.artifactregistry_v1beta2",
"protoPackage": "google.devtools.artifactregistry.v1beta2",
"schema": "1.0",
"services": {
"ArtifactRegistry": {
"clients": {
"grpc": {
"libraryClient": "ArtifactRegistryClient",
"rpcs": {
"CreateRepository": {
"methods": [
"create_repository"
]
},
"CreateTag": {
"methods": [
"create_tag"
]
},
"DeletePackage": {
"methods": [
"delete_package"
]
},
"DeleteRepository": {
"methods": [
"delete_repository"
]
},
"DeleteTag": {
"methods": [
"delete_tag"
]
},
"DeleteVersion": {
"methods": [
"delete_version"
]
},
"GetFile": {
"methods": [
"get_file"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
]
},
"GetPackage": {
"methods": [
"get_package"
]
},
"GetRepository": {
"methods": [
"get_repository"
]
},
"GetTag": {
"methods": [
"get_tag"
]
},
"GetVersion": {
"methods": [
"get_version"
]
},
"ListFiles": {
"methods": [
"list_files"
]
},
"ListPackages": {
"methods": [
"list_packages"
]
},
"ListRepositories": {
"methods": [
"list_repositories"
]
},
"ListTags": {
"methods": [
"list_tags"
]
},
"ListVersions": {
"methods": [
"list_versions"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"TestIamPermissions": {
"methods": [
"test_iam_permissions"
]
},
"UpdateRepository": {
"methods": [
"update_repository"
]
},
"UpdateTag": {
"methods": [
"update_tag"
]
}
}
},
"grpc-async": {
"libraryClient": "ArtifactRegistryAsyncClient",
"rpcs": {
"CreateRepository": {
"methods": [
"create_repository"
]
},
"CreateTag": {
"methods": [
"create_tag"
]
},
"DeletePackage": {
"methods": [
"delete_package"
]
},
"DeleteRepository": {
"methods": [
"delete_repository"
]
},
"DeleteTag": {
"methods": [
"delete_tag"
]
},
"DeleteVersion": {
"methods": [
"delete_version"
]
},
"GetFile": {
"methods": [
"get_file"
]
},
"GetIamPolicy": {
"methods": [
"get_iam_policy"
]
},
"GetPackage": {
"methods": [
"get_package"
]
},
"GetRepository": {
"methods": [
"get_repository"
]
},
"GetTag": {
"methods": [
"get_tag"
]
},
"GetVersion": {
"methods": [
"get_version"
]
},
"ListFiles": {
"methods": [
"list_files"
]
},
"ListPackages": {
"methods": [
"list_packages"
]
},
"ListRepositories": {
"methods": [
"list_repositories"
]
},
"ListTags": {
"methods": [
"list_tags"
]
},
"ListVersions": {
"methods": [
"list_versions"
]
},
"SetIamPolicy": {
"methods": [
"set_iam_policy"
]
},
"TestIamPermissions": {
"methods": [
"test_iam_permissions"
]
},
"UpdateRepository": {
"methods": [
"update_repository"
]
},
"UpdateTag": {
"methods": [
"update_tag"
]
}
}
}
}
}
}
}
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import ArtifactRegistryClient
from .async_client import ArtifactRegistryAsyncClient

0 comments on commit fade594

Please sign in to comment.