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

feat: support self-signed JWT flow for service accounts #25

Merged
merged 6 commits into from May 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/artifactregistry_v1beta2/artifact_registry.rst
Expand Up @@ -5,7 +5,6 @@ ArtifactRegistry
:members:
:inherited-members:


.. automodule:: google.cloud.artifactregistry_v1beta2.services.artifact_registry.pagers
:members:
:inherited-members:
42 changes: 21 additions & 21 deletions google/cloud/artifactregistry/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -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
Expand Down Expand Up @@ -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",
)
7 changes: 4 additions & 3 deletions google/cloud/artifactregistry_v1beta2/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -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
Expand Down Expand Up @@ -48,8 +49,9 @@
from .types.version import Version
from .types.version import VersionView


__all__ = (
"ArtifactRegistryAsyncClient",
"ArtifactRegistryClient",
"CreateRepositoryRequest",
"CreateTagRequest",
"DeletePackageRequest",
Expand Down Expand Up @@ -81,5 +83,4 @@
"UpdateTagRequest",
"Version",
"VersionView",
"ArtifactRegistryClient",
)
233 changes: 233 additions & 0 deletions google/cloud/artifactregistry_v1beta2/gapic_metadata.json
@@ -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 change: 0 additions & 1 deletion google/cloud/artifactregistry_v1beta2/services/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

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

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -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

Expand Down