From 698b77f53f1683f3c5c6a67c874bc66a7b1c18f6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Thu, 29 Aug 2024 01:35:43 +0000 Subject: [PATCH] feat(artifactregistry): update the API #### artifactregistry:v1beta2 The following keys were added: - resources.projects.resources.locations.resources.repositories.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.repositories.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.repositories.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.repositories.resources.packages.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.repositories.resources.packages.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.repositories.resources.packages.methods.list.parameters.orderBy.type #### artifactregistry:v1 The following keys were added: - resources.projects.resources.locations.resources.repositories.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.repositories.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.repositories.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.repositories.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.repositories.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.repositories.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.repositories.resources.packages.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.repositories.resources.packages.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.repositories.resources.packages.methods.list.parameters.filter.type - resources.projects.resources.locations.resources.repositories.resources.packages.methods.list.parameters.orderBy.description - resources.projects.resources.locations.resources.repositories.resources.packages.methods.list.parameters.orderBy.location - resources.projects.resources.locations.resources.repositories.resources.packages.methods.list.parameters.orderBy.type - resources.projects.resources.locations.resources.repositories.resources.packages.resources.versions.methods.list.parameters.filter.description - resources.projects.resources.locations.resources.repositories.resources.packages.resources.versions.methods.list.parameters.filter.location - resources.projects.resources.locations.resources.repositories.resources.packages.resources.versions.methods.list.parameters.filter.type --- discovery/artifactregistry-v1.json | 27 ++++++++++++++++++++++++- discovery/artifactregistry-v1beta2.json | 12 ++++++++++- src/apis/artifactregistry/v1.ts | 20 ++++++++++++++++++ 3 files changed, 57 insertions(+), 2 deletions(-) diff --git a/discovery/artifactregistry-v1.json b/discovery/artifactregistry-v1.json index 0e5591efdf..68aa211a54 100644 --- a/discovery/artifactregistry-v1.json +++ b/discovery/artifactregistry-v1.json @@ -678,6 +678,16 @@ "parent" ], "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` Examples of using a filter: To filter the results of your request to repositories with the name \"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` 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-*\"` * `name=\"projects/my-project/locations/us-central1/repositories/*repo\"` * `name=\"projects/my-project/locations/us-central1/repositories/*repo*\"`", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. The field to order the results by.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of repositories to return. Maximum page size is 1,000.", "format": "int32", @@ -1477,6 +1487,16 @@ "parent" ], "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `annotations` Examples of using a filter: To filter the results of your request to packages with the name \"my-package\" 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/packages/my-package\"` 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-*\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/*package\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/*pack*\"` To filter the results of your request to packages 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 the results 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 packages with the annotation key-value pair [`external.link`:`https://example.com/my-package`], append the following filter expression to your request: * \"annotations.`external.link`:`https://example.com/my-package`\" 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" + }, + "orderBy": { + "description": "Optional. The field to order the results by.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of packages to return. Maximum page size is 1,000.", "format": "int32", @@ -1815,6 +1835,11 @@ "parent" ], "parameters": { + "filter": { + "description": "Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `annotations` Examples of using a filter: To filter the results of your request to versions with the name \"my-version\" 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/packages/my-package/versions/my-version\"` 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/versions/*version\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/my*\"` * `name=\"projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/*version*\"` To filter the results of your request to versions 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 versions with the annotation key-value pair [`external.link`:`https://example.com/my-version`], append the following filter expression to your request: * \"annotations.`external.link`:`https://example.com/my-version`\" 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" + }, "orderBy": { "description": "Optional. The field to order the results by.", "location": "query", @@ -2013,7 +2038,7 @@ } } }, - "revision": "20240809", + "revision": "20240826", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { diff --git a/discovery/artifactregistry-v1beta2.json b/discovery/artifactregistry-v1beta2.json index 0413a5a4fe..71a5c047dc 100644 --- a/discovery/artifactregistry-v1beta2.json +++ b/discovery/artifactregistry-v1beta2.json @@ -618,6 +618,11 @@ "parent" ], "parameters": { + "orderBy": { + "description": "Optional. The field to order the results by.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of repositories to return. Maximum page size is 1,000.", "format": "int32", @@ -973,6 +978,11 @@ "parent" ], "parameters": { + "orderBy": { + "description": "Optional. The field to order the results by.", + "location": "query", + "type": "string" + }, "pageSize": { "description": "The maximum number of packages to return. Maximum page size is 1,000.", "format": "int32", @@ -1414,7 +1424,7 @@ } } }, - "revision": "20240809", + "revision": "20240826", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { diff --git a/src/apis/artifactregistry/v1.ts b/src/apis/artifactregistry/v1.ts index deacc2d713..f56f675a98 100644 --- a/src/apis/artifactregistry/v1.ts +++ b/src/apis/artifactregistry/v1.ts @@ -3093,6 +3093,14 @@ export namespace artifactregistry_v1 { } export interface Params$Resource$Projects$Locations$Repositories$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` Examples of using a filter: To filter the results of your request to repositories with the name "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` 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-*"` * `name="projects/my-project/locations/us-central1/repositories/xrepo"` * `name="projects/my-project/locations/us-central1/repositories/xrepo*"` + */ + filter?: string; + /** + * Optional. The field to order the results by. + */ + orderBy?: string; /** * The maximum number of repositories to return. Maximum page size is 1,000. */ @@ -5488,6 +5496,14 @@ export namespace artifactregistry_v1 { } export interface Params$Resource$Projects$Locations$Repositories$Packages$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `annotations` Examples of using a filter: To filter the results of your request to packages with the name "my-package" 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/packages/my-package"` 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-*"` * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/xpackage"` * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/xpack*"` To filter the results of your request to packages 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 the results 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 packages with the annotation key-value pair [`external.link`:`https://example.com/my-package`], append the following filter expression to your request: * "annotations.`external.link`:`https://example.com/my-package`" You can also filter with annotations with a wildcard to match any number of characters before or after the value: * "annotations.*_link:`*example.com*`" + */ + filter?: string; + /** + * Optional. The field to order the results by. + */ + orderBy?: string; /** * The maximum number of packages to return. Maximum page size is 1,000. */ @@ -6428,6 +6444,10 @@ export namespace artifactregistry_v1 { } export interface Params$Resource$Projects$Locations$Repositories$Packages$Versions$List extends StandardParameters { + /** + * Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `annotations` Examples of using a filter: To filter the results of your request to versions with the name "my-version" 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/packages/my-package/versions/my-version"` 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/versions/xversion"` * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/my*"` * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/xversion*"` To filter the results of your request to versions 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 versions with the annotation key-value pair [`external.link`:`https://example.com/my-version`], append the following filter expression to your request: * "annotations.`external.link`:`https://example.com/my-version`" You can also filter with annotations with a wildcard to match any number of characters before or after the value: * "annotations.*_link:`*example.com*`" + */ + filter?: string; /** * Optional. The field to order the results by. */