@@ -2243,35 +2243,87 @@ public List setParent(java.lang.String parent) {
2243
2243
2244
2244
/**
2245
2245
* An expression for filtering the results of the request. Filter rules are case
2246
- * insensitive. The fields eligible for filtering are: * `name` * `owner` An example of
2247
- * using a filter: * `name="projects/p1/locations/us-
2248
- * central1/repositories/repo1/files/a/b"` --> Files with an ID starting with "a/b/". *
2249
- * `owner="projects/p1/locations/us-
2250
- * central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the
2251
- * version `1.0` in package `pkg1`.
2246
+ * insensitive. The fields eligible for filtering are: * `name` * `owner` *
2247
+ * `annotations` Examples of using a filter: To filter the results of your request to
2248
+ * files with the name "my_file.txt" in project my-project in the us-central region, in
2249
+ * repository my-repo, append the following filter expression to your request: *
2250
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-
2251
+ * file.txt"` You can also use wildcards to match any number of characters before or
2252
+ * after the value: * `name="projects/my-project/locations/us-central1/repositories/my-
2253
+ * repo/files/my-*"` * `name="projects/my-project/locations/us-central1/repositories/my-
2254
+ * repo/filesfile.txt"` * `name="projects/my-project/locations/us-
2255
+ * central1/repositories/my-repo/filesfile*"` To filter the results of your request to
2256
+ * files owned by the version `1.0` in package `pkg1`, append the following filter
2257
+ * expression to your request: * `owner="projects/my-project/locations/us-
2258
+ * central1/repositories/my-repo/packages/my-package/versions/1.0"` To filter the
2259
+ * results of your request to files with the annotation key-value pair
2260
+ * [`external_link`:`external_link_value`], append the following filter expression to
2261
+ * your request: * "annotations.external_link:external_link_value" To filter just for a
2262
+ * specific annotation key `external_link`, append the following filter expression to
2263
+ * your request: * "annotations.external_link" If the annotation key or value contains
2264
+ * special characters, you can escape them by surrounding the value with backticks. For
2265
+ * example, to filter the results of your request to files with the annotation key-value
2266
+ * pair [`external.link`:`https://example.com/my-file`], append the following filter
2267
+ * expression to your request: * "annotations.`external.link`:`https://example.com/my-
2268
+ * file`" You can also filter with annotations with a wildcard to match any number of
2269
+ * characters before or after the value: * "annotations.*_link:`*example.com*`"
2252
2270
*/
2253
2271
@ com .google .api .client .util .Key
2254
2272
private java .lang .String filter ;
2255
2273
2256
2274
/** An expression for filtering the results of the request. Filter rules are case insensitive. The
2257
- fields eligible for filtering are: * `name` * `owner` An example of using a filter: *
2258
- `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b"` --> Files with an ID
2259
- starting with "a/b/". * `owner="projects/p1/locations/us-
2260
- central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the version `1.0` in
2261
- package `pkg1`.
2275
+ fields eligible for filtering are: * `name` * `owner` * `annotations` Examples of using a filter:
2276
+ To filter the results of your request to files with the name "my_file.txt" in project my-project in
2277
+ the us-central region, in repository my-repo, append the following filter expression to your
2278
+ request: * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-
2279
+ file.txt"` You can also use wildcards to match any number of characters before or after the value:
2280
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-*"` *
2281
+ `name="projects/my-project/locations/us-central1/repositories/my-repo/filesfile.txt"` *
2282
+ `name="projects/my-project/locations/us-central1/repositories/my-repo/filesfile*"` To filter the
2283
+ results of your request to files owned by the version `1.0` in package `pkg1`, append the following
2284
+ filter expression to your request: * `owner="projects/my-project/locations/us-
2285
+ central1/repositories/my-repo/packages/my-package/versions/1.0"` To filter the results of your
2286
+ request to files with the annotation key-value pair [`external_link`:`external_link_value`], append
2287
+ the following filter expression to your request: * "annotations.external_link:external_link_value"
2288
+ To filter just for a specific annotation key `external_link`, append the following filter
2289
+ expression to your request: * "annotations.external_link" If the annotation key or value contains
2290
+ special characters, you can escape them by surrounding the value with backticks. For example, to
2291
+ filter the results of your request to files with the annotation key-value pair
2292
+ [`external.link`:`https://example.com/my-file`], append the following filter expression to your
2293
+ request: * "annotations.`external.link`:`https://example.com/my-file`" You can also filter with
2294
+ annotations with a wildcard to match any number of characters before or after the value: *
2295
+ "annotations.*_link:`*example.com*`"
2262
2296
*/
2263
2297
public java .lang .String getFilter () {
2264
2298
return filter ;
2265
2299
}
2266
2300
2267
2301
/**
2268
2302
* An expression for filtering the results of the request. Filter rules are case
2269
- * insensitive. The fields eligible for filtering are: * `name` * `owner` An example of
2270
- * using a filter: * `name="projects/p1/locations/us-
2271
- * central1/repositories/repo1/files/a/b"` --> Files with an ID starting with "a/b/". *
2272
- * `owner="projects/p1/locations/us-
2273
- * central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the
2274
- * version `1.0` in package `pkg1`.
2303
+ * insensitive. The fields eligible for filtering are: * `name` * `owner` *
2304
+ * `annotations` Examples of using a filter: To filter the results of your request to
2305
+ * files with the name "my_file.txt" in project my-project in the us-central region, in
2306
+ * repository my-repo, append the following filter expression to your request: *
2307
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-
2308
+ * file.txt"` You can also use wildcards to match any number of characters before or
2309
+ * after the value: * `name="projects/my-project/locations/us-central1/repositories/my-
2310
+ * repo/files/my-*"` * `name="projects/my-project/locations/us-central1/repositories/my-
2311
+ * repo/filesfile.txt"` * `name="projects/my-project/locations/us-
2312
+ * central1/repositories/my-repo/filesfile*"` To filter the results of your request to
2313
+ * files owned by the version `1.0` in package `pkg1`, append the following filter
2314
+ * expression to your request: * `owner="projects/my-project/locations/us-
2315
+ * central1/repositories/my-repo/packages/my-package/versions/1.0"` To filter the
2316
+ * results of your request to files with the annotation key-value pair
2317
+ * [`external_link`:`external_link_value`], append the following filter expression to
2318
+ * your request: * "annotations.external_link:external_link_value" To filter just for a
2319
+ * specific annotation key `external_link`, append the following filter expression to
2320
+ * your request: * "annotations.external_link" If the annotation key or value contains
2321
+ * special characters, you can escape them by surrounding the value with backticks. For
2322
+ * example, to filter the results of your request to files with the annotation key-value
2323
+ * pair [`external.link`:`https://example.com/my-file`], append the following filter
2324
+ * expression to your request: * "annotations.`external.link`:`https://example.com/my-
2325
+ * file`" You can also filter with annotations with a wildcard to match any number of
2326
+ * characters before or after the value: * "annotations.*_link:`*example.com*`"
2275
2327
*/
2276
2328
public List setFilter (java .lang .String filter ) {
2277
2329
this .filter = filter ;
@@ -3355,29 +3407,58 @@ public List setParent(java.lang.String parent) {
3355
3407
3356
3408
/**
3357
3409
* An expression for filtering the results of the request. Filter rules are case
3358
- * insensitive. The fields eligible for filtering are: * `version` An example of using
3359
- * a filter: * `version="projects/p1/locations/us-
3360
- * central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Tags that are applied
3361
- * to the version `1.0` in package `pkg1`.
3410
+ * insensitive. The fields eligible for filtering are: * `name` * `version` Examples
3411
+ * of using a filter: To filter the results of your request to tags with the name "my-
3412
+ * tag" in package "my-package" in repository "my-repo" in project "my-project" in the
3413
+ * us-central region, append the following filter expression to your request: *
3414
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
3415
+ * package/tags/my-tag"` You can also use wildcards to match any number of characters
3416
+ * before or after the value: * `name="projects/my-project/locations/us-
3417
+ * central1/repositories/my-repo/packages/my-package/tags/my*"` * `name="projects/my-
3418
+ * project/locations/us-central1/repositories/my-repo/packages/my-package/tagstag"` *
3419
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
3420
+ * package/tagstag*"` To filter the results of your request to tags applied to the
3421
+ * version `1.0` in package `my-package`, append the following filter expression to
3422
+ * your request: * `version="projects/my-project/locations/us-
3423
+ * central1/repositories/my-repo/packages/my-package/versions/1.0"`
3362
3424
*/
3363
3425
@ com .google .api .client .util .Key
3364
3426
private java .lang .String filter ;
3365
3427
3366
3428
/** An expression for filtering the results of the request. Filter rules are case insensitive. The
3367
- fields eligible for filtering are: * `version` An example of using a filter: *
3368
- `version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` -->
3369
- Tags that are applied to the version `1.0` in package `pkg1`.
3429
+ fields eligible for filtering are: * `name` * `version` Examples of using a filter: To filter the
3430
+ results of your request to tags with the name "my-tag" in package "my-package" in repository "my-
3431
+ repo" in project "my-project" in the us-central region, append the following filter expression to
3432
+ your request: * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
3433
+ package/tags/my-tag"` You can also use wildcards to match any number of characters before or after
3434
+ the value: * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
3435
+ package/tags/my*"` * `name="projects/my-project/locations/us-central1/repositories/my-
3436
+ repo/packages/my-package/tagstag"` * `name="projects/my-project/locations/us-
3437
+ central1/repositories/my-repo/packages/my-package/tagstag*"` To filter the results of your request
3438
+ to tags applied to the version `1.0` in package `my-package`, append the following filter
3439
+ expression to your request: * `version="projects/my-project/locations/us-central1/repositories/my-
3440
+ repo/packages/my-package/versions/1.0"`
3370
3441
*/
3371
3442
public java .lang .String getFilter () {
3372
3443
return filter ;
3373
3444
}
3374
3445
3375
3446
/**
3376
3447
* An expression for filtering the results of the request. Filter rules are case
3377
- * insensitive. The fields eligible for filtering are: * `version` An example of using
3378
- * a filter: * `version="projects/p1/locations/us-
3379
- * central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Tags that are applied
3380
- * to the version `1.0` in package `pkg1`.
3448
+ * insensitive. The fields eligible for filtering are: * `name` * `version` Examples
3449
+ * of using a filter: To filter the results of your request to tags with the name "my-
3450
+ * tag" in package "my-package" in repository "my-repo" in project "my-project" in the
3451
+ * us-central region, append the following filter expression to your request: *
3452
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
3453
+ * package/tags/my-tag"` You can also use wildcards to match any number of characters
3454
+ * before or after the value: * `name="projects/my-project/locations/us-
3455
+ * central1/repositories/my-repo/packages/my-package/tags/my*"` * `name="projects/my-
3456
+ * project/locations/us-central1/repositories/my-repo/packages/my-package/tagstag"` *
3457
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
3458
+ * package/tagstag*"` To filter the results of your request to tags applied to the
3459
+ * version `1.0` in package `my-package`, append the following filter expression to
3460
+ * your request: * `version="projects/my-project/locations/us-
3461
+ * central1/repositories/my-repo/packages/my-package/versions/1.0"`
3381
3462
*/
3382
3463
public List setFilter (java .lang .String filter ) {
3383
3464
this .filter = filter ;
0 commit comments