google-cloud-artifact_registry-v1 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/client.rb +1750 -288
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/operations.rb +3 -10
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/paths.rb +42 -0
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/client.rb +1643 -272
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/operations.rb +3 -10
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/service_stub.rb +804 -31
- data/lib/google/cloud/artifact_registry/v1/version.rb +1 -1
- data/lib/google/devtools/artifactregistry/v1/attachment_pb.rb +52 -0
- data/lib/google/devtools/artifactregistry/v1/file_pb.rb +5 -1
- data/lib/google/devtools/artifactregistry/v1/generic_pb.rb +47 -0
- data/lib/google/devtools/artifactregistry/v1/package_pb.rb +4 -1
- data/lib/google/devtools/artifactregistry/v1/repository_pb.rb +11 -1
- data/lib/google/devtools/artifactregistry/v1/rule_pb.rb +57 -0
- data/lib/google/devtools/artifactregistry/v1/service_pb.rb +3 -1
- data/lib/google/devtools/artifactregistry/v1/service_services_pb.rb +31 -0
- data/lib/google/devtools/artifactregistry/v1/settings_pb.rb +1 -1
- data/lib/google/devtools/artifactregistry/v1/version_pb.rb +4 -1
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/devtools/artifactregistry/v1/artifact.rb +4 -4
- data/proto_docs/google/devtools/artifactregistry/v1/attachment.rb +152 -0
- data/proto_docs/google/devtools/artifactregistry/v1/file.rb +80 -7
- data/proto_docs/google/devtools/artifactregistry/v1/generic.rb +48 -0
- data/proto_docs/google/devtools/artifactregistry/v1/package.rb +76 -0
- data/proto_docs/google/devtools/artifactregistry/v1/repository.rb +188 -1
- data/proto_docs/google/devtools/artifactregistry/v1/rule.rb +149 -0
- data/proto_docs/google/devtools/artifactregistry/v1/settings.rb +10 -0
- data/proto_docs/google/devtools/artifactregistry/v1/tag.rb +23 -5
- data/proto_docs/google/devtools/artifactregistry/v1/version.rb +74 -1
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +9 -3
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
# listed.
|
84
84
|
# @!attribute [rw] page_size
|
85
85
|
# @return [::Integer]
|
86
|
-
# The maximum number of artifacts to return.
|
86
|
+
# The maximum number of artifacts to return. Maximum page size is 1,000.
|
87
87
|
# @!attribute [rw] page_token
|
88
88
|
# @return [::String]
|
89
89
|
# The next_page_token value returned from a previous list request, if any.
|
@@ -162,7 +162,7 @@ module Google
|
|
162
162
|
# listed.
|
163
163
|
# @!attribute [rw] page_size
|
164
164
|
# @return [::Integer]
|
165
|
-
# The maximum number of artifacts to return.
|
165
|
+
# The maximum number of artifacts to return. Maximum page size is 1,000.
|
166
166
|
# @!attribute [rw] page_token
|
167
167
|
# @return [::String]
|
168
168
|
# The next_page_token value returned from a previous list request, if any.
|
@@ -230,7 +230,7 @@ module Google
|
|
230
230
|
# listed.
|
231
231
|
# @!attribute [rw] page_size
|
232
232
|
# @return [::Integer]
|
233
|
-
# The maximum number of artifacts to return.
|
233
|
+
# The maximum number of artifacts to return. Maximum page size is 1,000.
|
234
234
|
# @!attribute [rw] page_token
|
235
235
|
# @return [::String]
|
236
236
|
# The next_page_token value returned from a previous list request, if any.
|
@@ -302,7 +302,7 @@ module Google
|
|
302
302
|
# listed.
|
303
303
|
# @!attribute [rw] page_size
|
304
304
|
# @return [::Integer]
|
305
|
-
# The maximum number of artifacts to return.
|
305
|
+
# The maximum number of artifacts to return. Maximum page size is 1,000.
|
306
306
|
# @!attribute [rw] page_token
|
307
307
|
# @return [::String]
|
308
308
|
# The next_page_token value returned from a previous list request, if any.
|
@@ -0,0 +1,152 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ArtifactRegistry
|
23
|
+
module V1
|
24
|
+
# An Attachment refers to additional metadata that can be attached to
|
25
|
+
# artifacts in Artifact Registry. An attachment consists of one or more files.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# The name of the attachment. E.g.
|
29
|
+
# `projects/p1/locations/us/repositories/repo/attachments/sbom`.
|
30
|
+
# @!attribute [rw] target
|
31
|
+
# @return [::String]
|
32
|
+
# Required. The target the attachment is for, can be a Version, Package or
|
33
|
+
# Repository. E.g.
|
34
|
+
# `projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1`.
|
35
|
+
# @!attribute [rw] type
|
36
|
+
# @return [::String]
|
37
|
+
# Type of attachment.
|
38
|
+
# E.g. `application/vnd.spdx+json`
|
39
|
+
# @!attribute [rw] attachment_namespace
|
40
|
+
# @return [::String]
|
41
|
+
# The namespace this attachment belongs to.
|
42
|
+
# E.g. If an attachment is created by artifact analysis, namespace is set
|
43
|
+
# to `artifactanalysis.googleapis.com`.
|
44
|
+
# @!attribute [rw] annotations
|
45
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
46
|
+
# Optional. User annotations. These attributes can only be set and used by
|
47
|
+
# the user, and not by Artifact Registry. See
|
48
|
+
# https://google.aip.dev/128#annotations for more details such as format and
|
49
|
+
# size limitations.
|
50
|
+
# @!attribute [r] create_time
|
51
|
+
# @return [::Google::Protobuf::Timestamp]
|
52
|
+
# Output only. The time when the attachment was created.
|
53
|
+
# @!attribute [r] update_time
|
54
|
+
# @return [::Google::Protobuf::Timestamp]
|
55
|
+
# Output only. The time when the attachment was last updated.
|
56
|
+
# @!attribute [rw] files
|
57
|
+
# @return [::Array<::String>]
|
58
|
+
# Required. The files that belong to this attachment.
|
59
|
+
# If the file ID part contains slashes, they are escaped. E.g.
|
60
|
+
# `projects/p1/locations/us-central1/repositories/repo1/files/sha:<sha-of-file>`.
|
61
|
+
# @!attribute [r] oci_version_name
|
62
|
+
# @return [::String]
|
63
|
+
# Output only. The name of the OCI version that this attachment created. Only
|
64
|
+
# populated for Docker attachments. E.g.
|
65
|
+
# `projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1`.
|
66
|
+
class Attachment
|
67
|
+
include ::Google::Protobuf::MessageExts
|
68
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
69
|
+
|
70
|
+
# @!attribute [rw] key
|
71
|
+
# @return [::String]
|
72
|
+
# @!attribute [rw] value
|
73
|
+
# @return [::String]
|
74
|
+
class AnnotationsEntry
|
75
|
+
include ::Google::Protobuf::MessageExts
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# The request to list attachments.
|
81
|
+
# @!attribute [rw] parent
|
82
|
+
# @return [::String]
|
83
|
+
# Required. The name of the parent resource whose attachments will be listed.
|
84
|
+
# @!attribute [rw] filter
|
85
|
+
# @return [::String]
|
86
|
+
# Optional. An expression for filtering the results of the request. Filter
|
87
|
+
# rules are case insensitive. The fields eligible for filtering are:
|
88
|
+
#
|
89
|
+
# * `target`
|
90
|
+
# * `type`
|
91
|
+
# * `attachment_namespace`
|
92
|
+
# @!attribute [rw] page_size
|
93
|
+
# @return [::Integer]
|
94
|
+
# The maximum number of attachments to return. Maximum page size is 1,000.
|
95
|
+
# @!attribute [rw] page_token
|
96
|
+
# @return [::String]
|
97
|
+
# The next_page_token value returned from a previous list request, if any.
|
98
|
+
class ListAttachmentsRequest
|
99
|
+
include ::Google::Protobuf::MessageExts
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
|
+
end
|
102
|
+
|
103
|
+
# The response from listing attachments.
|
104
|
+
# @!attribute [rw] attachments
|
105
|
+
# @return [::Array<::Google::Cloud::ArtifactRegistry::V1::Attachment>]
|
106
|
+
# The attachments returned.
|
107
|
+
# @!attribute [rw] next_page_token
|
108
|
+
# @return [::String]
|
109
|
+
# The token to retrieve the next page of attachments, or empty if there are
|
110
|
+
# no more attachments to return.
|
111
|
+
class ListAttachmentsResponse
|
112
|
+
include ::Google::Protobuf::MessageExts
|
113
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
114
|
+
end
|
115
|
+
|
116
|
+
# The request to retrieve an attachment.
|
117
|
+
# @!attribute [rw] name
|
118
|
+
# @return [::String]
|
119
|
+
# Required. The name of the attachment to retrieve.
|
120
|
+
class GetAttachmentRequest
|
121
|
+
include ::Google::Protobuf::MessageExts
|
122
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
123
|
+
end
|
124
|
+
|
125
|
+
# The request to create a new attachment.
|
126
|
+
# @!attribute [rw] parent
|
127
|
+
# @return [::String]
|
128
|
+
# Required. The name of the parent resource where the attachment will be
|
129
|
+
# created.
|
130
|
+
# @!attribute [rw] attachment_id
|
131
|
+
# @return [::String]
|
132
|
+
# Required. The attachment id to use for this attachment.
|
133
|
+
# @!attribute [rw] attachment
|
134
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::Attachment]
|
135
|
+
# Required. The attachment to be created.
|
136
|
+
class CreateAttachmentRequest
|
137
|
+
include ::Google::Protobuf::MessageExts
|
138
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
139
|
+
end
|
140
|
+
|
141
|
+
# The request to delete an attachment.
|
142
|
+
# @!attribute [rw] name
|
143
|
+
# @return [::String]
|
144
|
+
# Required. The name of the attachment to delete.
|
145
|
+
class DeleteAttachmentRequest
|
146
|
+
include ::Google::Protobuf::MessageExts
|
147
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
151
|
+
end
|
152
|
+
end
|
@@ -49,7 +49,7 @@ module Google
|
|
49
49
|
# @!attribute [rw] name
|
50
50
|
# @return [::String]
|
51
51
|
# The name of the file, for example:
|
52
|
-
#
|
52
|
+
# `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`.
|
53
53
|
# If the file ID part contains slashes, they are escaped.
|
54
54
|
# @!attribute [rw] size_bytes
|
55
55
|
# @return [::Integer]
|
@@ -70,9 +70,21 @@ module Google
|
|
70
70
|
# @return [::Google::Protobuf::Timestamp]
|
71
71
|
# Output only. The time when the last attempt to refresh the file's data was
|
72
72
|
# made. Only set when the repository is remote.
|
73
|
+
# @!attribute [rw] annotations
|
74
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
75
|
+
# Optional. Client specified annotations.
|
73
76
|
class File
|
74
77
|
include ::Google::Protobuf::MessageExts
|
75
78
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
79
|
+
|
80
|
+
# @!attribute [rw] key
|
81
|
+
# @return [::String]
|
82
|
+
# @!attribute [rw] value
|
83
|
+
# @return [::String]
|
84
|
+
class AnnotationsEntry
|
85
|
+
include ::Google::Protobuf::MessageExts
|
86
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
87
|
+
end
|
76
88
|
end
|
77
89
|
|
78
90
|
# The request to list files.
|
@@ -87,16 +99,54 @@ module Google
|
|
87
99
|
#
|
88
100
|
# * `name`
|
89
101
|
# * `owner`
|
102
|
+
# * `annotations`
|
103
|
+
#
|
104
|
+
# Examples of using a filter:
|
105
|
+
#
|
106
|
+
# To filter the results of your request to files with the name `my_file.txt`
|
107
|
+
# in project `my-project` in the `us-central` region, in repository
|
108
|
+
# `my-repo`, append the following filter expression to your request:
|
109
|
+
#
|
110
|
+
# * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-file.txt"`
|
111
|
+
#
|
112
|
+
# You can also use wildcards to match any number of characters before or
|
113
|
+
# after the value:
|
114
|
+
#
|
115
|
+
# * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/my-*"`
|
116
|
+
# * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/*file.txt"`
|
117
|
+
# * `name="projects/my-project/locations/us-central1/repositories/my-repo/files/*file*"`
|
118
|
+
#
|
119
|
+
# To filter the results of your request to files owned by the version `1.0`
|
120
|
+
# in package `pkg1`, append the following filter expression to your request:
|
121
|
+
#
|
122
|
+
# * `owner="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0"`
|
123
|
+
#
|
124
|
+
# To filter the results of your request to files with the annotation
|
125
|
+
# key-value pair [`external_link`: `external_link_value`], append the
|
126
|
+
# following filter expression to your request:
|
127
|
+
#
|
128
|
+
# * `"annotations.external_link:external_link_value"`
|
129
|
+
#
|
130
|
+
# To filter just for a specific annotation key `external_link`, append the
|
131
|
+
# following filter expression to your request:
|
132
|
+
#
|
133
|
+
# * `"annotations.external_link"`
|
90
134
|
#
|
91
|
-
#
|
135
|
+
# If the annotation key or value contains special characters, you can escape
|
136
|
+
# them by surrounding the value with backticks. For example, to filter the
|
137
|
+
# results of your request to files with the annotation key-value pair
|
138
|
+
# [`external.link`:`https://example.com/my-file`], append the following
|
139
|
+
# filter expression to your request:
|
92
140
|
#
|
93
|
-
# *
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
141
|
+
# * `` "annotations.`external.link`:`https://example.com/my-file`" ``
|
142
|
+
#
|
143
|
+
# You can also filter with annotations with a wildcard to
|
144
|
+
# match any number of characters before or after the value:
|
145
|
+
#
|
146
|
+
# * `` "annotations.*_link:`*example.com*`" ``
|
97
147
|
# @!attribute [rw] page_size
|
98
148
|
# @return [::Integer]
|
99
|
-
# The maximum number of files to return.
|
149
|
+
# The maximum number of files to return. Maximum page size is 1,000.
|
100
150
|
# @!attribute [rw] page_token
|
101
151
|
# @return [::String]
|
102
152
|
# The next_page_token value returned from a previous list request, if any.
|
@@ -129,6 +179,29 @@ module Google
|
|
129
179
|
include ::Google::Protobuf::MessageExts
|
130
180
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
131
181
|
end
|
182
|
+
|
183
|
+
# The request to delete a file.
|
184
|
+
# @!attribute [rw] name
|
185
|
+
# @return [::String]
|
186
|
+
# Required. The name of the file to delete.
|
187
|
+
class DeleteFileRequest
|
188
|
+
include ::Google::Protobuf::MessageExts
|
189
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
190
|
+
end
|
191
|
+
|
192
|
+
# The request to update a file.
|
193
|
+
# @!attribute [rw] file
|
194
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::File]
|
195
|
+
# Required. The File that replaces the resource on the server.
|
196
|
+
# @!attribute [rw] update_mask
|
197
|
+
# @return [::Google::Protobuf::FieldMask]
|
198
|
+
# Required. The update mask applies to the resource. For the `FieldMask`
|
199
|
+
# definition, see
|
200
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
|
201
|
+
class UpdateFileRequest
|
202
|
+
include ::Google::Protobuf::MessageExts
|
203
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
204
|
+
end
|
132
205
|
end
|
133
206
|
end
|
134
207
|
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ArtifactRegistry
|
23
|
+
module V1
|
24
|
+
# GenericArtifact represents a generic artifact
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Resource name of the generic artifact.
|
28
|
+
# project, location, repository, package_id and version_id
|
29
|
+
# create a unique generic artifact.
|
30
|
+
# i.e. "projects/test-project/locations/us-west4/repositories/test-repo/
|
31
|
+
# genericArtifacts/package_id:version_id"
|
32
|
+
# @!attribute [rw] version
|
33
|
+
# @return [::String]
|
34
|
+
# The version of the generic artifact.
|
35
|
+
# @!attribute [r] create_time
|
36
|
+
# @return [::Google::Protobuf::Timestamp]
|
37
|
+
# Output only. The time when the Generic module is created.
|
38
|
+
# @!attribute [r] update_time
|
39
|
+
# @return [::Google::Protobuf::Timestamp]
|
40
|
+
# Output only. The time when the Generic module is updated.
|
41
|
+
class GenericArtifact
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -37,9 +37,21 @@ module Google
|
|
37
37
|
# @return [::Google::Protobuf::Timestamp]
|
38
38
|
# The time when the package was last updated. This includes publishing a new
|
39
39
|
# version of the package.
|
40
|
+
# @!attribute [rw] annotations
|
41
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
42
|
+
# Optional. Client specified annotations.
|
40
43
|
class Package
|
41
44
|
include ::Google::Protobuf::MessageExts
|
42
45
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
46
|
+
|
47
|
+
# @!attribute [rw] key
|
48
|
+
# @return [::String]
|
49
|
+
# @!attribute [rw] value
|
50
|
+
# @return [::String]
|
51
|
+
class AnnotationsEntry
|
52
|
+
include ::Google::Protobuf::MessageExts
|
53
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
54
|
+
end
|
43
55
|
end
|
44
56
|
|
45
57
|
# The request to list packages.
|
@@ -52,6 +64,56 @@ module Google
|
|
52
64
|
# @!attribute [rw] page_token
|
53
65
|
# @return [::String]
|
54
66
|
# The next_page_token value returned from a previous list request, if any.
|
67
|
+
# @!attribute [rw] filter
|
68
|
+
# @return [::String]
|
69
|
+
# Optional. An expression for filtering the results of the request. Filter
|
70
|
+
# rules are case insensitive. The fields eligible for filtering are:
|
71
|
+
#
|
72
|
+
# * `name`
|
73
|
+
# * `annotations`
|
74
|
+
#
|
75
|
+
# Examples of using a filter:
|
76
|
+
#
|
77
|
+
# To filter the results of your request to packages with the name
|
78
|
+
# `my-package` in project `my-project` in the `us-central` region, in
|
79
|
+
# repository `my-repo`, append the following filter expression to your
|
80
|
+
# request:
|
81
|
+
#
|
82
|
+
# * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package"`
|
83
|
+
#
|
84
|
+
# You can also use wildcards to match any number of characters before or
|
85
|
+
# after the value:
|
86
|
+
#
|
87
|
+
# * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-*"`
|
88
|
+
# * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/*package"`
|
89
|
+
# * `name="projects/my-project/locations/us-central1/repositories/my-repo/packages/*pack*"`
|
90
|
+
#
|
91
|
+
# To filter the results of your request to packages with the annotation
|
92
|
+
# key-value pair [`external_link`: `external_link_value`], append the
|
93
|
+
# following filter expression to your request":
|
94
|
+
#
|
95
|
+
# * `"annotations.external_link:external_link_value"`
|
96
|
+
#
|
97
|
+
# To filter the results just for a specific annotation key `external_link`,
|
98
|
+
# append the following filter expression to your request:
|
99
|
+
#
|
100
|
+
# * `"annotations.external_link"`
|
101
|
+
#
|
102
|
+
# If the annotation key or value contains special characters, you can escape
|
103
|
+
# them by surrounding the value with backticks. For example, to filter the
|
104
|
+
# results of your request to packages with the annotation key-value pair
|
105
|
+
# [`external.link`:`https://example.com/my-package`], append the following
|
106
|
+
# filter expression to your request:
|
107
|
+
#
|
108
|
+
# * `` "annotations.`external.link`:`https://example.com/my-package`" ``
|
109
|
+
#
|
110
|
+
# You can also filter with annotations with a wildcard to
|
111
|
+
# match any number of characters before or after the value:
|
112
|
+
#
|
113
|
+
# * `` "annotations.*_link:`*example.com*`" ``
|
114
|
+
# @!attribute [rw] order_by
|
115
|
+
# @return [::String]
|
116
|
+
# Optional. The field to order the results by.
|
55
117
|
class ListPackagesRequest
|
56
118
|
include ::Google::Protobuf::MessageExts
|
57
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -87,6 +149,20 @@ module Google
|
|
87
149
|
include ::Google::Protobuf::MessageExts
|
88
150
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
89
151
|
end
|
152
|
+
|
153
|
+
# The request to update a package.
|
154
|
+
# @!attribute [rw] package
|
155
|
+
# @return [::Google::Cloud::ArtifactRegistry::V1::Package]
|
156
|
+
# The package that replaces the resource on the server.
|
157
|
+
# @!attribute [rw] update_mask
|
158
|
+
# @return [::Google::Protobuf::FieldMask]
|
159
|
+
# The update mask applies to the resource. For the `FieldMask` definition,
|
160
|
+
# see
|
161
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
|
162
|
+
class UpdatePackageRequest
|
163
|
+
include ::Google::Protobuf::MessageExts
|
164
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
165
|
+
end
|
90
166
|
end
|
91
167
|
end
|
92
168
|
end
|