@@ -3831,35 +3831,87 @@ public List setParent(java.lang.String parent) {
3831
3831
3832
3832
/**
3833
3833
* An expression for filtering the results of the request. Filter rules are case
3834
- * insensitive. The fields eligible for filtering are: * `name` * `owner` An example of
3835
- * using a filter: * `name="projects/p1/locations/us-
3836
- * central1/repositories/repo1/files/a/b"` --> Files with an ID starting with "a/b/". *
3837
- * `owner="projects/p1/locations/us-
3838
- * central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the
3839
- * version `1.0` in package `pkg1`.
3834
+ * insensitive. The fields eligible for filtering are: * `name` * `owner` *
3835
+ * `annotations` Examples of using a filter: To filter the results of your request to
3836
+ * files with the name "my_file.txt" in project my-project in the us-central region, in
3837
+ * repository my-repo, append the following filter expression to your request: *
3838
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-
3839
+ * file.txt"` You can also use wildcards to match any number of characters before or
3840
+ * after the value: * `name="projects/my-project/locations/us-central1/repositories/my-
3841
+ * repo/files/my-*"` * `name="projects/my-project/locations/us-central1/repositories/my-
3842
+ * repo/filesfile.txt"` * `name="projects/my-project/locations/us-
3843
+ * central1/repositories/my-repo/filesfile*"` To filter the results of your request to
3844
+ * files owned by the version `1.0` in package `pkg1`, append the following filter
3845
+ * expression to your request: * `owner="projects/my-project/locations/us-
3846
+ * central1/repositories/my-repo/packages/my-package/versions/1.0"` To filter the
3847
+ * results of your request to files with the annotation key-value pair
3848
+ * [`external_link`:`external_link_value`], append the following filter expression to
3849
+ * your request: * "annotations.external_link:external_link_value" To filter just for a
3850
+ * specific annotation key `external_link`, append the following filter expression to
3851
+ * your request: * "annotations.external_link" If the annotation key or value contains
3852
+ * special characters, you can escape them by surrounding the value with backticks. For
3853
+ * example, to filter the results of your request to files with the annotation key-value
3854
+ * pair [`external.link`:`https://example.com/my-file`], append the following filter
3855
+ * expression to your request: * "annotations.`external.link`:`https://example.com/my-
3856
+ * file`" You can also filter with annotations with a wildcard to match any number of
3857
+ * characters before or after the value: * "annotations.*_link:`*example.com*`"
3840
3858
*/
3841
3859
@ com .google .api .client .util .Key
3842
3860
private java .lang .String filter ;
3843
3861
3844
3862
/** An expression for filtering the results of the request. Filter rules are case insensitive. The
3845
- fields eligible for filtering are: * `name` * `owner` An example of using a filter: *
3846
- `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b"` --> Files with an ID
3847
- starting with "a/b/". * `owner="projects/p1/locations/us-
3848
- central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the version `1.0` in
3849
- package `pkg1`.
3863
+ fields eligible for filtering are: * `name` * `owner` * `annotations` Examples of using a filter:
3864
+ To filter the results of your request to files with the name "my_file.txt" in project my-project in
3865
+ the us-central region, in repository my-repo, append the following filter expression to your
3866
+ request: * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-
3867
+ file.txt"` You can also use wildcards to match any number of characters before or after the value:
3868
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-*"` *
3869
+ `name="projects/my-project/locations/us-central1/repositories/my-repo/filesfile.txt"` *
3870
+ `name="projects/my-project/locations/us-central1/repositories/my-repo/filesfile*"` To filter the
3871
+ results of your request to files owned by the version `1.0` in package `pkg1`, append the following
3872
+ filter expression to your request: * `owner="projects/my-project/locations/us-
3873
+ central1/repositories/my-repo/packages/my-package/versions/1.0"` To filter the results of your
3874
+ request to files with the annotation key-value pair [`external_link`:`external_link_value`], append
3875
+ the following filter expression to your request: * "annotations.external_link:external_link_value"
3876
+ To filter just for a specific annotation key `external_link`, append the following filter
3877
+ expression to your request: * "annotations.external_link" If the annotation key or value contains
3878
+ special characters, you can escape them by surrounding the value with backticks. For example, to
3879
+ filter the results of your request to files with the annotation key-value pair
3880
+ [`external.link`:`https://example.com/my-file`], append the following filter expression to your
3881
+ request: * "annotations.`external.link`:`https://example.com/my-file`" You can also filter with
3882
+ annotations with a wildcard to match any number of characters before or after the value: *
3883
+ "annotations.*_link:`*example.com*`"
3850
3884
*/
3851
3885
public java .lang .String getFilter () {
3852
3886
return filter ;
3853
3887
}
3854
3888
3855
3889
/**
3856
3890
* An expression for filtering the results of the request. Filter rules are case
3857
- * insensitive. The fields eligible for filtering are: * `name` * `owner` An example of
3858
- * using a filter: * `name="projects/p1/locations/us-
3859
- * central1/repositories/repo1/files/a/b"` --> Files with an ID starting with "a/b/". *
3860
- * `owner="projects/p1/locations/us-
3861
- * central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the
3862
- * version `1.0` in package `pkg1`.
3891
+ * insensitive. The fields eligible for filtering are: * `name` * `owner` *
3892
+ * `annotations` Examples of using a filter: To filter the results of your request to
3893
+ * files with the name "my_file.txt" in project my-project in the us-central region, in
3894
+ * repository my-repo, append the following filter expression to your request: *
3895
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-
3896
+ * file.txt"` You can also use wildcards to match any number of characters before or
3897
+ * after the value: * `name="projects/my-project/locations/us-central1/repositories/my-
3898
+ * repo/files/my-*"` * `name="projects/my-project/locations/us-central1/repositories/my-
3899
+ * repo/filesfile.txt"` * `name="projects/my-project/locations/us-
3900
+ * central1/repositories/my-repo/filesfile*"` To filter the results of your request to
3901
+ * files owned by the version `1.0` in package `pkg1`, append the following filter
3902
+ * expression to your request: * `owner="projects/my-project/locations/us-
3903
+ * central1/repositories/my-repo/packages/my-package/versions/1.0"` To filter the
3904
+ * results of your request to files with the annotation key-value pair
3905
+ * [`external_link`:`external_link_value`], append the following filter expression to
3906
+ * your request: * "annotations.external_link:external_link_value" To filter just for a
3907
+ * specific annotation key `external_link`, append the following filter expression to
3908
+ * your request: * "annotations.external_link" If the annotation key or value contains
3909
+ * special characters, you can escape them by surrounding the value with backticks. For
3910
+ * example, to filter the results of your request to files with the annotation key-value
3911
+ * pair [`external.link`:`https://example.com/my-file`], append the following filter
3912
+ * expression to your request: * "annotations.`external.link`:`https://example.com/my-
3913
+ * file`" You can also filter with annotations with a wildcard to match any number of
3914
+ * characters before or after the value: * "annotations.*_link:`*example.com*`"
3863
3915
*/
3864
3916
public List setFilter (java .lang .String filter ) {
3865
3917
this .filter = filter ;
@@ -6769,29 +6821,58 @@ public List setParent(java.lang.String parent) {
6769
6821
6770
6822
/**
6771
6823
* An expression for filtering the results of the request. Filter rules are case
6772
- * insensitive. The fields eligible for filtering are: * `version` An example of using
6773
- * a filter: * `version="projects/p1/locations/us-
6774
- * central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Tags that are applied
6775
- * to the version `1.0` in package `pkg1`.
6824
+ * insensitive. The fields eligible for filtering are: * `name` * `version` Examples
6825
+ * of using a filter: To filter the results of your request to tags with the name "my-
6826
+ * tag" in package "my-package" in repository "my-repo" in project "my-project" in the
6827
+ * us-central region, append the following filter expression to your request: *
6828
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
6829
+ * package/tags/my-tag"` You can also use wildcards to match any number of characters
6830
+ * before or after the value: * `name="projects/my-project/locations/us-
6831
+ * central1/repositories/my-repo/packages/my-package/tags/my*"` * `name="projects/my-
6832
+ * project/locations/us-central1/repositories/my-repo/packages/my-package/tagstag"` *
6833
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
6834
+ * package/tagstag*"` To filter the results of your request to tags applied to the
6835
+ * version `1.0` in package `my-package`, append the following filter expression to
6836
+ * your request: * `version="projects/my-project/locations/us-
6837
+ * central1/repositories/my-repo/packages/my-package/versions/1.0"`
6776
6838
*/
6777
6839
@ com .google .api .client .util .Key
6778
6840
private java .lang .String filter ;
6779
6841
6780
6842
/** An expression for filtering the results of the request. Filter rules are case insensitive. The
6781
- fields eligible for filtering are: * `version` An example of using a filter: *
6782
- `version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` -->
6783
- Tags that are applied to the version `1.0` in package `pkg1`.
6843
+ fields eligible for filtering are: * `name` * `version` Examples of using a filter: To filter the
6844
+ results of your request to tags with the name "my-tag" in package "my-package" in repository "my-
6845
+ repo" in project "my-project" in the us-central region, append the following filter expression to
6846
+ your request: * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
6847
+ package/tags/my-tag"` You can also use wildcards to match any number of characters before or after
6848
+ the value: * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
6849
+ package/tags/my*"` * `name="projects/my-project/locations/us-central1/repositories/my-
6850
+ repo/packages/my-package/tagstag"` * `name="projects/my-project/locations/us-
6851
+ central1/repositories/my-repo/packages/my-package/tagstag*"` To filter the results of your request
6852
+ to tags applied to the version `1.0` in package `my-package`, append the following filter
6853
+ expression to your request: * `version="projects/my-project/locations/us-central1/repositories/my-
6854
+ repo/packages/my-package/versions/1.0"`
6784
6855
*/
6785
6856
public java .lang .String getFilter () {
6786
6857
return filter ;
6787
6858
}
6788
6859
6789
6860
/**
6790
6861
* An expression for filtering the results of the request. Filter rules are case
6791
- * insensitive. The fields eligible for filtering are: * `version` An example of using
6792
- * a filter: * `version="projects/p1/locations/us-
6793
- * central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Tags that are applied
6794
- * to the version `1.0` in package `pkg1`.
6862
+ * insensitive. The fields eligible for filtering are: * `name` * `version` Examples
6863
+ * of using a filter: To filter the results of your request to tags with the name "my-
6864
+ * tag" in package "my-package" in repository "my-repo" in project "my-project" in the
6865
+ * us-central region, append the following filter expression to your request: *
6866
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
6867
+ * package/tags/my-tag"` You can also use wildcards to match any number of characters
6868
+ * before or after the value: * `name="projects/my-project/locations/us-
6869
+ * central1/repositories/my-repo/packages/my-package/tags/my*"` * `name="projects/my-
6870
+ * project/locations/us-central1/repositories/my-repo/packages/my-package/tagstag"` *
6871
+ * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-
6872
+ * package/tagstag*"` To filter the results of your request to tags applied to the
6873
+ * version `1.0` in package `my-package`, append the following filter expression to
6874
+ * your request: * `version="projects/my-project/locations/us-
6875
+ * central1/repositories/my-repo/packages/my-package/versions/1.0"`
6795
6876
*/
6796
6877
public List setFilter (java .lang .String filter ) {
6797
6878
this .filter = filter ;
0 commit comments