google-cloud-artifact_registry-v1beta2 0.3.6 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/client.rb +409 -14
  4. data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/paths.rb +54 -0
  5. data/lib/google/cloud/artifact_registry/v1beta2/version.rb +1 -1
  6. data/lib/google/devtools/artifactregistry/v1beta2/apt_artifact_pb.rb +65 -0
  7. data/lib/google/devtools/artifactregistry/v1beta2/file_pb.rb +2 -1
  8. data/lib/google/devtools/artifactregistry/v1beta2/repository_pb.rb +21 -1
  9. data/lib/google/devtools/artifactregistry/v1beta2/service_pb.rb +3 -0
  10. data/lib/google/devtools/artifactregistry/v1beta2/service_services_pb.rb +14 -0
  11. data/lib/google/devtools/artifactregistry/v1beta2/settings_pb.rb +22 -1
  12. data/lib/google/devtools/artifactregistry/v1beta2/tag_pb.rb +2 -1
  13. data/lib/google/devtools/artifactregistry/v1beta2/version_pb.rb +6 -1
  14. data/lib/google/devtools/artifactregistry/v1beta2/yum_artifact_pb.rb +63 -0
  15. data/proto_docs/google/devtools/artifactregistry/v1beta2/apt_artifact.rb +118 -0
  16. data/proto_docs/google/devtools/artifactregistry/v1beta2/file.rb +5 -1
  17. data/proto_docs/google/devtools/artifactregistry/v1beta2/repository.rb +53 -6
  18. data/proto_docs/google/devtools/artifactregistry/v1beta2/settings.rb +80 -0
  19. data/proto_docs/google/devtools/artifactregistry/v1beta2/tag.rb +6 -2
  20. data/proto_docs/google/devtools/artifactregistry/v1beta2/version.rb +12 -2
  21. data/proto_docs/google/devtools/artifactregistry/v1beta2/yum_artifact.rb +110 -0
  22. data/proto_docs/google/protobuf/struct.rb +96 -0
  23. metadata +9 -3
@@ -27,10 +27,15 @@ module Google
27
27
  # @return [::String]
28
28
  # The name of the tag, for example:
29
29
  # "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
30
+ # If the package part contains slashes, the slashes are escaped.
31
+ # The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else
32
+ # must be URL encoded.
30
33
  # @!attribute [rw] version
31
34
  # @return [::String]
32
35
  # The name of the version the tag refers to, for example:
33
36
  # "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
37
+ # If the package or version ID parts contain slashes, the slashes are
38
+ # escaped.
34
39
  class Tag
35
40
  include ::Google::Protobuf::MessageExts
36
41
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,8 +58,7 @@ module Google
53
58
  # --> Tags that are applied to the version `1.0` in package `pkg1`.
54
59
  # @!attribute [rw] page_size
55
60
  # @return [::Integer]
56
- # The maximum number of tags to return.
57
- # Maximum page size is 10,000.
61
+ # The maximum number of tags to return. Maximum page size is 10,000.
58
62
  # @!attribute [rw] page_token
59
63
  # @return [::String]
60
64
  # The next_page_token value returned from a previous list request, if any.
@@ -28,6 +28,8 @@ module Google
28
28
  # @return [::String]
29
29
  # The name of the version, for example:
30
30
  # "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
31
+ # If the package or version ID parts contain slashes, the slashes are
32
+ # escaped.
31
33
  # @!attribute [rw] description
32
34
  # @return [::String]
33
35
  # Optional. Description of the version, as specified in its metadata.
@@ -41,6 +43,12 @@ module Google
41
43
  # @return [::Array<::Google::Cloud::ArtifactRegistry::V1beta2::Tag>]
42
44
  # Output only. A list of related tags. Will contain up to 100 tags that
43
45
  # reference this version.
46
+ # @!attribute [r] metadata
47
+ # @return [::Google::Protobuf::Struct]
48
+ # Output only. Repository-specific Metadata stored against this version.
49
+ # The fields returned are defined by the underlying repository-specific
50
+ # resource. Currently, the only resource in use is
51
+ # [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
44
52
  class Version
45
53
  include ::Google::Protobuf::MessageExts
46
54
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -52,14 +60,16 @@ module Google
52
60
  # The name of the parent resource whose versions will be listed.
53
61
  # @!attribute [rw] page_size
54
62
  # @return [::Integer]
55
- # The maximum number of versions to return.
56
- # Maximum page size is 10,000.
63
+ # The maximum number of versions to return. Maximum page size is 1,000.
57
64
  # @!attribute [rw] page_token
58
65
  # @return [::String]
59
66
  # The next_page_token value returned from a previous list request, if any.
60
67
  # @!attribute [rw] view
61
68
  # @return [::Google::Cloud::ArtifactRegistry::V1beta2::VersionView]
62
69
  # The view that should be returned in the response.
70
+ # @!attribute [rw] order_by
71
+ # @return [::String]
72
+ # Optional. The field to order the results by.
63
73
  class ListVersionsRequest
64
74
  include ::Google::Protobuf::MessageExts
65
75
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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.6
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: 2022-01-11 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
@@ -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.3.4
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