google-cloud-edge_container-v1 0.a → 0.1.1
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_container/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/edge_container/v1/edge_container/client.rb +2486 -0
- data/lib/google/cloud/edge_container/v1/edge_container/credentials.rb +47 -0
- data/lib/google/cloud/edge_container/v1/edge_container/operations.rb +809 -0
- data/lib/google/cloud/edge_container/v1/edge_container/paths.rb +172 -0
- data/lib/google/cloud/edge_container/v1/edge_container/rest/client.rb +2324 -0
- data/lib/google/cloud/edge_container/v1/edge_container/rest/operations.rb +902 -0
- data/lib/google/cloud/edge_container/v1/edge_container/rest/service_stub.rb +1255 -0
- data/lib/google/cloud/edge_container/v1/edge_container/rest.rb +55 -0
- data/lib/google/cloud/edge_container/v1/edge_container.rb +57 -0
- data/lib/google/cloud/edge_container/v1/rest.rb +38 -0
- data/lib/google/cloud/edge_container/v1/version.rb +7 -2
- data/lib/google/cloud/edge_container/v1.rb +45 -0
- data/lib/google/cloud/edgecontainer/v1/resources_pb.rb +92 -0
- data/lib/google/cloud/edgecontainer/v1/service_pb.rb +81 -0
- data/lib/google/cloud/edgecontainer/v1/service_services_pb.rb +84 -0
- data/lib/google-cloud-edge_container-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +420 -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 +227 -0
- data/proto_docs/google/cloud/edgecontainer/v1/resources.rb +881 -0
- data/proto_docs/google/cloud/edgecontainer/v1/service.rb +475 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +145 -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 +96 -10
@@ -0,0 +1,55 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 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_container/v1/version"
|
24
|
+
require "google/cloud/edge_container/v1/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/edge_container/v1/edge_container/credentials"
|
27
|
+
require "google/cloud/edge_container/v1/edge_container/paths"
|
28
|
+
require "google/cloud/edge_container/v1/edge_container/rest/operations"
|
29
|
+
require "google/cloud/edge_container/v1/edge_container/rest/client"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module EdgeContainer
|
34
|
+
module V1
|
35
|
+
##
|
36
|
+
# EdgeContainer API provides management of Kubernetes Clusters on Google Edge
|
37
|
+
# Cloud deployments.
|
38
|
+
#
|
39
|
+
# To load this service and instantiate a REST client:
|
40
|
+
#
|
41
|
+
# require "google/cloud/edge_container/v1/edge_container/rest"
|
42
|
+
# client = ::Google::Cloud::EdgeContainer::V1::EdgeContainer::Rest::Client.new
|
43
|
+
#
|
44
|
+
module EdgeContainer
|
45
|
+
# Client for the REST transport
|
46
|
+
module Rest
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
55
|
+
require "google/cloud/edge_container/v1/edge_container/rest/helpers" if ::File.file? helper_path
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 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_container/v1/version"
|
24
|
+
|
25
|
+
require "google/cloud/edge_container/v1/edge_container/credentials"
|
26
|
+
require "google/cloud/edge_container/v1/edge_container/paths"
|
27
|
+
require "google/cloud/edge_container/v1/edge_container/operations"
|
28
|
+
require "google/cloud/edge_container/v1/edge_container/client"
|
29
|
+
require "google/cloud/edge_container/v1/edge_container/rest"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module EdgeContainer
|
34
|
+
module V1
|
35
|
+
##
|
36
|
+
# EdgeContainer API provides management of Kubernetes Clusters on Google Edge
|
37
|
+
# Cloud deployments.
|
38
|
+
#
|
39
|
+
# @example Load this service and instantiate a gRPC client
|
40
|
+
#
|
41
|
+
# require "google/cloud/edge_container/v1/edge_container"
|
42
|
+
# client = ::Google::Cloud::EdgeContainer::V1::EdgeContainer::Client.new
|
43
|
+
#
|
44
|
+
# @example Load this service and instantiate a REST client
|
45
|
+
#
|
46
|
+
# require "google/cloud/edge_container/v1/edge_container/rest"
|
47
|
+
# client = ::Google::Cloud::EdgeContainer::V1::EdgeContainer::Rest::Client.new
|
48
|
+
#
|
49
|
+
module EdgeContainer
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
helper_path = ::File.join __dir__, "edge_container", "helpers.rb"
|
57
|
+
require "google/cloud/edge_container/v1/edge_container/helpers" if ::File.file? helper_path
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 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_container/v1/edge_container/rest"
|
20
|
+
require "google/cloud/edge_container/v1/bindings_override"
|
21
|
+
require "google/cloud/edge_container/v1/version"
|
22
|
+
|
23
|
+
module Google
|
24
|
+
module Cloud
|
25
|
+
module EdgeContainer
|
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_container/v1/rest"
|
32
|
+
# client = ::Google::Cloud::EdgeContainer::V1::EdgeContainer::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 2024 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 EdgeContainer
|
18
23
|
module V1
|
19
|
-
VERSION = "0.
|
24
|
+
VERSION = "0.1.1"
|
20
25
|
end
|
21
26
|
end
|
22
27
|
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 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_container/v1/edge_container"
|
20
|
+
require "google/cloud/edge_container/v1/version"
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module EdgeContainer
|
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_container/v1"
|
31
|
+
# client = ::Google::Cloud::EdgeContainer::V1::EdgeContainer::Client.new
|
32
|
+
#
|
33
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
34
|
+
#
|
35
|
+
# require "google/cloud/edge_container/v1"
|
36
|
+
# client = ::Google::Cloud::EdgeContainer::V1::EdgeContainer::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_container/v1/_helpers" if ::File.file? helper_path
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/edgecontainer/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/duration_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
require 'google/rpc/status_pb'
|
12
|
+
|
13
|
+
|
14
|
+
descriptor_data = "\n-google/cloud/edgecontainer/v1/resources.proto\x12\x1dgoogle.cloud.edgecontainer.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x8a\x1c\n\x07\x43luster\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$edgecontainer.googleapis.com/Cluster\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\x06labels\x18\x04 \x03(\x0b\x32\x32.google.cloud.edgecontainer.v1.Cluster.LabelsEntry\x12\x38\n\x05\x66leet\x18\x0b \x01(\x0b\x32$.google.cloud.edgecontainer.v1.FleetB\x03\xe0\x41\x02\x12I\n\nnetworking\x18\x07 \x01(\x0b\x32\x30.google.cloud.edgecontainer.v1.ClusterNetworkingB\x03\xe0\x41\x02\x12K\n\rauthorization\x18\t \x01(\x0b\x32,.google.cloud.edgecontainer.v1.AuthorizationB\x06\xe0\x41\x02\xe0\x41\x05\x12&\n\x19\x64\x65\x66\x61ult_max_pods_per_node\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01\x12\x15\n\x08\x65ndpoint\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04port\x18\x13 \x01(\x05\x42\x03\xe0\x41\x03\x12#\n\x16\x63luster_ca_certificate\x18\n \x01(\tB\x03\xe0\x41\x03\x12Q\n\x12maintenance_policy\x18\x0c \x01(\x0b\x32\x30.google.cloud.edgecontainer.v1.MaintenancePolicyB\x03\xe0\x41\x01\x12\"\n\x15\x63ontrol_plane_version\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cnode_version\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12O\n\rcontrol_plane\x18\x0f \x01(\x0b\x32\x33.google.cloud.edgecontainer.v1.Cluster.ControlPlaneB\x03\xe0\x41\x01\x12\\\n\x14system_addons_config\x18\x10 \x01(\x0b\x32\x39.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfigB\x03\xe0\x41\x01\x12\x36\n)external_load_balancer_ipv4_address_pools\x18\x11 \x03(\tB\x03\xe0\x41\x01\x12\x64\n\x18\x63ontrol_plane_encryption\x18\x12 \x01(\x0b\x32=.google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryptionB\x03\xe0\x41\x01\x12\x42\n\x06status\x18\x14 \x01(\x0e\x32-.google.cloud.edgecontainer.v1.Cluster.StatusB\x03\xe0\x41\x03\x12X\n\x12maintenance_events\x18\x15 \x03(\x0b\x32\x37.google.cloud.edgecontainer.v1.Cluster.MaintenanceEventB\x03\xe0\x41\x03\x12\x1b\n\x0etarget_version\x18\x16 \x01(\tB\x03\xe0\x41\x01\x12S\n\x0frelease_channel\x18\x17 \x01(\x0e\x32\x35.google.cloud.edgecontainer.v1.Cluster.ReleaseChannelB\x03\xe0\x41\x01\x12]\n\x14survivability_config\x18\x18 \x01(\x0b\x32:.google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfigB\x03\xe0\x41\x01\x12\x36\n)external_load_balancer_ipv6_address_pools\x18\x19 \x03(\tB\x03\xe0\x41\x01\x1a\xd8\x03\n\x0c\x43ontrolPlane\x12L\n\x06remote\x18\x01 \x01(\x0b\x32:.google.cloud.edgecontainer.v1.Cluster.ControlPlane.RemoteH\x00\x12J\n\x05local\x18\x02 \x01(\x0b\x32\x39.google.cloud.edgecontainer.v1.Cluster.ControlPlane.LocalH\x00\x1a\x08\n\x06Remote\x1a\xb8\x01\n\x05Local\x12\x15\n\rnode_location\x18\x01 \x01(\t\x12\x12\n\nnode_count\x18\x02 \x01(\x05\x12\x16\n\x0emachine_filter\x18\x03 \x01(\t\x12l\n\x18shared_deployment_policy\x18\x04 \x01(\x0e\x32J.google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy\"_\n\x16SharedDeploymentPolicy\x12(\n$SHARED_DEPLOYMENT_POLICY_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x41LLOWED\x10\x01\x12\x0e\n\nDISALLOWED\x10\x02\x42\x08\n\x06\x63onfig\x1a\xa6\x01\n\x12SystemAddonsConfig\x12W\n\x07ingress\x18\x01 \x01(\x0b\x32\x41.google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.IngressB\x03\xe0\x41\x01\x1a\x37\n\x07Ingress\x12\x15\n\x08\x64isabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08ipv4_vip\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a\x9b\x02\n\x16\x43ontrolPlaneEncryption\x12:\n\x07kms_key\x18\x01 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12P\n\x16kms_key_active_version\x18\x02 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x12\x46\n\rkms_key_state\x18\x03 \x01(\x0e\x32*.google.cloud.edgecontainer.v1.KmsKeyStateB\x03\xe0\x41\x03\x12+\n\nkms_status\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x1a\x83\x06\n\x10MaintenanceEvent\x12\x11\n\x04uuid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0etarget_version\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\toperation\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12O\n\x04type\x18\x04 \x01(\x0e\x32<.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.TypeB\x03\xe0\x41\x03\x12W\n\x08schedule\x18\x05 \x01(\x0e\x32@.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.ScheduleB\x03\xe0\x41\x03\x12Q\n\x05state\x18\x06 \x01(\x0e\x32=.google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"S\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16USER_INITIATED_UPGRADE\x10\x01\x12\x19\n\x15GOOGLE_DRIVEN_UPGRADE\x10\x02\"5\n\x08Schedule\x12\x18\n\x14SCHEDULE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIMMEDIATELY\x10\x01\"J\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bRECONCILING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x1aQ\n\x13SurvivabilityConfig\x12:\n\x12offline_reboot_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"i\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x12\x0f\n\x0bRECONCILING\x10\x05\"H\n\x0eReleaseChannel\x12\x1f\n\x1bRELEASE_CHANNEL_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x0b\n\x07REGULAR\x10\x02:e\xea\x41\x62\n$edgecontainer.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}\"b\n\x11\x43lusterNetworking\x12%\n\x18\x63luster_ipv4_cidr_blocks\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12&\n\x19services_ipv4_cidr_blocks\x18\x02 \x03(\tB\x03\xe0\x41\x02\"6\n\x05\x46leet\x12\x14\n\x07project\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nmembership\x18\x02 \x01(\tB\x03\xe0\x41\x03\"$\n\x0b\x43lusterUser\x12\x15\n\x08username\x18\x01 \x01(\tB\x03\xe0\x41\x02\"U\n\rAuthorization\x12\x44\n\x0b\x61\x64min_users\x18\x01 \x01(\x0b\x32*.google.cloud.edgecontainer.v1.ClusterUserB\x03\xe0\x41\x02\"\xe5\x08\n\x08NodePool\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%edgecontainer.googleapis.com/NodePool\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\x43\n\x06labels\x18\x04 \x03(\x0b\x32\x33.google.cloud.edgecontainer.v1.NodePool.LabelsEntry\x12\x15\n\rnode_location\x18\x08 \x01(\t\x12\x17\n\nnode_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x02\x12\x16\n\x0emachine_filter\x18\x07 \x01(\t\x12_\n\x15local_disk_encryption\x18\t \x01(\x0b\x32;.google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryptionB\x03\xe0\x41\x01\x12\x19\n\x0cnode_version\x18\n \x01(\tB\x03\xe0\x41\x03\x12L\n\x0bnode_config\x18\x0b \x01(\x0b\x32\x32.google.cloud.edgecontainer.v1.NodePool.NodeConfigB\x03\xe0\x41\x01\x1a\x98\x02\n\x13LocalDiskEncryption\x12:\n\x07kms_key\x18\x01 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12P\n\x16kms_key_active_version\x18\x02 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\x12\x46\n\rkms_key_state\x18\x03 \x01(\x0e\x32*.google.cloud.edgecontainer.v1.KmsKeyStateB\x03\xe0\x41\x03\x12+\n\nkms_status\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x1a\x90\x01\n\nNodeConfig\x12S\n\x06labels\x18\x01 \x03(\x0b\x32>.google.cloud.edgecontainer.v1.NodePool.NodeConfig.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:|\xea\x41y\n%edgecontainer.googleapis.com/NodePool\x12Pprojects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}\"\xdb\x03\n\x07Machine\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$edgecontainer.googleapis.com/Machine\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\x06labels\x18\x04 \x03(\x0b\x32\x32.google.cloud.edgecontainer.v1.Machine.LabelsEntry\x12\x13\n\x0bhosted_node\x18\x05 \x01(\t\x12\x0c\n\x04zone\x18\x06 \x01(\t\x12\x14\n\x07version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08\x64isabled\x18\x08 \x01(\x08\x42\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:e\xea\x41\x62\n$edgecontainer.googleapis.com/Machine\x12:projects/{project}/locations/{location}/machines/{machine}\"\xf9\n\n\rVpnConnection\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*edgecontainer.googleapis.com/VpnConnection\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\x12H\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.cloud.edgecontainer.v1.VpnConnection.LabelsEntry\x12\x16\n\x0enat_gateway_ip\x18\x05 \x01(\t\x12Y\n\x10\x62gp_routing_mode\x18\x06 \x01(\x0e\x32;.google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingModeB\x02\x18\x01\x12:\n\x07\x63luster\x18\x07 \x01(\tB)\xfa\x41&\n$edgecontainer.googleapis.com/Cluster\x12\x0b\n\x03vpc\x18\x08 \x01(\t\x12Q\n\x0bvpc_project\x18\x0b \x01(\x0b\x32\x37.google.cloud.edgecontainer.v1.VpnConnection.VpcProjectB\x03\xe0\x41\x01\x12 \n\x18\x65nable_high_availability\x18\t \x01(\x08\x12\x13\n\x06router\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12J\n\x07\x64\x65tails\x18\n \x01(\x0b\x32\x34.google.cloud.edgecontainer.v1.VpnConnection.DetailsB\x03\xe0\x41\x03\x1a@\n\nVpcProject\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x1e\n\x0fservice_account\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x01\x1a\xa4\x03\n\x07\x44\x65tails\x12I\n\x05state\x18\x01 \x01(\x0e\x32:.google.cloud.edgecontainer.v1.VpnConnection.Details.State\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12V\n\x0c\x63loud_router\x18\x03 \x01(\x0b\x32@.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter\x12Q\n\ncloud_vpns\x18\x04 \x03(\x0b\x32=.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn\x1a\x1b\n\x0b\x43loudRouter\x12\x0c\n\x04name\x18\x01 \x01(\t\x1a\x1b\n\x08\x43loudVpn\x12\x0f\n\x07gateway\x18\x01 \x01(\t\"Z\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0fSTATE_CONNECTED\x10\x01\x12\x14\n\x10STATE_CONNECTING\x10\x02\x12\x0f\n\x0bSTATE_ERROR\x10\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"L\n\x0e\x42gpRoutingMode\x12 \n\x1c\x42GP_ROUTING_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08REGIONAL\x10\x01\x12\n\n\x06GLOBAL\x10\x02:x\xea\x41u\n*edgecontainer.googleapis.com/VpnConnection\x12Gprojects/{project}/locations/{location}/vpnConnections/{vpn_connection}\"\xd4\x01\n\x10LocationMetadata\x12\\\n\x0f\x61vailable_zones\x18\x01 \x03(\x0b\x32\x43.google.cloud.edgecontainer.v1.LocationMetadata.AvailableZonesEntry\x1a\x62\n\x13\x41vailableZonesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.edgecontainer.v1.ZoneMetadata:\x02\x38\x01\"\xbb\x02\n\x0cZoneMetadata\x12\x33\n\x05quota\x18\x01 \x03(\x0b\x32$.google.cloud.edgecontainer.v1.Quota\x12N\n\nrack_types\x18\x02 \x03(\x0b\x32:.google.cloud.edgecontainer.v1.ZoneMetadata.RackTypesEntry\x1a\x66\n\x0eRackTypesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0e\x32\x34.google.cloud.edgecontainer.v1.ZoneMetadata.RackType:\x02\x38\x01\">\n\x08RackType\x12\x19\n\x15RACK_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42\x41SE\x10\x01\x12\r\n\tEXPANSION\x10\x02\"5\n\x05Quota\x12\x0e\n\x06metric\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x01\x12\r\n\x05usage\x18\x03 \x01(\x01\"U\n\x11MaintenancePolicy\x12@\n\x06window\x18\x01 \x01(\x0b\x32\x30.google.cloud.edgecontainer.v1.MaintenanceWindow\"a\n\x11MaintenanceWindow\x12L\n\x10recurring_window\x18\x01 \x01(\x0b\x32\x32.google.cloud.edgecontainer.v1.RecurringTimeWindow\"d\n\x13RecurringTimeWindow\x12\x39\n\x06window\x18\x01 \x01(\x0b\x32).google.cloud.edgecontainer.v1.TimeWindow\x12\x12\n\nrecurrence\x18\x02 \x01(\t\"j\n\nTimeWindow\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9c\x02\n\x0cServerConfig\x12P\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x39.google.cloud.edgecontainer.v1.ServerConfig.ChannelsEntryB\x03\xe0\x41\x03\x12=\n\x08versions\x18\x02 \x03(\x0b\x32&.google.cloud.edgecontainer.v1.VersionB\x03\xe0\x41\x03\x12\x1c\n\x0f\x64\x65\x66\x61ult_version\x18\x03 \x01(\tB\x03\xe0\x41\x03\x1a]\n\rChannelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.google.cloud.edgecontainer.v1.ChannelConfig:\x02\x38\x01\"-\n\rChannelConfig\x12\x1c\n\x0f\x64\x65\x66\x61ult_version\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\x1c\n\x07Version\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03*p\n\x0bKmsKeyState\x12\x1d\n\x19KMS_KEY_STATE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bKMS_KEY_STATE_KEY_AVAILABLE\x10\x01\x12!\n\x1dKMS_KEY_STATE_KEY_UNAVAILABLE\x10\x02\x42\x86\x04\n!com.google.cloud.edgecontainer.v1B\x0eResourcesProtoP\x01ZGcloud.google.com/go/edgecontainer/apiv1/edgecontainerpb;edgecontainerpb\xaa\x02\x1dGoogle.Cloud.EdgeContainer.V1\xca\x02\x1dGoogle\\Cloud\\EdgeContainer\\V1\xea\x02 Google::Cloud::EdgeContainer::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
30
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
31
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
32
|
+
]
|
33
|
+
imports.each do |type_name, expected_filename|
|
34
|
+
import_file = pool.lookup(type_name).file_descriptor
|
35
|
+
if import_file.name != expected_filename
|
36
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
40
|
+
warn "This will become an error in the next major version."
|
41
|
+
end
|
42
|
+
|
43
|
+
module Google
|
44
|
+
module Cloud
|
45
|
+
module EdgeContainer
|
46
|
+
module V1
|
47
|
+
Cluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster").msgclass
|
48
|
+
Cluster::ControlPlane = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.ControlPlane").msgclass
|
49
|
+
Cluster::ControlPlane::Remote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.ControlPlane.Remote").msgclass
|
50
|
+
Cluster::ControlPlane::Local = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.ControlPlane.Local").msgclass
|
51
|
+
Cluster::ControlPlane::SharedDeploymentPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.ControlPlane.SharedDeploymentPolicy").enummodule
|
52
|
+
Cluster::SystemAddonsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig").msgclass
|
53
|
+
Cluster::SystemAddonsConfig::Ingress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.SystemAddonsConfig.Ingress").msgclass
|
54
|
+
Cluster::ControlPlaneEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.ControlPlaneEncryption").msgclass
|
55
|
+
Cluster::MaintenanceEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent").msgclass
|
56
|
+
Cluster::MaintenanceEvent::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Type").enummodule
|
57
|
+
Cluster::MaintenanceEvent::Schedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.Schedule").enummodule
|
58
|
+
Cluster::MaintenanceEvent::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.MaintenanceEvent.State").enummodule
|
59
|
+
Cluster::SurvivabilityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.SurvivabilityConfig").msgclass
|
60
|
+
Cluster::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.Status").enummodule
|
61
|
+
Cluster::ReleaseChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Cluster.ReleaseChannel").enummodule
|
62
|
+
ClusterNetworking = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ClusterNetworking").msgclass
|
63
|
+
Fleet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Fleet").msgclass
|
64
|
+
ClusterUser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ClusterUser").msgclass
|
65
|
+
Authorization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Authorization").msgclass
|
66
|
+
NodePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.NodePool").msgclass
|
67
|
+
NodePool::LocalDiskEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.NodePool.LocalDiskEncryption").msgclass
|
68
|
+
NodePool::NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.NodePool.NodeConfig").msgclass
|
69
|
+
Machine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Machine").msgclass
|
70
|
+
VpnConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.VpnConnection").msgclass
|
71
|
+
VpnConnection::VpcProject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.VpnConnection.VpcProject").msgclass
|
72
|
+
VpnConnection::Details = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.VpnConnection.Details").msgclass
|
73
|
+
VpnConnection::Details::CloudRouter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter").msgclass
|
74
|
+
VpnConnection::Details::CloudVpn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn").msgclass
|
75
|
+
VpnConnection::Details::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.VpnConnection.Details.State").enummodule
|
76
|
+
VpnConnection::BgpRoutingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode").enummodule
|
77
|
+
LocationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.LocationMetadata").msgclass
|
78
|
+
ZoneMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ZoneMetadata").msgclass
|
79
|
+
ZoneMetadata::RackType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ZoneMetadata.RackType").enummodule
|
80
|
+
Quota = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Quota").msgclass
|
81
|
+
MaintenancePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.MaintenancePolicy").msgclass
|
82
|
+
MaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.MaintenanceWindow").msgclass
|
83
|
+
RecurringTimeWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.RecurringTimeWindow").msgclass
|
84
|
+
TimeWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.TimeWindow").msgclass
|
85
|
+
ServerConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ServerConfig").msgclass
|
86
|
+
ChannelConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ChannelConfig").msgclass
|
87
|
+
Version = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.Version").msgclass
|
88
|
+
KmsKeyState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.KmsKeyState").enummodule
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -0,0 +1,81 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/edgecontainer/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/edgecontainer/v1/resources_pb'
|
12
|
+
require 'google/longrunning/operations_pb'
|
13
|
+
require 'google/protobuf/field_mask_pb'
|
14
|
+
require 'google/protobuf/timestamp_pb'
|
15
|
+
|
16
|
+
|
17
|
+
descriptor_data = "\n+google/cloud/edgecontainer/v1/service.proto\x12\x1dgoogle.cloud.edgecontainer.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/edgecontainer/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xef\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\x16requested_cancellation\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t\x12\x10\n\x08warnings\x18\x08 \x03(\t\"\x9c\x01\n\x13ListClustersRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$edgecontainer.googleapis.com/Cluster\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\x14ListClustersResponse\x12\x38\n\x08\x63lusters\x18\x01 \x03(\x0b\x32&.google.cloud.edgecontainer.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"O\n\x11GetClusterRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$edgecontainer.googleapis.com/Cluster\"\xbf\x01\n\x14\x43reateClusterRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$edgecontainer.googleapis.com/Cluster\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x07\x63luster\x18\x03 \x01(\x0b\x32&.google.cloud.edgecontainer.v1.ClusterB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x94\x01\n\x14UpdateClusterRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x37\n\x07\x63luster\x18\x02 \x01(\x0b\x32&.google.cloud.edgecontainer.v1.Cluster\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x8c\x02\n\x15UpgradeClusterRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$edgecontainer.googleapis.com/Cluster\x12\x1b\n\x0etarget_version\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12O\n\x08schedule\x18\x03 \x01(\x0e\x32=.google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"5\n\x08Schedule\x12\x18\n\x14SCHEDULE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIMMEDIATELY\x10\x01\"f\n\x14\x44\x65leteClusterRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$edgecontainer.googleapis.com/Cluster\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"[\n\x1aGenerateAccessTokenRequest\x12=\n\x07\x63luster\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$edgecontainer.googleapis.com/Cluster\"n\n\x1bGenerateAccessTokenResponse\x12\x19\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"a\n GenerateOfflineCredentialRequest\x12=\n\x07\x63luster\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$edgecontainer.googleapis.com/Cluster\"\xa9\x01\n!GenerateOfflineCredentialResponse\x12\x1f\n\x12\x63lient_certificate\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nclient_key\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07user_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\x9e\x01\n\x14ListNodePoolsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%edgecontainer.googleapis.com/NodePool\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\"\x82\x01\n\x15ListNodePoolsResponse\x12;\n\nnode_pools\x18\x01 \x03(\x0b\x32\'.google.cloud.edgecontainer.v1.NodePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x12GetNodePoolRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%edgecontainer.googleapis.com/NodePool\"\xc6\x01\n\x15\x43reateNodePoolRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%edgecontainer.googleapis.com/NodePool\x12\x19\n\x0cnode_pool_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\tnode_pool\x18\x03 \x01(\x0b\x32\'.google.cloud.edgecontainer.v1.NodePoolB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x98\x01\n\x15UpdateNodePoolRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12:\n\tnode_pool\x18\x02 \x01(\x0b\x32\'.google.cloud.edgecontainer.v1.NodePool\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"h\n\x15\x44\x65leteNodePoolRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%edgecontainer.googleapis.com/NodePool\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x9c\x01\n\x13ListMachinesRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$edgecontainer.googleapis.com/Machine\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\x14ListMachinesResponse\x12\x38\n\x08machines\x18\x01 \x03(\x0b\x32&.google.cloud.edgecontainer.v1.Machine\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"O\n\x11GetMachineRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$edgecontainer.googleapis.com/Machine\"\xa8\x01\n\x19ListVpnConnectionsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*edgecontainer.googleapis.com/VpnConnection\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\"\x91\x01\n\x1aListVpnConnectionsResponse\x12\x45\n\x0fvpn_connections\x18\x01 \x03(\x0b\x32,.google.cloud.edgecontainer.v1.VpnConnection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"[\n\x17GetVpnConnectionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*edgecontainer.googleapis.com/VpnConnection\"\xdf\x01\n\x1a\x43reateVpnConnectionRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*edgecontainer.googleapis.com/VpnConnection\x12\x1e\n\x11vpn_connection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12I\n\x0evpn_connection\x18\x03 \x01(\x0b\x32,.google.cloud.edgecontainer.v1.VpnConnectionB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"r\n\x1a\x44\x65leteVpnConnectionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*edgecontainer.googleapis.com/VpnConnection\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"Q\n\x16GetServerConfigRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location2\xfb!\n\rEdgeContainer\x12\xb6\x01\n\x0cListClusters\x12\x32.google.cloud.edgecontainer.v1.ListClustersRequest\x1a\x33.google.cloud.edgecontainer.v1.ListClustersResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/clusters\x12\xa3\x01\n\nGetCluster\x12\x30.google.cloud.edgecontainer.v1.GetClusterRequest\x1a&.google.cloud.edgecontainer.v1.Cluster\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/clusters/*}\x12\xdd\x01\n\rCreateCluster\x12\x33.google.cloud.edgecontainer.v1.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x19parent,cluster,cluster_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/clusters:\x07\x63luster\x12\xdf\x01\n\rUpdateCluster\x12\x33.google.cloud.edgecontainer.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x13\x63luster,update_mask\x82\xd3\xe4\x93\x02?24/v1/{cluster.name=projects/*/locations/*/clusters/*}:\x07\x63luster\x12\xe4\x01\n\x0eUpgradeCluster\x12\x34.google.cloud.edgecontainer.v1.UpgradeClusterRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1c\n\x07\x43luster\x12\x11OperationMetadata\xda\x41\x1cname,target_version,schedule\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/clusters/*}:upgrade:\x01*\x12\xcd\x01\n\rDeleteCluster\x12\x33.google.cloud.edgecontainer.v1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/clusters/*}\x12\xe3\x01\n\x13GenerateAccessToken\x12\x39.google.cloud.edgecontainer.v1.GenerateAccessTokenRequest\x1a:.google.cloud.edgecontainer.v1.GenerateAccessTokenResponse\"U\xda\x41\x07\x63luster\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{cluster=projects/*/locations/*/clusters/*}:generateAccessToken\x12\xfb\x01\n\x19GenerateOfflineCredential\x12?.google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest\x1a@.google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse\"[\xda\x41\x07\x63luster\x82\xd3\xe4\x93\x02K\x12I/v1/{cluster=projects/*/locations/*/clusters/*}:generateOfflineCredential\x12\xc5\x01\n\rListNodePools\x12\x33.google.cloud.edgecontainer.v1.ListNodePoolsRequest\x1a\x34.google.cloud.edgecontainer.v1.ListNodePoolsResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/clusters/*}/nodePools\x12\xb2\x01\n\x0bGetNodePool\x12\x31.google.cloud.edgecontainer.v1.GetNodePoolRequest\x1a\'.google.cloud.edgecontainer.v1.NodePool\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}\x12\xf3\x01\n\x0e\x43reateNodePool\x12\x34.google.cloud.edgecontainer.v1.CreateNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xca\x41\x1d\n\x08NodePool\x12\x11OperationMetadata\xda\x41\x1dparent,node_pool,node_pool_id\x82\xd3\xe4\x93\x02\x45\"8/v1/{parent=projects/*/locations/*/clusters/*}/nodePools:\tnode_pool\x12\xf5\x01\n\x0eUpdateNodePool\x12\x34.google.cloud.edgecontainer.v1.UpdateNodePoolRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41\x1d\n\x08NodePool\x12\x11OperationMetadata\xda\x41\x15node_pool,update_mask\x82\xd3\xe4\x93\x02O2B/v1/{node_pool.name=projects/*/locations/*/clusters/*/nodePools/*}:\tnode_pool\x12\xdb\x01\n\x0e\x44\x65leteNodePool\x12\x34.google.cloud.edgecontainer.v1.DeleteNodePoolRequest\x1a\x1d.google.longrunning.Operation\"t\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02:*8/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}\x12\xb6\x01\n\x0cListMachines\x12\x32.google.cloud.edgecontainer.v1.ListMachinesRequest\x1a\x33.google.cloud.edgecontainer.v1.ListMachinesResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/machines\x12\xa3\x01\n\nGetMachine\x12\x30.google.cloud.edgecontainer.v1.GetMachineRequest\x1a&.google.cloud.edgecontainer.v1.Machine\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/machines/*}\x12\xce\x01\n\x12ListVpnConnections\x12\x38.google.cloud.edgecontainer.v1.ListVpnConnectionsRequest\x1a\x39.google.cloud.edgecontainer.v1.ListVpnConnectionsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/vpnConnections\x12\xbb\x01\n\x10GetVpnConnection\x12\x36.google.cloud.edgecontainer.v1.GetVpnConnectionRequest\x1a,.google.cloud.edgecontainer.v1.VpnConnection\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/vpnConnections/*}\x12\x8b\x02\n\x13\x43reateVpnConnection\x12\x39.google.cloud.edgecontainer.v1.CreateVpnConnectionRequest\x1a\x1d.google.longrunning.Operation\"\x99\x01\xca\x41\"\n\rVpnConnection\x12\x11OperationMetadata\xda\x41\'parent,vpn_connection,vpn_connection_id\x82\xd3\xe4\x93\x02\x44\"2/v1/{parent=projects/*/locations/*}/vpnConnections:\x0evpn_connection\x12\xdf\x01\n\x13\x44\x65leteVpnConnection\x12\x39.google.cloud.edgecontainer.v1.DeleteVpnConnectionRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/vpnConnections/*}\x12\xb4\x01\n\x0fGetServerConfig\x12\x35.google.cloud.edgecontainer.v1.GetServerConfigRequest\x1a+.google.cloud.edgecontainer.v1.ServerConfig\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*}/serverConfig\x1aP\xca\x41\x1c\x65\x64gecontainer.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdf\x01\n!com.google.cloud.edgecontainer.v1B\x0cServiceProtoP\x01ZGcloud.google.com/go/edgecontainer/apiv1/edgecontainerpb;edgecontainerpb\xaa\x02\x1dGoogle.Cloud.EdgeContainer.V1\xca\x02\x1dGoogle\\Cloud\\EdgeContainer\\V1\xea\x02 Google::Cloud::EdgeContainer::V1b\x06proto3"
|
18
|
+
|
19
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
|
+
|
21
|
+
begin
|
22
|
+
pool.add_serialized_file(descriptor_data)
|
23
|
+
rescue TypeError
|
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.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
33
|
+
["google.cloud.edgecontainer.v1.Cluster", "google/cloud/edgecontainer/v1/resources.proto"],
|
34
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
35
|
+
]
|
36
|
+
imports.each do |type_name, expected_filename|
|
37
|
+
import_file = pool.lookup(type_name).file_descriptor
|
38
|
+
if import_file.name != expected_filename
|
39
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
43
|
+
warn "This will become an error in the next major version."
|
44
|
+
end
|
45
|
+
|
46
|
+
module Google
|
47
|
+
module Cloud
|
48
|
+
module EdgeContainer
|
49
|
+
module V1
|
50
|
+
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.OperationMetadata").msgclass
|
51
|
+
ListClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ListClustersRequest").msgclass
|
52
|
+
ListClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ListClustersResponse").msgclass
|
53
|
+
GetClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.GetClusterRequest").msgclass
|
54
|
+
CreateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.CreateClusterRequest").msgclass
|
55
|
+
UpdateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.UpdateClusterRequest").msgclass
|
56
|
+
UpgradeClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.UpgradeClusterRequest").msgclass
|
57
|
+
UpgradeClusterRequest::Schedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule").enummodule
|
58
|
+
DeleteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.DeleteClusterRequest").msgclass
|
59
|
+
GenerateAccessTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.GenerateAccessTokenRequest").msgclass
|
60
|
+
GenerateAccessTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.GenerateAccessTokenResponse").msgclass
|
61
|
+
GenerateOfflineCredentialRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.GenerateOfflineCredentialRequest").msgclass
|
62
|
+
GenerateOfflineCredentialResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse").msgclass
|
63
|
+
ListNodePoolsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ListNodePoolsRequest").msgclass
|
64
|
+
ListNodePoolsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ListNodePoolsResponse").msgclass
|
65
|
+
GetNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.GetNodePoolRequest").msgclass
|
66
|
+
CreateNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.CreateNodePoolRequest").msgclass
|
67
|
+
UpdateNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.UpdateNodePoolRequest").msgclass
|
68
|
+
DeleteNodePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.DeleteNodePoolRequest").msgclass
|
69
|
+
ListMachinesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ListMachinesRequest").msgclass
|
70
|
+
ListMachinesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ListMachinesResponse").msgclass
|
71
|
+
GetMachineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.GetMachineRequest").msgclass
|
72
|
+
ListVpnConnectionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ListVpnConnectionsRequest").msgclass
|
73
|
+
ListVpnConnectionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.ListVpnConnectionsResponse").msgclass
|
74
|
+
GetVpnConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.GetVpnConnectionRequest").msgclass
|
75
|
+
CreateVpnConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.CreateVpnConnectionRequest").msgclass
|
76
|
+
DeleteVpnConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.DeleteVpnConnectionRequest").msgclass
|
77
|
+
GetServerConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgecontainer.v1.GetServerConfigRequest").msgclass
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/edgecontainer/v1/service.proto for package 'Google.Cloud.EdgeContainer.V1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2024 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/edgecontainer/v1/service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module EdgeContainer
|
25
|
+
module V1
|
26
|
+
module EdgeContainer
|
27
|
+
# EdgeContainer API provides management of Kubernetes Clusters on Google Edge
|
28
|
+
# Cloud deployments.
|
29
|
+
class Service
|
30
|
+
|
31
|
+
include ::GRPC::GenericService
|
32
|
+
|
33
|
+
self.marshal_class_method = :encode
|
34
|
+
self.unmarshal_class_method = :decode
|
35
|
+
self.service_name = 'google.cloud.edgecontainer.v1.EdgeContainer'
|
36
|
+
|
37
|
+
# Lists Clusters in a given project and location.
|
38
|
+
rpc :ListClusters, ::Google::Cloud::EdgeContainer::V1::ListClustersRequest, ::Google::Cloud::EdgeContainer::V1::ListClustersResponse
|
39
|
+
# Gets details of a single Cluster.
|
40
|
+
rpc :GetCluster, ::Google::Cloud::EdgeContainer::V1::GetClusterRequest, ::Google::Cloud::EdgeContainer::V1::Cluster
|
41
|
+
# Creates a new Cluster in a given project and location.
|
42
|
+
rpc :CreateCluster, ::Google::Cloud::EdgeContainer::V1::CreateClusterRequest, ::Google::Longrunning::Operation
|
43
|
+
# Updates the parameters of a single Cluster.
|
44
|
+
rpc :UpdateCluster, ::Google::Cloud::EdgeContainer::V1::UpdateClusterRequest, ::Google::Longrunning::Operation
|
45
|
+
# Upgrades a single cluster.
|
46
|
+
rpc :UpgradeCluster, ::Google::Cloud::EdgeContainer::V1::UpgradeClusterRequest, ::Google::Longrunning::Operation
|
47
|
+
# Deletes a single Cluster.
|
48
|
+
rpc :DeleteCluster, ::Google::Cloud::EdgeContainer::V1::DeleteClusterRequest, ::Google::Longrunning::Operation
|
49
|
+
# Generates an access token for a Cluster.
|
50
|
+
rpc :GenerateAccessToken, ::Google::Cloud::EdgeContainer::V1::GenerateAccessTokenRequest, ::Google::Cloud::EdgeContainer::V1::GenerateAccessTokenResponse
|
51
|
+
# Generates an offline credential for a Cluster.
|
52
|
+
rpc :GenerateOfflineCredential, ::Google::Cloud::EdgeContainer::V1::GenerateOfflineCredentialRequest, ::Google::Cloud::EdgeContainer::V1::GenerateOfflineCredentialResponse
|
53
|
+
# Lists NodePools in a given project and location.
|
54
|
+
rpc :ListNodePools, ::Google::Cloud::EdgeContainer::V1::ListNodePoolsRequest, ::Google::Cloud::EdgeContainer::V1::ListNodePoolsResponse
|
55
|
+
# Gets details of a single NodePool.
|
56
|
+
rpc :GetNodePool, ::Google::Cloud::EdgeContainer::V1::GetNodePoolRequest, ::Google::Cloud::EdgeContainer::V1::NodePool
|
57
|
+
# Creates a new NodePool in a given project and location.
|
58
|
+
rpc :CreateNodePool, ::Google::Cloud::EdgeContainer::V1::CreateNodePoolRequest, ::Google::Longrunning::Operation
|
59
|
+
# Updates the parameters of a single NodePool.
|
60
|
+
rpc :UpdateNodePool, ::Google::Cloud::EdgeContainer::V1::UpdateNodePoolRequest, ::Google::Longrunning::Operation
|
61
|
+
# Deletes a single NodePool.
|
62
|
+
rpc :DeleteNodePool, ::Google::Cloud::EdgeContainer::V1::DeleteNodePoolRequest, ::Google::Longrunning::Operation
|
63
|
+
# Lists Machines in a given project and location.
|
64
|
+
rpc :ListMachines, ::Google::Cloud::EdgeContainer::V1::ListMachinesRequest, ::Google::Cloud::EdgeContainer::V1::ListMachinesResponse
|
65
|
+
# Gets details of a single Machine.
|
66
|
+
rpc :GetMachine, ::Google::Cloud::EdgeContainer::V1::GetMachineRequest, ::Google::Cloud::EdgeContainer::V1::Machine
|
67
|
+
# Lists VPN connections in a given project and location.
|
68
|
+
rpc :ListVpnConnections, ::Google::Cloud::EdgeContainer::V1::ListVpnConnectionsRequest, ::Google::Cloud::EdgeContainer::V1::ListVpnConnectionsResponse
|
69
|
+
# Gets details of a single VPN connection.
|
70
|
+
rpc :GetVpnConnection, ::Google::Cloud::EdgeContainer::V1::GetVpnConnectionRequest, ::Google::Cloud::EdgeContainer::V1::VpnConnection
|
71
|
+
# Creates a new VPN connection in a given project and location.
|
72
|
+
rpc :CreateVpnConnection, ::Google::Cloud::EdgeContainer::V1::CreateVpnConnectionRequest, ::Google::Longrunning::Operation
|
73
|
+
# Deletes a single VPN connection.
|
74
|
+
rpc :DeleteVpnConnection, ::Google::Cloud::EdgeContainer::V1::DeleteVpnConnectionRequest, ::Google::Longrunning::Operation
|
75
|
+
# Gets the server config.
|
76
|
+
rpc :GetServerConfig, ::Google::Cloud::EdgeContainer::V1::GetServerConfigRequest, ::Google::Cloud::EdgeContainer::V1::ServerConfig
|
77
|
+
end
|
78
|
+
|
79
|
+
Stub = Service.rpc_stub_class
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 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_container/v1"
|