google-apis-artifactregistry_v1 0.8.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/artifactregistry_v1/classes.rb +307 -32
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +2 -2
- data/lib/google/apis/artifactregistry_v1/representations.rb +155 -12
- data/lib/google/apis/artifactregistry_v1/service.rb +0 -119
- data/lib/google/apis/artifactregistry_v1.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb5bfc1060984cd426696693136ea716fb3a6a629b41da03a946d9caa008ce1e
|
4
|
+
data.tar.gz: 318976d2cb680930edd3f006698c857de0954d6fe2a09ce9e8de634d84f695b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 622055ebb7a0901c19bcc40bbbcb4ad39f7381a83ee6feaf672be2a63ef807c3f427ad49071f667c40540d725542586605bc06215934b7df6d9cc30ccbac8722
|
7
|
+
data.tar.gz: 89e8c7eb27d19d33a028191215347550c6d294745a15b29c85796f80728c66bd0f9bc26caf22b6b368d2645cc0eb65d600eef484b93783c837c8ed62eea84822
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2021-10-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211015
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.11.0 (2021-10-01)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210925
|
11
|
+
|
12
|
+
### v0.10.0 (2021-09-01)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210817
|
15
|
+
|
16
|
+
### v0.9.0 (2021-07-06)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210629
|
19
|
+
|
3
20
|
### v0.8.0 (2021-06-29)
|
4
21
|
|
5
22
|
* Regenerated using generator version 0.4.0
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Artifactregistry service in particular.)
|
67
67
|
|
@@ -22,16 +22,55 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ArtifactregistryV1
|
24
24
|
|
25
|
-
#
|
26
|
-
|
25
|
+
# A detailed representation of an Apt artifact. Information in the record is
|
26
|
+
# derived from the archive's control file. See https://www.debian.org/doc/debian-
|
27
|
+
# policy/ch-controlfields.html
|
28
|
+
class AptArtifact
|
27
29
|
include Google::Apis::Core::Hashable
|
28
30
|
|
31
|
+
# Output only. Operating system architecture of the artifact.
|
32
|
+
# Corresponds to the JSON property `architecture`
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :architecture
|
35
|
+
|
36
|
+
# Output only. Repository component of the artifact.
|
37
|
+
# Corresponds to the JSON property `component`
|
38
|
+
# @return [String]
|
39
|
+
attr_accessor :component
|
40
|
+
|
41
|
+
# Output only. Contents of the artifact's control metadata file.
|
42
|
+
# Corresponds to the JSON property `controlFile`
|
43
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
44
|
+
# @return [String]
|
45
|
+
attr_accessor :control_file
|
46
|
+
|
47
|
+
# Output only. The Artifact Registry resource name of the artifact.
|
48
|
+
# Corresponds to the JSON property `name`
|
49
|
+
# @return [String]
|
50
|
+
attr_accessor :name
|
51
|
+
|
52
|
+
# Output only. The Apt package name of the artifact.
|
53
|
+
# Corresponds to the JSON property `packageName`
|
54
|
+
# @return [String]
|
55
|
+
attr_accessor :package_name
|
56
|
+
|
57
|
+
# Output only. An artifact is a binary or source package.
|
58
|
+
# Corresponds to the JSON property `packageType`
|
59
|
+
# @return [String]
|
60
|
+
attr_accessor :package_type
|
61
|
+
|
29
62
|
def initialize(**args)
|
30
63
|
update!(**args)
|
31
64
|
end
|
32
65
|
|
33
66
|
# Update properties of this object
|
34
67
|
def update!(**args)
|
68
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
69
|
+
@component = args[:component] if args.key?(:component)
|
70
|
+
@control_file = args[:control_file] if args.key?(:control_file)
|
71
|
+
@name = args[:name] if args.key?(:name)
|
72
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
73
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
35
74
|
end
|
36
75
|
end
|
37
76
|
|
@@ -44,8 +83,7 @@ module Google
|
|
44
83
|
# The time this image was built. This field is returned as the 'metadata.
|
45
84
|
# buildTime' field in the Version resource. The build time is returned to the
|
46
85
|
# client as an RFC 3339 string, which can be easily used with the JavaScript
|
47
|
-
# Date constructor
|
48
|
-
# consistent, as JSON marshals google.protobuf.Timestamp into an RFC 3339 string.
|
86
|
+
# Date constructor.
|
49
87
|
# Corresponds to the JSON property `buildTime`
|
50
88
|
# @return [String]
|
51
89
|
attr_accessor :build_time
|
@@ -109,37 +147,50 @@ module Google
|
|
109
147
|
end
|
110
148
|
end
|
111
149
|
|
112
|
-
#
|
113
|
-
|
114
|
-
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
115
|
-
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
116
|
-
# `Empty` is empty JSON object ````.
|
117
|
-
class Empty
|
150
|
+
# Error information explaining why a package was not imported.
|
151
|
+
class ImportAptArtifactsErrorInfo
|
118
152
|
include Google::Apis::Core::Hashable
|
119
153
|
|
154
|
+
# The `Status` type defines a logical error model that is suitable for different
|
155
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
156
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
157
|
+
# data: error code, error message, and error details. You can find out more
|
158
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
159
|
+
# //cloud.google.com/apis/design/errors).
|
160
|
+
# Corresponds to the JSON property `error`
|
161
|
+
# @return [Google::Apis::ArtifactregistryV1::Status]
|
162
|
+
attr_accessor :error
|
163
|
+
|
164
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
165
|
+
# Corresponds to the JSON property `gcsSource`
|
166
|
+
# @return [Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource]
|
167
|
+
attr_accessor :gcs_source
|
168
|
+
|
120
169
|
def initialize(**args)
|
121
170
|
update!(**args)
|
122
171
|
end
|
123
172
|
|
124
173
|
# Update properties of this object
|
125
174
|
def update!(**args)
|
175
|
+
@error = args[:error] if args.key?(:error)
|
176
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
126
177
|
end
|
127
178
|
end
|
128
179
|
|
129
|
-
#
|
130
|
-
class
|
180
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
181
|
+
class ImportAptArtifactsGcsSource
|
131
182
|
include Google::Apis::Core::Hashable
|
132
183
|
|
133
|
-
#
|
134
|
-
# Corresponds to the JSON property `
|
135
|
-
# @return [Array<
|
136
|
-
attr_accessor :
|
184
|
+
# Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
|
185
|
+
# Corresponds to the JSON property `uris`
|
186
|
+
# @return [Array<String>]
|
187
|
+
attr_accessor :uris
|
137
188
|
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
|
142
|
-
|
189
|
+
# Supports URI wildcards for matching multiple objects from a single URI.
|
190
|
+
# Corresponds to the JSON property `useWildcards`
|
191
|
+
# @return [Boolean]
|
192
|
+
attr_accessor :use_wildcards
|
193
|
+
alias_method :use_wildcards?, :use_wildcards
|
143
194
|
|
144
195
|
def initialize(**args)
|
145
196
|
update!(**args)
|
@@ -147,33 +198,140 @@ module Google
|
|
147
198
|
|
148
199
|
# Update properties of this object
|
149
200
|
def update!(**args)
|
150
|
-
@
|
151
|
-
@
|
201
|
+
@uris = args[:uris] if args.key?(:uris)
|
202
|
+
@use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
# The response message from importing artifacts.
|
207
|
+
class ImportAptArtifactsResponse
|
208
|
+
include Google::Apis::Core::Hashable
|
209
|
+
|
210
|
+
# The Apt artifacts updated.
|
211
|
+
# Corresponds to the JSON property `aptArtifacts`
|
212
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
|
213
|
+
attr_accessor :apt_artifacts
|
214
|
+
|
215
|
+
# Detailed error info for packages that were not imported.
|
216
|
+
# Corresponds to the JSON property `errors`
|
217
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo>]
|
218
|
+
attr_accessor :errors
|
219
|
+
|
220
|
+
def initialize(**args)
|
221
|
+
update!(**args)
|
222
|
+
end
|
223
|
+
|
224
|
+
# Update properties of this object
|
225
|
+
def update!(**args)
|
226
|
+
@apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
|
227
|
+
@errors = args[:errors] if args.key?(:errors)
|
152
228
|
end
|
153
229
|
end
|
154
230
|
|
155
|
-
#
|
156
|
-
class
|
231
|
+
# Error information explaining why a package was not imported.
|
232
|
+
class ImportYumArtifactsErrorInfo
|
157
233
|
include Google::Apis::Core::Hashable
|
158
234
|
|
159
|
-
# The
|
235
|
+
# The `Status` type defines a logical error model that is suitable for different
|
236
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
237
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
238
|
+
# data: error code, error message, and error details. You can find out more
|
239
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
240
|
+
# //cloud.google.com/apis/design/errors).
|
241
|
+
# Corresponds to the JSON property `error`
|
242
|
+
# @return [Google::Apis::ArtifactregistryV1::Status]
|
243
|
+
attr_accessor :error
|
244
|
+
|
245
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
246
|
+
# Corresponds to the JSON property `gcsSource`
|
247
|
+
# @return [Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource]
|
248
|
+
attr_accessor :gcs_source
|
249
|
+
|
250
|
+
def initialize(**args)
|
251
|
+
update!(**args)
|
252
|
+
end
|
253
|
+
|
254
|
+
# Update properties of this object
|
255
|
+
def update!(**args)
|
256
|
+
@error = args[:error] if args.key?(:error)
|
257
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
262
|
+
class ImportYumArtifactsGcsSource
|
263
|
+
include Google::Apis::Core::Hashable
|
264
|
+
|
265
|
+
# Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
|
266
|
+
# Corresponds to the JSON property `uris`
|
267
|
+
# @return [Array<String>]
|
268
|
+
attr_accessor :uris
|
269
|
+
|
270
|
+
# Supports URI wildcards for matching multiple objects from a single URI.
|
271
|
+
# Corresponds to the JSON property `useWildcards`
|
272
|
+
# @return [Boolean]
|
273
|
+
attr_accessor :use_wildcards
|
274
|
+
alias_method :use_wildcards?, :use_wildcards
|
275
|
+
|
276
|
+
def initialize(**args)
|
277
|
+
update!(**args)
|
278
|
+
end
|
279
|
+
|
280
|
+
# Update properties of this object
|
281
|
+
def update!(**args)
|
282
|
+
@uris = args[:uris] if args.key?(:uris)
|
283
|
+
@use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
# The response message from importing artifacts.
|
288
|
+
class ImportYumArtifactsResponse
|
289
|
+
include Google::Apis::Core::Hashable
|
290
|
+
|
291
|
+
# Detailed error info for packages that were not imported.
|
292
|
+
# Corresponds to the JSON property `errors`
|
293
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo>]
|
294
|
+
attr_accessor :errors
|
295
|
+
|
296
|
+
# The yum artifacts updated.
|
297
|
+
# Corresponds to the JSON property `yumArtifacts`
|
298
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
|
299
|
+
attr_accessor :yum_artifacts
|
300
|
+
|
301
|
+
def initialize(**args)
|
302
|
+
update!(**args)
|
303
|
+
end
|
304
|
+
|
305
|
+
# Update properties of this object
|
306
|
+
def update!(**args)
|
307
|
+
@errors = args[:errors] if args.key?(:errors)
|
308
|
+
@yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
# The response from listing docker images.
|
313
|
+
class ListDockerImagesResponse
|
314
|
+
include Google::Apis::Core::Hashable
|
315
|
+
|
316
|
+
# The docker images returned.
|
317
|
+
# Corresponds to the JSON property `dockerImages`
|
318
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::DockerImage>]
|
319
|
+
attr_accessor :docker_images
|
320
|
+
|
321
|
+
# The token to retrieve the next page of artifacts, or empty if there are no
|
322
|
+
# more artifacts to return.
|
160
323
|
# Corresponds to the JSON property `nextPageToken`
|
161
324
|
# @return [String]
|
162
325
|
attr_accessor :next_page_token
|
163
326
|
|
164
|
-
# A list of operations that matches the specified filter in the request.
|
165
|
-
# Corresponds to the JSON property `operations`
|
166
|
-
# @return [Array<Google::Apis::ArtifactregistryV1::Operation>]
|
167
|
-
attr_accessor :operations
|
168
|
-
|
169
327
|
def initialize(**args)
|
170
328
|
update!(**args)
|
171
329
|
end
|
172
330
|
|
173
331
|
# Update properties of this object
|
174
332
|
def update!(**args)
|
333
|
+
@docker_images = args[:docker_images] if args.key?(:docker_images)
|
175
334
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
176
|
-
@operations = args[:operations] if args.key?(:operations)
|
177
335
|
end
|
178
336
|
end
|
179
337
|
|
@@ -365,6 +523,123 @@ module Google
|
|
365
523
|
@message = args[:message] if args.key?(:message)
|
366
524
|
end
|
367
525
|
end
|
526
|
+
|
527
|
+
# The response to upload an artifact.
|
528
|
+
class UploadAptArtifactMediaResponse
|
529
|
+
include Google::Apis::Core::Hashable
|
530
|
+
|
531
|
+
# This resource represents a long-running operation that is the result of a
|
532
|
+
# network API call.
|
533
|
+
# Corresponds to the JSON property `operation`
|
534
|
+
# @return [Google::Apis::ArtifactregistryV1::Operation]
|
535
|
+
attr_accessor :operation
|
536
|
+
|
537
|
+
def initialize(**args)
|
538
|
+
update!(**args)
|
539
|
+
end
|
540
|
+
|
541
|
+
# Update properties of this object
|
542
|
+
def update!(**args)
|
543
|
+
@operation = args[:operation] if args.key?(:operation)
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
547
|
+
# The response of the completed artifact upload operation. This response is
|
548
|
+
# contained in the Operation and available to users.
|
549
|
+
class UploadAptArtifactResponse
|
550
|
+
include Google::Apis::Core::Hashable
|
551
|
+
|
552
|
+
# The Apt artifacts updated.
|
553
|
+
# Corresponds to the JSON property `aptArtifacts`
|
554
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
|
555
|
+
attr_accessor :apt_artifacts
|
556
|
+
|
557
|
+
def initialize(**args)
|
558
|
+
update!(**args)
|
559
|
+
end
|
560
|
+
|
561
|
+
# Update properties of this object
|
562
|
+
def update!(**args)
|
563
|
+
@apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
|
564
|
+
end
|
565
|
+
end
|
566
|
+
|
567
|
+
# The response to upload an artifact.
|
568
|
+
class UploadYumArtifactMediaResponse
|
569
|
+
include Google::Apis::Core::Hashable
|
570
|
+
|
571
|
+
# This resource represents a long-running operation that is the result of a
|
572
|
+
# network API call.
|
573
|
+
# Corresponds to the JSON property `operation`
|
574
|
+
# @return [Google::Apis::ArtifactregistryV1::Operation]
|
575
|
+
attr_accessor :operation
|
576
|
+
|
577
|
+
def initialize(**args)
|
578
|
+
update!(**args)
|
579
|
+
end
|
580
|
+
|
581
|
+
# Update properties of this object
|
582
|
+
def update!(**args)
|
583
|
+
@operation = args[:operation] if args.key?(:operation)
|
584
|
+
end
|
585
|
+
end
|
586
|
+
|
587
|
+
# The response of the completed artifact upload operation. This response is
|
588
|
+
# contained in the Operation and available to users.
|
589
|
+
class UploadYumArtifactResponse
|
590
|
+
include Google::Apis::Core::Hashable
|
591
|
+
|
592
|
+
# The Apt artifacts updated.
|
593
|
+
# Corresponds to the JSON property `yumArtifacts`
|
594
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
|
595
|
+
attr_accessor :yum_artifacts
|
596
|
+
|
597
|
+
def initialize(**args)
|
598
|
+
update!(**args)
|
599
|
+
end
|
600
|
+
|
601
|
+
# Update properties of this object
|
602
|
+
def update!(**args)
|
603
|
+
@yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
|
604
|
+
end
|
605
|
+
end
|
606
|
+
|
607
|
+
# A detailed representation of a Yum artifact.
|
608
|
+
class YumArtifact
|
609
|
+
include Google::Apis::Core::Hashable
|
610
|
+
|
611
|
+
# Output only. Operating system architecture of the artifact.
|
612
|
+
# Corresponds to the JSON property `architecture`
|
613
|
+
# @return [String]
|
614
|
+
attr_accessor :architecture
|
615
|
+
|
616
|
+
# Output only. The Artifact Registry resource name of the artifact.
|
617
|
+
# Corresponds to the JSON property `name`
|
618
|
+
# @return [String]
|
619
|
+
attr_accessor :name
|
620
|
+
|
621
|
+
# Output only. The yum package name of the artifact.
|
622
|
+
# Corresponds to the JSON property `packageName`
|
623
|
+
# @return [String]
|
624
|
+
attr_accessor :package_name
|
625
|
+
|
626
|
+
# Output only. An artifact is a binary or source package.
|
627
|
+
# Corresponds to the JSON property `packageType`
|
628
|
+
# @return [String]
|
629
|
+
attr_accessor :package_type
|
630
|
+
|
631
|
+
def initialize(**args)
|
632
|
+
update!(**args)
|
633
|
+
end
|
634
|
+
|
635
|
+
# Update properties of this object
|
636
|
+
def update!(**args)
|
637
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
638
|
+
@name = args[:name] if args.key?(:name)
|
639
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
640
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
641
|
+
end
|
642
|
+
end
|
368
643
|
end
|
369
644
|
end
|
370
645
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ArtifactregistryV1
|
18
18
|
# Version of the google-apis-artifactregistry_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211015"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ArtifactregistryV1
|
24
24
|
|
25
|
-
class
|
25
|
+
class AptArtifact
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -34,19 +34,43 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class ImportAptArtifactsErrorInfo
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class ImportAptArtifactsGcsSource
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class ImportAptArtifactsResponse
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
46
52
|
include Google::Apis::Core::JsonObjectSupport
|
47
53
|
end
|
48
54
|
|
49
|
-
class
|
55
|
+
class ImportYumArtifactsErrorInfo
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class ImportYumArtifactsGcsSource
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class ImportYumArtifactsResponse
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class ListDockerImagesResponse
|
50
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
75
|
|
52
76
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -76,9 +100,45 @@ module Google
|
|
76
100
|
include Google::Apis::Core::JsonObjectSupport
|
77
101
|
end
|
78
102
|
|
79
|
-
class
|
103
|
+
class UploadAptArtifactMediaResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class UploadAptArtifactResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class UploadYumArtifactMediaResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class UploadYumArtifactResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class YumArtifact
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class AptArtifact
|
80
134
|
# @private
|
81
135
|
class Representation < Google::Apis::Core::JsonRepresentation
|
136
|
+
property :architecture, as: 'architecture'
|
137
|
+
property :component, as: 'component'
|
138
|
+
property :control_file, :base64 => true, as: 'controlFile'
|
139
|
+
property :name, as: 'name'
|
140
|
+
property :package_name, as: 'packageName'
|
141
|
+
property :package_type, as: 'packageType'
|
82
142
|
end
|
83
143
|
end
|
84
144
|
|
@@ -95,30 +155,71 @@ module Google
|
|
95
155
|
end
|
96
156
|
end
|
97
157
|
|
98
|
-
class
|
158
|
+
class ImportAptArtifactsErrorInfo
|
99
159
|
# @private
|
100
160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
161
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
|
162
|
+
|
163
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource::Representation
|
164
|
+
|
101
165
|
end
|
102
166
|
end
|
103
167
|
|
104
|
-
class
|
168
|
+
class ImportAptArtifactsGcsSource
|
105
169
|
# @private
|
106
170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
107
|
-
collection :
|
171
|
+
collection :uris, as: 'uris'
|
172
|
+
property :use_wildcards, as: 'useWildcards'
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
class ImportAptArtifactsResponse
|
177
|
+
# @private
|
178
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
179
|
+
collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
|
180
|
+
|
181
|
+
collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo::Representation
|
108
182
|
|
109
|
-
property :next_page_token, as: 'nextPageToken'
|
110
183
|
end
|
111
184
|
end
|
112
185
|
|
113
|
-
class
|
186
|
+
class ImportYumArtifactsErrorInfo
|
114
187
|
# @private
|
115
188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
116
|
-
property :
|
117
|
-
|
189
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
|
190
|
+
|
191
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource::Representation
|
118
192
|
|
119
193
|
end
|
120
194
|
end
|
121
195
|
|
196
|
+
class ImportYumArtifactsGcsSource
|
197
|
+
# @private
|
198
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
199
|
+
collection :uris, as: 'uris'
|
200
|
+
property :use_wildcards, as: 'useWildcards'
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
class ImportYumArtifactsResponse
|
205
|
+
# @private
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
207
|
+
collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo::Representation
|
208
|
+
|
209
|
+
collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
|
210
|
+
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
class ListDockerImagesResponse
|
215
|
+
# @private
|
216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
217
|
+
collection :docker_images, as: 'dockerImages', class: Google::Apis::ArtifactregistryV1::DockerImage, decorator: Google::Apis::ArtifactregistryV1::DockerImage::Representation
|
218
|
+
|
219
|
+
property :next_page_token, as: 'nextPageToken'
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
122
223
|
class ListRepositoriesResponse
|
123
224
|
# @private
|
124
225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -161,6 +262,48 @@ module Google
|
|
161
262
|
property :message, as: 'message'
|
162
263
|
end
|
163
264
|
end
|
265
|
+
|
266
|
+
class UploadAptArtifactMediaResponse
|
267
|
+
# @private
|
268
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
269
|
+
property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1::Operation, decorator: Google::Apis::ArtifactregistryV1::Operation::Representation
|
270
|
+
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
class UploadAptArtifactResponse
|
275
|
+
# @private
|
276
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
277
|
+
collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
|
278
|
+
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
class UploadYumArtifactMediaResponse
|
283
|
+
# @private
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
285
|
+
property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1::Operation, decorator: Google::Apis::ArtifactregistryV1::Operation::Representation
|
286
|
+
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
class UploadYumArtifactResponse
|
291
|
+
# @private
|
292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
293
|
+
collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
|
294
|
+
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
298
|
+
class YumArtifact
|
299
|
+
# @private
|
300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
301
|
+
property :architecture, as: 'architecture'
|
302
|
+
property :name, as: 'name'
|
303
|
+
property :package_name, as: 'packageName'
|
304
|
+
property :package_type, as: 'packageType'
|
305
|
+
end
|
306
|
+
end
|
164
307
|
end
|
165
308
|
end
|
166
309
|
end
|
@@ -50,79 +50,6 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
-
# Starts asynchronous cancellation on a long-running operation. The server makes
|
54
|
-
# a best effort to cancel the operation, but success is not guaranteed. If the
|
55
|
-
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
56
|
-
# Clients can use Operations.GetOperation or other methods to check whether the
|
57
|
-
# cancellation succeeded or whether the operation completed despite cancellation.
|
58
|
-
# On successful cancellation, the operation is not deleted; instead, it becomes
|
59
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
60
|
-
# corresponding to `Code.CANCELLED`.
|
61
|
-
# @param [String] name
|
62
|
-
# The name of the operation resource to be cancelled.
|
63
|
-
# @param [Google::Apis::ArtifactregistryV1::CancelOperationRequest] cancel_operation_request_object
|
64
|
-
# @param [String] fields
|
65
|
-
# Selector specifying which fields to include in a partial response.
|
66
|
-
# @param [String] quota_user
|
67
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
68
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
69
|
-
# @param [Google::Apis::RequestOptions] options
|
70
|
-
# Request-specific options
|
71
|
-
#
|
72
|
-
# @yield [result, err] Result & error if block supplied
|
73
|
-
# @yieldparam result [Google::Apis::ArtifactregistryV1::Empty] parsed result object
|
74
|
-
# @yieldparam err [StandardError] error object if request failed
|
75
|
-
#
|
76
|
-
# @return [Google::Apis::ArtifactregistryV1::Empty]
|
77
|
-
#
|
78
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
79
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
80
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
81
|
-
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
82
|
-
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
83
|
-
command.request_representation = Google::Apis::ArtifactregistryV1::CancelOperationRequest::Representation
|
84
|
-
command.request_object = cancel_operation_request_object
|
85
|
-
command.response_representation = Google::Apis::ArtifactregistryV1::Empty::Representation
|
86
|
-
command.response_class = Google::Apis::ArtifactregistryV1::Empty
|
87
|
-
command.params['name'] = name unless name.nil?
|
88
|
-
command.query['fields'] = fields unless fields.nil?
|
89
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
90
|
-
execute_or_queue_command(command, &block)
|
91
|
-
end
|
92
|
-
|
93
|
-
# Deletes a long-running operation. This method indicates that the client is no
|
94
|
-
# longer interested in the operation result. It does not cancel the operation.
|
95
|
-
# If the server doesn't support this method, it returns `google.rpc.Code.
|
96
|
-
# UNIMPLEMENTED`.
|
97
|
-
# @param [String] name
|
98
|
-
# The name of the operation resource to be deleted.
|
99
|
-
# @param [String] fields
|
100
|
-
# Selector specifying which fields to include in a partial response.
|
101
|
-
# @param [String] quota_user
|
102
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
103
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
104
|
-
# @param [Google::Apis::RequestOptions] options
|
105
|
-
# Request-specific options
|
106
|
-
#
|
107
|
-
# @yield [result, err] Result & error if block supplied
|
108
|
-
# @yieldparam result [Google::Apis::ArtifactregistryV1::Empty] parsed result object
|
109
|
-
# @yieldparam err [StandardError] error object if request failed
|
110
|
-
#
|
111
|
-
# @return [Google::Apis::ArtifactregistryV1::Empty]
|
112
|
-
#
|
113
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
-
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
118
|
-
command.response_representation = Google::Apis::ArtifactregistryV1::Empty::Representation
|
119
|
-
command.response_class = Google::Apis::ArtifactregistryV1::Empty
|
120
|
-
command.params['name'] = name unless name.nil?
|
121
|
-
command.query['fields'] = fields unless fields.nil?
|
122
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
123
|
-
execute_or_queue_command(command, &block)
|
124
|
-
end
|
125
|
-
|
126
53
|
# Gets the latest state of a long-running operation. Clients can use this method
|
127
54
|
# to poll the operation result at intervals as recommended by the API service.
|
128
55
|
# @param [String] name
|
@@ -154,52 +81,6 @@ module Google
|
|
154
81
|
execute_or_queue_command(command, &block)
|
155
82
|
end
|
156
83
|
|
157
|
-
# Lists operations that match the specified filter in the request. If the server
|
158
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
159
|
-
# binding allows API services to override the binding to use different resource
|
160
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
161
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
162
|
-
# service configuration. For backwards compatibility, the default name includes
|
163
|
-
# the operations collection id, however overriding users must ensure the name
|
164
|
-
# binding is the parent resource, without the operations collection id.
|
165
|
-
# @param [String] filter
|
166
|
-
# The standard list filter.
|
167
|
-
# @param [String] name
|
168
|
-
# The name of the operation's parent resource.
|
169
|
-
# @param [Fixnum] page_size
|
170
|
-
# The standard list page size.
|
171
|
-
# @param [String] page_token
|
172
|
-
# The standard list page token.
|
173
|
-
# @param [String] fields
|
174
|
-
# Selector specifying which fields to include in a partial response.
|
175
|
-
# @param [String] quota_user
|
176
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
177
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
178
|
-
# @param [Google::Apis::RequestOptions] options
|
179
|
-
# Request-specific options
|
180
|
-
#
|
181
|
-
# @yield [result, err] Result & error if block supplied
|
182
|
-
# @yieldparam result [Google::Apis::ArtifactregistryV1::ListOperationsResponse] parsed result object
|
183
|
-
# @yieldparam err [StandardError] error object if request failed
|
184
|
-
#
|
185
|
-
# @return [Google::Apis::ArtifactregistryV1::ListOperationsResponse]
|
186
|
-
#
|
187
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
188
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
189
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
190
|
-
def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
191
|
-
command = make_simple_command(:get, 'v1/operations', options)
|
192
|
-
command.response_representation = Google::Apis::ArtifactregistryV1::ListOperationsResponse::Representation
|
193
|
-
command.response_class = Google::Apis::ArtifactregistryV1::ListOperationsResponse
|
194
|
-
command.query['filter'] = filter unless filter.nil?
|
195
|
-
command.query['name'] = name unless name.nil?
|
196
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
197
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
198
|
-
command.query['fields'] = fields unless fields.nil?
|
199
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
200
|
-
execute_or_queue_command(command, &block)
|
201
|
-
end
|
202
|
-
|
203
84
|
# Gets a repository.
|
204
85
|
# @param [String] name
|
205
86
|
# Required. The name of the repository to retrieve.
|
@@ -30,10 +30,10 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
|
36
|
-
# View your data across Google Cloud
|
36
|
+
# View your data across Google Cloud services and see the email address of your Google Account
|
37
37
|
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
38
38
|
end
|
39
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-artifactregistry_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.12.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-artifactregistry_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|