google-cloud-apigee_registry-v1 0.3.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/apigee_registry/v1/bindings_override.rb +351 -0
- data/lib/google/cloud/apigee_registry/v1/provisioning/client.rb +14 -12
- data/lib/google/cloud/apigee_registry/v1/provisioning/operations.rb +17 -17
- data/lib/google/cloud/apigee_registry/v1/provisioning/rest/client.rb +544 -0
- data/lib/google/cloud/apigee_registry/v1/provisioning/rest/operations.rb +795 -0
- data/lib/google/cloud/apigee_registry/v1/provisioning/rest/service_stub.rb +226 -0
- data/lib/google/cloud/apigee_registry/v1/provisioning/rest.rb +55 -0
- data/lib/google/cloud/apigee_registry/v1/provisioning.rb +7 -1
- data/lib/google/cloud/apigee_registry/v1/registry/client.rb +34 -46
- data/lib/google/cloud/apigee_registry/v1/registry/rest/client.rb +3155 -0
- data/lib/google/cloud/apigee_registry/v1/registry/rest/service_stub.rb +2303 -0
- data/lib/google/cloud/apigee_registry/v1/registry/rest.rb +53 -0
- data/lib/google/cloud/apigee_registry/v1/registry.rb +7 -1
- data/lib/google/cloud/apigee_registry/v1/rest.rb +39 -0
- data/lib/google/cloud/apigee_registry/v1/version.rb +1 -1
- data/lib/google/cloud/apigee_registry/v1.rb +7 -2
- data/lib/google/cloud/apigeeregistry/v1/provisioning_service_pb.rb +25 -42
- data/lib/google/cloud/apigeeregistry/v1/registry_models_pb.rb +25 -64
- data/lib/google/cloud/apigeeregistry/v1/registry_service_pb.rb +26 -179
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +22 -11
@@ -0,0 +1,53 @@
|
|
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/apigee_registry/v1/version"
|
24
|
+
require "google/cloud/apigee_registry/v1/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/apigee_registry/v1/registry/credentials"
|
27
|
+
require "google/cloud/apigee_registry/v1/registry/paths"
|
28
|
+
require "google/cloud/apigee_registry/v1/registry/rest/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module ApigeeRegistry
|
33
|
+
module V1
|
34
|
+
##
|
35
|
+
# The Registry service allows teams to manage descriptions of APIs.
|
36
|
+
#
|
37
|
+
# To load this service and instantiate a REST client:
|
38
|
+
#
|
39
|
+
# require "google/cloud/apigee_registry/v1/registry/rest"
|
40
|
+
# client = ::Google::Cloud::ApigeeRegistry::V1::Registry::Rest::Client.new
|
41
|
+
#
|
42
|
+
module Registry
|
43
|
+
# Client for the REST transport
|
44
|
+
module Rest
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
53
|
+
require "google/cloud/apigee_registry/v1/registry/rest/helpers" if ::File.file? helper_path
|
@@ -25,6 +25,7 @@ require "google/cloud/apigee_registry/v1/version"
|
|
25
25
|
require "google/cloud/apigee_registry/v1/registry/credentials"
|
26
26
|
require "google/cloud/apigee_registry/v1/registry/paths"
|
27
27
|
require "google/cloud/apigee_registry/v1/registry/client"
|
28
|
+
require "google/cloud/apigee_registry/v1/registry/rest"
|
28
29
|
|
29
30
|
module Google
|
30
31
|
module Cloud
|
@@ -33,11 +34,16 @@ module Google
|
|
33
34
|
##
|
34
35
|
# The Registry service allows teams to manage descriptions of APIs.
|
35
36
|
#
|
36
|
-
#
|
37
|
+
# @example Load this service and instantiate a gRPC client
|
37
38
|
#
|
38
39
|
# require "google/cloud/apigee_registry/v1/registry"
|
39
40
|
# client = ::Google::Cloud::ApigeeRegistry::V1::Registry::Client.new
|
40
41
|
#
|
42
|
+
# @example Load this service and instantiate a REST client
|
43
|
+
#
|
44
|
+
# require "google/cloud/apigee_registry/v1/registry/rest"
|
45
|
+
# client = ::Google::Cloud::ApigeeRegistry::V1::Registry::Rest::Client.new
|
46
|
+
#
|
41
47
|
module Registry
|
42
48
|
end
|
43
49
|
end
|
@@ -0,0 +1,39 @@
|
|
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/apigee_registry/v1/provisioning/rest"
|
20
|
+
require "google/cloud/apigee_registry/v1/registry/rest"
|
21
|
+
require "google/cloud/apigee_registry/v1/bindings_override"
|
22
|
+
require "google/cloud/apigee_registry/v1/version"
|
23
|
+
|
24
|
+
module Google
|
25
|
+
module Cloud
|
26
|
+
module ApigeeRegistry
|
27
|
+
##
|
28
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
29
|
+
#
|
30
|
+
# @example
|
31
|
+
#
|
32
|
+
# require "google/cloud/apigee_registry/v1/rest"
|
33
|
+
# client = ::Google::Cloud::ApigeeRegistry::V1::Provisioning::Rest::Client.new
|
34
|
+
#
|
35
|
+
module V1
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -24,13 +24,18 @@ module Google
|
|
24
24
|
module Cloud
|
25
25
|
module ApigeeRegistry
|
26
26
|
##
|
27
|
-
#
|
27
|
+
# API client module.
|
28
28
|
#
|
29
|
-
# @example
|
29
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
30
|
#
|
31
31
|
# require "google/cloud/apigee_registry/v1"
|
32
32
|
# client = ::Google::Cloud::ApigeeRegistry::V1::Provisioning::Client.new
|
33
33
|
#
|
34
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
35
|
+
#
|
36
|
+
# require "google/cloud/apigee_registry/v1"
|
37
|
+
# client = ::Google::Cloud::ApigeeRegistry::V1::Provisioning::Rest::Client.new
|
38
|
+
#
|
34
39
|
module V1
|
35
40
|
end
|
36
41
|
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/cloud/apigeeregistry/v1/provisioning_service.proto
|
3
4
|
|
@@ -10,50 +11,32 @@ require 'google/api/resource_pb'
|
|
10
11
|
require 'google/longrunning/operations_pb'
|
11
12
|
require 'google/protobuf/timestamp_pb'
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
add_message "google.cloud.apigeeregistry.v1.Instance" do
|
36
|
-
optional :name, :string, 1
|
37
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
38
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
39
|
-
optional :state, :enum, 4, "google.cloud.apigeeregistry.v1.Instance.State"
|
40
|
-
optional :state_message, :string, 5
|
41
|
-
optional :config, :message, 6, "google.cloud.apigeeregistry.v1.Instance.Config"
|
42
|
-
end
|
43
|
-
add_message "google.cloud.apigeeregistry.v1.Instance.Config" do
|
44
|
-
optional :location, :string, 1
|
45
|
-
optional :cmek_key_name, :string, 2
|
46
|
-
end
|
47
|
-
add_enum "google.cloud.apigeeregistry.v1.Instance.State" do
|
48
|
-
value :STATE_UNSPECIFIED, 0
|
49
|
-
value :INACTIVE, 1
|
50
|
-
value :CREATING, 2
|
51
|
-
value :ACTIVE, 3
|
52
|
-
value :UPDATING, 4
|
53
|
-
value :DELETING, 5
|
54
|
-
value :FAILED, 6
|
14
|
+
|
15
|
+
descriptor_data = "\n9google/cloud/apigeeregistry/v1/provisioning_service.proto\x12\x1egoogle.cloud.apigeeregistry.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xad\x01\n\x15\x43reateInstanceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\x08instance\x18\x03 \x01(\x0b\x32(.google.cloud.apigeeregistry.v1.InstanceB\x03\xe0\x41\x02\"U\n\x15\x44\x65leteInstanceRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Instance\"R\n\x12GetInstanceRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Instance\"\xdd\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x16\n\x0estatus_message\x18\x05 \x01(\t\x12\x1e\n\x16\x63\x61ncellation_requested\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t\"\xc2\x04\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x05state\x18\x04 \x01(\x0e\x32..google.cloud.apigeeregistry.v1.Instance.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x06\x63onfig\x18\x06 \x01(\x0b\x32/.google.cloud.apigeeregistry.v1.Instance.ConfigB\x03\xe0\x41\x02\x1a;\n\x06\x43onfig\x12\x15\n\x08location\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rcmek_key_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\"n\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08INACTIVE\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06:i\xea\x41\x66\n&apigeeregistry.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}2\xc9\x05\n\x0cProvisioning\x12\xe5\x01\n\x0e\x43reateInstance\x12\x35.google.cloud.apigeeregistry.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xd1\x01\n\x0e\x44\x65leteInstance\x12\x35.google.cloud.apigeeregistry.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xa9\x01\n\x0bGetInstance\x12\x32.google.cloud.apigeeregistry.v1.GetInstanceRequest\x1a(.google.cloud.apigeeregistry.v1.Instance\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\x1aQ\xca\x41\x1d\x61pigeeregistry.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf2\x01\n\"com.google.cloud.apigeeregistry.v1B\x18ProvisioningServiceProtoP\x01ZJcloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb\xaa\x02\x1eGoogle.Cloud.ApigeeRegistry.V1\xca\x02\x1eGoogle\\Cloud\\ApigeeRegistry\\V1\xea\x02!Google::Cloud::ApigeeRegistry::V1b\x06proto3"
|
16
|
+
|
17
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
|
+
|
19
|
+
begin
|
20
|
+
pool.add_serialized_file(descriptor_data)
|
21
|
+
rescue TypeError => e
|
22
|
+
# Compatibility code: will be removed in the next major version.
|
23
|
+
require 'google/protobuf/descriptor_pb'
|
24
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
25
|
+
parsed.clear_dependency
|
26
|
+
serialized = parsed.class.encode(parsed)
|
27
|
+
file = pool.add_serialized_file(serialized)
|
28
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
29
|
+
imports = [
|
30
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
31
|
+
]
|
32
|
+
imports.each do |type_name, expected_filename|
|
33
|
+
import_file = pool.lookup(type_name).file_descriptor
|
34
|
+
if import_file.name != expected_filename
|
35
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
55
36
|
end
|
56
37
|
end
|
38
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
39
|
+
warn "This will become an error in the next major version."
|
57
40
|
end
|
58
41
|
|
59
42
|
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/cloud/apigeeregistry/v1/registry_models.proto
|
3
4
|
|
@@ -7,72 +8,32 @@ require 'google/api/field_behavior_pb'
|
|
7
8
|
require 'google/api/resource_pb'
|
8
9
|
require 'google/protobuf/timestamp_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
|
-
map :annotations, :string, :string, 8
|
33
|
-
end
|
34
|
-
add_message "google.cloud.apigeeregistry.v1.ApiSpec" do
|
35
|
-
optional :name, :string, 1
|
36
|
-
optional :filename, :string, 2
|
37
|
-
optional :description, :string, 3
|
38
|
-
optional :revision_id, :string, 4
|
39
|
-
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
40
|
-
optional :revision_create_time, :message, 6, "google.protobuf.Timestamp"
|
41
|
-
optional :revision_update_time, :message, 7, "google.protobuf.Timestamp"
|
42
|
-
optional :mime_type, :string, 8
|
43
|
-
optional :size_bytes, :int32, 9
|
44
|
-
optional :hash, :string, 10
|
45
|
-
optional :source_uri, :string, 11
|
46
|
-
optional :contents, :bytes, 12
|
47
|
-
map :labels, :string, :string, 14
|
48
|
-
map :annotations, :string, :string, 15
|
49
|
-
end
|
50
|
-
add_message "google.cloud.apigeeregistry.v1.ApiDeployment" do
|
51
|
-
optional :name, :string, 1
|
52
|
-
optional :display_name, :string, 2
|
53
|
-
optional :description, :string, 3
|
54
|
-
optional :revision_id, :string, 4
|
55
|
-
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
56
|
-
optional :revision_create_time, :message, 6, "google.protobuf.Timestamp"
|
57
|
-
optional :revision_update_time, :message, 7, "google.protobuf.Timestamp"
|
58
|
-
optional :api_spec_revision, :string, 8
|
59
|
-
optional :endpoint_uri, :string, 9
|
60
|
-
optional :external_channel_uri, :string, 10
|
61
|
-
optional :intended_audience, :string, 11
|
62
|
-
optional :access_guidance, :string, 12
|
63
|
-
map :labels, :string, :string, 14
|
64
|
-
map :annotations, :string, :string, 15
|
65
|
-
end
|
66
|
-
add_message "google.cloud.apigeeregistry.v1.Artifact" do
|
67
|
-
optional :name, :string, 1
|
68
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
69
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
70
|
-
optional :mime_type, :string, 4
|
71
|
-
optional :size_bytes, :int32, 5
|
72
|
-
optional :hash, :string, 6
|
73
|
-
optional :contents, :bytes, 7
|
11
|
+
|
12
|
+
descriptor_data = "\n4google/cloud/apigeeregistry/v1/registry_models.proto\x12\x1egoogle.cloud.apigeeregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\x05\n\x03\x41pi\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x0c\x61vailability\x18\x06 \x01(\t\x12J\n\x13recommended_version\x18\x07 \x01(\tB-\xfa\x41*\n(apigeeregistry.googleapis.com/ApiVersion\x12P\n\x16recommended_deployment\x18\x08 \x01(\tB0\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\x12?\n\x06labels\x18\t \x03(\x0b\x32/.google.cloud.apigeeregistry.v1.Api.LabelsEntry\x12I\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x34.google.cloud.apigeeregistry.v1.Api.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:Z\xea\x41W\n!apigeeregistry.googleapis.com/Api\x12\x32projects/{project}/locations/{location}/apis/{api}\"\xb3\x04\n\nApiVersion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\r\n\x05state\x18\x06 \x01(\t\x12\x46\n\x06labels\x18\x07 \x03(\x0b\x32\x36.google.cloud.apigeeregistry.v1.ApiVersion.LabelsEntry\x12P\n\x0b\x61nnotations\x18\x08 \x03(\x0b\x32;.google.cloud.apigeeregistry.v1.ApiVersion.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:t\xea\x41q\n(apigeeregistry.googleapis.com/ApiVersion\x12\x45projects/{project}/locations/{location}/apis/{api}/versions/{version}\"\xf0\x05\n\x07\x41piSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1b\n\x0brevision_id\x18\x04 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14revision_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\tmime_type\x18\x08 \x01(\t\x12\x17\n\nsize_bytes\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04hash\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x12\n\nsource_uri\x18\x0b \x01(\t\x12\x15\n\x08\x63ontents\x18\x0c \x01(\x0c\x42\x03\xe0\x41\x04\x12\x43\n\x06labels\x18\x0e \x03(\x0b\x32\x33.google.cloud.apigeeregistry.v1.ApiSpec.LabelsEntry\x12M\n\x0b\x61nnotations\x18\x0f \x03(\x0b\x32\x38.google.cloud.apigeeregistry.v1.ApiSpec.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:~\xea\x41{\n%apigeeregistry.googleapis.com/ApiSpec\x12Rprojects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}\"\xca\x06\n\rApiDeployment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1b\n\x0brevision_id\x18\x04 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14revision_update_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x11\x61pi_spec_revision\x18\x08 \x01(\tB*\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\x12\x14\n\x0c\x65ndpoint_uri\x18\t \x01(\t\x12\x1c\n\x14\x65xternal_channel_uri\x18\n \x01(\t\x12\x19\n\x11intended_audience\x18\x0b \x01(\t\x12\x17\n\x0f\x61\x63\x63\x65ss_guidance\x18\x0c \x01(\t\x12I\n\x06labels\x18\x0e \x03(\x0b\x32\x39.google.cloud.apigeeregistry.v1.ApiDeployment.LabelsEntry\x12S\n\x0b\x61nnotations\x18\x0f \x03(\x0b\x32>.google.cloud.apigeeregistry.v1.ApiDeployment.AnnotationsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:}\xea\x41z\n+apigeeregistry.googleapis.com/ApiDeployment\x12Kprojects/{project}/locations/{location}/apis/{api}/deployments/{deployment}\"\xb7\x05\n\x08\x41rtifact\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\tmime_type\x18\x04 \x01(\t\x12\x17\n\nsize_bytes\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04hash\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08\x63ontents\x18\x07 \x01(\x0c\x42\x03\xe0\x41\x04:\xda\x03\xea\x41\xd6\x03\n&apigeeregistry.googleapis.com/Artifact\x12<projects/{project}/locations/{location}/artifacts/{artifact}\x12Gprojects/{project}/locations/{location}/apis/{api}/artifacts/{artifact}\x12Zprojects/{project}/locations/{location}/apis/{api}/versions/{version}/artifacts/{artifact}\x12gprojects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}/artifacts/{artifact}\x12`projects/{project}/locations/{location}/apis/{api}/deployments/{deployment}/artifacts/{artifact}B\xed\x01\n\"com.google.cloud.apigeeregistry.v1B\x13RegistryModelsProtoP\x01ZJcloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb\xaa\x02\x1eGoogle.Cloud.ApigeeRegistry.V1\xca\x02\x1eGoogle\\Cloud\\ApigeeRegistry\\V1\xea\x02!Google::Cloud::ApigeeRegistry::V1b\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.protobuf.Timestamp", "google/protobuf/timestamp.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}"
|
74
33
|
end
|
75
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."
|
76
37
|
end
|
77
38
|
|
78
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/cloud/apigeeregistry/v1/registry_service.proto
|
3
4
|
|
@@ -12,187 +13,33 @@ require 'google/cloud/apigeeregistry/v1/registry_models_pb'
|
|
12
13
|
require 'google/protobuf/empty_pb'
|
13
14
|
require 'google/protobuf/field_mask_pb'
|
14
15
|
|
15
|
-
|
16
|
-
add_file("google/cloud/apigeeregistry/v1/registry_service.proto", :syntax => :proto3) do
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
optional :allow_missing, :bool, 3
|
39
|
-
end
|
40
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiRequest" do
|
41
|
-
optional :name, :string, 1
|
42
|
-
optional :force, :bool, 2
|
43
|
-
end
|
44
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiVersionsRequest" do
|
45
|
-
optional :parent, :string, 1
|
46
|
-
optional :page_size, :int32, 2
|
47
|
-
optional :page_token, :string, 3
|
48
|
-
optional :filter, :string, 4
|
49
|
-
end
|
50
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiVersionsResponse" do
|
51
|
-
repeated :api_versions, :message, 1, "google.cloud.apigeeregistry.v1.ApiVersion"
|
52
|
-
optional :next_page_token, :string, 2
|
53
|
-
end
|
54
|
-
add_message "google.cloud.apigeeregistry.v1.GetApiVersionRequest" do
|
55
|
-
optional :name, :string, 1
|
56
|
-
end
|
57
|
-
add_message "google.cloud.apigeeregistry.v1.CreateApiVersionRequest" do
|
58
|
-
optional :parent, :string, 1
|
59
|
-
optional :api_version, :message, 2, "google.cloud.apigeeregistry.v1.ApiVersion"
|
60
|
-
optional :api_version_id, :string, 3
|
61
|
-
end
|
62
|
-
add_message "google.cloud.apigeeregistry.v1.UpdateApiVersionRequest" do
|
63
|
-
optional :api_version, :message, 1, "google.cloud.apigeeregistry.v1.ApiVersion"
|
64
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
65
|
-
optional :allow_missing, :bool, 3
|
66
|
-
end
|
67
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiVersionRequest" do
|
68
|
-
optional :name, :string, 1
|
69
|
-
optional :force, :bool, 2
|
70
|
-
end
|
71
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiSpecsRequest" do
|
72
|
-
optional :parent, :string, 1
|
73
|
-
optional :page_size, :int32, 2
|
74
|
-
optional :page_token, :string, 3
|
75
|
-
optional :filter, :string, 4
|
76
|
-
end
|
77
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiSpecsResponse" do
|
78
|
-
repeated :api_specs, :message, 1, "google.cloud.apigeeregistry.v1.ApiSpec"
|
79
|
-
optional :next_page_token, :string, 2
|
80
|
-
end
|
81
|
-
add_message "google.cloud.apigeeregistry.v1.GetApiSpecRequest" do
|
82
|
-
optional :name, :string, 1
|
83
|
-
end
|
84
|
-
add_message "google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest" do
|
85
|
-
optional :name, :string, 1
|
86
|
-
end
|
87
|
-
add_message "google.cloud.apigeeregistry.v1.CreateApiSpecRequest" do
|
88
|
-
optional :parent, :string, 1
|
89
|
-
optional :api_spec, :message, 2, "google.cloud.apigeeregistry.v1.ApiSpec"
|
90
|
-
optional :api_spec_id, :string, 3
|
91
|
-
end
|
92
|
-
add_message "google.cloud.apigeeregistry.v1.UpdateApiSpecRequest" do
|
93
|
-
optional :api_spec, :message, 1, "google.cloud.apigeeregistry.v1.ApiSpec"
|
94
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
95
|
-
optional :allow_missing, :bool, 3
|
96
|
-
end
|
97
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiSpecRequest" do
|
98
|
-
optional :name, :string, 1
|
99
|
-
optional :force, :bool, 2
|
100
|
-
end
|
101
|
-
add_message "google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest" do
|
102
|
-
optional :name, :string, 1
|
103
|
-
optional :tag, :string, 2
|
104
|
-
end
|
105
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest" do
|
106
|
-
optional :name, :string, 1
|
107
|
-
optional :page_size, :int32, 2
|
108
|
-
optional :page_token, :string, 3
|
109
|
-
end
|
110
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse" do
|
111
|
-
repeated :api_specs, :message, 1, "google.cloud.apigeeregistry.v1.ApiSpec"
|
112
|
-
optional :next_page_token, :string, 2
|
113
|
-
end
|
114
|
-
add_message "google.cloud.apigeeregistry.v1.RollbackApiSpecRequest" do
|
115
|
-
optional :name, :string, 1
|
116
|
-
optional :revision_id, :string, 2
|
117
|
-
end
|
118
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest" do
|
119
|
-
optional :name, :string, 1
|
120
|
-
end
|
121
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest" do
|
122
|
-
optional :parent, :string, 1
|
123
|
-
optional :page_size, :int32, 2
|
124
|
-
optional :page_token, :string, 3
|
125
|
-
optional :filter, :string, 4
|
126
|
-
end
|
127
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse" do
|
128
|
-
repeated :api_deployments, :message, 1, "google.cloud.apigeeregistry.v1.ApiDeployment"
|
129
|
-
optional :next_page_token, :string, 2
|
130
|
-
end
|
131
|
-
add_message "google.cloud.apigeeregistry.v1.GetApiDeploymentRequest" do
|
132
|
-
optional :name, :string, 1
|
133
|
-
end
|
134
|
-
add_message "google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest" do
|
135
|
-
optional :parent, :string, 1
|
136
|
-
optional :api_deployment, :message, 2, "google.cloud.apigeeregistry.v1.ApiDeployment"
|
137
|
-
optional :api_deployment_id, :string, 3
|
138
|
-
end
|
139
|
-
add_message "google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest" do
|
140
|
-
optional :api_deployment, :message, 1, "google.cloud.apigeeregistry.v1.ApiDeployment"
|
141
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
142
|
-
optional :allow_missing, :bool, 3
|
143
|
-
end
|
144
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest" do
|
145
|
-
optional :name, :string, 1
|
146
|
-
optional :force, :bool, 2
|
147
|
-
end
|
148
|
-
add_message "google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest" do
|
149
|
-
optional :name, :string, 1
|
150
|
-
optional :tag, :string, 2
|
151
|
-
end
|
152
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest" do
|
153
|
-
optional :name, :string, 1
|
154
|
-
optional :page_size, :int32, 2
|
155
|
-
optional :page_token, :string, 3
|
156
|
-
end
|
157
|
-
add_message "google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse" do
|
158
|
-
repeated :api_deployments, :message, 1, "google.cloud.apigeeregistry.v1.ApiDeployment"
|
159
|
-
optional :next_page_token, :string, 2
|
160
|
-
end
|
161
|
-
add_message "google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest" do
|
162
|
-
optional :name, :string, 1
|
163
|
-
optional :revision_id, :string, 2
|
164
|
-
end
|
165
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest" do
|
166
|
-
optional :name, :string, 1
|
167
|
-
end
|
168
|
-
add_message "google.cloud.apigeeregistry.v1.ListArtifactsRequest" do
|
169
|
-
optional :parent, :string, 1
|
170
|
-
optional :page_size, :int32, 2
|
171
|
-
optional :page_token, :string, 3
|
172
|
-
optional :filter, :string, 4
|
173
|
-
end
|
174
|
-
add_message "google.cloud.apigeeregistry.v1.ListArtifactsResponse" do
|
175
|
-
repeated :artifacts, :message, 1, "google.cloud.apigeeregistry.v1.Artifact"
|
176
|
-
optional :next_page_token, :string, 2
|
177
|
-
end
|
178
|
-
add_message "google.cloud.apigeeregistry.v1.GetArtifactRequest" do
|
179
|
-
optional :name, :string, 1
|
180
|
-
end
|
181
|
-
add_message "google.cloud.apigeeregistry.v1.GetArtifactContentsRequest" do
|
182
|
-
optional :name, :string, 1
|
183
|
-
end
|
184
|
-
add_message "google.cloud.apigeeregistry.v1.CreateArtifactRequest" do
|
185
|
-
optional :parent, :string, 1
|
186
|
-
optional :artifact, :message, 2, "google.cloud.apigeeregistry.v1.Artifact"
|
187
|
-
optional :artifact_id, :string, 3
|
188
|
-
end
|
189
|
-
add_message "google.cloud.apigeeregistry.v1.ReplaceArtifactRequest" do
|
190
|
-
optional :artifact, :message, 1, "google.cloud.apigeeregistry.v1.Artifact"
|
191
|
-
end
|
192
|
-
add_message "google.cloud.apigeeregistry.v1.DeleteArtifactRequest" do
|
193
|
-
optional :name, :string, 1
|
16
|
+
|
17
|
+
descriptor_data = "\n5google/cloud/apigeeregistry/v1/registry_service.proto\x12\x1egoogle.cloud.apigeeregistry.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/apigeeregistry/v1/registry_models.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x83\x01\n\x0fListApisRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!apigeeregistry.googleapis.com/Api\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"^\n\x10ListApisResponse\x12\x31\n\x04\x61pis\x18\x01 \x03(\x0b\x32#.google.cloud.apigeeregistry.v1.Api\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"H\n\rGetApiRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!apigeeregistry.googleapis.com/Api\"\x99\x01\n\x10\x43reateApiRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!apigeeregistry.googleapis.com/Api\x12\x35\n\x03\x61pi\x18\x02 \x01(\x0b\x32#.google.cloud.apigeeregistry.v1.ApiB\x03\xe0\x41\x02\x12\x13\n\x06\x61pi_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x91\x01\n\x10UpdateApiRequest\x12\x35\n\x03\x61pi\x18\x01 \x01(\x0b\x32#.google.cloud.apigeeregistry.v1.ApiB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"Z\n\x10\x44\x65leteApiRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!apigeeregistry.googleapis.com/Api\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x91\x01\n\x16ListApiVersionsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(apigeeregistry.googleapis.com/ApiVersion\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"t\n\x17ListApiVersionsResponse\x12@\n\x0c\x61pi_versions\x18\x01 \x03(\x0b\x32*.google.cloud.apigeeregistry.v1.ApiVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"V\n\x14GetApiVersionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(apigeeregistry.googleapis.com/ApiVersion\"\xbe\x01\n\x17\x43reateApiVersionRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(apigeeregistry.googleapis.com/ApiVersion\x12\x44\n\x0b\x61pi_version\x18\x02 \x01(\x0b\x32*.google.cloud.apigeeregistry.v1.ApiVersionB\x03\xe0\x41\x02\x12\x1b\n\x0e\x61pi_version_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xa7\x01\n\x17UpdateApiVersionRequest\x12\x44\n\x0b\x61pi_version\x18\x01 \x01(\x0b\x32*.google.cloud.apigeeregistry.v1.ApiVersionB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"h\n\x17\x44\x65leteApiVersionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(apigeeregistry.googleapis.com/ApiVersion\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x8b\x01\n\x13ListApiSpecsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%apigeeregistry.googleapis.com/ApiSpec\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"k\n\x14ListApiSpecsResponse\x12:\n\tapi_specs\x18\x01 \x03(\x0b\x32\'.google.cloud.apigeeregistry.v1.ApiSpec\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"P\n\x11GetApiSpecRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\"X\n\x19GetApiSpecContentsRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\"\xaf\x01\n\x14\x43reateApiSpecRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%apigeeregistry.googleapis.com/ApiSpec\x12>\n\x08\x61pi_spec\x18\x02 \x01(\x0b\x32\'.google.cloud.apigeeregistry.v1.ApiSpecB\x03\xe0\x41\x02\x12\x18\n\x0b\x61pi_spec_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9e\x01\n\x14UpdateApiSpecRequest\x12>\n\x08\x61pi_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.apigeeregistry.v1.ApiSpecB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"b\n\x14\x44\x65leteApiSpecRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"j\n\x19TagApiSpecRevisionRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\x12\x10\n\x03tag\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x81\x01\n\x1bListApiSpecRevisionsRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"s\n\x1cListApiSpecRevisionsResponse\x12:\n\tapi_specs\x18\x01 \x03(\x0b\x32\'.google.cloud.apigeeregistry.v1.ApiSpec\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"o\n\x16RollbackApiSpecRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\x12\x18\n\x0brevision_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"[\n\x1c\x44\x65leteApiSpecRevisionRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%apigeeregistry.googleapis.com/ApiSpec\"\x97\x01\n\x19ListApiDeploymentsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+apigeeregistry.googleapis.com/ApiDeployment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"}\n\x1aListApiDeploymentsResponse\x12\x46\n\x0f\x61pi_deployments\x18\x01 \x03(\x0b\x32-.google.cloud.apigeeregistry.v1.ApiDeployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\\\n\x17GetApiDeploymentRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\"\xcd\x01\n\x1a\x43reateApiDeploymentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+apigeeregistry.googleapis.com/ApiDeployment\x12J\n\x0e\x61pi_deployment\x18\x02 \x01(\x0b\x32-.google.cloud.apigeeregistry.v1.ApiDeploymentB\x03\xe0\x41\x02\x12\x1e\n\x11\x61pi_deployment_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xb0\x01\n\x1aUpdateApiDeploymentRequest\x12J\n\x0e\x61pi_deployment\x18\x01 \x01(\x0b\x32-.google.cloud.apigeeregistry.v1.ApiDeploymentB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"n\n\x1a\x44\x65leteApiDeploymentRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"v\n\x1fTagApiDeploymentRevisionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\x12\x10\n\x03tag\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x8d\x01\n!ListApiDeploymentRevisionsRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x85\x01\n\"ListApiDeploymentRevisionsResponse\x12\x46\n\x0f\x61pi_deployments\x18\x01 \x03(\x0b\x32-.google.cloud.apigeeregistry.v1.ApiDeployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"{\n\x1cRollbackApiDeploymentRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\x12\x18\n\x0brevision_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"g\n\"DeleteApiDeploymentRevisionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+apigeeregistry.googleapis.com/ApiDeployment\"\x8d\x01\n\x14ListArtifactsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&apigeeregistry.googleapis.com/Artifact\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"m\n\x15ListArtifactsResponse\x12;\n\tartifacts\x18\x01 \x03(\x0b\x32(.google.cloud.apigeeregistry.v1.Artifact\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"R\n\x12GetArtifactRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Artifact\"Z\n\x1aGetArtifactContentsRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Artifact\"\xb2\x01\n\x15\x43reateArtifactRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&apigeeregistry.googleapis.com/Artifact\x12?\n\x08\x61rtifact\x18\x02 \x01(\x0b\x32(.google.cloud.apigeeregistry.v1.ArtifactB\x03\xe0\x41\x02\x12\x18\n\x0b\x61rtifact_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"Y\n\x16ReplaceArtifactRequest\x12?\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32(.google.cloud.apigeeregistry.v1.ArtifactB\x03\xe0\x41\x02\"U\n\x15\x44\x65leteArtifactRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&apigeeregistry.googleapis.com/Artifact2\xc0\x45\n\x08Registry\x12\xa8\x01\n\x08ListApis\x12/.google.cloud.apigeeregistry.v1.ListApisRequest\x1a\x30.google.cloud.apigeeregistry.v1.ListApisResponse\"9\x82\xd3\xe4\x93\x02*\x12(/v1/{parent=projects/*/locations/*}/apis\xda\x41\x06parent\x12\x95\x01\n\x06GetApi\x12-.google.cloud.apigeeregistry.v1.GetApiRequest\x1a#.google.cloud.apigeeregistry.v1.Api\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=projects/*/locations/*/apis/*}\xda\x41\x04name\x12\xad\x01\n\tCreateApi\x12\x30.google.cloud.apigeeregistry.v1.CreateApiRequest\x1a#.google.cloud.apigeeregistry.v1.Api\"I\x82\xd3\xe4\x93\x02/\"(/v1/{parent=projects/*/locations/*}/apis:\x03\x61pi\xda\x41\x11parent,api,api_id\x12\xaf\x01\n\tUpdateApi\x12\x30.google.cloud.apigeeregistry.v1.UpdateApiRequest\x1a#.google.cloud.apigeeregistry.v1.Api\"K\x82\xd3\xe4\x93\x02\x33\x32,/v1/{api.name=projects/*/locations/*/apis/*}:\x03\x61pi\xda\x41\x0f\x61pi,update_mask\x12\x8e\x01\n\tDeleteApi\x12\x30.google.cloud.apigeeregistry.v1.DeleteApiRequest\x1a\x16.google.protobuf.Empty\"7\x82\xd3\xe4\x93\x02**(/v1/{name=projects/*/locations/*/apis/*}\xda\x41\x04name\x12\xc8\x01\n\x0fListApiVersions\x12\x36.google.cloud.apigeeregistry.v1.ListApiVersionsRequest\x1a\x37.google.cloud.apigeeregistry.v1.ListApiVersionsResponse\"D\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*/apis/*}/versions\xda\x41\x06parent\x12\xb5\x01\n\rGetApiVersion\x12\x34.google.cloud.apigeeregistry.v1.GetApiVersionRequest\x1a*.google.cloud.apigeeregistry.v1.ApiVersion\"B\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/apis/*/versions/*}\xda\x41\x04name\x12\xe5\x01\n\x10\x43reateApiVersion\x12\x37.google.cloud.apigeeregistry.v1.CreateApiVersionRequest\x1a*.google.cloud.apigeeregistry.v1.ApiVersion\"l\x82\xd3\xe4\x93\x02\x42\"3/v1/{parent=projects/*/locations/*/apis/*}/versions:\x0b\x61pi_version\xda\x41!parent,api_version,api_version_id\x12\xe7\x01\n\x10UpdateApiVersion\x12\x37.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest\x1a*.google.cloud.apigeeregistry.v1.ApiVersion\"n\x82\xd3\xe4\x93\x02N2?/v1/{api_version.name=projects/*/locations/*/apis/*/versions/*}:\x0b\x61pi_version\xda\x41\x17\x61pi_version,update_mask\x12\xa7\x01\n\x10\x44\x65leteApiVersion\x12\x37.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest\x1a\x16.google.protobuf.Empty\"B\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/apis/*/versions/*}\xda\x41\x04name\x12\xc7\x01\n\x0cListApiSpecs\x12\x33.google.cloud.apigeeregistry.v1.ListApiSpecsRequest\x1a\x34.google.cloud.apigeeregistry.v1.ListApiSpecsResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs\xda\x41\x06parent\x12\xb4\x01\n\nGetApiSpec\x12\x31.google.cloud.apigeeregistry.v1.GetApiSpecRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"J\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}\xda\x41\x04name\x12\xbd\x01\n\x12GetApiSpecContents\x12\x39.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest\x1a\x14.google.api.HttpBody\"V\x82\xd3\xe4\x93\x02I\x12G/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:getContents\xda\x41\x04name\x12\xdb\x01\n\rCreateApiSpec\x12\x34.google.cloud.apigeeregistry.v1.CreateApiSpecRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"k\x82\xd3\xe4\x93\x02G\";/v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs:\x08\x61pi_spec\xda\x41\x1bparent,api_spec,api_spec_id\x12\xdd\x01\n\rUpdateApiSpec\x12\x34.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"m\x82\xd3\xe4\x93\x02P2D/v1/{api_spec.name=projects/*/locations/*/apis/*/versions/*/specs/*}:\x08\x61pi_spec\xda\x41\x14\x61pi_spec,update_mask\x12\xa9\x01\n\rDeleteApiSpec\x12\x34.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest\x1a\x16.google.protobuf.Empty\"J\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}\xda\x41\x04name\x12\xcc\x01\n\x12TagApiSpecRevision\x12\x39.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"R\x82\xd3\xe4\x93\x02L\"G/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:tagRevision:\x01*\x12\xe4\x01\n\x14ListApiSpecRevisions\x12;.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest\x1a<.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse\"Q\x82\xd3\xe4\x93\x02K\x12I/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:listRevisions\x12\xc3\x01\n\x0fRollbackApiSpec\x12\x36.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"O\x82\xd3\xe4\x93\x02I\"D/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:rollback:\x01*\x12\xd9\x01\n\x15\x44\x65leteApiSpecRevision\x12<.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest\x1a\'.google.cloud.apigeeregistry.v1.ApiSpec\"Y\x82\xd3\xe4\x93\x02L*J/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:deleteRevision\xda\x41\x04name\x12\xd4\x01\n\x12ListApiDeployments\x12\x39.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest\x1a:.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*/apis/*}/deployments\xda\x41\x06parent\x12\xc1\x01\n\x10GetApiDeployment\x12\x37.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/apis/*/deployments/*}\xda\x41\x04name\x12\xfa\x01\n\x13\x43reateApiDeployment\x12:.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"x\x82\xd3\xe4\x93\x02H\"6/v1/{parent=projects/*/locations/*/apis/*}/deployments:\x0e\x61pi_deployment\xda\x41\'parent,api_deployment,api_deployment_id\x12\xfc\x01\n\x13UpdateApiDeployment\x12:.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"z\x82\xd3\xe4\x93\x02W2E/v1/{api_deployment.name=projects/*/locations/*/apis/*/deployments/*}:\x0e\x61pi_deployment\xda\x41\x1a\x61pi_deployment,update_mask\x12\xb0\x01\n\x13\x44\x65leteApiDeployment\x12:.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest\x1a\x16.google.protobuf.Empty\"E\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/apis/*/deployments/*}\xda\x41\x04name\x12\xd9\x01\n\x18TagApiDeploymentRevision\x12?.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"M\x82\xd3\xe4\x93\x02G\"B/v1/{name=projects/*/locations/*/apis/*/deployments/*}:tagRevision:\x01*\x12\xf1\x01\n\x1aListApiDeploymentRevisions\x12\x41.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest\x1a\x42.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse\"L\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/apis/*/deployments/*}:listRevisions\x12\xd0\x01\n\x15RollbackApiDeployment\x12<.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"J\x82\xd3\xe4\x93\x02\x44\"?/v1/{name=projects/*/locations/*/apis/*/deployments/*}:rollback:\x01*\x12\xe6\x01\n\x1b\x44\x65leteApiDeploymentRevision\x12\x42.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest\x1a-.google.cloud.apigeeregistry.v1.ApiDeployment\"T\x82\xd3\xe4\x93\x02G*E/v1/{name=projects/*/locations/*/apis/*/deployments/*}:deleteRevision\xda\x41\x04name\x12\xca\x03\n\rListArtifacts\x12\x34.google.cloud.apigeeregistry.v1.ListArtifactsRequest\x1a\x35.google.cloud.apigeeregistry.v1.ListArtifactsResponse\"\xcb\x02\x82\xd3\xe4\x93\x02\xbb\x02\x12-/v1/{parent=projects/*/locations/*}/artifactsZ6\x12\x34/v1/{parent=projects/*/locations/*/apis/*}/artifactsZA\x12?/v1/{parent=projects/*/locations/*/apis/*/versions/*}/artifactsZI\x12G/v1/{parent=projects/*/locations/*/apis/*/versions/*/specs/*}/artifactsZD\x12\x42/v1/{parent=projects/*/locations/*/apis/*/deployments/*}/artifacts\xda\x41\x06parent\x12\xb7\x03\n\x0bGetArtifact\x12\x32.google.cloud.apigeeregistry.v1.GetArtifactRequest\x1a(.google.cloud.apigeeregistry.v1.Artifact\"\xc9\x02\x82\xd3\xe4\x93\x02\xbb\x02\x12-/v1/{name=projects/*/locations/*/artifacts/*}Z6\x12\x34/v1/{name=projects/*/locations/*/apis/*/artifacts/*}ZA\x12?/v1/{name=projects/*/locations/*/apis/*/versions/*/artifacts/*}ZI\x12G/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}ZD\x12\x42/v1/{name=projects/*/locations/*/apis/*/deployments/*/artifacts/*}\xda\x41\x04name\x12\xef\x03\n\x13GetArtifactContents\x12:.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest\x1a\x14.google.api.HttpBody\"\x85\x03\x82\xd3\xe4\x93\x02\xf7\x02\x12\x39/v1/{name=projects/*/locations/*/artifacts/*}:getContentsZB\x12@/v1/{name=projects/*/locations/*/apis/*/artifacts/*}:getContentsZM\x12K/v1/{name=projects/*/locations/*/apis/*/versions/*/artifacts/*}:getContentsZU\x12S/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}:getContentsZP\x12N/v1/{name=projects/*/locations/*/apis/*/deployments/*/artifacts/*}:getContents\xda\x41\x04name\x12\x86\x04\n\x0e\x43reateArtifact\x12\x35.google.cloud.apigeeregistry.v1.CreateArtifactRequest\x1a(.google.cloud.apigeeregistry.v1.Artifact\"\x92\x03\x82\xd3\xe4\x93\x02\xed\x02\"-/v1/{parent=projects/*/locations/*}/artifacts:\x08\x61rtifactZ@\"4/v1/{parent=projects/*/locations/*/apis/*}/artifacts:\x08\x61rtifactZK\"?/v1/{parent=projects/*/locations/*/apis/*/versions/*}/artifacts:\x08\x61rtifactZS\"G/v1/{parent=projects/*/locations/*/apis/*/versions/*/specs/*}/artifacts:\x08\x61rtifactZN\"B/v1/{parent=projects/*/locations/*/apis/*/deployments/*}/artifacts:\x08\x61rtifact\xda\x41\x1bparent,artifact,artifact_id\x12\xa2\x04\n\x0fReplaceArtifact\x12\x36.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest\x1a(.google.cloud.apigeeregistry.v1.Artifact\"\xac\x03\x82\xd3\xe4\x93\x02\x9a\x03\x1a\x36/v1/{artifact.name=projects/*/locations/*/artifacts/*}:\x08\x61rtifactZI\x1a=/v1/{artifact.name=projects/*/locations/*/apis/*/artifacts/*}:\x08\x61rtifactZT\x1aH/v1/{artifact.name=projects/*/locations/*/apis/*/versions/*/artifacts/*}:\x08\x61rtifactZ\\\x1aP/v1/{artifact.name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}:\x08\x61rtifactZW\x1aK/v1/{artifact.name=projects/*/locations/*/apis/*/deployments/*/artifacts/*}:\x08\x61rtifact\xda\x41\x08\x61rtifact\x12\xab\x03\n\x0e\x44\x65leteArtifact\x12\x35.google.cloud.apigeeregistry.v1.DeleteArtifactRequest\x1a\x16.google.protobuf.Empty\"\xc9\x02\x82\xd3\xe4\x93\x02\xbb\x02*-/v1/{name=projects/*/locations/*/artifacts/*}Z6*4/v1/{name=projects/*/locations/*/apis/*/artifacts/*}ZA*?/v1/{name=projects/*/locations/*/apis/*/versions/*/artifacts/*}ZI*G/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}ZD*B/v1/{name=projects/*/locations/*/apis/*/deployments/*/artifacts/*}\xda\x41\x04name\x1aQ\xca\x41\x1d\x61pigeeregistry.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xee\x01\n\"com.google.cloud.apigeeregistry.v1B\x14RegistryServiceProtoP\x01ZJcloud.google.com/go/apigeeregistry/apiv1/apigeeregistrypb;apigeeregistrypb\xaa\x02\x1eGoogle.Cloud.ApigeeRegistry.V1\xca\x02\x1eGoogle\\Cloud\\ApigeeRegistry\\V1\xea\x02!Google::Cloud::ApigeeRegistry::V1b\x06proto3"
|
18
|
+
|
19
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
|
+
|
21
|
+
begin
|
22
|
+
pool.add_serialized_file(descriptor_data)
|
23
|
+
rescue TypeError => e
|
24
|
+
# Compatibility code: will be removed in the next major version.
|
25
|
+
require 'google/protobuf/descriptor_pb'
|
26
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
27
|
+
parsed.clear_dependency
|
28
|
+
serialized = parsed.class.encode(parsed)
|
29
|
+
file = pool.add_serialized_file(serialized)
|
30
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
31
|
+
imports = [
|
32
|
+
["google.cloud.apigeeregistry.v1.Api", "google/cloud/apigeeregistry/v1/registry_models.proto"],
|
33
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
34
|
+
]
|
35
|
+
imports.each do |type_name, expected_filename|
|
36
|
+
import_file = pool.lookup(type_name).file_descriptor
|
37
|
+
if import_file.name != expected_filename
|
38
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
194
39
|
end
|
195
40
|
end
|
41
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
42
|
+
warn "This will become an error in the next major version."
|
196
43
|
end
|
197
44
|
|
198
45
|
module Google
|