google-cloud-artifact_registry-v1beta2 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/artifact_registry/v1beta2/version"
24
+ require "google/cloud/artifact_registry/v1beta2/bindings_override"
25
+
26
+ require "google/cloud/artifact_registry/v1beta2/artifact_registry/credentials"
27
+ require "google/cloud/artifact_registry/v1beta2/artifact_registry/paths"
28
+ require "google/cloud/artifact_registry/v1beta2/artifact_registry/rest/operations"
29
+ require "google/cloud/artifact_registry/v1beta2/artifact_registry/rest/client"
30
+
31
+ module Google
32
+ module Cloud
33
+ module ArtifactRegistry
34
+ module V1beta2
35
+ ##
36
+ # The Artifact Registry API service.
37
+ #
38
+ # Artifact Registry is an artifact management system for storing artifacts
39
+ # from different package management systems.
40
+ #
41
+ # The resources managed by this API are:
42
+ #
43
+ # * Repositories, which group packages and their data.
44
+ # * Packages, which group versions and their tags.
45
+ # * Versions, which are specific forms of a package.
46
+ # * Tags, which represent alternative names for versions.
47
+ # * Files, which contain content and are optionally associated with a Package
48
+ # or Version.
49
+ #
50
+ # To load this service and instantiate a REST client:
51
+ #
52
+ # require "google/cloud/artifact_registry/v1beta2/artifact_registry/rest"
53
+ # client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Rest::Client.new
54
+ #
55
+ module ArtifactRegistry
56
+ # Client for the REST transport
57
+ module Rest
58
+ end
59
+ end
60
+ end
61
+ end
62
+ end
63
+ end
64
+
65
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
66
+ require "google/cloud/artifact_registry/v1beta2/artifact_registry/rest/helpers" if ::File.file? helper_path
@@ -26,6 +26,7 @@ require "google/cloud/artifact_registry/v1beta2/artifact_registry/credentials"
26
26
  require "google/cloud/artifact_registry/v1beta2/artifact_registry/paths"
27
27
  require "google/cloud/artifact_registry/v1beta2/artifact_registry/operations"
28
28
  require "google/cloud/artifact_registry/v1beta2/artifact_registry/client"
29
+ require "google/cloud/artifact_registry/v1beta2/artifact_registry/rest"
29
30
 
30
31
  module Google
31
32
  module Cloud
@@ -51,6 +52,11 @@ module Google
51
52
  # require "google/cloud/artifact_registry/v1beta2/artifact_registry"
52
53
  # client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
53
54
  #
55
+ # @example Load this service and instantiate a REST client
56
+ #
57
+ # require "google/cloud/artifact_registry/v1beta2/artifact_registry/rest"
58
+ # client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Rest::Client.new
59
+ #
54
60
  module ArtifactRegistry
55
61
  end
56
62
  end
@@ -0,0 +1,102 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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
+ require "gapic/config"
20
+
21
+ module Google
22
+ module Cloud
23
+ module ArtifactRegistry
24
+ ##
25
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
26
+ #
27
+ # require "google/cloud/artifact_registry/v1beta2/rest"
28
+ # client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Rest::Client.new
29
+ #
30
+ module V1beta2
31
+ ##
32
+ # @private
33
+ # Initialize the mixin bindings configuration
34
+ #
35
+ def self.configure
36
+ @configure ||= begin
37
+ namespace = ["Google", "Cloud", "ArtifactRegistry"]
38
+ parent_config = while namespace.any?
39
+ parent_name = namespace.join "::"
40
+ parent_const = const_get parent_name
41
+ break parent_const.configure if parent_const.respond_to? :configure
42
+ namespace.pop
43
+ end
44
+
45
+ default_config = Configuration.new parent_config
46
+ default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
+ uri_method: :get,
49
+ uri_template: "/v1beta2/{name}",
50
+ matches: [
51
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
52
+ ],
53
+ body: nil
54
+ )
55
+ ]
56
+ default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
57
+
58
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
59
+ uri_method: :get,
60
+ uri_template: "/v1beta2/{name}/locations",
61
+ matches: [
62
+ ["name", %r{^projects/[^/]+/?$}, false]
63
+ ],
64
+ body: nil
65
+ )
66
+ ]
67
+ default_config
68
+ end
69
+ yield @configure if block_given?
70
+ @configure
71
+ end
72
+
73
+ ##
74
+ # @private
75
+ # Configuration class for the google.devtools.artifactregistry.v1beta2 package.
76
+ #
77
+ # This class contains common configuration for all services
78
+ # of the google.devtools.artifactregistry.v1beta2 package.
79
+ #
80
+ # This configuration is for internal use of the client library classes,
81
+ # and it is not intended that the end-users will read or change it.
82
+ #
83
+ class Configuration
84
+ extend ::Gapic::Config
85
+
86
+ # @private
87
+ # Overrides for http bindings for the RPC of the mixins for this package.
88
+ # Services in this package should use these when creating clients for the mixin services.
89
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
90
+ config_attr :bindings_override, {}, ::Hash, nil
91
+
92
+ # @private
93
+ def initialize parent_config = nil
94
+ @parent_config = parent_config unless parent_config.nil?
95
+
96
+ yield self if block_given?
97
+ end
98
+ end
99
+ end
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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
+ require "google/cloud/artifact_registry/v1beta2/artifact_registry/rest"
20
+ require "google/cloud/artifact_registry/v1beta2/bindings_override"
21
+ require "google/cloud/artifact_registry/v1beta2/version"
22
+
23
+ module Google
24
+ module Cloud
25
+ module ArtifactRegistry
26
+ ##
27
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
28
+ #
29
+ # @example
30
+ #
31
+ # require "google/cloud/artifact_registry/v1beta2/rest"
32
+ # client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Rest::Client.new
33
+ #
34
+ module V1beta2
35
+ end
36
+ end
37
+ end
38
+ end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ArtifactRegistry
23
23
  module V1beta2
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -30,6 +30,11 @@ module Google
30
30
  # require "google/cloud/artifact_registry/v1beta2"
31
31
  # client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
32
32
  #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/artifact_registry/v1beta2"
36
+ # client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Rest::Client.new
37
+ #
33
38
  module V1beta2
34
39
  end
35
40
  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.7.0
4
+ version: 0.8.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: 2023-01-06 00:00:00.000000000 Z
11
+ date: 2023-03-08 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.16.0
19
+ version: 0.18.0
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.16.0
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.0'
53
+ version: '0.4'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.0'
63
+ version: '0.4'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
@@ -84,14 +84,14 @@ dependencies:
84
84
  requirements:
85
85
  - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: 1.26.1
87
+ version: 1.26.3
88
88
  type: :development
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: 1.26.1
94
+ version: 1.26.3
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: minitest
97
97
  requirement: !ruby/object:Gem::Requirement
@@ -211,6 +211,12 @@ files:
211
211
  - lib/google/cloud/artifact_registry/v1beta2/artifact_registry/credentials.rb
212
212
  - lib/google/cloud/artifact_registry/v1beta2/artifact_registry/operations.rb
213
213
  - lib/google/cloud/artifact_registry/v1beta2/artifact_registry/paths.rb
214
+ - lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest.rb
215
+ - lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/client.rb
216
+ - lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/operations.rb
217
+ - lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/service_stub.rb
218
+ - lib/google/cloud/artifact_registry/v1beta2/bindings_override.rb
219
+ - lib/google/cloud/artifact_registry/v1beta2/rest.rb
214
220
  - lib/google/cloud/artifact_registry/v1beta2/version.rb
215
221
  - lib/google/devtools/artifactregistry/v1beta2/apt_artifact_pb.rb
216
222
  - lib/google/devtools/artifactregistry/v1beta2/file_pb.rb
@@ -267,8 +273,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
273
  - !ruby/object:Gem::Version
268
274
  version: '0'
269
275
  requirements: []
270
- rubygems_version: 3.3.14
276
+ rubygems_version: 3.4.2
271
277
  signing_key:
272
278
  specification_version: 4
273
- summary: API Client library for the Artifact Registry V1beta2 API
279
+ summary: Store and manage build artifacts in a scalable and integrated service built
280
+ on Google infrastructure.
274
281
  test_files: []