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

Commit

Permalink
feat: add format-specific resources MavenArtifact, NpmPackage, `K…
Browse files Browse the repository at this point in the history
…fpArtifact` and `PythonPackage` (#220)

* feat: add format-specific resources `MavenArtifact`, `NpmPackage`, `KfpArtifact` and `PythonPackage`
feat: add `order_by` to `ListDockerImages`
feat: add an API to get and update VPCSC config
feat: add `BatchDeleteVersionMetadata` to return version that failed to delete
fix!: make `GetFileRequest.name` and `ListFilesRequest.parent` required
fix: make `Package` a resource
fix: deprecate `REDIRECTION_FROM_GCR_IO_FINALIZED`

PiperOrigin-RevId: 506935629

Source-Link: googleapis/googleapis@c807b74

Source-Link: googleapis/googleapis-gen@d43260c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDQzMjYwY2FiZWVjZWViMDZmYjlmMjc1ZDkwNzQ1NGE2Nzk0NTQ4NiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Feb 4, 2023
1 parent 43454ca commit bed057d
Show file tree
Hide file tree
Showing 37 changed files with 11,738 additions and 3,010 deletions.
34 changes: 34 additions & 0 deletions google/cloud/artifactregistry/__init__.py
Expand Up @@ -35,8 +35,20 @@
from google.cloud.artifactregistry_v1.types.artifact import (
DockerImage,
GetDockerImageRequest,
GetMavenArtifactRequest,
GetNpmPackageRequest,
GetPythonPackageRequest,
ListDockerImagesRequest,
ListDockerImagesResponse,
ListMavenArtifactsRequest,
ListMavenArtifactsResponse,
ListNpmPackagesRequest,
ListNpmPackagesResponse,
ListPythonPackagesRequest,
ListPythonPackagesResponse,
MavenArtifact,
NpmPackage,
PythonPackage,
)
from google.cloud.artifactregistry_v1.types.file import (
File,
Expand Down Expand Up @@ -77,13 +89,19 @@
UpdateTagRequest,
)
from google.cloud.artifactregistry_v1.types.version import (
BatchDeleteVersionsMetadata,
DeleteVersionRequest,
GetVersionRequest,
ListVersionsRequest,
ListVersionsResponse,
Version,
VersionView,
)
from google.cloud.artifactregistry_v1.types.vpcsc_config import (
GetVPCSCConfigRequest,
UpdateVPCSCConfigRequest,
VPCSCConfig,
)
from google.cloud.artifactregistry_v1.types.yum_artifact import (
ImportYumArtifactsErrorInfo,
ImportYumArtifactsGcsSource,
Expand All @@ -104,8 +122,20 @@
"ImportAptArtifactsResponse",
"DockerImage",
"GetDockerImageRequest",
"GetMavenArtifactRequest",
"GetNpmPackageRequest",
"GetPythonPackageRequest",
"ListDockerImagesRequest",
"ListDockerImagesResponse",
"ListMavenArtifactsRequest",
"ListMavenArtifactsResponse",
"ListNpmPackagesRequest",
"ListNpmPackagesResponse",
"ListPythonPackagesRequest",
"ListPythonPackagesResponse",
"MavenArtifact",
"NpmPackage",
"PythonPackage",
"File",
"GetFileRequest",
"Hash",
Expand Down Expand Up @@ -134,12 +164,16 @@
"ListTagsResponse",
"Tag",
"UpdateTagRequest",
"BatchDeleteVersionsMetadata",
"DeleteVersionRequest",
"GetVersionRequest",
"ListVersionsRequest",
"ListVersionsResponse",
"Version",
"VersionView",
"GetVPCSCConfigRequest",
"UpdateVPCSCConfigRequest",
"VPCSCConfig",
"ImportYumArtifactsErrorInfo",
"ImportYumArtifactsGcsSource",
"ImportYumArtifactsMetadata",
Expand Down
34 changes: 34 additions & 0 deletions google/cloud/artifactregistry_v1/__init__.py
Expand Up @@ -33,8 +33,20 @@
from .types.artifact import (
DockerImage,
GetDockerImageRequest,
GetMavenArtifactRequest,
GetNpmPackageRequest,
GetPythonPackageRequest,
ListDockerImagesRequest,
ListDockerImagesResponse,
ListMavenArtifactsRequest,
ListMavenArtifactsResponse,
ListNpmPackagesRequest,
ListNpmPackagesResponse,
ListPythonPackagesRequest,
ListPythonPackagesResponse,
MavenArtifact,
NpmPackage,
PythonPackage,
)
from .types.file import File, GetFileRequest, Hash, ListFilesRequest, ListFilesResponse
from .types.package import (
Expand Down Expand Up @@ -69,13 +81,19 @@
UpdateTagRequest,
)
from .types.version import (
BatchDeleteVersionsMetadata,
DeleteVersionRequest,
GetVersionRequest,
ListVersionsRequest,
ListVersionsResponse,
Version,
VersionView,
)
from .types.vpcsc_config import (
GetVPCSCConfigRequest,
UpdateVPCSCConfigRequest,
VPCSCConfig,
)
from .types.yum_artifact import (
ImportYumArtifactsErrorInfo,
ImportYumArtifactsGcsSource,
Expand All @@ -89,6 +107,7 @@
"ArtifactRegistryAsyncClient",
"AptArtifact",
"ArtifactRegistryClient",
"BatchDeleteVersionsMetadata",
"CreateRepositoryRequest",
"CreateTagRequest",
"DeletePackageRequest",
Expand All @@ -99,10 +118,14 @@
"File",
"GetDockerImageRequest",
"GetFileRequest",
"GetMavenArtifactRequest",
"GetNpmPackageRequest",
"GetPackageRequest",
"GetProjectSettingsRequest",
"GetPythonPackageRequest",
"GetRepositoryRequest",
"GetTagRequest",
"GetVPCSCConfigRequest",
"GetVersionRequest",
"Hash",
"ImportAptArtifactsErrorInfo",
Expand All @@ -119,22 +142,33 @@
"ListDockerImagesResponse",
"ListFilesRequest",
"ListFilesResponse",
"ListMavenArtifactsRequest",
"ListMavenArtifactsResponse",
"ListNpmPackagesRequest",
"ListNpmPackagesResponse",
"ListPackagesRequest",
"ListPackagesResponse",
"ListPythonPackagesRequest",
"ListPythonPackagesResponse",
"ListRepositoriesRequest",
"ListRepositoriesResponse",
"ListTagsRequest",
"ListTagsResponse",
"ListVersionsRequest",
"ListVersionsResponse",
"MavenArtifact",
"NpmPackage",
"OperationMetadata",
"Package",
"ProjectSettings",
"PythonPackage",
"Repository",
"Tag",
"UpdateProjectSettingsRequest",
"UpdateRepositoryRequest",
"UpdateTagRequest",
"UpdateVPCSCConfigRequest",
"VPCSCConfig",
"Version",
"VersionView",
"YumArtifact",
Expand Down
80 changes: 80 additions & 0 deletions google/cloud/artifactregistry_v1/gapic_metadata.json
Expand Up @@ -55,6 +55,16 @@
"get_iam_policy"
]
},
"GetMavenArtifact": {
"methods": [
"get_maven_artifact"
]
},
"GetNpmPackage": {
"methods": [
"get_npm_package"
]
},
"GetPackage": {
"methods": [
"get_package"
Expand All @@ -65,6 +75,11 @@
"get_project_settings"
]
},
"GetPythonPackage": {
"methods": [
"get_python_package"
]
},
"GetRepository": {
"methods": [
"get_repository"
Expand All @@ -75,6 +90,11 @@
"get_tag"
]
},
"GetVPCSCConfig": {
"methods": [
"get_vpcsc_config"
]
},
"GetVersion": {
"methods": [
"get_version"
Expand All @@ -100,11 +120,26 @@
"list_files"
]
},
"ListMavenArtifacts": {
"methods": [
"list_maven_artifacts"
]
},
"ListNpmPackages": {
"methods": [
"list_npm_packages"
]
},
"ListPackages": {
"methods": [
"list_packages"
]
},
"ListPythonPackages": {
"methods": [
"list_python_packages"
]
},
"ListRepositories": {
"methods": [
"list_repositories"
Expand Down Expand Up @@ -144,6 +179,11 @@
"methods": [
"update_tag"
]
},
"UpdateVPCSCConfig": {
"methods": [
"update_vpcsc_config"
]
}
}
},
Expand Down Expand Up @@ -195,6 +235,16 @@
"get_iam_policy"
]
},
"GetMavenArtifact": {
"methods": [
"get_maven_artifact"
]
},
"GetNpmPackage": {
"methods": [
"get_npm_package"
]
},
"GetPackage": {
"methods": [
"get_package"
Expand All @@ -205,6 +255,11 @@
"get_project_settings"
]
},
"GetPythonPackage": {
"methods": [
"get_python_package"
]
},
"GetRepository": {
"methods": [
"get_repository"
Expand All @@ -215,6 +270,11 @@
"get_tag"
]
},
"GetVPCSCConfig": {
"methods": [
"get_vpcsc_config"
]
},
"GetVersion": {
"methods": [
"get_version"
Expand All @@ -240,11 +300,26 @@
"list_files"
]
},
"ListMavenArtifacts": {
"methods": [
"list_maven_artifacts"
]
},
"ListNpmPackages": {
"methods": [
"list_npm_packages"
]
},
"ListPackages": {
"methods": [
"list_packages"
]
},
"ListPythonPackages": {
"methods": [
"list_python_packages"
]
},
"ListRepositories": {
"methods": [
"list_repositories"
Expand Down Expand Up @@ -284,6 +359,11 @@
"methods": [
"update_tag"
]
},
"UpdateVPCSCConfig": {
"methods": [
"update_vpcsc_config"
]
}
}
}
Expand Down

0 comments on commit bed057d

Please sign in to comment.