Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2813)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Oct 5, 2024
1 parent f5c1edd commit 8fad922
Show file tree
Hide file tree
Showing 32 changed files with 983 additions and 200 deletions.
36 changes: 15 additions & 21 deletions artifactregistry/v1/artifactregistry-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@
"attachments": {
"methods": {
"create": {
"description": "Creates an attachment. The returned Operation will finish once the attachment has been created. Its response will be the created Attachment.",
"description": "Creates an attachment. The returned Operation will finish once the attachment has been created. Its response will be the created attachment.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments",
"httpMethod": "POST",
"id": "artifactregistry.projects.locations.repositories.attachments.create",
Expand Down Expand Up @@ -917,7 +917,7 @@
]
},
"delete": {
"description": "Deletes an attachment. The returned Operation will finish once the attachments has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.",
"description": "Deletes an attachment. The returned Operation will finish once the attachments has been deleted. It will not have any Operation metadata and will return a `google.protobuf.Empty` response.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments/{attachmentsId}",
"httpMethod": "DELETE",
"id": "artifactregistry.projects.locations.repositories.attachments.delete",
Expand Down Expand Up @@ -968,7 +968,7 @@
]
},
"list": {
"description": "Lists repositories.",
"description": "Lists attachments.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments",
"httpMethod": "GET",
"id": "artifactregistry.projects.locations.repositories.attachments.list",
Expand Down Expand Up @@ -1246,7 +1246,7 @@
]
},
"upload": {
"description": "Directly uploads a File to a repository. The returned Operation will complete once the resources are uploaded.",
"description": "Directly uploads a file to a repository. The returned Operation will complete once the resources are uploaded.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files:upload",
"httpMethod": "POST",
"id": "artifactregistry.projects.locations.repositories.files.upload",
Expand Down Expand Up @@ -2106,7 +2106,7 @@
],
"parameters": {
"name": {
"description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\". If the package or version ID parts contain slashes, the slashes are escaped.",
"description": "The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/versions/[^/]+$",
"required": true,
Expand Down Expand Up @@ -2439,7 +2439,7 @@
}
}
},
"revision": "20240923",
"revision": "20241001",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down Expand Up @@ -2506,18 +2506,18 @@
"type": "object"
},
"Attachment": {
"description": "An Attachment refers to additional metadata that can be attached to artifacts in ArtifactRegistry. An attachment consists of one or more files.",
"description": "An Attachment refers to additional metadata that can be attached to artifacts in Artifact Registry. An attachment consists of one or more files.",
"id": "Attachment",
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations. Client specified annotations.",
"description": "Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.",
"type": "object"
},
"attachmentNamespace": {
"description": "The namespace this attachment belongs to. E.g. If an Attachment is created by artifact analysis, namespace is set to artifactanalysis.googleapis.com.",
"description": "The namespace this attachment belongs to. E.g. If an Attachment is created by artifact analysis, namespace is set to `artifactanalysis.googleapis.com`.",
"type": "string"
},
"createTime": {
Expand All @@ -2527,7 +2527,7 @@
"type": "string"
},
"files": {
"description": "Required. The files that blong to this Attachment. If the file ID part contains slashes, they are escaped. E.g. \"projects/p1/locations/us-central1/repositories/repo1/files/sha:\".",
"description": "Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. `projects/p1/locations/us-central1/repositories/repo1/files/sha:`.",
"items": {
"type": "string"
},
Expand All @@ -2538,7 +2538,7 @@
"type": "string"
},
"ociVersionName": {
"description": "Output only. The name of the OCI version that this attachment created. Only populated for Docker attachments. E.g. \"projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1\".",
"description": "Output only. The name of the OCI version that this attachment created. Only populated for Docker attachments. E.g. `projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1`.",
"readOnly": true,
"type": "string"
},
Expand All @@ -2547,7 +2547,7 @@
"type": "string"
},
"type": {
"description": "Type of Attachment. E.g. application/vnd.spdx+jsonn",
"description": "Type of Attachment. E.g. `application/vnd.spdx+json`",
"type": "string"
},
"updateTime": {
Expand Down Expand Up @@ -2724,7 +2724,7 @@
"id": "CommonRemoteRepository",
"properties": {
"uri": {
"description": "Required. A common public repository base for Remote Repository.",
"description": "Required. A common public repository base for remote repository.",
"type": "string"
}
},
Expand Down Expand Up @@ -3938,12 +3938,6 @@
},
"type": "object"
},
"PromoteArtifactMetadata": {
"description": "The metadata for promote artifact long running operation.",
"id": "PromoteArtifactMetadata",
"properties": {},
"type": "object"
},
"PythonPackage": {
"description": "PythonPackage represents a python artifact.",
"id": "PythonPackage",
Expand Down Expand Up @@ -4012,7 +4006,7 @@
},
"commonRepository": {
"$ref": "CommonRemoteRepository",
"description": "Common remote repository settings. Used as the RR upstream URL instead of Predefined and Custom remote repositories. UI and Gcloud will map all the new remote repositories to this field."
"description": "Common remote repository settings. Used as the RemoteRepository upstream URL instead of Predefined and Custom remote repositories. Google Cloud Console and Google Cloud CLI will map all the new remote repositories to this field."
},
"description": {
"description": "The description of the remote source.",
Expand Down Expand Up @@ -4593,7 +4587,7 @@
"type": "object"
},
"name": {
"description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\". If the package or version ID parts contain slashes, the slashes are escaped.",
"description": "The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.",
"type": "string"
},
"relatedTags": {
Expand Down
46 changes: 21 additions & 25 deletions artifactregistry/v1/artifactregistry-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions artifactregistry/v1beta1/artifactregistry-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@
}
}
},
"revision": "20240903",
"revision": "20241001",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"Binding": {
Expand Down Expand Up @@ -1674,7 +1674,7 @@
"type": "string"
},
"name": {
"description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\". If the package or version ID parts contain slashes, the slashes are escaped.",
"description": "The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.",
"type": "string"
},
"relatedTags": {
Expand Down
4 changes: 2 additions & 2 deletions artifactregistry/v1beta1/artifactregistry-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions artifactregistry/v1beta2/artifactregistry-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@
}
}
},
"revision": "20240903",
"revision": "20241001",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down Expand Up @@ -2307,7 +2307,7 @@
"type": "object"
},
"name": {
"description": "The name of the version, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1\". If the package or version ID parts contain slashes, the slashes are escaped.",
"description": "The name of the version, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID parts contain slashes, the slashes are escaped.",
"type": "string"
},
"relatedTags": {
Expand Down
4 changes: 2 additions & 2 deletions artifactregistry/v1beta2/artifactregistry-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8fad922

Please sign in to comment.