google-cloud-edge_network-v1 0.a → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +144 -8
- data/lib/google/cloud/edge_network/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/edge_network/v1/edge_network/client.rb +3178 -0
- data/lib/google/cloud/edge_network/v1/edge_network/credentials.rb +47 -0
- data/lib/google/cloud/edge_network/v1/edge_network/operations.rb +801 -0
- data/lib/google/cloud/edge_network/v1/edge_network/paths.rb +174 -0
- data/lib/google/cloud/edge_network/v1/edge_network/rest/client.rb +2972 -0
- data/lib/google/cloud/edge_network/v1/edge_network/rest/operations.rb +895 -0
- data/lib/google/cloud/edge_network/v1/edge_network/rest/service_stub.rb +1601 -0
- data/lib/google/cloud/edge_network/v1/edge_network/rest.rb +57 -0
- data/lib/google/cloud/edge_network/v1/edge_network.rb +59 -0
- data/lib/google/cloud/edge_network/v1/rest.rb +38 -0
- data/lib/google/cloud/edge_network/v1/version.rb +7 -2
- data/lib/google/cloud/edge_network/v1.rb +45 -0
- data/lib/google/cloud/edgenetwork/v1/resources_pb.rb +69 -0
- data/lib/google/cloud/edgenetwork/v1/service_pb.rb +92 -0
- data/lib/google/cloud/edgenetwork/v1/service_services_pb.rb +98 -0
- data/lib/google-cloud-edge_network-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +395 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/edgenetwork/v1/resources.rb +637 -0
- data/proto_docs/google/cloud/edgenetwork/v1/service.rb +709 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +144 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +209 -13
@@ -0,0 +1,57 @@
|
|
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/edge_network/v1/version"
|
24
|
+
require "google/cloud/edge_network/v1/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/edge_network/v1/edge_network/credentials"
|
27
|
+
require "google/cloud/edge_network/v1/edge_network/paths"
|
28
|
+
require "google/cloud/edge_network/v1/edge_network/rest/operations"
|
29
|
+
require "google/cloud/edge_network/v1/edge_network/rest/client"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module EdgeNetwork
|
34
|
+
module V1
|
35
|
+
##
|
36
|
+
# EdgeNetwork API provides managed, highly available cloud dynamic network
|
37
|
+
# configuration service to the GEC customer to enable edge application and
|
38
|
+
# network function solutions. This allows the customers to easily define and
|
39
|
+
# configure the network setup and property to meet the workload requirement.
|
40
|
+
#
|
41
|
+
# To load this service and instantiate a REST client:
|
42
|
+
#
|
43
|
+
# require "google/cloud/edge_network/v1/edge_network/rest"
|
44
|
+
# client = ::Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Rest::Client.new
|
45
|
+
#
|
46
|
+
module EdgeNetwork
|
47
|
+
# Client for the REST transport
|
48
|
+
module Rest
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
57
|
+
require "google/cloud/edge_network/v1/edge_network/rest/helpers" if ::File.file? helper_path
|
@@ -0,0 +1,59 @@
|
|
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/common"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/edge_network/v1/version"
|
24
|
+
|
25
|
+
require "google/cloud/edge_network/v1/edge_network/credentials"
|
26
|
+
require "google/cloud/edge_network/v1/edge_network/paths"
|
27
|
+
require "google/cloud/edge_network/v1/edge_network/operations"
|
28
|
+
require "google/cloud/edge_network/v1/edge_network/client"
|
29
|
+
require "google/cloud/edge_network/v1/edge_network/rest"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module EdgeNetwork
|
34
|
+
module V1
|
35
|
+
##
|
36
|
+
# EdgeNetwork API provides managed, highly available cloud dynamic network
|
37
|
+
# configuration service to the GEC customer to enable edge application and
|
38
|
+
# network function solutions. This allows the customers to easily define and
|
39
|
+
# configure the network setup and property to meet the workload requirement.
|
40
|
+
#
|
41
|
+
# @example Load this service and instantiate a gRPC client
|
42
|
+
#
|
43
|
+
# require "google/cloud/edge_network/v1/edge_network"
|
44
|
+
# client = ::Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Client.new
|
45
|
+
#
|
46
|
+
# @example Load this service and instantiate a REST client
|
47
|
+
#
|
48
|
+
# require "google/cloud/edge_network/v1/edge_network/rest"
|
49
|
+
# client = ::Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Rest::Client.new
|
50
|
+
#
|
51
|
+
module EdgeNetwork
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
helper_path = ::File.join __dir__, "edge_network", "helpers.rb"
|
59
|
+
require "google/cloud/edge_network/v1/edge_network/helpers" if ::File.file? helper_path
|
@@ -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/edge_network/v1/edge_network/rest"
|
20
|
+
require "google/cloud/edge_network/v1/bindings_override"
|
21
|
+
require "google/cloud/edge_network/v1/version"
|
22
|
+
|
23
|
+
module Google
|
24
|
+
module Cloud
|
25
|
+
module EdgeNetwork
|
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/edge_network/v1/rest"
|
32
|
+
# client = ::Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Rest::Client.new
|
33
|
+
#
|
34
|
+
module V1
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -1,10 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Copyright 2023 Google LLC
|
2
4
|
#
|
3
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
6
|
# you may not use this file except in compliance with the License.
|
5
7
|
# You may obtain a copy of the License at
|
6
8
|
#
|
7
|
-
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
10
|
#
|
9
11
|
# Unless required by applicable law or agreed to in writing, software
|
10
12
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -12,11 +14,14 @@
|
|
12
14
|
# See the License for the specific language governing permissions and
|
13
15
|
# limitations under the License.
|
14
16
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
15
20
|
module Google
|
16
21
|
module Cloud
|
17
22
|
module EdgeNetwork
|
18
23
|
module V1
|
19
|
-
VERSION = "0.
|
24
|
+
VERSION = "0.2.0"
|
20
25
|
end
|
21
26
|
end
|
22
27
|
end
|
@@ -0,0 +1,45 @@
|
|
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/edge_network/v1/edge_network"
|
20
|
+
require "google/cloud/edge_network/v1/version"
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module EdgeNetwork
|
25
|
+
##
|
26
|
+
# API client module.
|
27
|
+
#
|
28
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
29
|
+
#
|
30
|
+
# require "google/cloud/edge_network/v1"
|
31
|
+
# client = ::Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Client.new
|
32
|
+
#
|
33
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
34
|
+
#
|
35
|
+
# require "google/cloud/edge_network/v1"
|
36
|
+
# client = ::Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Rest::Client.new
|
37
|
+
#
|
38
|
+
module V1
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
helper_path = ::File.join __dir__, "v1", "_helpers.rb"
|
45
|
+
require "google/cloud/edge_network/v1/_helpers" if ::File.file? helper_path
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/edgenetwork/v1/resources.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n+google/cloud/edgenetwork/v1/resources.proto\x12\x1bgoogle.cloud.edgenetwork.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe4\x02\n\x04Zone\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\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=\n\x06labels\x18\x04 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.Zone.LabelsEntry\x12\x13\n\x0blayout_name\x18\x05 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:Z\xea\x41W\n\x1f\x65\x64genetwork.googleapis.com/Zone\x12\x34projects/{project}/locations/{location}/zones/{zone}\"\x92\x03\n\x07Network\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\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@\n\x06labels\x18\x04 \x03(\x0b\x32\x30.google.cloud.edgenetwork.v1.Network.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x0b\n\x03mtu\x18\x06 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:p\xea\x41m\n\"edgenetwork.googleapis.com/Network\x12Gprojects/{project}/locations/{location}/zones/{zone}/networks/{network}\"\xb9\x04\n\x06Subnet\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\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?\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.edgenetwork.v1.Subnet.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12;\n\x07network\x18\x06 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12\x11\n\tipv4_cidr\x18\x07 \x03(\t\x12\x11\n\tipv6_cidr\x18\x08 \x03(\t\x12\x14\n\x07vlan_id\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:m\xea\x41j\n!edgenetwork.googleapis.com/Subnet\x12\x45projects/{project}/locations/{location}/zones/{zone}/subnets/{subnet}\"\x99\x05\n\x0cInterconnect\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\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\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.cloud.edgenetwork.v1.Interconnect.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12Z\n\x11interconnect_type\x18\x06 \x01(\x0e\x32:.google.cloud.edgenetwork.v1.Interconnect.InterconnectTypeB\x03\xe0\x41\x01\x12\x11\n\x04uuid\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\'\n\x1a\x64\x65vice_cloud_resource_name\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0ephysical_ports\x18\t \x03(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"D\n\x10InterconnectType\x12!\n\x1dINTERCONNECT_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tDEDICATED\x10\x01:\x7f\xea\x41|\n\'edgenetwork.googleapis.com/Interconnect\x12Qprojects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}\"\xba\x05\n\x16InterconnectAttachment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\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\x12O\n\x06labels\x18\x04 \x03(\x0b\x32?.google.cloud.edgenetwork.v1.InterconnectAttachment.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0cinterconnect\x18\x06 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'edgenetwork.googleapis.com/Interconnect\x12;\n\x07network\x18\x0b \x01(\tB*\xe0\x41\x01\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12\x14\n\x07vlan_id\x18\x08 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0b\n\x03mtu\x18\t \x01(\x05\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9f\x01\xea\x41\x9b\x01\n1edgenetwork.googleapis.com/InterconnectAttachment\x12\x66projects/{project}/locations/{location}/zones/{zone}/interconnectAttachments/{interconnect_attachment}\"\xf0\x08\n\x06Router\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\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?\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.edgenetwork.v1.Router.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12;\n\x07network\x18\x06 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12@\n\tinterface\x18\x07 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.Router.Interface\x12=\n\x08\x62gp_peer\x18\x08 \x03(\x0b\x32+.google.cloud.edgenetwork.v1.Router.BgpPeer\x12\x34\n\x03\x62gp\x18\t \x01(\x0b\x32\'.google.cloud.edgenetwork.v1.Router.Bgp\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\x03\xe0\x41\x03\x12!\n\x14route_advertisements\x18\x0b \x03(\tB\x03\xe0\x41\x01\x1a\x9a\x01\n\tInterface\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tipv4_cidr\x18\x03 \x01(\t\x12\x11\n\tipv6_cidr\x18\x06 \x01(\t\x12&\n\x1elinked_interconnect_attachment\x18\x02 \x01(\t\x12\x12\n\nsubnetwork\x18\x04 \x01(\t\x12\x1d\n\x15loopback_ip_addresses\x18\x05 \x03(\t\x1a\xbe\x01\n\x07\x42gpPeer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tinterface\x18\x02 \x01(\t\x12\x1b\n\x13interface_ipv4_cidr\x18\x03 \x01(\t\x12\x1b\n\x13interface_ipv6_cidr\x18\x07 \x01(\t\x12\x16\n\x0epeer_ipv4_cidr\x18\x04 \x01(\t\x12\x16\n\x0epeer_ipv6_cidr\x18\x06 \x01(\t\x12\x10\n\x08peer_asn\x18\x05 \x01(\r\x12\x16\n\tlocal_asn\x18\x08 \x01(\rB\x03\xe0\x41\x03\x1a\x39\n\x03\x42gp\x12\x0b\n\x03\x61sn\x18\x01 \x01(\r\x12%\n\x1dkeepalive_interval_in_seconds\x18\x02 \x01(\r\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:m\xea\x41j\n!edgenetwork.googleapis.com/Router\x12\x45projects/{project}/locations/{location}/zones/{zone}/routers/{router}\";\n\x10LinkLayerAddress\x12\x13\n\x0bmac_address\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\"~\n\x0cSubnetStatus\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bmac_address\x18\x02 \x01(\t\x12K\n\x14link_layer_addresses\x18\x03 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.LinkLayerAddress\"\xf1\x08\n\x17InterconnectDiagnostics\x12\x13\n\x0bmac_address\x18\x01 \x01(\t\x12K\n\x14link_layer_addresses\x18\x02 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.LinkLayerAddress\x12N\n\x05links\x18\x03 \x03(\x0b\x32?.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus\x1a\xb0\x02\n\nLinkStatus\x12\x12\n\ncircuit_id\x18\x01 \x01(\t\x12X\n\x0blacp_status\x18\x02 \x01(\x0b\x32\x43.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus\x12Z\n\rlldp_statuses\x18\x03 \x03(\x0b\x32\x43.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus\x12X\n\rpacket_counts\x18\x04 \x01(\x0b\x32\x41.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts\x1a\xa7\x01\n\x0cPacketCounts\x12\x17\n\x0finbound_unicast\x18\x01 \x01(\x03\x12\x16\n\x0einbound_errors\x18\x02 \x01(\x03\x12\x18\n\x10inbound_discards\x18\x03 \x01(\x03\x12\x18\n\x10outbound_unicast\x18\x04 \x01(\x03\x12\x17\n\x0foutbound_errors\x18\x05 \x01(\x03\x12\x19\n\x11outbound_discards\x18\x06 \x01(\x03\x1a\x90\x02\n\x0eLinkLACPStatus\x12X\n\x05state\x18\x01 \x01(\x0e\x32I.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State\x12\x18\n\x10google_system_id\x18\x02 \x01(\t\x12\x1a\n\x12neighbor_system_id\x18\x03 \x01(\t\x12\x14\n\x0c\x61ggregatable\x18\x04 \x01(\x08\x12\x12\n\ncollecting\x18\x05 \x01(\x08\x12\x14\n\x0c\x64istributing\x18\x06 \x01(\x08\".\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08\x44\x45TACHED\x10\x02\x1a\xb3\x01\n\x0eLinkLLDPStatus\x12\x18\n\x10peer_system_name\x18\x01 \x01(\t\x12\x1f\n\x17peer_system_description\x18\x02 \x01(\t\x12\x17\n\x0fpeer_chassis_id\x18\x03 \x01(\t\x12\x1c\n\x14peer_chassis_id_type\x18\x04 \x01(\t\x12\x14\n\x0cpeer_port_id\x18\x05 \x01(\t\x12\x19\n\x11peer_port_id_type\x18\x06 \x01(\t\"\xea\x04\n\x0cRouterStatus\x12\x38\n\x07network\x18\x01 \x01(\tB\'\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12P\n\x0f\x62gp_peer_status\x18\x02 \x03(\x0b\x32\x37.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus\x1a\xd1\x02\n\rBgpPeerStatus\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\x12\x17\n\x0fpeer_ip_address\x18\x03 \x01(\t\x12Q\n\x06status\x18\x04 \x01(\x0e\x32\x41.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus\x12\r\n\x05state\x18\x05 \x01(\t\x12\x0e\n\x06uptime\x18\x06 \x01(\t\x12\x16\n\x0euptime_seconds\x18\x07 \x01(\x03\x12O\n\x0eprefix_counter\x18\x08 \x01(\x0b\x32\x37.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter\"*\n\tBgpStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x08\n\x04\x44OWN\x10\x02\x1az\n\rPrefixCounter\x12\x12\n\nadvertised\x18\x01 \x01(\x03\x12\x0e\n\x06\x64\x65nied\x18\x02 \x01(\x03\x12\x10\n\x08received\x18\x03 \x01(\x03\x12\x0c\n\x04sent\x18\x04 \x01(\x03\x12\x12\n\nsuppressed\x18\x05 \x01(\x03\x12\x11\n\twithdrawn\x18\x06 \x01(\x03*\x89\x01\n\rResourceState\x12\x11\n\rSTATE_UNKNOWN\x10\x00\x12\x11\n\rSTATE_PENDING\x10\x01\x12\x16\n\x12STATE_PROVISIONING\x10\x02\x12\x11\n\rSTATE_RUNNING\x10\x03\x12\x13\n\x0fSTATE_SUSPENDED\x10\x04\x12\x12\n\x0eSTATE_DELETING\x10\x05\x42\xd3\x01\n\x1f\x63om.google.cloud.edgenetwork.v1B\x0eResourcesProtoP\x01ZAcloud.google.com/go/edgenetwork/apiv1/edgenetworkpb;edgenetworkpb\xaa\x02\x1bGoogle.Cloud.EdgeNetwork.V1\xca\x02\x1bGoogle\\Cloud\\EdgeNetwork\\V1\xea\x02\x1eGoogle::Cloud::EdgeNetwork::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}"
|
33
|
+
end
|
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."
|
37
|
+
end
|
38
|
+
|
39
|
+
module Google
|
40
|
+
module Cloud
|
41
|
+
module EdgeNetwork
|
42
|
+
module V1
|
43
|
+
Zone = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Zone").msgclass
|
44
|
+
Network = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Network").msgclass
|
45
|
+
Subnet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Subnet").msgclass
|
46
|
+
Interconnect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Interconnect").msgclass
|
47
|
+
Interconnect::InterconnectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Interconnect.InterconnectType").enummodule
|
48
|
+
InterconnectAttachment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectAttachment").msgclass
|
49
|
+
Router = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Router").msgclass
|
50
|
+
Router::Interface = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Router.Interface").msgclass
|
51
|
+
Router::BgpPeer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Router.BgpPeer").msgclass
|
52
|
+
Router::Bgp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Router.Bgp").msgclass
|
53
|
+
LinkLayerAddress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.LinkLayerAddress").msgclass
|
54
|
+
SubnetStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.SubnetStatus").msgclass
|
55
|
+
InterconnectDiagnostics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics").msgclass
|
56
|
+
InterconnectDiagnostics::LinkStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus").msgclass
|
57
|
+
InterconnectDiagnostics::PacketCounts = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts").msgclass
|
58
|
+
InterconnectDiagnostics::LinkLACPStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus").msgclass
|
59
|
+
InterconnectDiagnostics::LinkLACPStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State").enummodule
|
60
|
+
InterconnectDiagnostics::LinkLLDPStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus").msgclass
|
61
|
+
RouterStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.RouterStatus").msgclass
|
62
|
+
RouterStatus::BgpPeerStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus").msgclass
|
63
|
+
RouterStatus::BgpPeerStatus::BgpStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus").enummodule
|
64
|
+
RouterStatus::PrefixCounter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter").msgclass
|
65
|
+
ResourceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ResourceState").enummodule
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/edgenetwork/v1/service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/api/resource_pb'
|
11
|
+
require 'google/cloud/edgenetwork/v1/resources_pb'
|
12
|
+
require 'google/longrunning/operations_pb'
|
13
|
+
require 'google/protobuf/empty_pb'
|
14
|
+
require 'google/protobuf/field_mask_pb'
|
15
|
+
require 'google/protobuf/timestamp_pb'
|
16
|
+
|
17
|
+
|
18
|
+
descriptor_data = "\n)google/cloud/edgenetwork/v1/service.proto\x12\x1bgoogle.cloud.edgenetwork.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/edgenetwork/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x01\n\x10ListZonesRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x65\x64genetwork.googleapis.com/Zone\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\x12\x10\n\x08order_by\x18\x05 \x01(\t\"s\n\x11ListZonesResponse\x12\x30\n\x05zones\x18\x01 \x03(\x0b\x32!.google.cloud.edgenetwork.v1.Zone\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"G\n\x0eGetZoneRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x65\x64genetwork.googleapis.com/Zone\"\x9a\x01\n\x13ListNetworksRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"edgenetwork.googleapis.com/Network\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\x12\x10\n\x08order_by\x18\x05 \x01(\t\"|\n\x14ListNetworksResponse\x12\x36\n\x08networks\x18\x01 \x03(\x0b\x32$.google.cloud.edgenetwork.v1.Network\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\x11GetNetworkRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"edgenetwork.googleapis.com/Network\"\xc0\x01\n\x14\x43reateNetworkRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"edgenetwork.googleapis.com/Network\x12\x17\n\nnetwork_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x07network\x18\x03 \x01(\x0b\x32$.google.cloud.edgenetwork.v1.NetworkB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"i\n\x14\x44\x65leteNetworkRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x98\x01\n\x12ListSubnetsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!edgenetwork.googleapis.com/Subnet\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\x12\x10\n\x08order_by\x18\x05 \x01(\t\"y\n\x13ListSubnetsResponse\x12\x34\n\x07subnets\x18\x01 \x03(\x0b\x32#.google.cloud.edgenetwork.v1.Subnet\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"K\n\x10GetSubnetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!edgenetwork.googleapis.com/Subnet\"\xbb\x01\n\x13\x43reateSubnetRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!edgenetwork.googleapis.com/Subnet\x12\x16\n\tsubnet_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x06subnet\x18\x03 \x01(\x0b\x32#.google.cloud.edgenetwork.v1.SubnetB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9e\x01\n\x13UpdateSubnetRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x38\n\x06subnet\x18\x02 \x01(\x0b\x32#.google.cloud.edgenetwork.v1.SubnetB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"g\n\x13\x44\x65leteSubnetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!edgenetwork.googleapis.com/Subnet\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xa4\x01\n\x18ListInterconnectsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'edgenetwork.googleapis.com/Interconnect\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\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x8b\x01\n\x19ListInterconnectsResponse\x12@\n\rinterconnects\x18\x01 \x03(\x0b\x32).google.cloud.edgenetwork.v1.Interconnect\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"W\n\x16GetInterconnectRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'edgenetwork.googleapis.com/Interconnect\"\xb8\x01\n\"ListInterconnectAttachmentsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31\x65\x64genetwork.googleapis.com/InterconnectAttachment\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\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\xaa\x01\n#ListInterconnectAttachmentsResponse\x12U\n\x18interconnect_attachments\x18\x01 \x03(\x0b\x32\x33.google.cloud.edgenetwork.v1.InterconnectAttachment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"k\n GetInterconnectAttachmentRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1edgenetwork.googleapis.com/InterconnectAttachment\"\x8d\x02\n#CreateInterconnectAttachmentRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31\x65\x64genetwork.googleapis.com/InterconnectAttachment\x12\'\n\x1ainterconnect_attachment_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Y\n\x17interconnect_attachment\x18\x03 \x01(\x0b\x32\x33.google.cloud.edgenetwork.v1.InterconnectAttachmentB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x87\x01\n#DeleteInterconnectAttachmentRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1edgenetwork.googleapis.com/InterconnectAttachment\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x98\x01\n\x12ListRoutersRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!edgenetwork.googleapis.com/Router\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\x12\x10\n\x08order_by\x18\x05 \x01(\t\"y\n\x13ListRoutersResponse\x12\x34\n\x07routers\x18\x01 \x03(\x0b\x32#.google.cloud.edgenetwork.v1.Router\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"K\n\x10GetRouterRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!edgenetwork.googleapis.com/Router\"\xbb\x01\n\x13\x43reateRouterRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!edgenetwork.googleapis.com/Router\x12\x16\n\trouter_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x06router\x18\x03 \x01(\x0b\x32#.google.cloud.edgenetwork.v1.RouterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9e\x01\n\x13UpdateRouterRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x38\n\x06router\x18\x02 \x01(\x0b\x32#.google.cloud.edgenetwork.v1.RouterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"g\n\x13\x44\x65leteRouterRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!edgenetwork.googleapis.com/Router\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"R\n\x16\x44iagnoseNetworkRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"edgenetwork.googleapis.com/Network\"\xf1\x01\n\x17\x44iagnoseNetworkResponse\x12/\n\x0bupdate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x06result\x18\x02 \x01(\x0b\x32\x42.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus\x1aQ\n\rNetworkStatus\x12@\n\rsubnet_status\x18\x01 \x03(\x0b\x32).google.cloud.edgenetwork.v1.SubnetStatus\"\\\n\x1b\x44iagnoseInterconnectRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'edgenetwork.googleapis.com/Interconnect\"\x95\x01\n\x1c\x44iagnoseInterconnectResponse\x12/\n\x0bupdate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x06result\x18\x02 \x01(\x0b\x32\x34.google.cloud.edgenetwork.v1.InterconnectDiagnostics\"P\n\x15\x44iagnoseRouterRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!edgenetwork.googleapis.com/Router\"\x84\x01\n\x16\x44iagnoseRouterResponse\x12/\n\x0bupdate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x06result\x18\x02 \x01(\x0b\x32).google.cloud.edgenetwork.v1.RouterStatus\"N\n\x15InitializeZoneRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x65\x64genetwork.googleapis.com/Zone\"\x18\n\x16InitializeZoneResponse2\xa3+\n\x0b\x45\x64geNetwork\x12\xc1\x01\n\x0eInitializeZone\x12\x32.google.cloud.edgenetwork.v1.InitializeZoneRequest\x1a\x33.google.cloud.edgenetwork.v1.InitializeZoneResponse\"F\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/zones/*}:initialize:\x01*\xda\x41\x04name\x12\xa6\x01\n\tListZones\x12-.google.cloud.edgenetwork.v1.ListZonesRequest\x1a..google.cloud.edgenetwork.v1.ListZonesResponse\":\x82\xd3\xe4\x93\x02+\x12)/v1/{parent=projects/*/locations/*}/zones\xda\x41\x06parent\x12\x93\x01\n\x07GetZone\x12+.google.cloud.edgenetwork.v1.GetZoneRequest\x1a!.google.cloud.edgenetwork.v1.Zone\"8\x82\xd3\xe4\x93\x02+\x12)/v1/{name=projects/*/locations/*/zones/*}\xda\x41\x04name\x12\xba\x01\n\x0cListNetworks\x12\x30.google.cloud.edgenetwork.v1.ListNetworksRequest\x1a\x31.google.cloud.edgenetwork.v1.ListNetworksResponse\"E\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*/zones/*}/networks\xda\x41\x06parent\x12\xa7\x01\n\nGetNetwork\x12..google.cloud.edgenetwork.v1.GetNetworkRequest\x1a$.google.cloud.edgenetwork.v1.Network\"C\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/zones/*/networks/*}\xda\x41\x04name\x12\xca\x01\n\x0f\x44iagnoseNetwork\x12\x33.google.cloud.edgenetwork.v1.DiagnoseNetworkRequest\x1a\x34.google.cloud.edgenetwork.v1.DiagnoseNetworkResponse\"L\x82\xd3\xe4\x93\x02?\x12=/v1/{name=projects/*/locations/*/zones/*/networks/*}:diagnose\xda\x41\x04name\x12\xe4\x01\n\rCreateNetwork\x12\x31.google.cloud.edgenetwork.v1.CreateNetworkRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\x82\xd3\xe4\x93\x02?\"4/v1/{parent=projects/*/locations/*/zones/*}/networks:\x07network\xda\x41\x19parent,network,network_id\xca\x41\x1c\n\x07Network\x12\x11OperationMetadata\x12\xd3\x01\n\rDeleteNetwork\x12\x31.google.cloud.edgenetwork.v1.DeleteNetworkRequest\x1a\x1d.google.longrunning.Operation\"p\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/zones/*/networks/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb6\x01\n\x0bListSubnets\x12/.google.cloud.edgenetwork.v1.ListSubnetsRequest\x1a\x30.google.cloud.edgenetwork.v1.ListSubnetsResponse\"D\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*/zones/*}/subnets\xda\x41\x06parent\x12\xa3\x01\n\tGetSubnet\x12-.google.cloud.edgenetwork.v1.GetSubnetRequest\x1a#.google.cloud.edgenetwork.v1.Subnet\"B\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/zones/*/subnets/*}\xda\x41\x04name\x12\xdc\x01\n\x0c\x43reateSubnet\x12\x30.google.cloud.edgenetwork.v1.CreateSubnetRequest\x1a\x1d.google.longrunning.Operation\"{\x82\xd3\xe4\x93\x02=\"3/v1/{parent=projects/*/locations/*/zones/*}/subnets:\x06subnet\xda\x41\x17parent,subnet,subnet_id\xca\x41\x1b\n\x06Subnet\x12\x11OperationMetadata\x12\xde\x01\n\x0cUpdateSubnet\x12\x30.google.cloud.edgenetwork.v1.UpdateSubnetRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02\x44\x32:/v1/{subnet.name=projects/*/locations/*/zones/*/subnets/*}:\x06subnet\xda\x41\x12subnet,update_mask\xca\x41\x1b\n\x06Subnet\x12\x11OperationMetadata\x12\xd0\x01\n\x0c\x44\x65leteSubnet\x12\x30.google.cloud.edgenetwork.v1.DeleteSubnetRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/zones/*/subnets/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xce\x01\n\x11ListInterconnects\x12\x35.google.cloud.edgenetwork.v1.ListInterconnectsRequest\x1a\x36.google.cloud.edgenetwork.v1.ListInterconnectsResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/zones/*}/interconnects\xda\x41\x06parent\x12\xbb\x01\n\x0fGetInterconnect\x12\x33.google.cloud.edgenetwork.v1.GetInterconnectRequest\x1a).google.cloud.edgenetwork.v1.Interconnect\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/zones/*/interconnects/*}\xda\x41\x04name\x12\xde\x01\n\x14\x44iagnoseInterconnect\x12\x38.google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest\x1a\x39.google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse\"Q\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/zones/*/interconnects/*}:diagnose\xda\x41\x04name\x12\xf6\x01\n\x1bListInterconnectAttachments\x12?.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest\x1a@.google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse\"T\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*/zones/*}/interconnectAttachments\xda\x41\x06parent\x12\xe3\x01\n\x19GetInterconnectAttachment\x12=.google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest\x1a\x33.google.cloud.edgenetwork.v1.InterconnectAttachment\"R\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{name=projects/*/locations/*/zones/*/interconnectAttachments/*}\xda\x41\x04name\x12\xd0\x02\n\x1c\x43reateInterconnectAttachment\x12@.google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest\x1a\x1d.google.longrunning.Operation\"\xce\x01\x82\xd3\xe4\x93\x02^\"C/v1/{parent=projects/*/locations/*/zones/*}/interconnectAttachments:\x17interconnect_attachment\xda\x41\x39parent,interconnect_attachment,interconnect_attachment_id\xca\x41+\n\x16InterconnectAttachment\x12\x11OperationMetadata\x12\x80\x02\n\x1c\x44\x65leteInterconnectAttachment\x12@.google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02\x45*C/v1/{name=projects/*/locations/*/zones/*/interconnectAttachments/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb6\x01\n\x0bListRouters\x12/.google.cloud.edgenetwork.v1.ListRoutersRequest\x1a\x30.google.cloud.edgenetwork.v1.ListRoutersResponse\"D\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*/zones/*}/routers\xda\x41\x06parent\x12\xa3\x01\n\tGetRouter\x12-.google.cloud.edgenetwork.v1.GetRouterRequest\x1a#.google.cloud.edgenetwork.v1.Router\"B\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/zones/*/routers/*}\xda\x41\x04name\x12\xc6\x01\n\x0e\x44iagnoseRouter\x12\x32.google.cloud.edgenetwork.v1.DiagnoseRouterRequest\x1a\x33.google.cloud.edgenetwork.v1.DiagnoseRouterResponse\"K\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/zones/*/routers/*}:diagnose\xda\x41\x04name\x12\xdc\x01\n\x0c\x43reateRouter\x12\x30.google.cloud.edgenetwork.v1.CreateRouterRequest\x1a\x1d.google.longrunning.Operation\"{\x82\xd3\xe4\x93\x02=\"3/v1/{parent=projects/*/locations/*/zones/*}/routers:\x06router\xda\x41\x17parent,router,router_id\xca\x41\x1b\n\x06Router\x12\x11OperationMetadata\x12\xde\x01\n\x0cUpdateRouter\x12\x30.google.cloud.edgenetwork.v1.UpdateRouterRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02\x44\x32:/v1/{router.name=projects/*/locations/*/zones/*/routers/*}:\x06router\xda\x41\x12router,update_mask\xca\x41\x1b\n\x06Router\x12\x11OperationMetadata\x12\xd0\x01\n\x0c\x44\x65leteRouter\x12\x30.google.cloud.edgenetwork.v1.DeleteRouterRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/zones/*/routers/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x1aN\xca\x41\x1a\x65\x64genetwork.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd1\x01\n\x1f\x63om.google.cloud.edgenetwork.v1B\x0cServiceProtoP\x01ZAcloud.google.com/go/edgenetwork/apiv1/edgenetworkpb;edgenetworkpb\xaa\x02\x1bGoogle.Cloud.EdgeNetwork.V1\xca\x02\x1bGoogle\\Cloud\\EdgeNetwork\\V1\xea\x02\x1eGoogle::Cloud::EdgeNetwork::V1b\x06proto3"
|
19
|
+
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
|
+
|
22
|
+
begin
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
24
|
+
rescue TypeError => e
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
28
|
+
parsed.clear_dependency
|
29
|
+
serialized = parsed.class.encode(parsed)
|
30
|
+
file = pool.add_serialized_file(serialized)
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
|
+
imports = [
|
33
|
+
["google.cloud.edgenetwork.v1.Zone", "google/cloud/edgenetwork/v1/resources.proto"],
|
34
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
35
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
36
|
+
]
|
37
|
+
imports.each do |type_name, expected_filename|
|
38
|
+
import_file = pool.lookup(type_name).file_descriptor
|
39
|
+
if import_file.name != expected_filename
|
40
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
44
|
+
warn "This will become an error in the next major version."
|
45
|
+
end
|
46
|
+
|
47
|
+
module Google
|
48
|
+
module Cloud
|
49
|
+
module EdgeNetwork
|
50
|
+
module V1
|
51
|
+
ListZonesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListZonesRequest").msgclass
|
52
|
+
ListZonesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListZonesResponse").msgclass
|
53
|
+
GetZoneRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.GetZoneRequest").msgclass
|
54
|
+
ListNetworksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListNetworksRequest").msgclass
|
55
|
+
ListNetworksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListNetworksResponse").msgclass
|
56
|
+
GetNetworkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.GetNetworkRequest").msgclass
|
57
|
+
CreateNetworkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.CreateNetworkRequest").msgclass
|
58
|
+
DeleteNetworkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.DeleteNetworkRequest").msgclass
|
59
|
+
ListSubnetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListSubnetsRequest").msgclass
|
60
|
+
ListSubnetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListSubnetsResponse").msgclass
|
61
|
+
GetSubnetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.GetSubnetRequest").msgclass
|
62
|
+
CreateSubnetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.CreateSubnetRequest").msgclass
|
63
|
+
UpdateSubnetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.UpdateSubnetRequest").msgclass
|
64
|
+
DeleteSubnetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.DeleteSubnetRequest").msgclass
|
65
|
+
ListInterconnectsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListInterconnectsRequest").msgclass
|
66
|
+
ListInterconnectsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListInterconnectsResponse").msgclass
|
67
|
+
GetInterconnectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.GetInterconnectRequest").msgclass
|
68
|
+
ListInterconnectAttachmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListInterconnectAttachmentsRequest").msgclass
|
69
|
+
ListInterconnectAttachmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListInterconnectAttachmentsResponse").msgclass
|
70
|
+
GetInterconnectAttachmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.GetInterconnectAttachmentRequest").msgclass
|
71
|
+
CreateInterconnectAttachmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.CreateInterconnectAttachmentRequest").msgclass
|
72
|
+
DeleteInterconnectAttachmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.DeleteInterconnectAttachmentRequest").msgclass
|
73
|
+
ListRoutersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListRoutersRequest").msgclass
|
74
|
+
ListRoutersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ListRoutersResponse").msgclass
|
75
|
+
GetRouterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.GetRouterRequest").msgclass
|
76
|
+
CreateRouterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.CreateRouterRequest").msgclass
|
77
|
+
UpdateRouterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.UpdateRouterRequest").msgclass
|
78
|
+
DeleteRouterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.DeleteRouterRequest").msgclass
|
79
|
+
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.OperationMetadata").msgclass
|
80
|
+
DiagnoseNetworkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.DiagnoseNetworkRequest").msgclass
|
81
|
+
DiagnoseNetworkResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.DiagnoseNetworkResponse").msgclass
|
82
|
+
DiagnoseNetworkResponse::NetworkStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus").msgclass
|
83
|
+
DiagnoseInterconnectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.DiagnoseInterconnectRequest").msgclass
|
84
|
+
DiagnoseInterconnectResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.DiagnoseInterconnectResponse").msgclass
|
85
|
+
DiagnoseRouterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.DiagnoseRouterRequest").msgclass
|
86
|
+
DiagnoseRouterResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.DiagnoseRouterResponse").msgclass
|
87
|
+
InitializeZoneRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InitializeZoneRequest").msgclass
|
88
|
+
InitializeZoneResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InitializeZoneResponse").msgclass
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/edgenetwork/v1/service.proto for package 'Google.Cloud.EdgeNetwork.V1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2023 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/edgenetwork/v1/service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module EdgeNetwork
|
25
|
+
module V1
|
26
|
+
module EdgeNetwork
|
27
|
+
# EdgeNetwork API provides managed, highly available cloud dynamic network
|
28
|
+
# configuration service to the GEC customer to enable edge application and
|
29
|
+
# network function solutions. This allows the customers to easily define and
|
30
|
+
# configure the network setup and property to meet the workload requirement.
|
31
|
+
class Service
|
32
|
+
|
33
|
+
include ::GRPC::GenericService
|
34
|
+
|
35
|
+
self.marshal_class_method = :encode
|
36
|
+
self.unmarshal_class_method = :decode
|
37
|
+
self.service_name = 'google.cloud.edgenetwork.v1.EdgeNetwork'
|
38
|
+
|
39
|
+
# InitializeZone will initialize resources for a zone in a project.
|
40
|
+
rpc :InitializeZone, ::Google::Cloud::EdgeNetwork::V1::InitializeZoneRequest, ::Google::Cloud::EdgeNetwork::V1::InitializeZoneResponse
|
41
|
+
# Lists Zones in a given project and location.
|
42
|
+
rpc :ListZones, ::Google::Cloud::EdgeNetwork::V1::ListZonesRequest, ::Google::Cloud::EdgeNetwork::V1::ListZonesResponse
|
43
|
+
# Gets details of a single Zone.
|
44
|
+
rpc :GetZone, ::Google::Cloud::EdgeNetwork::V1::GetZoneRequest, ::Google::Cloud::EdgeNetwork::V1::Zone
|
45
|
+
# Lists Networks in a given project and location.
|
46
|
+
rpc :ListNetworks, ::Google::Cloud::EdgeNetwork::V1::ListNetworksRequest, ::Google::Cloud::EdgeNetwork::V1::ListNetworksResponse
|
47
|
+
# Gets details of a single Network.
|
48
|
+
rpc :GetNetwork, ::Google::Cloud::EdgeNetwork::V1::GetNetworkRequest, ::Google::Cloud::EdgeNetwork::V1::Network
|
49
|
+
# Get the diagnostics of a single network resource.
|
50
|
+
rpc :DiagnoseNetwork, ::Google::Cloud::EdgeNetwork::V1::DiagnoseNetworkRequest, ::Google::Cloud::EdgeNetwork::V1::DiagnoseNetworkResponse
|
51
|
+
# Creates a new Network in a given project and location.
|
52
|
+
rpc :CreateNetwork, ::Google::Cloud::EdgeNetwork::V1::CreateNetworkRequest, ::Google::Longrunning::Operation
|
53
|
+
# Deletes a single Network.
|
54
|
+
rpc :DeleteNetwork, ::Google::Cloud::EdgeNetwork::V1::DeleteNetworkRequest, ::Google::Longrunning::Operation
|
55
|
+
# Lists Subnets in a given project and location.
|
56
|
+
rpc :ListSubnets, ::Google::Cloud::EdgeNetwork::V1::ListSubnetsRequest, ::Google::Cloud::EdgeNetwork::V1::ListSubnetsResponse
|
57
|
+
# Gets details of a single Subnet.
|
58
|
+
rpc :GetSubnet, ::Google::Cloud::EdgeNetwork::V1::GetSubnetRequest, ::Google::Cloud::EdgeNetwork::V1::Subnet
|
59
|
+
# Creates a new Subnet in a given project and location.
|
60
|
+
rpc :CreateSubnet, ::Google::Cloud::EdgeNetwork::V1::CreateSubnetRequest, ::Google::Longrunning::Operation
|
61
|
+
# Updates the parameters of a single Subnet.
|
62
|
+
rpc :UpdateSubnet, ::Google::Cloud::EdgeNetwork::V1::UpdateSubnetRequest, ::Google::Longrunning::Operation
|
63
|
+
# Deletes a single Subnet.
|
64
|
+
rpc :DeleteSubnet, ::Google::Cloud::EdgeNetwork::V1::DeleteSubnetRequest, ::Google::Longrunning::Operation
|
65
|
+
# Lists Interconnects in a given project and location.
|
66
|
+
rpc :ListInterconnects, ::Google::Cloud::EdgeNetwork::V1::ListInterconnectsRequest, ::Google::Cloud::EdgeNetwork::V1::ListInterconnectsResponse
|
67
|
+
# Gets details of a single Interconnect.
|
68
|
+
rpc :GetInterconnect, ::Google::Cloud::EdgeNetwork::V1::GetInterconnectRequest, ::Google::Cloud::EdgeNetwork::V1::Interconnect
|
69
|
+
# Get the diagnostics of a single interconnect resource.
|
70
|
+
rpc :DiagnoseInterconnect, ::Google::Cloud::EdgeNetwork::V1::DiagnoseInterconnectRequest, ::Google::Cloud::EdgeNetwork::V1::DiagnoseInterconnectResponse
|
71
|
+
# Lists InterconnectAttachments in a given project and location.
|
72
|
+
rpc :ListInterconnectAttachments, ::Google::Cloud::EdgeNetwork::V1::ListInterconnectAttachmentsRequest, ::Google::Cloud::EdgeNetwork::V1::ListInterconnectAttachmentsResponse
|
73
|
+
# Gets details of a single InterconnectAttachment.
|
74
|
+
rpc :GetInterconnectAttachment, ::Google::Cloud::EdgeNetwork::V1::GetInterconnectAttachmentRequest, ::Google::Cloud::EdgeNetwork::V1::InterconnectAttachment
|
75
|
+
# Creates a new InterconnectAttachment in a given project and location.
|
76
|
+
rpc :CreateInterconnectAttachment, ::Google::Cloud::EdgeNetwork::V1::CreateInterconnectAttachmentRequest, ::Google::Longrunning::Operation
|
77
|
+
# Deletes a single InterconnectAttachment.
|
78
|
+
rpc :DeleteInterconnectAttachment, ::Google::Cloud::EdgeNetwork::V1::DeleteInterconnectAttachmentRequest, ::Google::Longrunning::Operation
|
79
|
+
# Lists Routers in a given project and location.
|
80
|
+
rpc :ListRouters, ::Google::Cloud::EdgeNetwork::V1::ListRoutersRequest, ::Google::Cloud::EdgeNetwork::V1::ListRoutersResponse
|
81
|
+
# Gets details of a single Router.
|
82
|
+
rpc :GetRouter, ::Google::Cloud::EdgeNetwork::V1::GetRouterRequest, ::Google::Cloud::EdgeNetwork::V1::Router
|
83
|
+
# Get the diagnostics of a single router resource.
|
84
|
+
rpc :DiagnoseRouter, ::Google::Cloud::EdgeNetwork::V1::DiagnoseRouterRequest, ::Google::Cloud::EdgeNetwork::V1::DiagnoseRouterResponse
|
85
|
+
# Creates a new Router in a given project and location.
|
86
|
+
rpc :CreateRouter, ::Google::Cloud::EdgeNetwork::V1::CreateRouterRequest, ::Google::Longrunning::Operation
|
87
|
+
# Updates the parameters of a single Router.
|
88
|
+
rpc :UpdateRouter, ::Google::Cloud::EdgeNetwork::V1::UpdateRouterRequest, ::Google::Longrunning::Operation
|
89
|
+
# Deletes a single Router.
|
90
|
+
rpc :DeleteRouter, ::Google::Cloud::EdgeNetwork::V1::DeleteRouterRequest, ::Google::Longrunning::Operation
|
91
|
+
end
|
92
|
+
|
93
|
+
Stub = Service.rpc_stub_class
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,21 @@
|
|
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
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
21
|
+
# require "google/cloud/edge_network/v1"
|