google-cloud-artifact_registry-v1 0.2.0 → 0.3.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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/AUTHENTICATION.md +7 -25
  4. data/README.md +1 -1
  5. data/lib/google/cloud/artifact_registry/v1/artifact_registry/client.rb +2530 -70
  6. data/lib/google/cloud/artifact_registry/v1/artifact_registry/operations.rb +767 -0
  7. data/lib/google/cloud/artifact_registry/v1/artifact_registry/paths.rb +58 -0
  8. data/lib/google/cloud/artifact_registry/v1/artifact_registry.rb +1 -0
  9. data/lib/google/cloud/artifact_registry/v1/version.rb +1 -1
  10. data/lib/google/cloud/artifact_registry/v1.rb +2 -0
  11. data/lib/google/devtools/artifactregistry/v1/apt_artifact_pb.rb +63 -0
  12. data/lib/google/devtools/artifactregistry/v1/artifact_pb.rb +4 -1
  13. data/lib/google/devtools/artifactregistry/v1/file_pb.rb +57 -0
  14. data/lib/google/devtools/artifactregistry/v1/package_pb.rb +47 -0
  15. data/lib/google/devtools/artifactregistry/v1/repository_pb.rb +30 -1
  16. data/lib/google/devtools/artifactregistry/v1/service_pb.rb +13 -0
  17. data/lib/google/devtools/artifactregistry/v1/service_services_pb.rb +59 -0
  18. data/lib/google/devtools/artifactregistry/v1/settings_pb.rb +42 -0
  19. data/lib/google/devtools/artifactregistry/v1/tag_pb.rb +56 -0
  20. data/lib/google/devtools/artifactregistry/v1/version_pb.rb +61 -0
  21. data/lib/google/devtools/artifactregistry/v1/yum_artifact_pb.rb +61 -0
  22. data/proto_docs/google/api/resource.rb +10 -71
  23. data/proto_docs/google/devtools/artifactregistry/v1/apt_artifact.rb +118 -0
  24. data/proto_docs/google/devtools/artifactregistry/v1/artifact.rb +12 -3
  25. data/proto_docs/google/devtools/artifactregistry/v1/file.rb +131 -0
  26. data/proto_docs/google/devtools/artifactregistry/v1/package.rb +93 -0
  27. data/proto_docs/google/devtools/artifactregistry/v1/repository.rb +73 -2
  28. data/proto_docs/google/devtools/artifactregistry/v1/service.rb +32 -0
  29. data/proto_docs/google/devtools/artifactregistry/v1/settings.rb +80 -0
  30. data/proto_docs/google/devtools/artifactregistry/v1/tag.rb +132 -0
  31. data/proto_docs/google/devtools/artifactregistry/v1/version.rb +132 -0
  32. data/proto_docs/google/devtools/artifactregistry/v1/yum_artifact.rb +110 -0
  33. data/proto_docs/google/iam/v1/iam_policy.rb +80 -0
  34. data/proto_docs/google/iam/v1/options.rb +40 -0
  35. data/proto_docs/google/longrunning/operations.rb +164 -0
  36. data/proto_docs/google/protobuf/any.rb +141 -0
  37. data/proto_docs/google/protobuf/duration.rb +98 -0
  38. data/proto_docs/google/protobuf/empty.rb +36 -0
  39. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  40. data/proto_docs/google/protobuf/struct.rb +96 -0
  41. data/proto_docs/google/rpc/status.rb +46 -0
  42. metadata +28 -3
@@ -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
@@ -0,0 +1,46 @@
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 Rpc
22
+ # The `Status` type defines a logical error model that is suitable for
23
+ # different programming environments, including REST APIs and RPC APIs. It is
24
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
25
+ # three pieces of data: error code, error message, and error details.
26
+ #
27
+ # You can find out more about this error model and how to work with it in the
28
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
29
+ # @!attribute [rw] code
30
+ # @return [::Integer]
31
+ # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
32
+ # @!attribute [rw] message
33
+ # @return [::String]
34
+ # A developer-facing error message, which should be in English. Any
35
+ # user-facing error message should be localized and sent in the
36
+ # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
37
+ # @!attribute [rw] details
38
+ # @return [::Array<::Google::Protobuf::Any>]
39
+ # A list of messages that carry the error details. There is a common set of
40
+ # message types for APIs to use.
41
+ class Status
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+ end
46
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-artifact_registry-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.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-10-18 00:00:00.000000000 Z
11
+ date: 2022-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -195,19 +195,44 @@ files:
195
195
  - lib/google/cloud/artifact_registry/v1/artifact_registry.rb
196
196
  - lib/google/cloud/artifact_registry/v1/artifact_registry/client.rb
197
197
  - lib/google/cloud/artifact_registry/v1/artifact_registry/credentials.rb
198
+ - lib/google/cloud/artifact_registry/v1/artifact_registry/operations.rb
198
199
  - lib/google/cloud/artifact_registry/v1/artifact_registry/paths.rb
199
200
  - lib/google/cloud/artifact_registry/v1/version.rb
201
+ - lib/google/devtools/artifactregistry/v1/apt_artifact_pb.rb
200
202
  - lib/google/devtools/artifactregistry/v1/artifact_pb.rb
203
+ - lib/google/devtools/artifactregistry/v1/file_pb.rb
204
+ - lib/google/devtools/artifactregistry/v1/package_pb.rb
201
205
  - lib/google/devtools/artifactregistry/v1/repository_pb.rb
202
206
  - lib/google/devtools/artifactregistry/v1/service_pb.rb
203
207
  - lib/google/devtools/artifactregistry/v1/service_services_pb.rb
208
+ - lib/google/devtools/artifactregistry/v1/settings_pb.rb
209
+ - lib/google/devtools/artifactregistry/v1/tag_pb.rb
210
+ - lib/google/devtools/artifactregistry/v1/version_pb.rb
211
+ - lib/google/devtools/artifactregistry/v1/yum_artifact_pb.rb
204
212
  - proto_docs/README.md
205
213
  - proto_docs/google/api/field_behavior.rb
206
214
  - proto_docs/google/api/resource.rb
215
+ - proto_docs/google/devtools/artifactregistry/v1/apt_artifact.rb
207
216
  - proto_docs/google/devtools/artifactregistry/v1/artifact.rb
217
+ - proto_docs/google/devtools/artifactregistry/v1/file.rb
218
+ - proto_docs/google/devtools/artifactregistry/v1/package.rb
208
219
  - proto_docs/google/devtools/artifactregistry/v1/repository.rb
220
+ - proto_docs/google/devtools/artifactregistry/v1/service.rb
221
+ - proto_docs/google/devtools/artifactregistry/v1/settings.rb
222
+ - proto_docs/google/devtools/artifactregistry/v1/tag.rb
223
+ - proto_docs/google/devtools/artifactregistry/v1/version.rb
224
+ - proto_docs/google/devtools/artifactregistry/v1/yum_artifact.rb
225
+ - proto_docs/google/iam/v1/iam_policy.rb
226
+ - proto_docs/google/iam/v1/options.rb
209
227
  - proto_docs/google/iam/v1/policy.rb
228
+ - proto_docs/google/longrunning/operations.rb
229
+ - proto_docs/google/protobuf/any.rb
230
+ - proto_docs/google/protobuf/duration.rb
231
+ - proto_docs/google/protobuf/empty.rb
232
+ - proto_docs/google/protobuf/field_mask.rb
233
+ - proto_docs/google/protobuf/struct.rb
210
234
  - proto_docs/google/protobuf/timestamp.rb
235
+ - proto_docs/google/rpc/status.rb
211
236
  - proto_docs/google/type/expr.rb
212
237
  homepage: https://github.com/googleapis/google-cloud-ruby
213
238
  licenses:
@@ -228,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
253
  - !ruby/object:Gem::Version
229
254
  version: '0'
230
255
  requirements: []
231
- rubygems_version: 3.2.17
256
+ rubygems_version: 3.3.5
232
257
  signing_key:
233
258
  specification_version: 4
234
259
  summary: API Client library for the Artifact Registry V1 API