google-cloud-network_management-v1 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/network_management/v1/version.rb +1 -1
- data/lib/google/cloud/networkmanagement/v1/connectivity_test_pb.rb +27 -42
- data/lib/google/cloud/networkmanagement/v1/reachability_pb.rb +27 -40
- data/lib/google/cloud/networkmanagement/v1/trace_pb.rb +24 -285
- data/proto_docs/google/api/client.rb +10 -1
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c85e52a157eeb78012417dd74e1a8c2319b4e548e30b1f07e52ef72a7827574c
|
4
|
+
data.tar.gz: bbddee1f8b404e0a2d384d29045b6d63b4eb4c5cd118c6532d26efd56a02992d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 990f335b963b02caaeb52c0febf8461a0fb4f8d3c50710a5f163c633321f6bcd9a55f13be2256ec61ae31ae6b5b3065e6b9111cae82b6ec5c2245772c62dbbeb
|
7
|
+
data.tar.gz: 4fb39d53f319a32bd0a689d0852026937794bd8eb58e70c1a04c31e22e4576eec64c7aedc2d8a159b15fa2323f5c78dbdbc5ff3eab6ed061d94a333ba0ae5777
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/networkmanagement/v1/connectivity_test.proto
|
3
4
|
|
@@ -9,50 +10,34 @@ require 'google/cloud/networkmanagement/v1/trace_pb'
|
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
require 'google/rpc/status_pb'
|
11
12
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
end
|
37
|
-
add_enum "google.cloud.networkmanagement.v1.Endpoint.NetworkType" do
|
38
|
-
value :NETWORK_TYPE_UNSPECIFIED, 0
|
39
|
-
value :GCP_NETWORK, 1
|
40
|
-
value :NON_GCP_NETWORK, 2
|
41
|
-
end
|
42
|
-
add_message "google.cloud.networkmanagement.v1.ReachabilityDetails" do
|
43
|
-
optional :result, :enum, 1, "google.cloud.networkmanagement.v1.ReachabilityDetails.Result"
|
44
|
-
optional :verify_time, :message, 2, "google.protobuf.Timestamp"
|
45
|
-
optional :error, :message, 3, "google.rpc.Status"
|
46
|
-
repeated :traces, :message, 5, "google.cloud.networkmanagement.v1.Trace"
|
47
|
-
end
|
48
|
-
add_enum "google.cloud.networkmanagement.v1.ReachabilityDetails.Result" do
|
49
|
-
value :RESULT_UNSPECIFIED, 0
|
50
|
-
value :REACHABLE, 1
|
51
|
-
value :UNREACHABLE, 2
|
52
|
-
value :AMBIGUOUS, 4
|
53
|
-
value :UNDETERMINED, 5
|
13
|
+
|
14
|
+
descriptor_data = "\n9google/cloud/networkmanagement/v1/connectivity_test.proto\x12!google.cloud.networkmanagement.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/networkmanagement/v1/trace.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xc7\x05\n\x10\x43onnectivityTest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12@\n\x06source\x18\x03 \x01(\x0b\x32+.google.cloud.networkmanagement.v1.EndpointB\x03\xe0\x41\x02\x12\x45\n\x0b\x64\x65stination\x18\x04 \x01(\x0b\x32+.google.cloud.networkmanagement.v1.EndpointB\x03\xe0\x41\x02\x12\x10\n\x08protocol\x18\x05 \x01(\t\x12\x18\n\x10related_projects\x18\x06 \x03(\t\x12\x19\n\x0c\x64isplay_name\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12O\n\x06labels\x18\x08 \x03(\x0b\x32?.google.cloud.networkmanagement.v1.ConnectivityTest.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Y\n\x14reachability_details\x18\x0c \x01(\x0b\x32\x36.google.cloud.networkmanagement.v1.ReachabilityDetailsB\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:t\xea\x41q\n1networkmanagement.googleapis.com/ConnectivityTest\x12<projects/{project}/locations/global/connectivityTests/{test}\"\xbd\x02\n\x08\x45ndpoint\x12\x12\n\nip_address\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x10\n\x08instance\x18\x03 \x01(\t\x12\x1a\n\x12gke_master_cluster\x18\x07 \x01(\t\x12\x1a\n\x12\x63loud_sql_instance\x18\x08 \x01(\t\x12\x0f\n\x07network\x18\x04 \x01(\t\x12M\n\x0cnetwork_type\x18\x05 \x01(\x0e\x32\x37.google.cloud.networkmanagement.v1.Endpoint.NetworkType\x12\x12\n\nproject_id\x18\x06 \x01(\t\"Q\n\x0bNetworkType\x12\x1c\n\x18NETWORK_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bGCP_NETWORK\x10\x01\x12\x13\n\x0fNON_GCP_NETWORK\x10\x02\"\xd5\x02\n\x13ReachabilityDetails\x12M\n\x06result\x18\x01 \x01(\x0e\x32=.google.cloud.networkmanagement.v1.ReachabilityDetails.Result\x12/\n\x0bverify_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12!\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12\x38\n\x06traces\x18\x05 \x03(\x0b\x32(.google.cloud.networkmanagement.v1.Trace\"a\n\x06Result\x12\x16\n\x12RESULT_UNSPECIFIED\x10\x00\x12\r\n\tREACHABLE\x10\x01\x12\x0f\n\x0bUNREACHABLE\x10\x02\x12\r\n\tAMBIGUOUS\x10\x04\x12\x10\n\x0cUNDETERMINED\x10\x05\x42\xfd\x01\n%com.google.cloud.networkmanagement.v1B\x0eTestOuterClassP\x01ZScloud.google.com/go/networkmanagement/apiv1/networkmanagementpb;networkmanagementpb\xaa\x02!Google.Cloud.NetworkManagement.V1\xca\x02!Google\\Cloud\\NetworkManagement\\V1\xea\x02$Google::Cloud::NetworkManagement::V1b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError => e
|
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.cloud.networkmanagement.v1.Trace", "google/cloud/networkmanagement/v1/trace.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}"
|
54
37
|
end
|
55
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."
|
56
41
|
end
|
57
42
|
|
58
43
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/networkmanagement/v1/reachability.proto
|
3
4
|
|
@@ -11,48 +12,34 @@ require 'google/longrunning/operations_pb'
|
|
11
12
|
require 'google/protobuf/field_mask_pb'
|
12
13
|
require 'google/protobuf/timestamp_pb'
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
optional :resource, :message, 2, "google.cloud.networkmanagement.v1.ConnectivityTest"
|
39
|
-
end
|
40
|
-
add_message "google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest" do
|
41
|
-
optional :name, :string, 1
|
42
|
-
end
|
43
|
-
add_message "google.cloud.networkmanagement.v1.RerunConnectivityTestRequest" do
|
44
|
-
optional :name, :string, 1
|
45
|
-
end
|
46
|
-
add_message "google.cloud.networkmanagement.v1.OperationMetadata" do
|
47
|
-
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
48
|
-
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
49
|
-
optional :target, :string, 3
|
50
|
-
optional :verb, :string, 4
|
51
|
-
optional :status_detail, :string, 5
|
52
|
-
optional :cancel_requested, :bool, 6
|
53
|
-
optional :api_version, :string, 7
|
15
|
+
|
16
|
+
descriptor_data = "\n4google/cloud/networkmanagement/v1/reachability.proto\x12!google.cloud.networkmanagement.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x39google/cloud/networkmanagement/v1/connectivity_test.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"|\n\x1cListConnectivityTestsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\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\"\x95\x01\n\x1dListConnectivityTestsResponse\x12\x46\n\tresources\x18\x01 \x03(\x0b\x32\x33.google.cloud.networkmanagement.v1.ConnectivityTest\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"/\n\x1aGetConnectivityTestRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x96\x01\n\x1d\x43reateConnectivityTestRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07test_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\x08resource\x18\x03 \x01(\x0b\x32\x33.google.cloud.networkmanagement.v1.ConnectivityTestB\x03\xe0\x41\x02\"\xa1\x01\n\x1dUpdateConnectivityTestRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12J\n\x08resource\x18\x02 \x01(\x0b\x32\x33.google.cloud.networkmanagement.v1.ConnectivityTestB\x03\xe0\x41\x02\"2\n\x1d\x44\x65leteConnectivityTestRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"1\n\x1cRerunConnectivityTestRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xd6\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\x15\n\rstatus_detail\x18\x05 \x01(\t\x12\x18\n\x10\x63\x61ncel_requested\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t2\x96\r\n\x13ReachabilityService\x12\xe7\x01\n\x15ListConnectivityTests\x12?.google.cloud.networkmanagement.v1.ListConnectivityTestsRequest\x1a@.google.cloud.networkmanagement.v1.ListConnectivityTestsResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/locations/global}/connectivityTests\xda\x41\x06parent\x12\xd4\x01\n\x13GetConnectivityTest\x12=.google.cloud.networkmanagement.v1.GetConnectivityTestRequest\x1a\x33.google.cloud.networkmanagement.v1.ConnectivityTest\"I\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/locations/global/connectivityTests/*}\xda\x41\x04name\x12\xac\x02\n\x16\x43reateConnectivityTest\x12@.google.cloud.networkmanagement.v1.CreateConnectivityTestRequest\x1a\x1d.google.longrunning.Operation\"\xb0\x01\x82\xd3\xe4\x93\x02\x46\":/v1/{parent=projects/*/locations/global}/connectivityTests:\x08resource\xda\x41\x17parent,test_id,resource\xca\x41G\n2google.cloud.networkmanagement.v1.ConnectivityTest\x12\x11OperationMetadata\x12\xb2\x02\n\x16UpdateConnectivityTest\x12@.google.cloud.networkmanagement.v1.UpdateConnectivityTestRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\x82\xd3\xe4\x93\x02O2C/v1/{resource.name=projects/*/locations/global/connectivityTests/*}:\x08resource\xda\x41\x14update_mask,resource\xca\x41G\n2google.cloud.networkmanagement.v1.ConnectivityTest\x12\x11OperationMetadata\x12\x8f\x02\n\x15RerunConnectivityTest\x12?.google.cloud.networkmanagement.v1.RerunConnectivityTestRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\x82\xd3\xe4\x93\x02\x45\"@/v1/{name=projects/*/locations/global/connectivityTests/*}:rerun:\x01*\xca\x41G\n2google.cloud.networkmanagement.v1.ConnectivityTest\x12\x11OperationMetadata\x12\xf1\x01\n\x16\x44\x65leteConnectivityTest\x12@.google.cloud.networkmanagement.v1.DeleteConnectivityTestRequest\x1a\x1d.google.longrunning.Operation\"v\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/locations/global/connectivityTests/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x1aT\xca\x41 networkmanagement.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x87\x02\n%com.google.cloud.networkmanagement.v1B\x18ReachabilityServiceProtoP\x01ZScloud.google.com/go/networkmanagement/apiv1/networkmanagementpb;networkmanagementpb\xaa\x02!Google.Cloud.NetworkManagement.V1\xca\x02!Google\\Cloud\\NetworkManagement\\V1\xea\x02$Google::Cloud::NetworkManagement::V1b\x06proto3"
|
17
|
+
|
18
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
|
+
|
20
|
+
begin
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
22
|
+
rescue TypeError => e
|
23
|
+
# Compatibility code: will be removed in the next major version.
|
24
|
+
require 'google/protobuf/descriptor_pb'
|
25
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
26
|
+
parsed.clear_dependency
|
27
|
+
serialized = parsed.class.encode(parsed)
|
28
|
+
file = pool.add_serialized_file(serialized)
|
29
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
30
|
+
imports = [
|
31
|
+
["google.cloud.networkmanagement.v1.ConnectivityTest", "google/cloud/networkmanagement/v1/connectivity_test.proto"],
|
32
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
33
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
34
|
+
]
|
35
|
+
imports.each do |type_name, expected_filename|
|
36
|
+
import_file = pool.lookup(type_name).file_descriptor
|
37
|
+
if import_file.name != expected_filename
|
38
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
54
39
|
end
|
55
40
|
end
|
41
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
42
|
+
warn "This will become an error in the next major version."
|
56
43
|
end
|
57
44
|
|
58
45
|
module Google
|
@@ -1,295 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/networkmanagement/v1/trace.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
add_file("google/cloud/networkmanagement/v1/trace.proto", :syntax => :proto3) do
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
optional :abort, :message, 14, "google.cloud.networkmanagement.v1.AbortInfo"
|
28
|
-
optional :drop, :message, 15, "google.cloud.networkmanagement.v1.DropInfo"
|
29
|
-
optional :load_balancer, :message, 16, "google.cloud.networkmanagement.v1.LoadBalancerInfo"
|
30
|
-
optional :network, :message, 17, "google.cloud.networkmanagement.v1.NetworkInfo"
|
31
|
-
optional :gke_master, :message, 18, "google.cloud.networkmanagement.v1.GKEMasterInfo"
|
32
|
-
optional :cloud_sql_instance, :message, 19, "google.cloud.networkmanagement.v1.CloudSQLInstanceInfo"
|
33
|
-
end
|
34
|
-
end
|
35
|
-
add_enum "google.cloud.networkmanagement.v1.Step.State" do
|
36
|
-
value :STATE_UNSPECIFIED, 0
|
37
|
-
value :START_FROM_INSTANCE, 1
|
38
|
-
value :START_FROM_INTERNET, 2
|
39
|
-
value :START_FROM_PRIVATE_NETWORK, 3
|
40
|
-
value :START_FROM_GKE_MASTER, 21
|
41
|
-
value :START_FROM_CLOUD_SQL_INSTANCE, 22
|
42
|
-
value :APPLY_INGRESS_FIREWALL_RULE, 4
|
43
|
-
value :APPLY_EGRESS_FIREWALL_RULE, 5
|
44
|
-
value :APPLY_ROUTE, 6
|
45
|
-
value :APPLY_FORWARDING_RULE, 7
|
46
|
-
value :SPOOFING_APPROVED, 8
|
47
|
-
value :ARRIVE_AT_INSTANCE, 9
|
48
|
-
value :ARRIVE_AT_INTERNAL_LOAD_BALANCER, 10
|
49
|
-
value :ARRIVE_AT_EXTERNAL_LOAD_BALANCER, 11
|
50
|
-
value :ARRIVE_AT_VPN_GATEWAY, 12
|
51
|
-
value :ARRIVE_AT_VPN_TUNNEL, 13
|
52
|
-
value :NAT, 14
|
53
|
-
value :PROXY_CONNECTION, 15
|
54
|
-
value :DELIVER, 16
|
55
|
-
value :DROP, 17
|
56
|
-
value :FORWARD, 18
|
57
|
-
value :ABORT, 19
|
58
|
-
value :VIEWER_PERMISSION_MISSING, 20
|
59
|
-
end
|
60
|
-
add_message "google.cloud.networkmanagement.v1.InstanceInfo" do
|
61
|
-
optional :display_name, :string, 1
|
62
|
-
optional :uri, :string, 2
|
63
|
-
optional :interface, :string, 3
|
64
|
-
optional :network_uri, :string, 4
|
65
|
-
optional :internal_ip, :string, 5
|
66
|
-
optional :external_ip, :string, 6
|
67
|
-
repeated :network_tags, :string, 7
|
68
|
-
optional :service_account, :string, 8
|
69
|
-
end
|
70
|
-
add_message "google.cloud.networkmanagement.v1.NetworkInfo" do
|
71
|
-
optional :display_name, :string, 1
|
72
|
-
optional :uri, :string, 2
|
73
|
-
optional :matched_ip_range, :string, 4
|
74
|
-
end
|
75
|
-
add_message "google.cloud.networkmanagement.v1.FirewallInfo" do
|
76
|
-
optional :display_name, :string, 1
|
77
|
-
optional :uri, :string, 2
|
78
|
-
optional :direction, :string, 3
|
79
|
-
optional :action, :string, 4
|
80
|
-
optional :priority, :int32, 5
|
81
|
-
optional :network_uri, :string, 6
|
82
|
-
repeated :target_tags, :string, 7
|
83
|
-
repeated :target_service_accounts, :string, 8
|
84
|
-
optional :policy, :string, 9
|
85
|
-
optional :firewall_rule_type, :enum, 10, "google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType"
|
86
|
-
end
|
87
|
-
add_enum "google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType" do
|
88
|
-
value :FIREWALL_RULE_TYPE_UNSPECIFIED, 0
|
89
|
-
value :HIERARCHICAL_FIREWALL_POLICY_RULE, 1
|
90
|
-
value :VPC_FIREWALL_RULE, 2
|
91
|
-
value :IMPLIED_VPC_FIREWALL_RULE, 3
|
92
|
-
end
|
93
|
-
add_message "google.cloud.networkmanagement.v1.RouteInfo" do
|
94
|
-
optional :route_type, :enum, 8, "google.cloud.networkmanagement.v1.RouteInfo.RouteType"
|
95
|
-
optional :next_hop_type, :enum, 9, "google.cloud.networkmanagement.v1.RouteInfo.NextHopType"
|
96
|
-
optional :display_name, :string, 1
|
97
|
-
optional :uri, :string, 2
|
98
|
-
optional :dest_ip_range, :string, 3
|
99
|
-
optional :next_hop, :string, 4
|
100
|
-
optional :network_uri, :string, 5
|
101
|
-
optional :priority, :int32, 6
|
102
|
-
repeated :instance_tags, :string, 7
|
103
|
-
end
|
104
|
-
add_enum "google.cloud.networkmanagement.v1.RouteInfo.RouteType" do
|
105
|
-
value :ROUTE_TYPE_UNSPECIFIED, 0
|
106
|
-
value :SUBNET, 1
|
107
|
-
value :STATIC, 2
|
108
|
-
value :DYNAMIC, 3
|
109
|
-
value :PEERING_SUBNET, 4
|
110
|
-
value :PEERING_STATIC, 5
|
111
|
-
value :PEERING_DYNAMIC, 6
|
112
|
-
end
|
113
|
-
add_enum "google.cloud.networkmanagement.v1.RouteInfo.NextHopType" do
|
114
|
-
value :NEXT_HOP_TYPE_UNSPECIFIED, 0
|
115
|
-
value :NEXT_HOP_IP, 1
|
116
|
-
value :NEXT_HOP_INSTANCE, 2
|
117
|
-
value :NEXT_HOP_NETWORK, 3
|
118
|
-
value :NEXT_HOP_PEERING, 4
|
119
|
-
value :NEXT_HOP_INTERCONNECT, 5
|
120
|
-
value :NEXT_HOP_VPN_TUNNEL, 6
|
121
|
-
value :NEXT_HOP_VPN_GATEWAY, 7
|
122
|
-
value :NEXT_HOP_INTERNET_GATEWAY, 8
|
123
|
-
value :NEXT_HOP_BLACKHOLE, 9
|
124
|
-
value :NEXT_HOP_ILB, 10
|
125
|
-
value :NEXT_HOP_ROUTER_APPLIANCE, 11
|
126
|
-
end
|
127
|
-
add_message "google.cloud.networkmanagement.v1.ForwardingRuleInfo" do
|
128
|
-
optional :display_name, :string, 1
|
129
|
-
optional :uri, :string, 2
|
130
|
-
optional :matched_protocol, :string, 3
|
131
|
-
optional :matched_port_range, :string, 6
|
132
|
-
optional :vip, :string, 4
|
133
|
-
optional :target, :string, 5
|
134
|
-
optional :network_uri, :string, 7
|
135
|
-
end
|
136
|
-
add_message "google.cloud.networkmanagement.v1.LoadBalancerInfo" do
|
137
|
-
optional :load_balancer_type, :enum, 1, "google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType"
|
138
|
-
optional :health_check_uri, :string, 2
|
139
|
-
repeated :backends, :message, 3, "google.cloud.networkmanagement.v1.LoadBalancerBackend"
|
140
|
-
optional :backend_type, :enum, 4, "google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType"
|
141
|
-
optional :backend_uri, :string, 5
|
142
|
-
end
|
143
|
-
add_enum "google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType" do
|
144
|
-
value :LOAD_BALANCER_TYPE_UNSPECIFIED, 0
|
145
|
-
value :INTERNAL_TCP_UDP, 1
|
146
|
-
value :NETWORK_TCP_UDP, 2
|
147
|
-
value :HTTP_PROXY, 3
|
148
|
-
value :TCP_PROXY, 4
|
149
|
-
value :SSL_PROXY, 5
|
150
|
-
end
|
151
|
-
add_enum "google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType" do
|
152
|
-
value :BACKEND_TYPE_UNSPECIFIED, 0
|
153
|
-
value :BACKEND_SERVICE, 1
|
154
|
-
value :TARGET_POOL, 2
|
155
|
-
end
|
156
|
-
add_message "google.cloud.networkmanagement.v1.LoadBalancerBackend" do
|
157
|
-
optional :display_name, :string, 1
|
158
|
-
optional :uri, :string, 2
|
159
|
-
optional :health_check_firewall_state, :enum, 3, "google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState"
|
160
|
-
repeated :health_check_allowing_firewall_rules, :string, 4
|
161
|
-
repeated :health_check_blocking_firewall_rules, :string, 5
|
162
|
-
end
|
163
|
-
add_enum "google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState" do
|
164
|
-
value :HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED, 0
|
165
|
-
value :CONFIGURED, 1
|
166
|
-
value :MISCONFIGURED, 2
|
167
|
-
end
|
168
|
-
add_message "google.cloud.networkmanagement.v1.VpnGatewayInfo" do
|
169
|
-
optional :display_name, :string, 1
|
170
|
-
optional :uri, :string, 2
|
171
|
-
optional :network_uri, :string, 3
|
172
|
-
optional :ip_address, :string, 4
|
173
|
-
optional :vpn_tunnel_uri, :string, 5
|
174
|
-
optional :region, :string, 6
|
175
|
-
end
|
176
|
-
add_message "google.cloud.networkmanagement.v1.VpnTunnelInfo" do
|
177
|
-
optional :display_name, :string, 1
|
178
|
-
optional :uri, :string, 2
|
179
|
-
optional :source_gateway, :string, 3
|
180
|
-
optional :remote_gateway, :string, 4
|
181
|
-
optional :remote_gateway_ip, :string, 5
|
182
|
-
optional :source_gateway_ip, :string, 6
|
183
|
-
optional :network_uri, :string, 7
|
184
|
-
optional :region, :string, 8
|
185
|
-
optional :routing_type, :enum, 9, "google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType"
|
186
|
-
end
|
187
|
-
add_enum "google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType" do
|
188
|
-
value :ROUTING_TYPE_UNSPECIFIED, 0
|
189
|
-
value :ROUTE_BASED, 1
|
190
|
-
value :POLICY_BASED, 2
|
191
|
-
value :DYNAMIC, 3
|
192
|
-
end
|
193
|
-
add_message "google.cloud.networkmanagement.v1.EndpointInfo" do
|
194
|
-
optional :source_ip, :string, 1
|
195
|
-
optional :destination_ip, :string, 2
|
196
|
-
optional :protocol, :string, 3
|
197
|
-
optional :source_port, :int32, 4
|
198
|
-
optional :destination_port, :int32, 5
|
199
|
-
optional :source_network_uri, :string, 6
|
200
|
-
optional :destination_network_uri, :string, 7
|
201
|
-
end
|
202
|
-
add_message "google.cloud.networkmanagement.v1.DeliverInfo" do
|
203
|
-
optional :target, :enum, 1, "google.cloud.networkmanagement.v1.DeliverInfo.Target"
|
204
|
-
optional :resource_uri, :string, 2
|
205
|
-
end
|
206
|
-
add_enum "google.cloud.networkmanagement.v1.DeliverInfo.Target" do
|
207
|
-
value :TARGET_UNSPECIFIED, 0
|
208
|
-
value :INSTANCE, 1
|
209
|
-
value :INTERNET, 2
|
210
|
-
value :GOOGLE_API, 3
|
211
|
-
value :GKE_MASTER, 4
|
212
|
-
value :CLOUD_SQL_INSTANCE, 5
|
213
|
-
end
|
214
|
-
add_message "google.cloud.networkmanagement.v1.ForwardInfo" do
|
215
|
-
optional :target, :enum, 1, "google.cloud.networkmanagement.v1.ForwardInfo.Target"
|
216
|
-
optional :resource_uri, :string, 2
|
217
|
-
end
|
218
|
-
add_enum "google.cloud.networkmanagement.v1.ForwardInfo.Target" do
|
219
|
-
value :TARGET_UNSPECIFIED, 0
|
220
|
-
value :PEERING_VPC, 1
|
221
|
-
value :VPN_GATEWAY, 2
|
222
|
-
value :INTERCONNECT, 3
|
223
|
-
value :GKE_MASTER, 4
|
224
|
-
value :IMPORTED_CUSTOM_ROUTE_NEXT_HOP, 5
|
225
|
-
value :CLOUD_SQL_INSTANCE, 6
|
226
|
-
end
|
227
|
-
add_message "google.cloud.networkmanagement.v1.AbortInfo" do
|
228
|
-
optional :cause, :enum, 1, "google.cloud.networkmanagement.v1.AbortInfo.Cause"
|
229
|
-
optional :resource_uri, :string, 2
|
230
|
-
repeated :projects_missing_permission, :string, 3
|
231
|
-
end
|
232
|
-
add_enum "google.cloud.networkmanagement.v1.AbortInfo.Cause" do
|
233
|
-
value :CAUSE_UNSPECIFIED, 0
|
234
|
-
value :UNKNOWN_NETWORK, 1
|
235
|
-
value :UNKNOWN_IP, 2
|
236
|
-
value :UNKNOWN_PROJECT, 3
|
237
|
-
value :PERMISSION_DENIED, 4
|
238
|
-
value :NO_SOURCE_LOCATION, 5
|
239
|
-
value :INVALID_ARGUMENT, 6
|
240
|
-
value :NO_EXTERNAL_IP, 7
|
241
|
-
value :UNINTENDED_DESTINATION, 8
|
242
|
-
value :TRACE_TOO_LONG, 9
|
243
|
-
value :INTERNAL_ERROR, 10
|
244
|
-
value :SOURCE_ENDPOINT_NOT_FOUND, 11
|
245
|
-
value :MISMATCHED_SOURCE_NETWORK, 12
|
246
|
-
value :DESTINATION_ENDPOINT_NOT_FOUND, 13
|
247
|
-
value :MISMATCHED_DESTINATION_NETWORK, 14
|
248
|
-
value :UNSUPPORTED, 15
|
249
|
-
end
|
250
|
-
add_message "google.cloud.networkmanagement.v1.DropInfo" do
|
251
|
-
optional :cause, :enum, 1, "google.cloud.networkmanagement.v1.DropInfo.Cause"
|
252
|
-
optional :resource_uri, :string, 2
|
253
|
-
end
|
254
|
-
add_enum "google.cloud.networkmanagement.v1.DropInfo.Cause" do
|
255
|
-
value :CAUSE_UNSPECIFIED, 0
|
256
|
-
value :UNKNOWN_EXTERNAL_ADDRESS, 1
|
257
|
-
value :FOREIGN_IP_DISALLOWED, 2
|
258
|
-
value :FIREWALL_RULE, 3
|
259
|
-
value :NO_ROUTE, 4
|
260
|
-
value :ROUTE_BLACKHOLE, 5
|
261
|
-
value :ROUTE_WRONG_NETWORK, 6
|
262
|
-
value :PRIVATE_TRAFFIC_TO_INTERNET, 7
|
263
|
-
value :PRIVATE_GOOGLE_ACCESS_DISALLOWED, 8
|
264
|
-
value :NO_EXTERNAL_ADDRESS, 9
|
265
|
-
value :UNKNOWN_INTERNAL_ADDRESS, 10
|
266
|
-
value :FORWARDING_RULE_MISMATCH, 11
|
267
|
-
value :FORWARDING_RULE_NO_INSTANCES, 12
|
268
|
-
value :FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK, 13
|
269
|
-
value :INSTANCE_NOT_RUNNING, 14
|
270
|
-
value :TRAFFIC_TYPE_BLOCKED, 15
|
271
|
-
value :GKE_MASTER_UNAUTHORIZED_ACCESS, 16
|
272
|
-
value :CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS, 17
|
273
|
-
value :DROPPED_INSIDE_GKE_SERVICE, 18
|
274
|
-
value :DROPPED_INSIDE_CLOUD_SQL_SERVICE, 19
|
275
|
-
value :GOOGLE_MANAGED_SERVICE_NO_PEERING, 20
|
276
|
-
value :CLOUD_SQL_INSTANCE_NO_IP_ADDRESS, 21
|
277
|
-
end
|
278
|
-
add_message "google.cloud.networkmanagement.v1.GKEMasterInfo" do
|
279
|
-
optional :cluster_uri, :string, 2
|
280
|
-
optional :cluster_network_uri, :string, 4
|
281
|
-
optional :internal_ip, :string, 5
|
282
|
-
optional :external_ip, :string, 6
|
283
|
-
end
|
284
|
-
add_message "google.cloud.networkmanagement.v1.CloudSQLInstanceInfo" do
|
285
|
-
optional :display_name, :string, 1
|
286
|
-
optional :uri, :string, 2
|
287
|
-
optional :network_uri, :string, 4
|
288
|
-
optional :internal_ip, :string, 5
|
289
|
-
optional :external_ip, :string, 6
|
290
|
-
optional :region, :string, 7
|
7
|
+
|
8
|
+
descriptor_data = "\n-google/cloud/networkmanagement/v1/trace.proto\x12!google.cloud.networkmanagement.v1\"\x87\x01\n\x05Trace\x12\x46\n\rendpoint_info\x18\x01 \x01(\x0b\x32/.google.cloud.networkmanagement.v1.EndpointInfo\x12\x36\n\x05steps\x18\x02 \x03(\x0b\x32\'.google.cloud.networkmanagement.v1.Step\"\xee\r\n\x04Step\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12<\n\x05state\x18\x02 \x01(\x0e\x32-.google.cloud.networkmanagement.v1.Step.State\x12\x13\n\x0b\x63\x61uses_drop\x18\x03 \x01(\x08\x12\x12\n\nproject_id\x18\x04 \x01(\t\x12\x43\n\x08instance\x18\x05 \x01(\x0b\x32/.google.cloud.networkmanagement.v1.InstanceInfoH\x00\x12\x43\n\x08\x66irewall\x18\x06 \x01(\x0b\x32/.google.cloud.networkmanagement.v1.FirewallInfoH\x00\x12=\n\x05route\x18\x07 \x01(\x0b\x32,.google.cloud.networkmanagement.v1.RouteInfoH\x00\x12\x43\n\x08\x65ndpoint\x18\x08 \x01(\x0b\x32/.google.cloud.networkmanagement.v1.EndpointInfoH\x00\x12P\n\x0f\x66orwarding_rule\x18\t \x01(\x0b\x32\x35.google.cloud.networkmanagement.v1.ForwardingRuleInfoH\x00\x12H\n\x0bvpn_gateway\x18\n \x01(\x0b\x32\x31.google.cloud.networkmanagement.v1.VpnGatewayInfoH\x00\x12\x46\n\nvpn_tunnel\x18\x0b \x01(\x0b\x32\x30.google.cloud.networkmanagement.v1.VpnTunnelInfoH\x00\x12\x41\n\x07\x64\x65liver\x18\x0c \x01(\x0b\x32..google.cloud.networkmanagement.v1.DeliverInfoH\x00\x12\x41\n\x07\x66orward\x18\r \x01(\x0b\x32..google.cloud.networkmanagement.v1.ForwardInfoH\x00\x12=\n\x05\x61\x62ort\x18\x0e \x01(\x0b\x32,.google.cloud.networkmanagement.v1.AbortInfoH\x00\x12;\n\x04\x64rop\x18\x0f \x01(\x0b\x32+.google.cloud.networkmanagement.v1.DropInfoH\x00\x12L\n\rload_balancer\x18\x10 \x01(\x0b\x32\x33.google.cloud.networkmanagement.v1.LoadBalancerInfoH\x00\x12\x41\n\x07network\x18\x11 \x01(\x0b\x32..google.cloud.networkmanagement.v1.NetworkInfoH\x00\x12\x46\n\ngke_master\x18\x12 \x01(\x0b\x32\x30.google.cloud.networkmanagement.v1.GKEMasterInfoH\x00\x12U\n\x12\x63loud_sql_instance\x18\x13 \x01(\x0b\x32\x37.google.cloud.networkmanagement.v1.CloudSQLInstanceInfoH\x00\"\xb8\x04\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x17\n\x13START_FROM_INSTANCE\x10\x01\x12\x17\n\x13START_FROM_INTERNET\x10\x02\x12\x1e\n\x1aSTART_FROM_PRIVATE_NETWORK\x10\x03\x12\x19\n\x15START_FROM_GKE_MASTER\x10\x15\x12!\n\x1dSTART_FROM_CLOUD_SQL_INSTANCE\x10\x16\x12\x1f\n\x1b\x41PPLY_INGRESS_FIREWALL_RULE\x10\x04\x12\x1e\n\x1a\x41PPLY_EGRESS_FIREWALL_RULE\x10\x05\x12\x0f\n\x0b\x41PPLY_ROUTE\x10\x06\x12\x19\n\x15\x41PPLY_FORWARDING_RULE\x10\x07\x12\x15\n\x11SPOOFING_APPROVED\x10\x08\x12\x16\n\x12\x41RRIVE_AT_INSTANCE\x10\t\x12$\n ARRIVE_AT_INTERNAL_LOAD_BALANCER\x10\n\x12$\n ARRIVE_AT_EXTERNAL_LOAD_BALANCER\x10\x0b\x12\x19\n\x15\x41RRIVE_AT_VPN_GATEWAY\x10\x0c\x12\x18\n\x14\x41RRIVE_AT_VPN_TUNNEL\x10\r\x12\x07\n\x03NAT\x10\x0e\x12\x14\n\x10PROXY_CONNECTION\x10\x0f\x12\x0b\n\x07\x44\x45LIVER\x10\x10\x12\x08\n\x04\x44ROP\x10\x11\x12\x0b\n\x07\x46ORWARD\x10\x12\x12\t\n\x05\x41\x42ORT\x10\x13\x12\x1d\n\x19VIEWER_PERMISSION_MISSING\x10\x14\x42\x0b\n\tstep_info\"\xb6\x01\n\x0cInstanceInfo\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x11\n\tinterface\x18\x03 \x01(\t\x12\x13\n\x0bnetwork_uri\x18\x04 \x01(\t\x12\x13\n\x0binternal_ip\x18\x05 \x01(\t\x12\x13\n\x0b\x65xternal_ip\x18\x06 \x01(\t\x12\x14\n\x0cnetwork_tags\x18\x07 \x03(\t\x12\x1b\n\x0fservice_account\x18\x08 \x01(\tB\x02\x18\x01\"J\n\x0bNetworkInfo\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x18\n\x10matched_ip_range\x18\x04 \x01(\t\"\xb5\x03\n\x0c\x46irewallInfo\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x04 \x01(\t\x12\x10\n\x08priority\x18\x05 \x01(\x05\x12\x13\n\x0bnetwork_uri\x18\x06 \x01(\t\x12\x13\n\x0btarget_tags\x18\x07 \x03(\t\x12\x1f\n\x17target_service_accounts\x18\x08 \x03(\t\x12\x0e\n\x06policy\x18\t \x01(\t\x12\\\n\x12\x66irewall_rule_type\x18\n \x01(\x0e\x32@.google.cloud.networkmanagement.v1.FirewallInfo.FirewallRuleType\"\x93\x01\n\x10\x46irewallRuleType\x12\"\n\x1e\x46IREWALL_RULE_TYPE_UNSPECIFIED\x10\x00\x12%\n!HIERARCHICAL_FIREWALL_POLICY_RULE\x10\x01\x12\x15\n\x11VPC_FIREWALL_RULE\x10\x02\x12\x1d\n\x19IMPLIED_VPC_FIREWALL_RULE\x10\x03\"\xf7\x05\n\tRouteInfo\x12J\n\nroute_type\x18\x08 \x01(\x0e\x32\x36.google.cloud.networkmanagement.v1.RouteInfo.RouteType\x12O\n\rnext_hop_type\x18\t \x01(\x0e\x32\x38.google.cloud.networkmanagement.v1.RouteInfo.NextHopType\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x15\n\rdest_ip_range\x18\x03 \x01(\t\x12\x10\n\x08next_hop\x18\x04 \x01(\t\x12\x13\n\x0bnetwork_uri\x18\x05 \x01(\t\x12\x10\n\x08priority\x18\x06 \x01(\x05\x12\x15\n\rinstance_tags\x18\x07 \x03(\t\"\x89\x01\n\tRouteType\x12\x1a\n\x16ROUTE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06SUBNET\x10\x01\x12\n\n\x06STATIC\x10\x02\x12\x0b\n\x07\x44YNAMIC\x10\x03\x12\x12\n\x0ePEERING_SUBNET\x10\x04\x12\x12\n\x0ePEERING_STATIC\x10\x05\x12\x13\n\x0fPEERING_DYNAMIC\x10\x06\"\xb6\x02\n\x0bNextHopType\x12\x1d\n\x19NEXT_HOP_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNEXT_HOP_IP\x10\x01\x12\x15\n\x11NEXT_HOP_INSTANCE\x10\x02\x12\x14\n\x10NEXT_HOP_NETWORK\x10\x03\x12\x14\n\x10NEXT_HOP_PEERING\x10\x04\x12\x19\n\x15NEXT_HOP_INTERCONNECT\x10\x05\x12\x17\n\x13NEXT_HOP_VPN_TUNNEL\x10\x06\x12\x18\n\x14NEXT_HOP_VPN_GATEWAY\x10\x07\x12\x1d\n\x19NEXT_HOP_INTERNET_GATEWAY\x10\x08\x12\x16\n\x12NEXT_HOP_BLACKHOLE\x10\t\x12\x10\n\x0cNEXT_HOP_ILB\x10\n\x12\x1d\n\x19NEXT_HOP_ROUTER_APPLIANCE\x10\x0b\"\x9f\x01\n\x12\x46orwardingRuleInfo\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x18\n\x10matched_protocol\x18\x03 \x01(\t\x12\x1a\n\x12matched_port_range\x18\x06 \x01(\t\x12\x0b\n\x03vip\x18\x04 \x01(\t\x12\x0e\n\x06target\x18\x05 \x01(\t\x12\x13\n\x0bnetwork_uri\x18\x07 \x01(\t\"\xa9\x04\n\x10LoadBalancerInfo\x12`\n\x12load_balancer_type\x18\x01 \x01(\x0e\x32\x44.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType\x12\x18\n\x10health_check_uri\x18\x02 \x01(\t\x12H\n\x08\x62\x61\x63kends\x18\x03 \x03(\x0b\x32\x36.google.cloud.networkmanagement.v1.LoadBalancerBackend\x12U\n\x0c\x62\x61\x63kend_type\x18\x04 \x01(\x0e\x32?.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType\x12\x13\n\x0b\x62\x61\x63kend_uri\x18\x05 \x01(\t\"\x8f\x01\n\x10LoadBalancerType\x12\"\n\x1eLOAD_BALANCER_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10INTERNAL_TCP_UDP\x10\x01\x12\x13\n\x0fNETWORK_TCP_UDP\x10\x02\x12\x0e\n\nHTTP_PROXY\x10\x03\x12\r\n\tTCP_PROXY\x10\x04\x12\r\n\tSSL_PROXY\x10\x05\"Q\n\x0b\x42\x61\x63kendType\x12\x1c\n\x18\x42\x41\x43KEND_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x42\x41\x43KEND_SERVICE\x10\x01\x12\x0f\n\x0bTARGET_POOL\x10\x02\"\xf6\x02\n\x13LoadBalancerBackend\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12t\n\x1bhealth_check_firewall_state\x18\x03 \x01(\x0e\x32O.google.cloud.networkmanagement.v1.LoadBalancerBackend.HealthCheckFirewallState\x12,\n$health_check_allowing_firewall_rules\x18\x04 \x03(\t\x12,\n$health_check_blocking_firewall_rules\x18\x05 \x03(\t\"j\n\x18HealthCheckFirewallState\x12+\n\'HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nCONFIGURED\x10\x01\x12\x11\n\rMISCONFIGURED\x10\x02\"\x84\x01\n\x0eVpnGatewayInfo\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x13\n\x0bnetwork_uri\x18\x03 \x01(\t\x12\x12\n\nip_address\x18\x04 \x01(\t\x12\x16\n\x0evpn_tunnel_uri\x18\x05 \x01(\t\x12\x0e\n\x06region\x18\x06 \x01(\t\"\xee\x02\n\rVpnTunnelInfo\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x16\n\x0esource_gateway\x18\x03 \x01(\t\x12\x16\n\x0eremote_gateway\x18\x04 \x01(\t\x12\x19\n\x11remote_gateway_ip\x18\x05 \x01(\t\x12\x19\n\x11source_gateway_ip\x18\x06 \x01(\t\x12\x13\n\x0bnetwork_uri\x18\x07 \x01(\t\x12\x0e\n\x06region\x18\x08 \x01(\t\x12R\n\x0crouting_type\x18\t \x01(\x0e\x32<.google.cloud.networkmanagement.v1.VpnTunnelInfo.RoutingType\"[\n\x0bRoutingType\x12\x1c\n\x18ROUTING_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bROUTE_BASED\x10\x01\x12\x10\n\x0cPOLICY_BASED\x10\x02\x12\x0b\n\x07\x44YNAMIC\x10\x03\"\xb7\x01\n\x0c\x45ndpointInfo\x12\x11\n\tsource_ip\x18\x01 \x01(\t\x12\x16\n\x0e\x64\x65stination_ip\x18\x02 \x01(\t\x12\x10\n\x08protocol\x18\x03 \x01(\t\x12\x13\n\x0bsource_port\x18\x04 \x01(\x05\x12\x18\n\x10\x64\x65stination_port\x18\x05 \x01(\x05\x12\x1a\n\x12source_network_uri\x18\x06 \x01(\t\x12\x1f\n\x17\x64\x65stination_network_uri\x18\x07 \x01(\t\"\xe0\x01\n\x0b\x44\x65liverInfo\x12\x45\n\x06target\x18\x01 \x01(\x0e\x32\x35.google.cloud.networkmanagement.v1.DeliverInfo.Target\x12\x14\n\x0cresource_uri\x18\x02 \x01(\t\"t\n\x06Target\x12\x16\n\x12TARGET_UNSPECIFIED\x10\x00\x12\x0c\n\x08INSTANCE\x10\x01\x12\x0c\n\x08INTERNET\x10\x02\x12\x0e\n\nGOOGLE_API\x10\x03\x12\x0e\n\nGKE_MASTER\x10\x04\x12\x16\n\x12\x43LOUD_SQL_INSTANCE\x10\x05\"\x8d\x02\n\x0b\x46orwardInfo\x12\x45\n\x06target\x18\x01 \x01(\x0e\x32\x35.google.cloud.networkmanagement.v1.ForwardInfo.Target\x12\x14\n\x0cresource_uri\x18\x02 \x01(\t\"\xa0\x01\n\x06Target\x12\x16\n\x12TARGET_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPEERING_VPC\x10\x01\x12\x0f\n\x0bVPN_GATEWAY\x10\x02\x12\x10\n\x0cINTERCONNECT\x10\x03\x12\x0e\n\nGKE_MASTER\x10\x04\x12\"\n\x1eIMPORTED_CUSTOM_ROUTE_NEXT_HOP\x10\x05\x12\x16\n\x12\x43LOUD_SQL_INSTANCE\x10\x06\"\x98\x04\n\tAbortInfo\x12\x41\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x32.google.cloud.networkmanagement.v1.AbortInfo.Cause\x12\x14\n\x0cresource_uri\x18\x02 \x01(\t\x12#\n\x1bprojects_missing_permission\x18\x03 \x03(\t\"\x8c\x03\n\x05\x43\x61use\x12\x15\n\x11\x43\x41USE_UNSPECIFIED\x10\x00\x12\x13\n\x0fUNKNOWN_NETWORK\x10\x01\x12\x0e\n\nUNKNOWN_IP\x10\x02\x12\x13\n\x0fUNKNOWN_PROJECT\x10\x03\x12\x15\n\x11PERMISSION_DENIED\x10\x04\x12\x16\n\x12NO_SOURCE_LOCATION\x10\x05\x12\x14\n\x10INVALID_ARGUMENT\x10\x06\x12\x12\n\x0eNO_EXTERNAL_IP\x10\x07\x12\x1a\n\x16UNINTENDED_DESTINATION\x10\x08\x12\x12\n\x0eTRACE_TOO_LONG\x10\t\x12\x12\n\x0eINTERNAL_ERROR\x10\n\x12\x1d\n\x19SOURCE_ENDPOINT_NOT_FOUND\x10\x0b\x12\x1d\n\x19MISMATCHED_SOURCE_NETWORK\x10\x0c\x12\"\n\x1e\x44\x45STINATION_ENDPOINT_NOT_FOUND\x10\r\x12\"\n\x1eMISMATCHED_DESTINATION_NETWORK\x10\x0e\x12\x0f\n\x0bUNSUPPORTED\x10\x0f\"\x9a\x06\n\x08\x44ropInfo\x12@\n\x05\x63\x61use\x18\x01 \x01(\x0e\x32\x31.google.cloud.networkmanagement.v1.DropInfo.Cause\x12\x14\n\x0cresource_uri\x18\x02 \x01(\t\"\xb5\x05\n\x05\x43\x61use\x12\x15\n\x11\x43\x41USE_UNSPECIFIED\x10\x00\x12\x1c\n\x18UNKNOWN_EXTERNAL_ADDRESS\x10\x01\x12\x19\n\x15\x46OREIGN_IP_DISALLOWED\x10\x02\x12\x11\n\rFIREWALL_RULE\x10\x03\x12\x0c\n\x08NO_ROUTE\x10\x04\x12\x13\n\x0fROUTE_BLACKHOLE\x10\x05\x12\x17\n\x13ROUTE_WRONG_NETWORK\x10\x06\x12\x1f\n\x1bPRIVATE_TRAFFIC_TO_INTERNET\x10\x07\x12$\n PRIVATE_GOOGLE_ACCESS_DISALLOWED\x10\x08\x12\x17\n\x13NO_EXTERNAL_ADDRESS\x10\t\x12\x1c\n\x18UNKNOWN_INTERNAL_ADDRESS\x10\n\x12\x1c\n\x18\x46ORWARDING_RULE_MISMATCH\x10\x0b\x12 \n\x1c\x46ORWARDING_RULE_NO_INSTANCES\x10\x0c\x12\x38\n4FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK\x10\r\x12\x18\n\x14INSTANCE_NOT_RUNNING\x10\x0e\x12\x18\n\x14TRAFFIC_TYPE_BLOCKED\x10\x0f\x12\"\n\x1eGKE_MASTER_UNAUTHORIZED_ACCESS\x10\x10\x12*\n&CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS\x10\x11\x12\x1e\n\x1a\x44ROPPED_INSIDE_GKE_SERVICE\x10\x12\x12$\n DROPPED_INSIDE_CLOUD_SQL_SERVICE\x10\x13\x12%\n!GOOGLE_MANAGED_SERVICE_NO_PEERING\x10\x14\x12$\n CLOUD_SQL_INSTANCE_NO_IP_ADDRESS\x10\x15\"k\n\rGKEMasterInfo\x12\x13\n\x0b\x63luster_uri\x18\x02 \x01(\t\x12\x1b\n\x13\x63luster_network_uri\x18\x04 \x01(\t\x12\x13\n\x0binternal_ip\x18\x05 \x01(\t\x12\x13\n\x0b\x65xternal_ip\x18\x06 \x01(\t\"\x88\x01\n\x14\x43loudSQLInstanceInfo\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x13\n\x0bnetwork_uri\x18\x04 \x01(\t\x12\x13\n\x0binternal_ip\x18\x05 \x01(\t\x12\x13\n\x0b\x65xternal_ip\x18\x06 \x01(\t\x12\x0e\n\x06region\x18\x07 \x01(\tB\xf9\x01\n%com.google.cloud.networkmanagement.v1B\nTraceProtoP\x01ZScloud.google.com/go/networkmanagement/apiv1/networkmanagementpb;networkmanagementpb\xaa\x02!Google.Cloud.NetworkManagement.V1\xca\x02!Google\\Cloud\\NetworkManagement\\V1\xea\x02$Google::Cloud::NetworkManagement::V1b\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
|
12
|
+
begin
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
rescue TypeError => e
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
+
parsed.clear_dependency
|
19
|
+
serialized = parsed.class.encode(parsed)
|
20
|
+
file = pool.add_serialized_file(serialized)
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
+
imports = [
|
23
|
+
]
|
24
|
+
imports.each do |type_name, expected_filename|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
26
|
+
if import_file.name != expected_filename
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
291
28
|
end
|
292
29
|
end
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
+
warn "This will become an error in the next major version."
|
293
32
|
end
|
294
33
|
|
295
34
|
module Google
|
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
# long-running operation pattern.
|
84
84
|
# @!attribute [rw] new_issue_uri
|
85
85
|
# @return [::String]
|
86
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
87
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
88
88
|
# @!attribute [rw] documentation_uri
|
89
89
|
# @return [::String]
|
@@ -353,6 +353,15 @@ module Google
|
|
353
353
|
|
354
354
|
# Street View Org.
|
355
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
356
365
|
end
|
357
366
|
|
358
367
|
# To where should client libraries be published?
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-network_management-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|