From cb825c892c853d8731c2e1103fba6c9c7bcd0dc4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 20 Aug 2024 00:20:22 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2742) --- artifactregistry/v1/artifactregistry-api.json | 6 +- artifactregistry/v1/artifactregistry-gen.go | 56 ++++++++++++++++--- 2 files changed, 50 insertions(+), 12 deletions(-) diff --git a/artifactregistry/v1/artifactregistry-api.json b/artifactregistry/v1/artifactregistry-api.json index 360e8598038..e70205d487e 100644 --- a/artifactregistry/v1/artifactregistry-api.json +++ b/artifactregistry/v1/artifactregistry-api.json @@ -1034,7 +1034,7 @@ ], "parameters": { "filter": { - "description": "An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` An example of using a filter: * `name=\"projects/p1/locations/us-central1/repositories/repo1/files/a/b/*\"` --\u003e Files with an ID starting with \"a/b/\". * `owner=\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0\"` --\u003e Files owned by the version `1.0` in package `pkg1`.", + "description": "An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` * `annotations` Examples of using a filter: To filter the results of your request to files with the name \"my_file.txt\" in project my-project in the us-central region, in repository my-repo, append the following filter expression to your request: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/my-file.txt\"` You can also use wildcards to match any number of characters before or after the value: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/my-*\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/*file.txt\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/files/*file*\"` To filter the results of your request to files owned by the version `1.0` in package `pkg1`, append the following filter expression to your request: * `owner=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0\"` To filter the results of your request to files with the annotation key-value pair [`external_link`:`external_link_value`], append the following filter expression to your request: * \"annotations.external_link:external_link_value\" To filter just for a specific annotation key `external_link`, append the following filter expression to your request: * \"annotations.external_link\" If the annotation key or value contains special characters, you can escape them by surrounding the value with backticks. For example, to filter the results of your request to files with the annotation key-value pair [`external.link`:`https://example.com/my-file`], append the following filter expression to your request: * \"annotations.`external.link`:`https://example.com/my-file`\" You can also filter with annotations with a wildcard to match any number of characters before or after the value: * \"annotations.*_link:`*example.com*`\"", "location": "query", "type": "string" }, @@ -1637,7 +1637,7 @@ ], "parameters": { "filter": { - "description": "An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `version` An example of using a filter: * `version=\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0\"` --\u003e Tags that are applied to the version `1.0` in package `pkg1`.", + "description": "An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `version` Examples of using a filter: To filter the results of your request to tags with the name \"my-tag\" in package \"my-package\" in repository \"my-repo\" in project \"my-project\" in the us-central region, append the following filter expression to your request: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my-tag\"` You can also use wildcards to match any number of characters before or after the value: * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my*\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag*\"` To filter the results of your request to tags applied to the version `1.0` in package `my-package`, append the following filter expression to your request: * `version=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0\"`", "location": "query", "type": "string" }, @@ -2013,7 +2013,7 @@ } } }, - "revision": "20240724", + "revision": "20240809", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index aa257792729..9ec8ffd9bfd 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -5824,11 +5824,36 @@ func (r *ProjectsLocationsRepositoriesFilesService) List(parent string) *Project // Filter sets the optional parameter "filter": An expression for filtering the // results of the request. Filter rules are case insensitive. The fields -// eligible for filtering are: * `name` * `owner` An example of using a filter: -// * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*" -// --> Files with an ID starting with "a/b/". * -// `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/ve -// rsions/1.0" --> Files owned by the version `1.0` in package `pkg1`. +// eligible for filtering are: * `name` * `owner` * `annotations` Examples of +// using a filter: To filter the results of your request to files with the name +// "my_file.txt" in project my-project in the us-central region, in repository +// my-repo, append the following filter expression to your request: * +// `name="projects/my-project/locations/us-central1/repositories/my-repo/files/m +// y-file.txt" You can also use wildcards to match any number of characters +// before or after the value: * +// `name="projects/my-project/locations/us-central1/repositories/my-repo/files/m +// y-*" * +// `name="projects/my-project/locations/us-central1/repositories/my-repo/files/* +// file.txt" * +// `name="projects/my-project/locations/us-central1/repositories/my-repo/files/* +// file*" To filter the results of your request to files owned by the version +// `1.0` in package `pkg1`, append the following filter expression to your +// request: * +// `owner="projects/my-project/locations/us-central1/repositories/my-repo/packag +// es/my-package/versions/1.0" To filter the results of your request to files +// with the annotation key-value pair [`external_link`:`external_link_value`], +// append the following filter expression to your request: * +// "annotations.external_link:external_link_value" To filter just for a +// specific annotation key `external_link`, append the following filter +// expression to your request: * "annotations.external_link" If the annotation +// key or value contains special characters, you can escape them by surrounding +// the value with backticks. For example, to filter the results of your request +// to files with the annotation key-value pair +// [`external.link`:`https://example.com/my-file`], append the following filter +// expression to your request: * +// "annotations.`external.link`:`https://example.com/my-file" You can also +// filter with annotations with a wildcard to match any number of characters +// before or after the value: * "annotations.*_link:`*example.com*" func (c *ProjectsLocationsRepositoriesFilesListCall) Filter(filter string) *ProjectsLocationsRepositoriesFilesListCall { c.urlParams_.Set("filter", filter) return c @@ -8052,10 +8077,23 @@ func (r *ProjectsLocationsRepositoriesPackagesTagsService) List(parent string) * // Filter sets the optional parameter "filter": An expression for filtering the // results of the request. Filter rules are case insensitive. The fields -// eligible for filtering are: * `version` An example of using a filter: * -// `version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/ -// versions/1.0" --> Tags that are applied to the version `1.0` in package -// `pkg1`. +// eligible for filtering are: * `name` * `version` Examples of using a filter: +// To filter the results of your request to tags with the name "my-tag" in +// package "my-package" in repository "my-repo" in project "my-project" in the +// us-central region, append the following filter expression to your request: * +// `name="projects/my-project/locations/us-central1/repositories/my-repo/package +// s/my-package/tags/my-tag" You can also use wildcards to match any number of +// characters before or after the value: * +// `name="projects/my-project/locations/us-central1/repositories/my-repo/package +// s/my-package/tags/my*" * +// `name="projects/my-project/locations/us-central1/repositories/my-repo/package +// s/my-package/tags/*tag" * +// `name="projects/my-project/locations/us-central1/repositories/my-repo/package +// s/my-package/tags/*tag*" To filter the results of your request to tags +// applied to the version `1.0` in package `my-package`, append the following +// filter expression to your request: * +// `version="projects/my-project/locations/us-central1/repositories/my-repo/pack +// ages/my-package/versions/1.0" func (c *ProjectsLocationsRepositoriesPackagesTagsListCall) Filter(filter string) *ProjectsLocationsRepositoriesPackagesTagsListCall { c.urlParams_.Set("filter", filter) return c