diff --git a/discovery/artifactregistry-v1beta1.json b/discovery/artifactregistry-v1beta1.json index 0bf7be94e89..96ad66451df 100644 --- a/discovery/artifactregistry-v1beta1.json +++ b/discovery/artifactregistry-v1beta1.json @@ -384,7 +384,7 @@ ], "parameters": { "name": { - "description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.", + "description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", "required": true, @@ -936,7 +936,7 @@ } } }, - "revision": "20240122", + "revision": "20240501", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "Binding": { @@ -1008,7 +1008,7 @@ "type": "array" }, "name": { - "description": "The name of the file, for example: \"projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt\". If the file ID part contains slashes, they are escaped.", + "description": "The name of the file, for example: `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes, they are escaped.", "type": "string" }, "owner": { @@ -1331,9 +1331,14 @@ "type": "object" }, "name": { - "description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.", + "description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.", "type": "string" }, + "satisfiesPzi": { + "description": "Output only. If set, the repository satisfies physical zone isolation.", + "readOnly": true, + "type": "boolean" + }, "satisfiesPzs": { "description": "Output only. If set, the repository satisfies physical zone separation.", "readOnly": true, diff --git a/discovery/artifactregistry-v1beta2.json b/discovery/artifactregistry-v1beta2.json index 98f6471f2a7..b2d4fd958e4 100644 --- a/discovery/artifactregistry-v1beta2.json +++ b/discovery/artifactregistry-v1beta2.json @@ -115,38 +115,6 @@ }, "protocol": "rest", "resources": { - "media": { - "methods": { - "download": { - "description": "Download a file.", - "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}:download", - "httpMethod": "GET", - "id": "artifactregistry.media.download", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the file to download.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/files/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta2/{+name}:download", - "response": { - "$ref": "DownloadFileResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud-platform.read-only" - ], - "supportsMediaDownload": true, - "useMediaDownloadService": true - } - } - }, "projects": { "methods": { "getProjectSettings": { @@ -478,7 +446,7 @@ ], "parameters": { "name": { - "description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.", + "description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", "required": true, @@ -635,6 +603,34 @@ }, "files": { "methods": { + "download": { + "description": "Download a file.", + "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}:download", + "httpMethod": "GET", + "id": "artifactregistry.projects.locations.repositories.files.download", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the file to download.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/files/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta2/{+name}:download", + "response": { + "$ref": "DownloadFileResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ], + "supportsMediaDownload": true, + "useMediaDownloadService": true + }, "get": { "description": "Gets a file.", "flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}", @@ -1208,7 +1204,7 @@ } } }, - "revision": "20240308", + "revision": "20240501", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -1334,7 +1330,7 @@ "type": "array" }, "name": { - "description": "The name of the file, for example: \"projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt\". If the file ID part contains slashes, they are escaped.", + "description": "The name of the file, for example: `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes, they are escaped.", "type": "string" }, "owner": { @@ -1877,9 +1873,14 @@ "description": "Maven repository config contains repository level configuration for the repositories of maven type." }, "name": { - "description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`.", + "description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.", "type": "string" }, + "satisfiesPzi": { + "description": "Output only. If set, the repository satisfies physical zone isolation.", + "readOnly": true, + "type": "boolean" + }, "satisfiesPzs": { "description": "Output only. If set, the repository satisfies physical zone separation.", "readOnly": true, diff --git a/src/apis/artifactregistry/v1beta1.ts b/src/apis/artifactregistry/v1beta1.ts index 241f3b14b7f..b7bcf4d429b 100644 --- a/src/apis/artifactregistry/v1beta1.ts +++ b/src/apis/artifactregistry/v1beta1.ts @@ -179,7 +179,7 @@ export namespace artifactregistry_v1beta1 { */ hashes?: Schema$Hash[]; /** - * The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes, they are escaped. + * The name of the file, for example: `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes, they are escaped. */ name?: string | null; /** @@ -399,9 +399,13 @@ export namespace artifactregistry_v1beta1 { */ labels?: {[key: string]: string} | null; /** - * The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. + * The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique. */ name?: string | null; + /** + * Output only. If set, the repository satisfies physical zone isolation. + */ + satisfiesPzi?: boolean | null; /** * Output only. If set, the repository satisfies physical zone separation. */ @@ -1622,7 +1626,7 @@ export namespace artifactregistry_v1beta1 { export interface Params$Resource$Projects$Locations$Repositories$Patch extends StandardParameters { /** - * The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. + * The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique. */ name?: string; /**