Skip to content

Commit

Permalink
feat(artifactregistry): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 30, 2024
1 parent 725603f commit 698b77f
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 2 deletions.
27 changes: 26 additions & 1 deletion discovery/artifactregistry-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -2013,7 +2038,7 @@
}
}
},
"revision": "20240809",
"revision": "20240826",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down
12 changes: 11 additions & 1 deletion discovery/artifactregistry-v1beta2.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -1414,7 +1424,7 @@
}
}
},
"revision": "20240809",
"revision": "20240826",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down
20 changes: 20 additions & 0 deletions src/apis/artifactregistry/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down

0 comments on commit 698b77f

Please sign in to comment.