Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2570)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored May 6, 2024
1 parent d922e3b commit f2da582
Show file tree
Hide file tree
Showing 6 changed files with 357 additions and 359 deletions.
75 changes: 38 additions & 37 deletions artifactregistry/v1/artifactregistry-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,38 +115,6 @@
},
"protocol": "rest",
"resources": {
"media": {
"methods": {
"download": {
"description": "Download a file.",
"flatPath": "v1/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": "v1/{+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": {
Expand Down Expand Up @@ -538,7 +506,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,
Expand Down Expand Up @@ -767,6 +735,34 @@
},
"files": {
"methods": {
"download": {
"description": "Download a file.",
"flatPath": "v1/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": "v1/{+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": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}",
Expand Down Expand Up @@ -1782,7 +1778,7 @@
}
}
},
"revision": "20240425",
"revision": "20240501",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down Expand Up @@ -2224,7 +2220,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": {
Expand Down Expand Up @@ -3319,13 +3315,18 @@
"type": "string"
},
"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"
},
"remoteRepositoryConfig": {
"$ref": "RemoteRepositoryConfig",
"description": "Configuration specific for a Remote Repository."
},
"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,
Expand Down Expand Up @@ -3754,7 +3755,7 @@
"type": "object"
},
"VirtualRepositoryConfig": {
"description": "Virtual repository configuration.",
"description": "LINT.IfChange Virtual repository configuration.",
"id": "VirtualRepositoryConfig",
"properties": {
"upstreamPolicies": {
Expand Down
Loading

0 comments on commit f2da582

Please sign in to comment.