google-apis-artifactregistry_v1 0.7.0 → 0.11.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e266abeba45a1785930933995f871d4a5312d6ec15857eebad8eca21f9f585e6
4
- data.tar.gz: a91e1dd2aa396375f33fb65d9e359232ab3b75b6fbbc2b527c6e027c8e5f0906
3
+ metadata.gz: 5a41f8bd048ac6f240ae3d03b157c5a00951541c61a14c716a719cc474a83bc0
4
+ data.tar.gz: fb900f4eef4e237731ccedb35df882fa87049bec51d88eb1e4cb148db570924a
5
5
  SHA512:
6
- metadata.gz: a86642156c2f857e3a1bb8948420127c823c33e467a461f8908e8927b5c6a4e7387329332149d76686cee631f289116edc15b69220a24e4bfe727c8a8b1c3dc6
7
- data.tar.gz: c4af2ab2ef0edf8677512b6a14924e5100750ed6f7b6737165c00be9d7e8ae905a92b8836bf0fc526ecaad2339e15274ada8f590bdd89fb4314276c419e38b81
6
+ metadata.gz: 5cf666875f1db413c6dfd6272f23c9ec04803b2dbfc07535dd1ac8fd450748dde02258f17ad1ab6d97cac29ff0286ecbc29805037886a152596caa29a39cfee1
7
+ data.tar.gz: 24c7c03b213457a711b6c4d21dfb66464a76ef4c6dba20bef6641fcef5d953de371b6681cd6f3509a8d8587594f7aae1172e1062a32aaab58573b5d4a950fc8a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-artifactregistry_v1
2
2
 
3
+ ### v0.11.0 (2021-10-01)
4
+
5
+ * Regenerated from discovery document revision 20210925
6
+
7
+ ### v0.10.0 (2021-09-01)
8
+
9
+ * Regenerated from discovery document revision 20210817
10
+
11
+ ### v0.9.0 (2021-07-06)
12
+
13
+ * Regenerated from discovery document revision 20210629
14
+
15
+ ### v0.8.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.7.0 (2021-06-24)
4
20
 
5
21
  * Regenerated from discovery document revision 20210524
@@ -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
@@ -44,8 +96,7 @@ module Google
44
96
  # The time this image was built. This field is returned as the 'metadata.
45
97
  # buildTime' field in the Version resource. The build time is returned to the
46
98
  # client as an RFC 3339 string, which can be easily used with the JavaScript
47
- # Date constructor and keeps the Version timestamps returned via OnePlatform
48
- # consistent, as JSON marshals google.protobuf.Timestamp into an RFC 3339 string.
99
+ # Date constructor.
49
100
  # Corresponds to the JSON property `buildTime`
50
101
  # @return [String]
51
102
  attr_accessor :build_time
@@ -126,6 +177,168 @@ module Google
126
177
  end
127
178
  end
128
179
 
180
+ # Error information explaining why a package was not imported.
181
+ class ImportAptArtifactsErrorInfo
182
+ include Google::Apis::Core::Hashable
183
+
184
+ # The `Status` type defines a logical error model that is suitable for different
185
+ # programming environments, including REST APIs and RPC APIs. It is used by [
186
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
187
+ # data: error code, error message, and error details. You can find out more
188
+ # about this error model and how to work with it in the [API Design Guide](https:
189
+ # //cloud.google.com/apis/design/errors).
190
+ # Corresponds to the JSON property `error`
191
+ # @return [Google::Apis::ArtifactregistryV1::Status]
192
+ attr_accessor :error
193
+
194
+ # Google Cloud Storage location where the artifacts currently reside.
195
+ # Corresponds to the JSON property `gcsSource`
196
+ # @return [Google::Apis::ArtifactregistryV1::ImportAptArtifactsGcsSource]
197
+ attr_accessor :gcs_source
198
+
199
+ def initialize(**args)
200
+ update!(**args)
201
+ end
202
+
203
+ # Update properties of this object
204
+ def update!(**args)
205
+ @error = args[:error] if args.key?(:error)
206
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
207
+ end
208
+ end
209
+
210
+ # Google Cloud Storage location where the artifacts currently reside.
211
+ class ImportAptArtifactsGcsSource
212
+ include Google::Apis::Core::Hashable
213
+
214
+ # Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
215
+ # Corresponds to the JSON property `uris`
216
+ # @return [Array<String>]
217
+ attr_accessor :uris
218
+
219
+ # Supports URI wildcards for matching multiple objects from a single URI.
220
+ # Corresponds to the JSON property `useWildcards`
221
+ # @return [Boolean]
222
+ attr_accessor :use_wildcards
223
+ alias_method :use_wildcards?, :use_wildcards
224
+
225
+ def initialize(**args)
226
+ update!(**args)
227
+ end
228
+
229
+ # Update properties of this object
230
+ def update!(**args)
231
+ @uris = args[:uris] if args.key?(:uris)
232
+ @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
233
+ end
234
+ end
235
+
236
+ # The response message from importing artifacts.
237
+ class ImportAptArtifactsResponse
238
+ include Google::Apis::Core::Hashable
239
+
240
+ # The Apt artifacts updated.
241
+ # Corresponds to the JSON property `aptArtifacts`
242
+ # @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
243
+ attr_accessor :apt_artifacts
244
+
245
+ # Detailed error info for packages that were not imported.
246
+ # Corresponds to the JSON property `errors`
247
+ # @return [Array<Google::Apis::ArtifactregistryV1::ImportAptArtifactsErrorInfo>]
248
+ attr_accessor :errors
249
+
250
+ def initialize(**args)
251
+ update!(**args)
252
+ end
253
+
254
+ # Update properties of this object
255
+ def update!(**args)
256
+ @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
257
+ @errors = args[:errors] if args.key?(:errors)
258
+ end
259
+ end
260
+
261
+ # Error information explaining why a package was not imported.
262
+ class ImportYumArtifactsErrorInfo
263
+ include Google::Apis::Core::Hashable
264
+
265
+ # The `Status` type defines a logical error model that is suitable for different
266
+ # programming environments, including REST APIs and RPC APIs. It is used by [
267
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
268
+ # data: error code, error message, and error details. You can find out more
269
+ # about this error model and how to work with it in the [API Design Guide](https:
270
+ # //cloud.google.com/apis/design/errors).
271
+ # Corresponds to the JSON property `error`
272
+ # @return [Google::Apis::ArtifactregistryV1::Status]
273
+ attr_accessor :error
274
+
275
+ # Google Cloud Storage location where the artifacts currently reside.
276
+ # Corresponds to the JSON property `gcsSource`
277
+ # @return [Google::Apis::ArtifactregistryV1::ImportYumArtifactsGcsSource]
278
+ attr_accessor :gcs_source
279
+
280
+ def initialize(**args)
281
+ update!(**args)
282
+ end
283
+
284
+ # Update properties of this object
285
+ def update!(**args)
286
+ @error = args[:error] if args.key?(:error)
287
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
288
+ end
289
+ end
290
+
291
+ # Google Cloud Storage location where the artifacts currently reside.
292
+ class ImportYumArtifactsGcsSource
293
+ include Google::Apis::Core::Hashable
294
+
295
+ # Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
296
+ # Corresponds to the JSON property `uris`
297
+ # @return [Array<String>]
298
+ attr_accessor :uris
299
+
300
+ # Supports URI wildcards for matching multiple objects from a single URI.
301
+ # Corresponds to the JSON property `useWildcards`
302
+ # @return [Boolean]
303
+ attr_accessor :use_wildcards
304
+ alias_method :use_wildcards?, :use_wildcards
305
+
306
+ def initialize(**args)
307
+ update!(**args)
308
+ end
309
+
310
+ # Update properties of this object
311
+ def update!(**args)
312
+ @uris = args[:uris] if args.key?(:uris)
313
+ @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
314
+ end
315
+ end
316
+
317
+ # The response message from importing artifacts.
318
+ class ImportYumArtifactsResponse
319
+ include Google::Apis::Core::Hashable
320
+
321
+ # Detailed error info for packages that were not imported.
322
+ # Corresponds to the JSON property `errors`
323
+ # @return [Array<Google::Apis::ArtifactregistryV1::ImportYumArtifactsErrorInfo>]
324
+ attr_accessor :errors
325
+
326
+ # The yum artifacts updated.
327
+ # Corresponds to the JSON property `yumArtifacts`
328
+ # @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
329
+ attr_accessor :yum_artifacts
330
+
331
+ def initialize(**args)
332
+ update!(**args)
333
+ end
334
+
335
+ # Update properties of this object
336
+ def update!(**args)
337
+ @errors = args[:errors] if args.key?(:errors)
338
+ @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
339
+ end
340
+ end
341
+
129
342
  # The response from listing docker images.
130
343
  class ListDockerImagesResponse
131
344
  include Google::Apis::Core::Hashable
@@ -365,6 +578,123 @@ module Google
365
578
  @message = args[:message] if args.key?(:message)
366
579
  end
367
580
  end
581
+
582
+ # The response to upload an artifact.
583
+ class UploadAptArtifactMediaResponse
584
+ include Google::Apis::Core::Hashable
585
+
586
+ # This resource represents a long-running operation that is the result of a
587
+ # network API call.
588
+ # Corresponds to the JSON property `operation`
589
+ # @return [Google::Apis::ArtifactregistryV1::Operation]
590
+ attr_accessor :operation
591
+
592
+ def initialize(**args)
593
+ update!(**args)
594
+ end
595
+
596
+ # Update properties of this object
597
+ def update!(**args)
598
+ @operation = args[:operation] if args.key?(:operation)
599
+ end
600
+ end
601
+
602
+ # The response of the completed artifact upload operation. This response is
603
+ # contained in the Operation and available to users.
604
+ class UploadAptArtifactResponse
605
+ include Google::Apis::Core::Hashable
606
+
607
+ # The Apt artifacts updated.
608
+ # Corresponds to the JSON property `aptArtifacts`
609
+ # @return [Array<Google::Apis::ArtifactregistryV1::AptArtifact>]
610
+ attr_accessor :apt_artifacts
611
+
612
+ def initialize(**args)
613
+ update!(**args)
614
+ end
615
+
616
+ # Update properties of this object
617
+ def update!(**args)
618
+ @apt_artifacts = args[:apt_artifacts] if args.key?(:apt_artifacts)
619
+ end
620
+ end
621
+
622
+ # The response to upload an artifact.
623
+ class UploadYumArtifactMediaResponse
624
+ include Google::Apis::Core::Hashable
625
+
626
+ # This resource represents a long-running operation that is the result of a
627
+ # network API call.
628
+ # Corresponds to the JSON property `operation`
629
+ # @return [Google::Apis::ArtifactregistryV1::Operation]
630
+ attr_accessor :operation
631
+
632
+ def initialize(**args)
633
+ update!(**args)
634
+ end
635
+
636
+ # Update properties of this object
637
+ def update!(**args)
638
+ @operation = args[:operation] if args.key?(:operation)
639
+ end
640
+ end
641
+
642
+ # The response of the completed artifact upload operation. This response is
643
+ # contained in the Operation and available to users.
644
+ class UploadYumArtifactResponse
645
+ include Google::Apis::Core::Hashable
646
+
647
+ # The Apt artifacts updated.
648
+ # Corresponds to the JSON property `yumArtifacts`
649
+ # @return [Array<Google::Apis::ArtifactregistryV1::YumArtifact>]
650
+ attr_accessor :yum_artifacts
651
+
652
+ def initialize(**args)
653
+ update!(**args)
654
+ end
655
+
656
+ # Update properties of this object
657
+ def update!(**args)
658
+ @yum_artifacts = args[:yum_artifacts] if args.key?(:yum_artifacts)
659
+ end
660
+ end
661
+
662
+ # A detailed representation of a Yum artifact.
663
+ class YumArtifact
664
+ include Google::Apis::Core::Hashable
665
+
666
+ # Output only. Operating system architecture of the artifact.
667
+ # Corresponds to the JSON property `architecture`
668
+ # @return [String]
669
+ attr_accessor :architecture
670
+
671
+ # Output only. The Artifact Registry resource name of the artifact.
672
+ # Corresponds to the JSON property `name`
673
+ # @return [String]
674
+ attr_accessor :name
675
+
676
+ # Output only. The yum package name of the artifact.
677
+ # Corresponds to the JSON property `packageName`
678
+ # @return [String]
679
+ attr_accessor :package_name
680
+
681
+ # Output only. An artifact is a binary or source package.
682
+ # Corresponds to the JSON property `packageType`
683
+ # @return [String]
684
+ attr_accessor :package_type
685
+
686
+ def initialize(**args)
687
+ update!(**args)
688
+ end
689
+
690
+ # Update properties of this object
691
+ def update!(**args)
692
+ @architecture = args[:architecture] if args.key?(:architecture)
693
+ @name = args[:name] if args.key?(:name)
694
+ @package_name = args[:package_name] if args.key?(:package_name)
695
+ @package_type = args[:package_type] if args.key?(:package_type)
696
+ end
697
+ end
368
698
  end
369
699
  end
370
700
  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.7.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210524"
25
+ REVISION = "20210925"
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(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)
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 Platform data
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 Platform services
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.7.0
4
+ version: 0.11.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-06-28 00:00:00.000000000 Z
11
+ date: 2021-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-artifactregistry_v1/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-artifactregistry_v1
63
63
  post_install_message:
64
64
  rdoc_options: []