google-cloud-artifact_registry-v1beta2 0.7.0 → 0.9.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 +2 -2
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/client.rb +50 -58
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/operations.rb +17 -17
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/client.rb +2254 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/operations.rb +795 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest/service_stub.rb +1532 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/rest.rb +66 -0
- data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry.rb +6 -0
- data/lib/google/cloud/artifact_registry/v1beta2/bindings_override.rb +102 -0
- data/lib/google/cloud/artifact_registry/v1beta2/rest.rb +38 -0
- data/lib/google/cloud/artifact_registry/v1beta2/version.rb +1 -1
- data/lib/google/cloud/artifact_registry/v1beta2.rb +5 -0
- data/lib/google/devtools/artifactregistry/v1beta2/apt_artifact_pb.rb +25 -36
- data/lib/google/devtools/artifactregistry/v1beta2/file_pb.rb +25 -31
- data/lib/google/devtools/artifactregistry/v1beta2/package_pb.rb +25 -22
- data/lib/google/devtools/artifactregistry/v1beta2/repository_pb.rb +26 -55
- data/lib/google/devtools/artifactregistry/v1beta2/service_pb.rb +24 -3
- data/lib/google/devtools/artifactregistry/v1beta2/settings_pb.rb +25 -18
- data/lib/google/devtools/artifactregistry/v1beta2/tag_pb.rb +25 -30
- data/lib/google/devtools/artifactregistry/v1beta2/version_pb.rb +27 -33
- data/lib/google/devtools/artifactregistry/v1beta2/yum_artifact_pb.rb +25 -34
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/iam/v1/policy.rb +8 -4
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +17 -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/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
|
@@ -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
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto
|
3
4
|
|
@@ -7,44 +8,32 @@ require 'google/api/field_behavior_pb'
|
|
7
8
|
require 'google/api/resource_pb'
|
8
9
|
require 'google/rpc/status_pb'
|
9
10
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
optional :gcs_source, :message, 2, "google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource"
|
33
|
-
end
|
34
|
-
end
|
35
|
-
add_message "google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo" do
|
36
|
-
optional :error, :message, 2, "google.rpc.Status"
|
37
|
-
oneof :source do
|
38
|
-
optional :gcs_source, :message, 1, "google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource"
|
39
|
-
end
|
40
|
-
end
|
41
|
-
add_message "google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse" do
|
42
|
-
repeated :apt_artifacts, :message, 1, "google.devtools.artifactregistry.v1beta2.AptArtifact"
|
43
|
-
repeated :errors, :message, 2, "google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo"
|
44
|
-
end
|
45
|
-
add_message "google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata" do
|
11
|
+
|
12
|
+
descriptor_data = "\n;google/devtools/artifactregistry/v1beta2/apt_artifact.proto\x12(google.devtools.artifactregistry.v1beta2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x17google/rpc/status.proto\"\xbf\x03\n\x0b\x41ptArtifact\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cpackage_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\\\n\x0cpackage_type\x18\x03 \x01(\x0e\x32\x41.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageTypeB\x03\xe0\x41\x03\x12\x19\n\x0c\x61rchitecture\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tcomponent\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x63ontrol_file\x18\x06 \x01(\x0c\x42\x03\xe0\x41\x03\"C\n\x0bPackageType\x12\x1c\n\x18PACKAGE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x42INARY\x10\x01\x12\n\n\x06SOURCE\x10\x02:\x90\x01\xea\x41\x8c\x01\n+artifactregistry.googleapis.com/AptArtifact\x12]projects/{project}/locations/{location}/repositories/{repository}/aptArtifacts/{apt_artifact}\"B\n\x1bImportAptArtifactsGcsSource\x12\x0c\n\x04uris\x18\x01 \x03(\t\x12\x15\n\ruse_wildcards\x18\x02 \x01(\x08\"\x92\x01\n\x19ImportAptArtifactsRequest\x12[\n\ngcs_source\x18\x02 \x01(\x0b\x32\x45.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceH\x00\x12\x0e\n\x06parent\x18\x01 \x01(\tB\x08\n\x06source\"\xa7\x01\n\x1bImportAptArtifactsErrorInfo\x12[\n\ngcs_source\x18\x01 \x01(\x0b\x32\x45.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceH\x00\x12!\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusB\x08\n\x06source\"\xc1\x01\n\x1aImportAptArtifactsResponse\x12L\n\rapt_artifacts\x18\x01 \x03(\x0b\x32\x35.google.devtools.artifactregistry.v1beta2.AptArtifact\x12U\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x45.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo\"\x1c\n\x1aImportAptArtifactsMetadataB\x94\x02\n,com.google.devtools.artifactregistry.v1beta2B\x10\x41ptArtifactProtoP\x01ZUcloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb\xaa\x02%Google.Cloud.ArtifactRegistry.V1Beta2\xca\x02%Google\\Cloud\\ArtifactRegistry\\V1beta2\xea\x02(Google::Cloud::ArtifactRegistry::V1beta2b\x06proto3"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError => e
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
28
|
+
]
|
29
|
+
imports.each do |type_name, expected_filename|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
31
|
+
if import_file.name != expected_filename
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
46
33
|
end
|
47
34
|
end
|
35
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
+
warn "This will become an error in the next major version."
|
48
37
|
end
|
49
38
|
|
50
39
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/devtools/artifactregistry/v1beta2/file.proto
|
3
4
|
|
@@ -6,39 +7,32 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/protobuf/timestamp_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
optional :page_size, :int32, 2
|
32
|
-
optional :page_token, :string, 3
|
33
|
-
end
|
34
|
-
add_message "google.devtools.artifactregistry.v1beta2.ListFilesResponse" do
|
35
|
-
repeated :files, :message, 1, "google.devtools.artifactregistry.v1beta2.File"
|
36
|
-
optional :next_page_token, :string, 2
|
37
|
-
end
|
38
|
-
add_message "google.devtools.artifactregistry.v1beta2.GetFileRequest" do
|
39
|
-
optional :name, :string, 1
|
10
|
+
|
11
|
+
descriptor_data = "\n3google/devtools/artifactregistry/v1beta2/file.proto\x12(google.devtools.artifactregistry.v1beta2\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x98\x01\n\x04Hash\x12\x45\n\x04type\x18\x01 \x01(\x0e\x32\x37.google.devtools.artifactregistry.v1beta2.Hash.HashType\x12\r\n\x05value\x18\x02 \x01(\x0c\":\n\x08HashType\x12\x19\n\x15HASH_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06SHA256\x10\x01\x12\x07\n\x03MD5\x10\x02\"\xd4\x02\n\x04\x46ile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nsize_bytes\x18\x03 \x01(\x03\x12>\n\x06hashes\x18\x04 \x03(\x0b\x32..google.devtools.artifactregistry.v1beta2.Hash\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05owner\x18\x07 \x01(\t:y\xea\x41v\n$artifactregistry.googleapis.com/File\x12Nprojects/{project}/locations/{location}/repositories/{repository}/files/{file}\"Y\n\x10ListFilesRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"k\n\x11ListFilesResponse\x12=\n\x05\x66iles\x18\x01 \x03(\x0b\x32..google.devtools.artifactregistry.v1beta2.File\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x1e\n\x0eGetFileRequest\x12\x0c\n\x04name\x18\x01 \x01(\tB\x8d\x02\n,com.google.devtools.artifactregistry.v1beta2B\tFileProtoP\x01ZUcloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb\xaa\x02%Google.Cloud.ArtifactRegistry.V1Beta2\xca\x02%Google\\Cloud\\ArtifactRegistry\\V1beta2\xea\x02(Google::Cloud::ArtifactRegistry::V1beta2b\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError => e
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
40
32
|
end
|
41
33
|
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
42
36
|
end
|
43
37
|
|
44
38
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/devtools/artifactregistry/v1beta2/package.proto
|
3
4
|
|
@@ -5,30 +6,32 @@ require 'google/protobuf'
|
|
5
6
|
|
6
7
|
require 'google/protobuf/timestamp_pb'
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
9
|
+
|
10
|
+
descriptor_data = "\n6google/devtools/artifactregistry/v1beta2/package.proto\x12(google.devtools.artifactregistry.v1beta2\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8f\x01\n\x07Package\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"L\n\x13ListPackagesRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"t\n\x14ListPackagesResponse\x12\x43\n\x08packages\x18\x01 \x03(\x0b\x32\x31.google.devtools.artifactregistry.v1beta2.Package\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"!\n\x11GetPackageRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"$\n\x14\x44\x65letePackageRequest\x12\x0c\n\x04name\x18\x01 \x01(\tB\x90\x02\n,com.google.devtools.artifactregistry.v1beta2B\x0cPackageProtoP\x01ZUcloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb\xaa\x02%Google.Cloud.ArtifactRegistry.V1Beta2\xca\x02%Google\\Cloud\\ArtifactRegistry\\V1beta2\xea\x02(Google::Cloud::ArtifactRegistry::V1beta2b\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
|
14
|
+
begin
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
rescue TypeError => e
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
+
parsed.clear_dependency
|
21
|
+
serialized = parsed.class.encode(parsed)
|
22
|
+
file = pool.add_serialized_file(serialized)
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
+
imports = [
|
25
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
30
31
|
end
|
31
32
|
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
32
35
|
end
|
33
36
|
|
34
37
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/devtools/artifactregistry/v1beta2/repository.proto
|
3
4
|
|
@@ -8,63 +9,33 @@ require 'google/api/resource_pb'
|
|
8
9
|
require 'google/protobuf/field_mask_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
add_enum "google.devtools.artifactregistry.v1beta2.Repository.Format" do
|
35
|
-
value :FORMAT_UNSPECIFIED, 0
|
36
|
-
value :DOCKER, 1
|
37
|
-
value :MAVEN, 2
|
38
|
-
value :NPM, 3
|
39
|
-
value :APT, 5
|
40
|
-
value :YUM, 6
|
41
|
-
value :PYTHON, 8
|
42
|
-
end
|
43
|
-
add_message "google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest" do
|
44
|
-
optional :parent, :string, 1
|
45
|
-
optional :page_size, :int32, 2
|
46
|
-
optional :page_token, :string, 3
|
47
|
-
end
|
48
|
-
add_message "google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse" do
|
49
|
-
repeated :repositories, :message, 1, "google.devtools.artifactregistry.v1beta2.Repository"
|
50
|
-
optional :next_page_token, :string, 2
|
51
|
-
end
|
52
|
-
add_message "google.devtools.artifactregistry.v1beta2.GetRepositoryRequest" do
|
53
|
-
optional :name, :string, 1
|
54
|
-
end
|
55
|
-
add_message "google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest" do
|
56
|
-
optional :parent, :string, 1
|
57
|
-
optional :repository_id, :string, 2
|
58
|
-
optional :repository, :message, 3, "google.devtools.artifactregistry.v1beta2.Repository"
|
59
|
-
end
|
60
|
-
add_message "google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest" do
|
61
|
-
optional :repository, :message, 1, "google.devtools.artifactregistry.v1beta2.Repository"
|
62
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
63
|
-
end
|
64
|
-
add_message "google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest" do
|
65
|
-
optional :name, :string, 1
|
12
|
+
|
13
|
+
descriptor_data = "\n9google/devtools/artifactregistry/v1beta2/repository.proto\x12(google.devtools.artifactregistry.v1beta2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb9\x07\n\nRepository\x12\x62\n\x0cmaven_config\x18\t \x01(\x0b\x32J.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12K\n\x06\x66ormat\x18\x02 \x01(\x0e\x32;.google.devtools.artifactregistry.v1beta2.Repository.Format\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12P\n\x06labels\x18\x04 \x03(\x0b\x32@.google.devtools.artifactregistry.v1beta2.Repository.LabelsEntry\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0ckms_key_name\x18\x08 \x01(\t\x1a\xf8\x01\n\x15MavenRepositoryConfig\x12!\n\x19\x61llow_snapshot_overwrites\x18\x01 \x01(\x08\x12p\n\x0eversion_policy\x18\x02 \x01(\x0e\x32X.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy\"J\n\rVersionPolicy\x12\x1e\n\x1aVERSION_POLICY_UNSPECIFIED\x10\x00\x12\x0b\n\x07RELEASE\x10\x01\x12\x0c\n\x08SNAPSHOT\x10\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"^\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\n\n\x06\x44OCKER\x10\x01\x12\t\n\x05MAVEN\x10\x02\x12\x07\n\x03NPM\x10\x03\x12\x07\n\x03\x41PT\x10\x05\x12\x07\n\x03YUM\x10\x06\x12\n\n\x06PYTHON\x10\x08:r\xea\x41o\n*artifactregistry.googleapis.com/Repository\x12\x41projects/{project}/locations/{location}/repositories/{repository}B\x0f\n\rformat_config\"\x84\x01\n\x17ListRepositoriesRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*artifactregistry.googleapis.com/Repository\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x7f\n\x18ListRepositoriesResponse\x12J\n\x0crepositories\x18\x01 \x03(\x0b\x32\x34.google.devtools.artifactregistry.v1beta2.Repository\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x14GetRepositoryRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*artifactregistry.googleapis.com/Repository\"\xbe\x01\n\x17\x43reateRepositoryRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*artifactregistry.googleapis.com/Repository\x12\x15\n\rrepository_id\x18\x02 \x01(\t\x12H\n\nrepository\x18\x03 \x01(\x0b\x32\x34.google.devtools.artifactregistry.v1beta2.Repository\"\x94\x01\n\x17UpdateRepositoryRequest\x12H\n\nrepository\x18\x01 \x01(\x0b\x32\x34.google.devtools.artifactregistry.v1beta2.Repository\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"[\n\x17\x44\x65leteRepositoryRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*artifactregistry.googleapis.com/RepositoryB\x93\x02\n,com.google.devtools.artifactregistry.v1beta2B\x0fRepositoryProtoP\x01ZUcloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb\xaa\x02%Google.Cloud.ArtifactRegistry.V1Beta2\xca\x02%Google\\Cloud\\ArtifactRegistry\\V1beta2\xea\x02(Google::Cloud::ArtifactRegistry::V1beta2b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
66
35
|
end
|
67
36
|
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
68
39
|
end
|
69
40
|
|
70
41
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/devtools/artifactregistry/v1beta2/service.proto
|
3
4
|
|
@@ -18,11 +19,31 @@ require 'google/iam/v1/policy_pb'
|
|
18
19
|
require 'google/longrunning/operations_pb'
|
19
20
|
require 'google/protobuf/empty_pb'
|
20
21
|
|
21
|
-
|
22
|
-
|
23
|
-
|
22
|
+
|
23
|
+
descriptor_data = "\n6google/devtools/artifactregistry/v1beta2/service.proto\x12(google.devtools.artifactregistry.v1beta2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a;google/devtools/artifactregistry/v1beta2/apt_artifact.proto\x1a\x33google/devtools/artifactregistry/v1beta2/file.proto\x1a\x36google/devtools/artifactregistry/v1beta2/package.proto\x1a\x39google/devtools/artifactregistry/v1beta2/repository.proto\x1a\x37google/devtools/artifactregistry/v1beta2/settings.proto\x1a\x32google/devtools/artifactregistry/v1beta2/tag.proto\x1a\x36google/devtools/artifactregistry/v1beta2/version.proto\x1a;google/devtools/artifactregistry/v1beta2/yum_artifact.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x13\n\x11OperationMetadata2\xe6/\n\x10\x41rtifactRegistry\x12\xdf\x02\n\x12ImportAptArtifacts\x12\x43.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest\x1a\x1d.google.longrunning.Operation\"\xe4\x01\x82\xd3\xe4\x93\x02P\"K/v1beta2/{parent=projects/*/locations/*/repositories/*}/aptArtifacts:import:\x01*\xca\x41\x8a\x01\nCgoogle.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse\x12\x43google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata\x12\xdf\x02\n\x12ImportYumArtifacts\x12\x43.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest\x1a\x1d.google.longrunning.Operation\"\xe4\x01\x82\xd3\xe4\x93\x02P\"K/v1beta2/{parent=projects/*/locations/*/repositories/*}/yumArtifacts:import:\x01*\xca\x41\x8a\x01\nCgoogle.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse\x12\x43google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata\x12\xe1\x01\n\x10ListRepositories\x12\x41.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest\x1a\x42.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta2/{parent=projects/*/locations/*}/repositories\xda\x41\x06parent\x12\xcb\x01\n\rGetRepository\x12>.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest\x1a\x34.google.devtools.artifactregistry.v1beta2.Repository\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta2/{name=projects/*/locations/*/repositories/*}\xda\x41\x04name\x12\xd6\x02\n\x10\x43reateRepository\x12\x41.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\xdf\x01\x82\xd3\xe4\x93\x02\x43\"5/v1beta2/{parent=projects/*/locations/*}/repositories:\nrepository\xda\x41\x1fparent,repository,repository_id\xca\x41q\n3google.devtools.artifactregistry.v1beta2.Repository\x12:google.devtools.artifactregistry.v1beta2.OperationMetadata\x12\xfa\x01\n\x10UpdateRepository\x12\x41.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest\x1a\x34.google.devtools.artifactregistry.v1beta2.Repository\"m\x82\xd3\xe4\x93\x02N2@/v1beta2/{repository.name=projects/*/locations/*/repositories/*}:\nrepository\xda\x41\x16repository,update_mask\x12\x91\x02\n\x10\x44\x65leteRepository\x12\x41.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\x82\xd3\xe4\x93\x02\x37*5/v1beta2/{name=projects/*/locations/*/repositories/*}\xda\x41\x04name\xca\x41S\n\x15google.protobuf.Empty\x12:google.devtools.artifactregistry.v1beta2.OperationMetadata\x12\xe0\x01\n\x0cListPackages\x12=.google.devtools.artifactregistry.v1beta2.ListPackagesRequest\x1a>.google.devtools.artifactregistry.v1beta2.ListPackagesResponse\"Q\x82\xd3\xe4\x93\x02\x42\x12@/v1beta2/{parent=projects/*/locations/*/repositories/*}/packages\xda\x41\x06parent\x12\xcd\x01\n\nGetPackage\x12;.google.devtools.artifactregistry.v1beta2.GetPackageRequest\x1a\x31.google.devtools.artifactregistry.v1beta2.Package\"O\x82\xd3\xe4\x93\x02\x42\x12@/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}\xda\x41\x04name\x12\x96\x02\n\rDeletePackage\x12>.google.devtools.artifactregistry.v1beta2.DeletePackageRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\x82\xd3\xe4\x93\x02\x42*@/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}\xda\x41\x04name\xca\x41S\n\x15google.protobuf.Empty\x12:google.devtools.artifactregistry.v1beta2.OperationMetadata\x12\xeb\x01\n\x0cListVersions\x12=.google.devtools.artifactregistry.v1beta2.ListVersionsRequest\x1a>.google.devtools.artifactregistry.v1beta2.ListVersionsResponse\"\\\x82\xd3\xe4\x93\x02M\x12K/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/versions\xda\x41\x06parent\x12\xd8\x01\n\nGetVersion\x12;.google.devtools.artifactregistry.v1beta2.GetVersionRequest\x1a\x31.google.devtools.artifactregistry.v1beta2.Version\"Z\x82\xd3\xe4\x93\x02M\x12K/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}\xda\x41\x04name\x12\xa1\x02\n\rDeleteVersion\x12>.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest\x1a\x1d.google.longrunning.Operation\"\xb0\x01\x82\xd3\xe4\x93\x02M*K/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}\xda\x41\x04name\xca\x41S\n\x15google.protobuf.Empty\x12:google.devtools.artifactregistry.v1beta2.OperationMetadata\x12\xd4\x01\n\tListFiles\x12:.google.devtools.artifactregistry.v1beta2.ListFilesRequest\x1a;.google.devtools.artifactregistry.v1beta2.ListFilesResponse\"N\x82\xd3\xe4\x93\x02?\x12=/v1beta2/{parent=projects/*/locations/*/repositories/*}/files\xda\x41\x06parent\x12\xc2\x01\n\x07GetFile\x12\x38.google.devtools.artifactregistry.v1beta2.GetFileRequest\x1a..google.devtools.artifactregistry.v1beta2.File\"M\x82\xd3\xe4\x93\x02@\x12>/v1beta2/{name=projects/*/locations/*/repositories/*/files/**}\xda\x41\x04name\x12\xdb\x01\n\x08ListTags\x12\x39.google.devtools.artifactregistry.v1beta2.ListTagsRequest\x1a:.google.devtools.artifactregistry.v1beta2.ListTagsResponse\"X\x82\xd3\xe4\x93\x02I\x12G/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags\xda\x41\x06parent\x12\xc8\x01\n\x06GetTag\x12\x37.google.devtools.artifactregistry.v1beta2.GetTagRequest\x1a-.google.devtools.artifactregistry.v1beta2.Tag\"V\x82\xd3\xe4\x93\x02I\x12G/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}\xda\x41\x04name\x12\xe0\x01\n\tCreateTag\x12:.google.devtools.artifactregistry.v1beta2.CreateTagRequest\x1a-.google.devtools.artifactregistry.v1beta2.Tag\"h\x82\xd3\xe4\x93\x02N\"G/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags:\x03tag\xda\x41\x11parent,tag,tag_id\x12\xe2\x01\n\tUpdateTag\x12:.google.devtools.artifactregistry.v1beta2.UpdateTagRequest\x1a-.google.devtools.artifactregistry.v1beta2.Tag\"j\x82\xd3\xe4\x93\x02R2K/v1beta2/{tag.name=projects/*/locations/*/repositories/*/packages/*/tags/*}:\x03tag\xda\x41\x0ftag,update_mask\x12\xb7\x01\n\tDeleteTag\x12:.google.devtools.artifactregistry.v1beta2.DeleteTagRequest\x1a\x16.google.protobuf.Empty\"V\x82\xd3\xe4\x93\x02I*G/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}\xda\x41\x04name\x12\x9c\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"Q\x82\xd3\xe4\x93\x02K\"F/v1beta2/{resource=projects/*/locations/*/repositories/*}:setIamPolicy:\x01*\x12\x99\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"N\x82\xd3\xe4\x93\x02H\x12\x46/v1beta2/{resource=projects/*/locations/*/repositories/*}:getIamPolicy\x12\xc2\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"W\x82\xd3\xe4\x93\x02Q\"L/v1beta2/{resource=projects/*/locations/*/repositories/*}:testIamPermissions:\x01*\x12\xcf\x01\n\x12GetProjectSettings\x12\x43.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest\x1a\x39.google.devtools.artifactregistry.v1beta2.ProjectSettings\"9\x82\xd3\xe4\x93\x02,\x12*/v1beta2/{name=projects/*/projectSettings}\xda\x41\x04name\x12\x90\x02\n\x15UpdateProjectSettings\x12\x46.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest\x1a\x39.google.devtools.artifactregistry.v1beta2.ProjectSettings\"t\x82\xd3\xe4\x93\x02O2;/v1beta2/{project_settings.name=projects/*/projectSettings}:\x10project_settings\xda\x41\x1cproject_settings,update_mask\x1a\x8c\x01\xca\x41\x1f\x61rtifactregistry.googleapis.com\xd2\x41ghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\x90\x02\n,com.google.devtools.artifactregistry.v1beta2B\x0cServiceProtoP\x01ZUcloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb\xaa\x02%Google.Cloud.ArtifactRegistry.V1Beta2\xca\x02%Google\\Cloud\\ArtifactRegistry\\V1beta2\xea\x02(Google::Cloud::ArtifactRegistry::V1beta2b\x06proto3"
|
24
|
+
|
25
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
26
|
+
|
27
|
+
begin
|
28
|
+
pool.add_serialized_file(descriptor_data)
|
29
|
+
rescue TypeError => e
|
30
|
+
# Compatibility code: will be removed in the next major version.
|
31
|
+
require 'google/protobuf/descriptor_pb'
|
32
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
33
|
+
parsed.clear_dependency
|
34
|
+
serialized = parsed.class.encode(parsed)
|
35
|
+
file = pool.add_serialized_file(serialized)
|
36
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
37
|
+
imports = [
|
38
|
+
]
|
39
|
+
imports.each do |type_name, expected_filename|
|
40
|
+
import_file = pool.lookup(type_name).file_descriptor
|
41
|
+
if import_file.name != expected_filename
|
42
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
24
43
|
end
|
25
44
|
end
|
45
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
46
|
+
warn "This will become an error in the next major version."
|
26
47
|
end
|
27
48
|
|
28
49
|
module Google
|