google-cloud-artifact_registry-v1beta2 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/AUTHENTICATION.md +7 -25
  4. data/README.md +2 -2
  5. data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/client.rb +975 -129
  6. data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/operations.rb +145 -33
  7. data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/paths.rb +54 -0
  8. data/lib/google/cloud/artifact_registry/v1beta2/version.rb +1 -1
  9. data/lib/google/devtools/artifactregistry/v1beta2/apt_artifact_pb.rb +65 -0
  10. data/lib/google/devtools/artifactregistry/v1beta2/file_pb.rb +4 -3
  11. data/lib/google/devtools/artifactregistry/v1beta2/package_pb.rb +2 -2
  12. data/lib/google/devtools/artifactregistry/v1beta2/repository_pb.rb +23 -3
  13. data/lib/google/devtools/artifactregistry/v1beta2/service_pb.rb +5 -2
  14. data/lib/google/devtools/artifactregistry/v1beta2/service_services_pb.rb +15 -1
  15. data/lib/google/devtools/artifactregistry/v1beta2/settings_pb.rb +24 -3
  16. data/lib/google/devtools/artifactregistry/v1beta2/tag_pb.rb +3 -2
  17. data/lib/google/devtools/artifactregistry/v1beta2/version_pb.rb +8 -3
  18. data/lib/google/devtools/artifactregistry/v1beta2/yum_artifact_pb.rb +63 -0
  19. data/proto_docs/google/api/resource.rb +10 -71
  20. data/proto_docs/google/devtools/artifactregistry/v1beta2/apt_artifact.rb +118 -0
  21. data/proto_docs/google/devtools/artifactregistry/v1beta2/file.rb +5 -1
  22. data/proto_docs/google/devtools/artifactregistry/v1beta2/repository.rb +53 -6
  23. data/proto_docs/google/devtools/artifactregistry/v1beta2/settings.rb +80 -0
  24. data/proto_docs/google/devtools/artifactregistry/v1beta2/tag.rb +6 -2
  25. data/proto_docs/google/devtools/artifactregistry/v1beta2/version.rb +12 -2
  26. data/proto_docs/google/devtools/artifactregistry/v1beta2/yum_artifact.rb +110 -0
  27. data/proto_docs/google/protobuf/struct.rb +96 -0
  28. metadata +11 -5
@@ -0,0 +1,110 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module ArtifactRegistry
23
+ module V1beta2
24
+ # A detailed representation of a Yum artifact.
25
+ # @!attribute [r] name
26
+ # @return [::String]
27
+ # Output only. The Artifact Registry resource name of the artifact.
28
+ # @!attribute [r] package_name
29
+ # @return [::String]
30
+ # Output only. The yum package name of the artifact.
31
+ # @!attribute [r] package_type
32
+ # @return [::Google::Cloud::ArtifactRegistry::V1beta2::YumArtifact::PackageType]
33
+ # Output only. An artifact is a binary or source package.
34
+ # @!attribute [r] architecture
35
+ # @return [::String]
36
+ # Output only. Operating system architecture of the artifact.
37
+ class YumArtifact
38
+ include ::Google::Protobuf::MessageExts
39
+ extend ::Google::Protobuf::MessageExts::ClassMethods
40
+
41
+ # Package type is either binary or source.
42
+ module PackageType
43
+ # Package type is not specified.
44
+ PACKAGE_TYPE_UNSPECIFIED = 0
45
+
46
+ # Binary package (.rpm).
47
+ BINARY = 1
48
+
49
+ # Source package (.srpm).
50
+ SOURCE = 2
51
+ end
52
+ end
53
+
54
+ # Google Cloud Storage location where the artifacts currently reside.
55
+ # @!attribute [rw] uris
56
+ # @return [::Array<::String>]
57
+ # Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
58
+ # @!attribute [rw] use_wildcards
59
+ # @return [::Boolean]
60
+ # Supports URI wildcards for matching multiple objects from a single URI.
61
+ class ImportYumArtifactsGcsSource
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+ end
65
+
66
+ # The request to import new yum artifacts.
67
+ # @!attribute [rw] gcs_source
68
+ # @return [::Google::Cloud::ArtifactRegistry::V1beta2::ImportYumArtifactsGcsSource]
69
+ # Google Cloud Storage location where input content is located.
70
+ # @!attribute [rw] parent
71
+ # @return [::String]
72
+ # The name of the parent resource where the artifacts will be imported.
73
+ class ImportYumArtifactsRequest
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
+ end
77
+
78
+ # Error information explaining why a package was not imported.
79
+ # @!attribute [rw] gcs_source
80
+ # @return [::Google::Cloud::ArtifactRegistry::V1beta2::ImportYumArtifactsGcsSource]
81
+ # Google Cloud Storage location requested.
82
+ # @!attribute [rw] error
83
+ # @return [::Google::Rpc::Status]
84
+ # The detailed error status.
85
+ class ImportYumArtifactsErrorInfo
86
+ include ::Google::Protobuf::MessageExts
87
+ extend ::Google::Protobuf::MessageExts::ClassMethods
88
+ end
89
+
90
+ # The response message from importing YUM artifacts.
91
+ # @!attribute [rw] yum_artifacts
92
+ # @return [::Array<::Google::Cloud::ArtifactRegistry::V1beta2::YumArtifact>]
93
+ # The yum artifacts imported.
94
+ # @!attribute [rw] errors
95
+ # @return [::Array<::Google::Cloud::ArtifactRegistry::V1beta2::ImportYumArtifactsErrorInfo>]
96
+ # Detailed error info for artifacts that were not imported.
97
+ class ImportYumArtifactsResponse
98
+ include ::Google::Protobuf::MessageExts
99
+ extend ::Google::Protobuf::MessageExts::ClassMethods
100
+ end
101
+
102
+ # The operation metadata for importing artifacts.
103
+ class ImportYumArtifactsMetadata
104
+ include ::Google::Protobuf::MessageExts
105
+ extend ::Google::Protobuf::MessageExts::ClassMethods
106
+ end
107
+ end
108
+ end
109
+ end
110
+ end
@@ -0,0 +1,96 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Protobuf
22
+ # `Struct` represents a structured data value, consisting of fields
23
+ # which map to dynamically typed values. In some languages, `Struct`
24
+ # might be supported by a native representation. For example, in
25
+ # scripting languages like JS a struct is represented as an
26
+ # object. The details of that representation are described together
27
+ # with the proto support for the language.
28
+ #
29
+ # The JSON representation for `Struct` is JSON object.
30
+ # @!attribute [rw] fields
31
+ # @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
32
+ # Unordered map of dynamically typed values.
33
+ class Struct
34
+ include ::Google::Protobuf::MessageExts
35
+ extend ::Google::Protobuf::MessageExts::ClassMethods
36
+
37
+ # @!attribute [rw] key
38
+ # @return [::String]
39
+ # @!attribute [rw] value
40
+ # @return [::Google::Protobuf::Value]
41
+ class FieldsEntry
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+ end
46
+
47
+ # `Value` represents a dynamically typed value which can be either
48
+ # null, a number, a string, a boolean, a recursive struct value, or a
49
+ # list of values. A producer of value is expected to set one of that
50
+ # variants, absence of any variant indicates an error.
51
+ #
52
+ # The JSON representation for `Value` is JSON value.
53
+ # @!attribute [rw] null_value
54
+ # @return [::Google::Protobuf::NullValue]
55
+ # Represents a null value.
56
+ # @!attribute [rw] number_value
57
+ # @return [::Float]
58
+ # Represents a double value.
59
+ # @!attribute [rw] string_value
60
+ # @return [::String]
61
+ # Represents a string value.
62
+ # @!attribute [rw] bool_value
63
+ # @return [::Boolean]
64
+ # Represents a boolean value.
65
+ # @!attribute [rw] struct_value
66
+ # @return [::Google::Protobuf::Struct]
67
+ # Represents a structured value.
68
+ # @!attribute [rw] list_value
69
+ # @return [::Google::Protobuf::ListValue]
70
+ # Represents a repeated `Value`.
71
+ class Value
72
+ include ::Google::Protobuf::MessageExts
73
+ extend ::Google::Protobuf::MessageExts::ClassMethods
74
+ end
75
+
76
+ # `ListValue` is a wrapper around a repeated field of values.
77
+ #
78
+ # The JSON representation for `ListValue` is JSON array.
79
+ # @!attribute [rw] values
80
+ # @return [::Array<::Google::Protobuf::Value>]
81
+ # Repeated field of dynamically typed values.
82
+ class ListValue
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
87
+ # `NullValue` is a singleton enumeration to represent the null value for the
88
+ # `Value` type union.
89
+ #
90
+ # The JSON representation for `NullValue` is JSON `null`.
91
+ module NullValue
92
+ # Null value.
93
+ NULL_VALUE = 0
94
+ end
95
+ end
96
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-artifact_registry-v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.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-07-12 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.7'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -198,6 +198,7 @@ files:
198
198
  - lib/google/cloud/artifact_registry/v1beta2/artifact_registry/operations.rb
199
199
  - lib/google/cloud/artifact_registry/v1beta2/artifact_registry/paths.rb
200
200
  - lib/google/cloud/artifact_registry/v1beta2/version.rb
201
+ - lib/google/devtools/artifactregistry/v1beta2/apt_artifact_pb.rb
201
202
  - lib/google/devtools/artifactregistry/v1beta2/file_pb.rb
202
203
  - lib/google/devtools/artifactregistry/v1beta2/package_pb.rb
203
204
  - lib/google/devtools/artifactregistry/v1beta2/repository_pb.rb
@@ -206,15 +207,19 @@ files:
206
207
  - lib/google/devtools/artifactregistry/v1beta2/settings_pb.rb
207
208
  - lib/google/devtools/artifactregistry/v1beta2/tag_pb.rb
208
209
  - lib/google/devtools/artifactregistry/v1beta2/version_pb.rb
210
+ - lib/google/devtools/artifactregistry/v1beta2/yum_artifact_pb.rb
209
211
  - proto_docs/README.md
210
212
  - proto_docs/google/api/field_behavior.rb
211
213
  - proto_docs/google/api/resource.rb
214
+ - proto_docs/google/devtools/artifactregistry/v1beta2/apt_artifact.rb
212
215
  - proto_docs/google/devtools/artifactregistry/v1beta2/file.rb
213
216
  - proto_docs/google/devtools/artifactregistry/v1beta2/package.rb
214
217
  - proto_docs/google/devtools/artifactregistry/v1beta2/repository.rb
215
218
  - proto_docs/google/devtools/artifactregistry/v1beta2/service.rb
219
+ - proto_docs/google/devtools/artifactregistry/v1beta2/settings.rb
216
220
  - proto_docs/google/devtools/artifactregistry/v1beta2/tag.rb
217
221
  - proto_docs/google/devtools/artifactregistry/v1beta2/version.rb
222
+ - proto_docs/google/devtools/artifactregistry/v1beta2/yum_artifact.rb
218
223
  - proto_docs/google/iam/v1/iam_policy.rb
219
224
  - proto_docs/google/iam/v1/options.rb
220
225
  - proto_docs/google/iam/v1/policy.rb
@@ -223,6 +228,7 @@ files:
223
228
  - proto_docs/google/protobuf/duration.rb
224
229
  - proto_docs/google/protobuf/empty.rb
225
230
  - proto_docs/google/protobuf/field_mask.rb
231
+ - proto_docs/google/protobuf/struct.rb
226
232
  - proto_docs/google/protobuf/timestamp.rb
227
233
  - proto_docs/google/rpc/status.rb
228
234
  - proto_docs/google/type/expr.rb
@@ -245,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
245
251
  - !ruby/object:Gem::Version
246
252
  version: '0'
247
253
  requirements: []
248
- rubygems_version: 3.2.17
254
+ rubygems_version: 3.3.5
249
255
  signing_key:
250
256
  specification_version: 4
251
257
  summary: API Client library for the Artifact Registry V1beta2 API