google-cloud-artifact_registry-v1 0.6.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/client.rb +857 -98
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/operations.rb +12 -14
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/paths.rb +122 -0
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/client.rb +2888 -0
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/operations.rb +793 -0
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest/service_stub.rb +2123 -0
- data/lib/google/cloud/artifact_registry/v1/artifact_registry/rest.rb +66 -0
- data/lib/google/cloud/artifact_registry/v1/artifact_registry.rb +6 -0
- data/lib/google/cloud/artifact_registry/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/artifact_registry/v1/rest.rb +38 -0
- data/lib/google/cloud/artifact_registry/v1/version.rb +1 -1
- data/lib/google/cloud/artifact_registry/v1.rb +5 -0
- data/lib/google/devtools/artifactregistry/v1/artifact_pb.rb +75 -0
- data/lib/google/devtools/artifactregistry/v1/file_pb.rb +2 -0
- data/lib/google/devtools/artifactregistry/v1/package_pb.rb +1 -0
- data/lib/google/devtools/artifactregistry/v1/service_pb.rb +1 -0
- data/lib/google/devtools/artifactregistry/v1/service_services_pb.rb +16 -0
- data/lib/google/devtools/artifactregistry/v1/version_pb.rb +4 -0
- data/lib/google/devtools/artifactregistry/v1/vpcsc_config_pb.rb +42 -0
- data/proto_docs/google/devtools/artifactregistry/v1/artifact.rb +226 -3
- data/proto_docs/google/devtools/artifactregistry/v1/file.rb +11 -7
- data/proto_docs/google/devtools/artifactregistry/v1/version.rb +11 -1
- data/proto_docs/google/devtools/artifactregistry/v1/vpcsc_config.rb +82 -0
- metadata +19 -10
@@ -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/v1/version"
|
24
|
+
require "google/cloud/artifact_registry/v1/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/artifact_registry/v1/artifact_registry/credentials"
|
27
|
+
require "google/cloud/artifact_registry/v1/artifact_registry/paths"
|
28
|
+
require "google/cloud/artifact_registry/v1/artifact_registry/rest/operations"
|
29
|
+
require "google/cloud/artifact_registry/v1/artifact_registry/rest/client"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module ArtifactRegistry
|
34
|
+
module V1
|
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/v1/artifact_registry/rest"
|
53
|
+
# client = ::Google::Cloud::ArtifactRegistry::V1::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/v1/artifact_registry/rest/helpers" if ::File.file? helper_path
|
@@ -26,6 +26,7 @@ require "google/cloud/artifact_registry/v1/artifact_registry/credentials"
|
|
26
26
|
require "google/cloud/artifact_registry/v1/artifact_registry/paths"
|
27
27
|
require "google/cloud/artifact_registry/v1/artifact_registry/operations"
|
28
28
|
require "google/cloud/artifact_registry/v1/artifact_registry/client"
|
29
|
+
require "google/cloud/artifact_registry/v1/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/v1/artifact_registry"
|
52
53
|
# client = ::Google::Cloud::ArtifactRegistry::V1::ArtifactRegistry::Client.new
|
53
54
|
#
|
55
|
+
# @example Load this service and instantiate a REST client
|
56
|
+
#
|
57
|
+
# require "google/cloud/artifact_registry/v1/artifact_registry/rest"
|
58
|
+
# client = ::Google::Cloud::ArtifactRegistry::V1::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/v1/rest"
|
28
|
+
# client = ::Google::Cloud::ArtifactRegistry::V1::ArtifactRegistry::Rest::Client.new
|
29
|
+
#
|
30
|
+
module V1
|
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: "/v1/{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: "/v1/{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.v1 package.
|
76
|
+
#
|
77
|
+
# This class contains common configuration for all services
|
78
|
+
# of the google.devtools.artifactregistry.v1 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/v1/artifact_registry/rest"
|
20
|
+
require "google/cloud/artifact_registry/v1/bindings_override"
|
21
|
+
require "google/cloud/artifact_registry/v1/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/v1/rest"
|
32
|
+
# client = ::Google::Cloud::ArtifactRegistry::V1::ArtifactRegistry::Rest::Client.new
|
33
|
+
#
|
34
|
+
module V1
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -30,6 +30,11 @@ module Google
|
|
30
30
|
# require "google/cloud/artifact_registry/v1"
|
31
31
|
# client = ::Google::Cloud::ArtifactRegistry::V1::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/v1"
|
36
|
+
# client = ::Google::Cloud::ArtifactRegistry::V1::ArtifactRegistry::Rest::Client.new
|
37
|
+
#
|
33
38
|
module V1
|
34
39
|
end
|
35
40
|
end
|
@@ -17,11 +17,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
17
17
|
optional :upload_time, :message, 5, "google.protobuf.Timestamp"
|
18
18
|
optional :media_type, :string, 6
|
19
19
|
optional :build_time, :message, 7, "google.protobuf.Timestamp"
|
20
|
+
optional :update_time, :message, 8, "google.protobuf.Timestamp"
|
20
21
|
end
|
21
22
|
add_message "google.devtools.artifactregistry.v1.ListDockerImagesRequest" do
|
22
23
|
optional :parent, :string, 1
|
23
24
|
optional :page_size, :int32, 2
|
24
25
|
optional :page_token, :string, 3
|
26
|
+
optional :order_by, :string, 4
|
25
27
|
end
|
26
28
|
add_message "google.devtools.artifactregistry.v1.ListDockerImagesResponse" do
|
27
29
|
repeated :docker_images, :message, 1, "google.devtools.artifactregistry.v1.DockerImage"
|
@@ -30,6 +32,67 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
30
32
|
add_message "google.devtools.artifactregistry.v1.GetDockerImageRequest" do
|
31
33
|
optional :name, :string, 1
|
32
34
|
end
|
35
|
+
add_message "google.devtools.artifactregistry.v1.MavenArtifact" do
|
36
|
+
optional :name, :string, 1
|
37
|
+
optional :pom_uri, :string, 2
|
38
|
+
optional :group_id, :string, 3
|
39
|
+
optional :artifact_id, :string, 4
|
40
|
+
optional :version, :string, 5
|
41
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
42
|
+
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
43
|
+
end
|
44
|
+
add_message "google.devtools.artifactregistry.v1.ListMavenArtifactsRequest" do
|
45
|
+
optional :parent, :string, 1
|
46
|
+
optional :page_size, :int32, 2
|
47
|
+
optional :page_token, :string, 3
|
48
|
+
end
|
49
|
+
add_message "google.devtools.artifactregistry.v1.ListMavenArtifactsResponse" do
|
50
|
+
repeated :maven_artifacts, :message, 1, "google.devtools.artifactregistry.v1.MavenArtifact"
|
51
|
+
optional :next_page_token, :string, 2
|
52
|
+
end
|
53
|
+
add_message "google.devtools.artifactregistry.v1.GetMavenArtifactRequest" do
|
54
|
+
optional :name, :string, 1
|
55
|
+
end
|
56
|
+
add_message "google.devtools.artifactregistry.v1.NpmPackage" do
|
57
|
+
optional :name, :string, 1
|
58
|
+
optional :package_name, :string, 3
|
59
|
+
optional :version, :string, 4
|
60
|
+
repeated :tags, :string, 5
|
61
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
62
|
+
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
63
|
+
end
|
64
|
+
add_message "google.devtools.artifactregistry.v1.ListNpmPackagesRequest" do
|
65
|
+
optional :parent, :string, 1
|
66
|
+
optional :page_size, :int32, 2
|
67
|
+
optional :page_token, :string, 3
|
68
|
+
end
|
69
|
+
add_message "google.devtools.artifactregistry.v1.ListNpmPackagesResponse" do
|
70
|
+
repeated :npm_packages, :message, 1, "google.devtools.artifactregistry.v1.NpmPackage"
|
71
|
+
optional :next_page_token, :string, 2
|
72
|
+
end
|
73
|
+
add_message "google.devtools.artifactregistry.v1.GetNpmPackageRequest" do
|
74
|
+
optional :name, :string, 1
|
75
|
+
end
|
76
|
+
add_message "google.devtools.artifactregistry.v1.PythonPackage" do
|
77
|
+
optional :name, :string, 1
|
78
|
+
optional :uri, :string, 2
|
79
|
+
optional :package_name, :string, 3
|
80
|
+
optional :version, :string, 4
|
81
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
82
|
+
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
83
|
+
end
|
84
|
+
add_message "google.devtools.artifactregistry.v1.ListPythonPackagesRequest" do
|
85
|
+
optional :parent, :string, 1
|
86
|
+
optional :page_size, :int32, 2
|
87
|
+
optional :page_token, :string, 3
|
88
|
+
end
|
89
|
+
add_message "google.devtools.artifactregistry.v1.ListPythonPackagesResponse" do
|
90
|
+
repeated :python_packages, :message, 1, "google.devtools.artifactregistry.v1.PythonPackage"
|
91
|
+
optional :next_page_token, :string, 2
|
92
|
+
end
|
93
|
+
add_message "google.devtools.artifactregistry.v1.GetPythonPackageRequest" do
|
94
|
+
optional :name, :string, 1
|
95
|
+
end
|
33
96
|
end
|
34
97
|
end
|
35
98
|
|
@@ -41,6 +104,18 @@ module Google
|
|
41
104
|
ListDockerImagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListDockerImagesRequest").msgclass
|
42
105
|
ListDockerImagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListDockerImagesResponse").msgclass
|
43
106
|
GetDockerImageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetDockerImageRequest").msgclass
|
107
|
+
MavenArtifact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.MavenArtifact").msgclass
|
108
|
+
ListMavenArtifactsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListMavenArtifactsRequest").msgclass
|
109
|
+
ListMavenArtifactsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListMavenArtifactsResponse").msgclass
|
110
|
+
GetMavenArtifactRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetMavenArtifactRequest").msgclass
|
111
|
+
NpmPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.NpmPackage").msgclass
|
112
|
+
ListNpmPackagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListNpmPackagesRequest").msgclass
|
113
|
+
ListNpmPackagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListNpmPackagesResponse").msgclass
|
114
|
+
GetNpmPackageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetNpmPackageRequest").msgclass
|
115
|
+
PythonPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.PythonPackage").msgclass
|
116
|
+
ListPythonPackagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListPythonPackagesRequest").msgclass
|
117
|
+
ListPythonPackagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListPythonPackagesResponse").msgclass
|
118
|
+
GetPythonPackageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetPythonPackageRequest").msgclass
|
44
119
|
end
|
45
120
|
end
|
46
121
|
end
|
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/api/field_behavior_pb'
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/protobuf/timestamp_pb'
|
8
9
|
|
@@ -24,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
25
|
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
25
26
|
optional :update_time, :message, 6, "google.protobuf.Timestamp"
|
26
27
|
optional :owner, :string, 7
|
28
|
+
optional :fetch_time, :message, 8, "google.protobuf.Timestamp"
|
27
29
|
end
|
28
30
|
add_message "google.devtools.artifactregistry.v1.ListFilesRequest" do
|
29
31
|
optional :parent, :string, 1
|
@@ -13,6 +13,7 @@ require 'google/devtools/artifactregistry/v1/repository_pb'
|
|
13
13
|
require 'google/devtools/artifactregistry/v1/settings_pb'
|
14
14
|
require 'google/devtools/artifactregistry/v1/tag_pb'
|
15
15
|
require 'google/devtools/artifactregistry/v1/version_pb'
|
16
|
+
require 'google/devtools/artifactregistry/v1/vpcsc_config_pb'
|
16
17
|
require 'google/devtools/artifactregistry/v1/yum_artifact_pb'
|
17
18
|
require 'google/iam/v1/iam_policy_pb'
|
18
19
|
require 'google/iam/v1/policy_pb'
|
@@ -49,6 +49,18 @@ module Google
|
|
49
49
|
rpc :ListDockerImages, ::Google::Cloud::ArtifactRegistry::V1::ListDockerImagesRequest, ::Google::Cloud::ArtifactRegistry::V1::ListDockerImagesResponse
|
50
50
|
# Gets a docker image.
|
51
51
|
rpc :GetDockerImage, ::Google::Cloud::ArtifactRegistry::V1::GetDockerImageRequest, ::Google::Cloud::ArtifactRegistry::V1::DockerImage
|
52
|
+
# Lists maven artifacts.
|
53
|
+
rpc :ListMavenArtifacts, ::Google::Cloud::ArtifactRegistry::V1::ListMavenArtifactsRequest, ::Google::Cloud::ArtifactRegistry::V1::ListMavenArtifactsResponse
|
54
|
+
# Gets a maven artifact.
|
55
|
+
rpc :GetMavenArtifact, ::Google::Cloud::ArtifactRegistry::V1::GetMavenArtifactRequest, ::Google::Cloud::ArtifactRegistry::V1::MavenArtifact
|
56
|
+
# Lists npm packages.
|
57
|
+
rpc :ListNpmPackages, ::Google::Cloud::ArtifactRegistry::V1::ListNpmPackagesRequest, ::Google::Cloud::ArtifactRegistry::V1::ListNpmPackagesResponse
|
58
|
+
# Gets a npm package.
|
59
|
+
rpc :GetNpmPackage, ::Google::Cloud::ArtifactRegistry::V1::GetNpmPackageRequest, ::Google::Cloud::ArtifactRegistry::V1::NpmPackage
|
60
|
+
# Lists python packages.
|
61
|
+
rpc :ListPythonPackages, ::Google::Cloud::ArtifactRegistry::V1::ListPythonPackagesRequest, ::Google::Cloud::ArtifactRegistry::V1::ListPythonPackagesResponse
|
62
|
+
# Gets a python package.
|
63
|
+
rpc :GetPythonPackage, ::Google::Cloud::ArtifactRegistry::V1::GetPythonPackageRequest, ::Google::Cloud::ArtifactRegistry::V1::PythonPackage
|
52
64
|
# Imports Apt artifacts. The returned Operation will complete once the
|
53
65
|
# resources are imported. Package, Version, and File resources are created
|
54
66
|
# based on the imported artifacts. Imported artifacts that conflict with
|
@@ -110,6 +122,10 @@ module Google
|
|
110
122
|
rpc :GetProjectSettings, ::Google::Cloud::ArtifactRegistry::V1::GetProjectSettingsRequest, ::Google::Cloud::ArtifactRegistry::V1::ProjectSettings
|
111
123
|
# Updates the Settings for the Project.
|
112
124
|
rpc :UpdateProjectSettings, ::Google::Cloud::ArtifactRegistry::V1::UpdateProjectSettingsRequest, ::Google::Cloud::ArtifactRegistry::V1::ProjectSettings
|
125
|
+
# Retrieves the VPCSC Config for the Project.
|
126
|
+
rpc :GetVPCSCConfig, ::Google::Cloud::ArtifactRegistry::V1::GetVPCSCConfigRequest, ::Google::Cloud::ArtifactRegistry::V1::VPCSCConfig
|
127
|
+
# Updates the VPCSC Config for the Project.
|
128
|
+
rpc :UpdateVPCSCConfig, ::Google::Cloud::ArtifactRegistry::V1::UpdateVPCSCConfigRequest, ::Google::Cloud::ArtifactRegistry::V1::VPCSCConfig
|
113
129
|
end
|
114
130
|
|
115
131
|
Stub = Service.rpc_stub_class
|
@@ -38,6 +38,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
38
38
|
optional :name, :string, 1
|
39
39
|
optional :force, :bool, 2
|
40
40
|
end
|
41
|
+
add_message "google.devtools.artifactregistry.v1.BatchDeleteVersionsMetadata" do
|
42
|
+
repeated :failed_versions, :string, 2
|
43
|
+
end
|
41
44
|
add_enum "google.devtools.artifactregistry.v1.VersionView" do
|
42
45
|
value :VERSION_VIEW_UNSPECIFIED, 0
|
43
46
|
value :BASIC, 1
|
@@ -55,6 +58,7 @@ module Google
|
|
55
58
|
ListVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.ListVersionsResponse").msgclass
|
56
59
|
GetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetVersionRequest").msgclass
|
57
60
|
DeleteVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.DeleteVersionRequest").msgclass
|
61
|
+
BatchDeleteVersionsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.BatchDeleteVersionsMetadata").msgclass
|
58
62
|
VersionView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.VersionView").enummodule
|
59
63
|
end
|
60
64
|
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/devtools/artifactregistry/v1/vpcsc_config.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/protobuf/field_mask_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("google/devtools/artifactregistry/v1/vpcsc_config.proto", :syntax => :proto3) do
|
12
|
+
add_message "google.devtools.artifactregistry.v1.VPCSCConfig" do
|
13
|
+
optional :name, :string, 1
|
14
|
+
optional :vpcsc_policy, :enum, 2, "google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy"
|
15
|
+
end
|
16
|
+
add_enum "google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy" do
|
17
|
+
value :VPCSC_POLICY_UNSPECIFIED, 0
|
18
|
+
value :DENY, 1
|
19
|
+
value :ALLOW, 2
|
20
|
+
end
|
21
|
+
add_message "google.devtools.artifactregistry.v1.GetVPCSCConfigRequest" do
|
22
|
+
optional :name, :string, 1
|
23
|
+
end
|
24
|
+
add_message "google.devtools.artifactregistry.v1.UpdateVPCSCConfigRequest" do
|
25
|
+
optional :vpcsc_config, :message, 1, "google.devtools.artifactregistry.v1.VPCSCConfig"
|
26
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module ArtifactRegistry
|
34
|
+
module V1
|
35
|
+
VPCSCConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.VPCSCConfig").msgclass
|
36
|
+
VPCSCConfig::VPCSCPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.VPCSCConfig.VPCSCPolicy").enummodule
|
37
|
+
GetVPCSCConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.GetVPCSCConfigRequest").msgclass
|
38
|
+
UpdateVPCSCConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.artifactregistry.v1.UpdateVPCSCConfigRequest").msgclass
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|