google-apis-artifactregistry_v1 0.6.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/lib/google/apis/artifactregistry_v1/classes.rb +331 -0
- data/lib/google/apis/artifactregistry_v1/gem_version.rb +3 -3
- data/lib/google/apis/artifactregistry_v1/representations.rb +182 -0
- data/lib/google/apis/artifactregistry_v1/service.rb +5 -5
- data/lib/google/apis/artifactregistry_v1.rb +2 -2
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72bdfa740a8ec072c69930e92dd080c0c6c4be5f9cd524ff1ccead08a899d907
|
4
|
+
data.tar.gz: b629462183dc2f037e89c194ecd856c401756c95f32f80e1449e03379b88c6f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad50639383da51293c5feb6d4eb16e73f30cb56db485c11c934ce515a0bacb9d00becc7e23f8b9e88df67dce557e68cd03a20a2e493c418e042bc325c2d29ed9
|
7
|
+
data.tar.gz: 7eae1f09ece40a9f9d2425abf248de9f3a900a3ff5bceb5beb82b6659bcc4adf16406867ba0af3e7ce7d646ffdf28088354b3fe2011970c30fe7f6b64cb76ce9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-artifactregistry_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2021-09-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210817
|
6
|
+
|
7
|
+
### v0.9.0 (2021-07-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210629
|
10
|
+
|
11
|
+
### v0.8.0 (2021-06-29)
|
12
|
+
|
13
|
+
* Regenerated using generator version 0.4.0
|
14
|
+
|
15
|
+
### v0.7.0 (2021-06-24)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210524
|
18
|
+
* Regenerated using generator version 0.3.0
|
19
|
+
|
3
20
|
### v0.6.0 (2021-05-25)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210517
|
@@ -22,6 +22,58 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ArtifactregistryV1
|
24
24
|
|
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
|
29
|
+
include Google::Apis::Core::Hashable
|
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
|
+
|
62
|
+
def initialize(**args)
|
63
|
+
update!(**args)
|
64
|
+
end
|
65
|
+
|
66
|
+
# Update properties of this object
|
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)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
25
77
|
# The request message for Operations.CancelOperation.
|
26
78
|
class CancelOperationRequest
|
27
79
|
include Google::Apis::Core::Hashable
|
@@ -126,6 +178,168 @@ module Google
|
|
126
178
|
end
|
127
179
|
end
|
128
180
|
|
181
|
+
# Error information explaining why a package was not imported.
|
182
|
+
class ImportAptArtifactsErrorInfo
|
183
|
+
include Google::Apis::Core::Hashable
|
184
|
+
|
185
|
+
# The `Status` type defines a logical error model that is suitable for different
|
186
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
187
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
188
|
+
# data: error code, error message, and error details. You can find out more
|
189
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
190
|
+
# //cloud.google.com/apis/design/errors).
|
191
|
+
# Corresponds to the JSON property `error`
|
192
|
+
# @return [Google::Apis::ArtifactregistryV1::Status]
|
193
|
+
attr_accessor :error
|
194
|
+
|
195
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
196
|
+
# Corresponds to the JSON property `gcsSource`
|
197
|
+
# @return [Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource]
|
198
|
+
attr_accessor :gcs_source
|
199
|
+
|
200
|
+
def initialize(**args)
|
201
|
+
update!(**args)
|
202
|
+
end
|
203
|
+
|
204
|
+
# Update properties of this object
|
205
|
+
def update!(**args)
|
206
|
+
@error = args[:error] if args.key?(:error)
|
207
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
212
|
+
class ImportAptArtifactsGcsSource
|
213
|
+
include Google::Apis::Core::Hashable
|
214
|
+
|
215
|
+
# Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
|
216
|
+
# Corresponds to the JSON property `uris`
|
217
|
+
# @return [Array<String>]
|
218
|
+
attr_accessor :uris
|
219
|
+
|
220
|
+
# Supports URI wildcards for matching multiple objects from a single URI.
|
221
|
+
# Corresponds to the JSON property `useWildcards`
|
222
|
+
# @return [Boolean]
|
223
|
+
attr_accessor :use_wildcards
|
224
|
+
alias_method :use_wildcards?, :use_wildcards
|
225
|
+
|
226
|
+
def initialize(**args)
|
227
|
+
update!(**args)
|
228
|
+
end
|
229
|
+
|
230
|
+
# Update properties of this object
|
231
|
+
def update!(**args)
|
232
|
+
@uris = args[:uris] if args.key?(:uris)
|
233
|
+
@use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
# The response message from importing artifacts.
|
238
|
+
class ImportAptArtifactsResponse
|
239
|
+
include Google::Apis::Core::Hashable
|
240
|
+
|
241
|
+
# The Apt artifacts updated.
|
242
|
+
# Corresponds to the JSON property `aptArtifacts`
|
243
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
|
244
|
+
attr_accessor :apt_artifacts
|
245
|
+
|
246
|
+
# Detailed error info for packages that were not imported.
|
247
|
+
# Corresponds to the JSON property `errors`
|
248
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo>]
|
249
|
+
attr_accessor :errors
|
250
|
+
|
251
|
+
def initialize(**args)
|
252
|
+
update!(**args)
|
253
|
+
end
|
254
|
+
|
255
|
+
# Update properties of this object
|
256
|
+
def update!(**args)
|
257
|
+
@apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
|
258
|
+
@errors = args[:errors] if args.key?(:errors)
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
262
|
+
# Error information explaining why a package was not imported.
|
263
|
+
class ImportYumArtifactsErrorInfo
|
264
|
+
include Google::Apis::Core::Hashable
|
265
|
+
|
266
|
+
# The `Status` type defines a logical error model that is suitable for different
|
267
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
268
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
269
|
+
# data: error code, error message, and error details. You can find out more
|
270
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
271
|
+
# //cloud.google.com/apis/design/errors).
|
272
|
+
# Corresponds to the JSON property `error`
|
273
|
+
# @return [Google::Apis::ArtifactregistryV1::Status]
|
274
|
+
attr_accessor :error
|
275
|
+
|
276
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
277
|
+
# Corresponds to the JSON property `gcsSource`
|
278
|
+
# @return [Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource]
|
279
|
+
attr_accessor :gcs_source
|
280
|
+
|
281
|
+
def initialize(**args)
|
282
|
+
update!(**args)
|
283
|
+
end
|
284
|
+
|
285
|
+
# Update properties of this object
|
286
|
+
def update!(**args)
|
287
|
+
@error = args[:error] if args.key?(:error)
|
288
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
# Google Cloud Storage location where the artifacts currently reside.
|
293
|
+
class ImportYumArtifactsGcsSource
|
294
|
+
include Google::Apis::Core::Hashable
|
295
|
+
|
296
|
+
# Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
|
297
|
+
# Corresponds to the JSON property `uris`
|
298
|
+
# @return [Array<String>]
|
299
|
+
attr_accessor :uris
|
300
|
+
|
301
|
+
# Supports URI wildcards for matching multiple objects from a single URI.
|
302
|
+
# Corresponds to the JSON property `useWildcards`
|
303
|
+
# @return [Boolean]
|
304
|
+
attr_accessor :use_wildcards
|
305
|
+
alias_method :use_wildcards?, :use_wildcards
|
306
|
+
|
307
|
+
def initialize(**args)
|
308
|
+
update!(**args)
|
309
|
+
end
|
310
|
+
|
311
|
+
# Update properties of this object
|
312
|
+
def update!(**args)
|
313
|
+
@uris = args[:uris] if args.key?(:uris)
|
314
|
+
@use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
# The response message from importing artifacts.
|
319
|
+
class ImportYumArtifactsResponse
|
320
|
+
include Google::Apis::Core::Hashable
|
321
|
+
|
322
|
+
# Detailed error info for packages that were not imported.
|
323
|
+
# Corresponds to the JSON property `errors`
|
324
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo>]
|
325
|
+
attr_accessor :errors
|
326
|
+
|
327
|
+
# The yum artifacts updated.
|
328
|
+
# Corresponds to the JSON property `yumArtifacts`
|
329
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
|
330
|
+
attr_accessor :yum_artifacts
|
331
|
+
|
332
|
+
def initialize(**args)
|
333
|
+
update!(**args)
|
334
|
+
end
|
335
|
+
|
336
|
+
# Update properties of this object
|
337
|
+
def update!(**args)
|
338
|
+
@errors = args[:errors] if args.key?(:errors)
|
339
|
+
@yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
129
343
|
# The response from listing docker images.
|
130
344
|
class ListDockerImagesResponse
|
131
345
|
include Google::Apis::Core::Hashable
|
@@ -365,6 +579,123 @@ module Google
|
|
365
579
|
@message = args[:message] if args.key?(:message)
|
366
580
|
end
|
367
581
|
end
|
582
|
+
|
583
|
+
# The response to upload an artifact.
|
584
|
+
class UploadAptArtifactMediaResponse
|
585
|
+
include Google::Apis::Core::Hashable
|
586
|
+
|
587
|
+
# This resource represents a long-running operation that is the result of a
|
588
|
+
# network API call.
|
589
|
+
# Corresponds to the JSON property `operation`
|
590
|
+
# @return [Google::Apis::ArtifactregistryV1::Operation]
|
591
|
+
attr_accessor :operation
|
592
|
+
|
593
|
+
def initialize(**args)
|
594
|
+
update!(**args)
|
595
|
+
end
|
596
|
+
|
597
|
+
# Update properties of this object
|
598
|
+
def update!(**args)
|
599
|
+
@operation = args[:operation] if args.key?(:operation)
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
603
|
+
# The response of the completed artifact upload operation. This response is
|
604
|
+
# contained in the Operation and available to users.
|
605
|
+
class UploadAptArtifactResponse
|
606
|
+
include Google::Apis::Core::Hashable
|
607
|
+
|
608
|
+
# The Apt artifacts updated.
|
609
|
+
# Corresponds to the JSON property `aptArtifacts`
|
610
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
|
611
|
+
attr_accessor :apt_artifacts
|
612
|
+
|
613
|
+
def initialize(**args)
|
614
|
+
update!(**args)
|
615
|
+
end
|
616
|
+
|
617
|
+
# Update properties of this object
|
618
|
+
def update!(**args)
|
619
|
+
@apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
623
|
+
# The response to upload an artifact.
|
624
|
+
class UploadYumArtifactMediaResponse
|
625
|
+
include Google::Apis::Core::Hashable
|
626
|
+
|
627
|
+
# This resource represents a long-running operation that is the result of a
|
628
|
+
# network API call.
|
629
|
+
# Corresponds to the JSON property `operation`
|
630
|
+
# @return [Google::Apis::ArtifactregistryV1::Operation]
|
631
|
+
attr_accessor :operation
|
632
|
+
|
633
|
+
def initialize(**args)
|
634
|
+
update!(**args)
|
635
|
+
end
|
636
|
+
|
637
|
+
# Update properties of this object
|
638
|
+
def update!(**args)
|
639
|
+
@operation = args[:operation] if args.key?(:operation)
|
640
|
+
end
|
641
|
+
end
|
642
|
+
|
643
|
+
# The response of the completed artifact upload operation. This response is
|
644
|
+
# contained in the Operation and available to users.
|
645
|
+
class UploadYumArtifactResponse
|
646
|
+
include Google::Apis::Core::Hashable
|
647
|
+
|
648
|
+
# The Apt artifacts updated.
|
649
|
+
# Corresponds to the JSON property `yumArtifacts`
|
650
|
+
# @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
|
651
|
+
attr_accessor :yum_artifacts
|
652
|
+
|
653
|
+
def initialize(**args)
|
654
|
+
update!(**args)
|
655
|
+
end
|
656
|
+
|
657
|
+
# Update properties of this object
|
658
|
+
def update!(**args)
|
659
|
+
@yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
663
|
+
# A detailed representation of a Yum artifact.
|
664
|
+
class YumArtifact
|
665
|
+
include Google::Apis::Core::Hashable
|
666
|
+
|
667
|
+
# Output only. Operating system architecture of the artifact.
|
668
|
+
# Corresponds to the JSON property `architecture`
|
669
|
+
# @return [String]
|
670
|
+
attr_accessor :architecture
|
671
|
+
|
672
|
+
# Output only. The Artifact Registry resource name of the artifact.
|
673
|
+
# Corresponds to the JSON property `name`
|
674
|
+
# @return [String]
|
675
|
+
attr_accessor :name
|
676
|
+
|
677
|
+
# Output only. The yum package name of the artifact.
|
678
|
+
# Corresponds to the JSON property `packageName`
|
679
|
+
# @return [String]
|
680
|
+
attr_accessor :package_name
|
681
|
+
|
682
|
+
# Output only. An artifact is a binary or source package.
|
683
|
+
# Corresponds to the JSON property `packageType`
|
684
|
+
# @return [String]
|
685
|
+
attr_accessor :package_type
|
686
|
+
|
687
|
+
def initialize(**args)
|
688
|
+
update!(**args)
|
689
|
+
end
|
690
|
+
|
691
|
+
# Update properties of this object
|
692
|
+
def update!(**args)
|
693
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
694
|
+
@name = args[:name] if args.key?(:name)
|
695
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
696
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
697
|
+
end
|
698
|
+
end
|
368
699
|
end
|
369
700
|
end
|
370
701
|
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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210817"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ArtifactregistryV1
|
24
24
|
|
25
|
+
class AptArtifact
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class CancelOperationRequest
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -40,6 +46,42 @@ module Google
|
|
40
46
|
include Google::Apis::Core::JsonObjectSupport
|
41
47
|
end
|
42
48
|
|
49
|
+
class ImportAptArtifactsErrorInfo
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class ImportAptArtifactsGcsSource
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class ImportAptArtifactsResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class ImportYumArtifactsErrorInfo
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class ImportYumArtifactsGcsSource
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class ImportYumArtifactsResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
43
85
|
class ListDockerImagesResponse
|
44
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
87
|
|
@@ -76,6 +118,48 @@ module Google
|
|
76
118
|
include Google::Apis::Core::JsonObjectSupport
|
77
119
|
end
|
78
120
|
|
121
|
+
class UploadAptArtifactMediaResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class UploadAptArtifactResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class UploadYumArtifactMediaResponse
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class UploadYumArtifactResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class YumArtifact
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class AptArtifact
|
152
|
+
# @private
|
153
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
154
|
+
property :architecture, as: 'architecture'
|
155
|
+
property :component, as: 'component'
|
156
|
+
property :control_file, :base64 => true, as: 'controlFile'
|
157
|
+
property :name, as: 'name'
|
158
|
+
property :package_name, as: 'packageName'
|
159
|
+
property :package_type, as: 'packageType'
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
79
163
|
class CancelOperationRequest
|
80
164
|
# @private
|
81
165
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -101,6 +185,62 @@ module Google
|
|
101
185
|
end
|
102
186
|
end
|
103
187
|
|
188
|
+
class ImportAptArtifactsErrorInfo
|
189
|
+
# @private
|
190
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
191
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
|
192
|
+
|
193
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource::Representation
|
194
|
+
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
class ImportAptArtifactsGcsSource
|
199
|
+
# @private
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
201
|
+
collection :uris, as: 'uris'
|
202
|
+
property :use_wildcards, as: 'useWildcards'
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
class ImportAptArtifactsResponse
|
207
|
+
# @private
|
208
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
209
|
+
collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
|
210
|
+
|
211
|
+
collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo::Representation
|
212
|
+
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
class ImportYumArtifactsErrorInfo
|
217
|
+
# @private
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
219
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1::Status, decorator: Google::Apis::ArtifactregistryV1::Status::Representation
|
220
|
+
|
221
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource::Representation
|
222
|
+
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
class ImportYumArtifactsGcsSource
|
227
|
+
# @private
|
228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
229
|
+
collection :uris, as: 'uris'
|
230
|
+
property :use_wildcards, as: 'useWildcards'
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
class ImportYumArtifactsResponse
|
235
|
+
# @private
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
237
|
+
collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo, decorator: Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo::Representation
|
238
|
+
|
239
|
+
collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
|
240
|
+
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
104
244
|
class ListDockerImagesResponse
|
105
245
|
# @private
|
106
246
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -161,6 +301,48 @@ module Google
|
|
161
301
|
property :message, as: 'message'
|
162
302
|
end
|
163
303
|
end
|
304
|
+
|
305
|
+
class UploadAptArtifactMediaResponse
|
306
|
+
# @private
|
307
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
308
|
+
property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1::Operation, decorator: Google::Apis::ArtifactregistryV1::Operation::Representation
|
309
|
+
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
class UploadAptArtifactResponse
|
314
|
+
# @private
|
315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
316
|
+
collection :apt_artifacts, as: 'aptArtifacts', class: Google::Apis::ArtifactregistryV1::AptArtifact, decorator: Google::Apis::ArtifactregistryV1::AptArtifact::Representation
|
317
|
+
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
class UploadYumArtifactMediaResponse
|
322
|
+
# @private
|
323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
324
|
+
property :operation, as: 'operation', class: Google::Apis::ArtifactregistryV1::Operation, decorator: Google::Apis::ArtifactregistryV1::Operation::Representation
|
325
|
+
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
class UploadYumArtifactResponse
|
330
|
+
# @private
|
331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
332
|
+
collection :yum_artifacts, as: 'yumArtifacts', class: Google::Apis::ArtifactregistryV1::YumArtifact, decorator: Google::Apis::ArtifactregistryV1::YumArtifact::Representation
|
333
|
+
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
class YumArtifact
|
338
|
+
# @private
|
339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
340
|
+
property :architecture, as: 'architecture'
|
341
|
+
property :name, as: 'name'
|
342
|
+
property :package_name, as: 'packageName'
|
343
|
+
property :package_type, as: 'packageType'
|
344
|
+
end
|
345
|
+
end
|
164
346
|
end
|
165
347
|
end
|
166
348
|
end
|
@@ -162,10 +162,10 @@ module Google
|
|
162
162
|
# service configuration. For backwards compatibility, the default name includes
|
163
163
|
# the operations collection id, however overriding users must ensure the name
|
164
164
|
# binding is the parent resource, without the operations collection id.
|
165
|
-
# @param [String] filter
|
166
|
-
# The standard list filter.
|
167
165
|
# @param [String] name
|
168
166
|
# The name of the operation's parent resource.
|
167
|
+
# @param [String] filter
|
168
|
+
# The standard list filter.
|
169
169
|
# @param [Fixnum] page_size
|
170
170
|
# The standard list page size.
|
171
171
|
# @param [String] page_token
|
@@ -187,12 +187,12 @@ module Google
|
|
187
187
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
188
188
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
189
189
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
190
|
-
def list_operations(
|
191
|
-
command = make_simple_command(:get, 'v1/
|
190
|
+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
191
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
192
192
|
command.response_representation = Google::Apis::ArtifactregistryV1::ListOperationsResponse::Representation
|
193
193
|
command.response_class = Google::Apis::ArtifactregistryV1::ListOperationsResponse
|
194
|
+
command.params['name'] = name unless name.nil?
|
194
195
|
command.query['filter'] = filter unless filter.nil?
|
195
|
-
command.query['name'] = name unless name.nil?
|
196
196
|
command.query['pageSize'] = page_size unless page_size.nil?
|
197
197
|
command.query['pageToken'] = page_token unless page_token.nil?
|
198
198
|
command.query['fields'] = fields unless fields.nil?
|
@@ -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,29 +1,35 @@
|
|
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.10.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-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Artifact Registry API V1. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.10.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|