|
115 | 115 | },
|
116 | 116 | "protocol": "rest",
|
117 | 117 | "resources": {
|
| 118 | + "media": { |
| 119 | + "methods": { |
| 120 | + "download": { |
| 121 | + "description": "Download a file.", |
| 122 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}:download", |
| 123 | + "httpMethod": "GET", |
| 124 | + "id": "artifactregistry.media.download", |
| 125 | + "parameterOrder": [ |
| 126 | + "name" |
| 127 | + ], |
| 128 | + "parameters": { |
| 129 | + "name": { |
| 130 | + "description": "Required. The name of the file to download.", |
| 131 | + "location": "path", |
| 132 | + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/files/[^/]+$", |
| 133 | + "required": true, |
| 134 | + "type": "string" |
| 135 | + } |
| 136 | + }, |
| 137 | + "path": "v1/{+name}:download", |
| 138 | + "response": { |
| 139 | + "$ref": "DownloadFileResponse" |
| 140 | + }, |
| 141 | + "scopes": [ |
| 142 | + "https://www.googleapis.com/auth/cloud-platform", |
| 143 | + "https://www.googleapis.com/auth/cloud-platform.read-only" |
| 144 | + ], |
| 145 | + "supportsMediaDownload": true, |
| 146 | + "useMediaDownloadService": true |
| 147 | + } |
| 148 | + } |
| 149 | + }, |
118 | 150 | "projects": {
|
119 | 151 | "methods": {
|
120 | 152 | "getProjectSettings": {
|
|
1193 | 1225 | "https://www.googleapis.com/auth/cloud-platform",
|
1194 | 1226 | "https://www.googleapis.com/auth/cloud-platform.read-only"
|
1195 | 1227 | ]
|
| 1228 | + }, |
| 1229 | + "patch": { |
| 1230 | + "description": "Updates a package.", |
| 1231 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}", |
| 1232 | + "httpMethod": "PATCH", |
| 1233 | + "id": "artifactregistry.projects.locations.repositories.packages.patch", |
| 1234 | + "parameterOrder": [ |
| 1235 | + "name" |
| 1236 | + ], |
| 1237 | + "parameters": { |
| 1238 | + "name": { |
| 1239 | + "description": "The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. If the package ID part contains slashes, the slashes are escaped.", |
| 1240 | + "location": "path", |
| 1241 | + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+$", |
| 1242 | + "required": true, |
| 1243 | + "type": "string" |
| 1244 | + }, |
| 1245 | + "updateMask": { |
| 1246 | + "description": "The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask", |
| 1247 | + "format": "google-fieldmask", |
| 1248 | + "location": "query", |
| 1249 | + "type": "string" |
| 1250 | + } |
| 1251 | + }, |
| 1252 | + "path": "v1/{+name}", |
| 1253 | + "request": { |
| 1254 | + "$ref": "Package" |
| 1255 | + }, |
| 1256 | + "response": { |
| 1257 | + "$ref": "Package" |
| 1258 | + }, |
| 1259 | + "scopes": [ |
| 1260 | + "https://www.googleapis.com/auth/cloud-platform" |
| 1261 | + ] |
1196 | 1262 | }
|
1197 | 1263 | },
|
1198 | 1264 | "resources": {
|
|
1668 | 1734 | }
|
1669 | 1735 | }
|
1670 | 1736 | },
|
1671 |
| - "revision": "20240213", |
| 1737 | + "revision": "20240308", |
1672 | 1738 | "rootUrl": "https://artifactregistry.googleapis.com/",
|
1673 | 1739 | "schemas": {
|
1674 | 1740 | "AptArtifact": {
|
|
1723 | 1789 | "description": "Configuration for an Apt remote repository.",
|
1724 | 1790 | "id": "AptRepository",
|
1725 | 1791 | "properties": {
|
| 1792 | + "customRepository": { |
| 1793 | + "$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository", |
| 1794 | + "description": "Customer-specified remote repository." |
| 1795 | + }, |
1726 | 1796 | "publicRepository": {
|
1727 | 1797 | "$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository",
|
1728 | 1798 | "description": "One of the publicly available Apt repositories supported by Artifact Registry."
|
|
1941 | 2011 | "description": "Configuration for a Docker remote repository.",
|
1942 | 2012 | "id": "DockerRepository",
|
1943 | 2013 | "properties": {
|
| 2014 | + "customRepository": { |
| 2015 | + "$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository", |
| 2016 | + "description": "Customer-specified remote repository." |
| 2017 | + }, |
1944 | 2018 | "publicRepository": {
|
1945 | 2019 | "description": "One of the publicly available Docker repositories supported by Artifact Registry.",
|
1946 | 2020 | "enum": [
|
|
1967 | 2041 | },
|
1968 | 2042 | "type": "object"
|
1969 | 2043 | },
|
| 2044 | + "DownloadFileResponse": { |
| 2045 | + "description": "The response to download a file.", |
| 2046 | + "id": "DownloadFileResponse", |
| 2047 | + "properties": {}, |
| 2048 | + "type": "object" |
| 2049 | + }, |
1970 | 2050 | "Empty": {
|
1971 | 2051 | "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
|
1972 | 2052 | "id": "Empty",
|
|
2090 | 2170 | },
|
2091 | 2171 | "type": "object"
|
2092 | 2172 | },
|
| 2173 | + "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository": { |
| 2174 | + "description": "Customer-specified publicly available remote repository.", |
| 2175 | + "id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository", |
| 2176 | + "properties": { |
| 2177 | + "uri": { |
| 2178 | + "description": "An http/https uri reference to the upstream remote repository, for ex: \"https://my.apt.registry/\".", |
| 2179 | + "type": "string" |
| 2180 | + } |
| 2181 | + }, |
| 2182 | + "type": "object" |
| 2183 | + }, |
2093 | 2184 | "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository": {
|
2094 | 2185 | "description": "Publicly available Apt repositories constructed from a common repository base and a custom repository path.",
|
2095 | 2186 | "id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository",
|
|
2117 | 2208 | },
|
2118 | 2209 | "type": "object"
|
2119 | 2210 | },
|
| 2211 | + "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository": { |
| 2212 | + "description": "Customer-specified publicly available remote repository.", |
| 2213 | + "id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigDockerRepositoryCustomRepository", |
| 2214 | + "properties": { |
| 2215 | + "uri": { |
| 2216 | + "description": "An http/https uri reference to the custom remote repository, for ex: \"https://registry-1.docker.io\".", |
| 2217 | + "type": "string" |
| 2218 | + } |
| 2219 | + }, |
| 2220 | + "type": "object" |
| 2221 | + }, |
| 2222 | + "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository": { |
| 2223 | + "description": "Customer-specified publicly available remote repository.", |
| 2224 | + "id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository", |
| 2225 | + "properties": { |
| 2226 | + "uri": { |
| 2227 | + "description": "An http/https uri reference to the upstream remote repository, for ex: \"https://my.maven.registry/\".", |
| 2228 | + "type": "string" |
| 2229 | + } |
| 2230 | + }, |
| 2231 | + "type": "object" |
| 2232 | + }, |
| 2233 | + "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository": { |
| 2234 | + "description": "Customer-specified publicly available remote repository.", |
| 2235 | + "id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository", |
| 2236 | + "properties": { |
| 2237 | + "uri": { |
| 2238 | + "description": "An http/https uri reference to the upstream remote repository, for ex: \"https://my.npm.registry/\".", |
| 2239 | + "type": "string" |
| 2240 | + } |
| 2241 | + }, |
| 2242 | + "type": "object" |
| 2243 | + }, |
| 2244 | + "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository": { |
| 2245 | + "description": "Customer-specified publicly available remote repository.", |
| 2246 | + "id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository", |
| 2247 | + "properties": { |
| 2248 | + "uri": { |
| 2249 | + "description": "An http/https uri reference to the upstream remote repository, for ex: \"https://my.python.registry/\".", |
| 2250 | + "type": "string" |
| 2251 | + } |
| 2252 | + }, |
| 2253 | + "type": "object" |
| 2254 | + }, |
| 2255 | + "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository": { |
| 2256 | + "description": "Customer-specified publicly available remote repository.", |
| 2257 | + "id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository", |
| 2258 | + "properties": { |
| 2259 | + "uri": { |
| 2260 | + "description": "An http/https uri reference to the upstream remote repository, for ex: \"https://my.yum.registry/\".", |
| 2261 | + "type": "string" |
| 2262 | + } |
| 2263 | + }, |
| 2264 | + "type": "object" |
| 2265 | + }, |
2120 | 2266 | "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository": {
|
2121 | 2267 | "description": "Publicly available Yum repositories constructed from a common repository base and a custom repository path.",
|
2122 | 2268 | "id": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository",
|
|
2662 | 2808 | "description": "Configuration for a Maven remote repository.",
|
2663 | 2809 | "id": "MavenRepository",
|
2664 | 2810 | "properties": {
|
| 2811 | + "customRepository": { |
| 2812 | + "$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigMavenRepositoryCustomRepository", |
| 2813 | + "description": "Customer-specified remote repository." |
| 2814 | + }, |
2665 | 2815 | "publicRepository": {
|
2666 | 2816 | "description": "One of the publicly available Maven repositories supported by Artifact Registry.",
|
2667 | 2817 | "enum": [
|
|
2744 | 2894 | "description": "Configuration for a Npm remote repository.",
|
2745 | 2895 | "id": "NpmRepository",
|
2746 | 2896 | "properties": {
|
| 2897 | + "customRepository": { |
| 2898 | + "$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigNpmRepositoryCustomRepository", |
| 2899 | + "description": "Customer-specified remote repository." |
| 2900 | + }, |
2747 | 2901 | "publicRepository": {
|
2748 | 2902 | "description": "One of the publicly available Npm repositories supported by Artifact Registry.",
|
2749 | 2903 | "enum": [
|
|
2804 | 2958 | "description": "Packages are named collections of versions.",
|
2805 | 2959 | "id": "Package",
|
2806 | 2960 | "properties": {
|
| 2961 | + "annotations": { |
| 2962 | + "additionalProperties": { |
| 2963 | + "type": "string" |
| 2964 | + }, |
| 2965 | + "description": "Optional. Client specified annotations.", |
| 2966 | + "type": "object" |
| 2967 | + }, |
2807 | 2968 | "createTime": {
|
2808 | 2969 | "description": "The time when the package was created.",
|
2809 | 2970 | "format": "google-datetime",
|
|
2859 | 3020 | "REDIRECTION_STATE_UNSPECIFIED",
|
2860 | 3021 | "REDIRECTION_FROM_GCR_IO_DISABLED",
|
2861 | 3022 | "REDIRECTION_FROM_GCR_IO_ENABLED",
|
2862 |
| - "REDIRECTION_FROM_GCR_IO_FINALIZED" |
| 3023 | + "REDIRECTION_FROM_GCR_IO_FINALIZED", |
| 3024 | + "REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING" |
2863 | 3025 | ],
|
2864 | 3026 | "enumDeprecated": [
|
2865 | 3027 | false,
|
2866 | 3028 | false,
|
2867 | 3029 | false,
|
2868 |
| - true |
| 3030 | + true, |
| 3031 | + false |
2869 | 3032 | ],
|
2870 | 3033 | "enumDescriptions": [
|
2871 | 3034 | "No redirection status has been set.",
|
2872 | 3035 | "Redirection is disabled.",
|
2873 | 3036 | "Redirection is enabled.",
|
2874 |
| - "Redirection is enabled, and has been finalized so cannot be reverted." |
| 3037 | + "Redirection is enabled, and has been finalized so cannot be reverted.", |
| 3038 | + "Redirection is enabled and missing images are copied from GCR" |
2875 | 3039 | ],
|
2876 | 3040 | "type": "string"
|
2877 | 3041 | },
|
|
2921 | 3085 | "description": "Configuration for a Python remote repository.",
|
2922 | 3086 | "id": "PythonRepository",
|
2923 | 3087 | "properties": {
|
| 3088 | + "customRepository": { |
| 3089 | + "$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigPythonRepositoryCustomRepository", |
| 3090 | + "description": "Customer-specified remote repository." |
| 3091 | + }, |
2924 | 3092 | "publicRepository": {
|
2925 | 3093 | "description": "One of the publicly available Python repositories supported by Artifact Registry.",
|
2926 | 3094 | "enum": [
|
|
2948 | 3116 | "description": "The description of the remote source.",
|
2949 | 3117 | "type": "string"
|
2950 | 3118 | },
|
| 3119 | + "disableUpstreamValidation": { |
| 3120 | + "description": "Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.", |
| 3121 | + "type": "boolean" |
| 3122 | + }, |
2951 | 3123 | "dockerRepository": {
|
2952 | 3124 | "$ref": "DockerRepository",
|
2953 | 3125 | "description": "Specific settings for a Docker remote repository."
|
|
3516 | 3688 | "description": "Configuration for a Yum remote repository.",
|
3517 | 3689 | "id": "YumRepository",
|
3518 | 3690 | "properties": {
|
| 3691 | + "customRepository": { |
| 3692 | + "$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository", |
| 3693 | + "description": "Customer-specified remote repository." |
| 3694 | + }, |
3519 | 3695 | "publicRepository": {
|
3520 | 3696 | "$ref": "GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository",
|
3521 | 3697 | "description": "One of the publicly available Yum repositories supported by Artifact Registry."
|
|
0 commit comments