Skip to content

Commit 698b77f

Browse files
yoshi-automationsofisl
authored andcommitted
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
1 parent 725603f commit 698b77f

File tree

3 files changed

+57
-2
lines changed

3 files changed

+57
-2
lines changed

‎discovery/artifactregistry-v1.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,16 @@
678678
"parent"
679679
],
680680
"parameters": {
681+
"filter": {
682+
"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*\"`",
683+
"location": "query",
684+
"type": "string"
685+
},
686+
"orderBy": {
687+
"description": "Optional. The field to order the results by.",
688+
"location": "query",
689+
"type": "string"
690+
},
681691
"pageSize": {
682692
"description": "The maximum number of repositories to return. Maximum page size is 1,000.",
683693
"format": "int32",
@@ -1477,6 +1487,16 @@
14771487
"parent"
14781488
],
14791489
"parameters": {
1490+
"filter": {
1491+
"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*`\"",
1492+
"location": "query",
1493+
"type": "string"
1494+
},
1495+
"orderBy": {
1496+
"description": "Optional. The field to order the results by.",
1497+
"location": "query",
1498+
"type": "string"
1499+
},
14801500
"pageSize": {
14811501
"description": "The maximum number of packages to return. Maximum page size is 1,000.",
14821502
"format": "int32",
@@ -1815,6 +1835,11 @@
18151835
"parent"
18161836
],
18171837
"parameters": {
1838+
"filter": {
1839+
"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*`\"",
1840+
"location": "query",
1841+
"type": "string"
1842+
},
18181843
"orderBy": {
18191844
"description": "Optional. The field to order the results by.",
18201845
"location": "query",
@@ -2013,7 +2038,7 @@
20132038
}
20142039
}
20152040
},
2016-
"revision": "20240809",
2041+
"revision": "20240826",
20172042
"rootUrl": "https://artifactregistry.googleapis.com/",
20182043
"schemas": {
20192044
"AptArtifact": {

‎discovery/artifactregistry-v1beta2.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,11 @@
618618
"parent"
619619
],
620620
"parameters": {
621+
"orderBy": {
622+
"description": "Optional. The field to order the results by.",
623+
"location": "query",
624+
"type": "string"
625+
},
621626
"pageSize": {
622627
"description": "The maximum number of repositories to return. Maximum page size is 1,000.",
623628
"format": "int32",
@@ -973,6 +978,11 @@
973978
"parent"
974979
],
975980
"parameters": {
981+
"orderBy": {
982+
"description": "Optional. The field to order the results by.",
983+
"location": "query",
984+
"type": "string"
985+
},
976986
"pageSize": {
977987
"description": "The maximum number of packages to return. Maximum page size is 1,000.",
978988
"format": "int32",
@@ -1414,7 +1424,7 @@
14141424
}
14151425
}
14161426
},
1417-
"revision": "20240809",
1427+
"revision": "20240826",
14181428
"rootUrl": "https://artifactregistry.googleapis.com/",
14191429
"schemas": {
14201430
"AptArtifact": {

‎src/apis/artifactregistry/v1.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3093,6 +3093,14 @@ export namespace artifactregistry_v1 {
30933093
}
30943094
export interface Params$Resource$Projects$Locations$Repositories$List
30953095
extends StandardParameters {
3096+
/**
3097+
* 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*"`
3098+
*/
3099+
filter?: string;
3100+
/**
3101+
* Optional. The field to order the results by.
3102+
*/
3103+
orderBy?: string;
30963104
/**
30973105
* The maximum number of repositories to return. Maximum page size is 1,000.
30983106
*/
@@ -5488,6 +5496,14 @@ export namespace artifactregistry_v1 {
54885496
}
54895497
export interface Params$Resource$Projects$Locations$Repositories$Packages$List
54905498
extends StandardParameters {
5499+
/**
5500+
* 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*`"
5501+
*/
5502+
filter?: string;
5503+
/**
5504+
* Optional. The field to order the results by.
5505+
*/
5506+
orderBy?: string;
54915507
/**
54925508
* The maximum number of packages to return. Maximum page size is 1,000.
54935509
*/
@@ -6428,6 +6444,10 @@ export namespace artifactregistry_v1 {
64286444
}
64296445
export interface Params$Resource$Projects$Locations$Repositories$Packages$Versions$List
64306446
extends StandardParameters {
6447+
/**
6448+
* 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*`"
6449+
*/
6450+
filter?: string;
64316451
/**
64326452
* Optional. The field to order the results by.
64336453
*/

0 commit comments

Comments
 (0)