google-cloud-network_connectivity-v1 0.7.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +72 -101
- data/lib/google/cloud/network_connectivity/v1/hub_service/client.rb +1019 -42
- data/lib/google/cloud/network_connectivity/v1/hub_service/operations.rb +28 -6
- data/lib/google/cloud/network_connectivity/v1/hub_service/paths.rb +59 -0
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/client.rb +34 -8
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/operations.rb +28 -6
- data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
- data/lib/google/cloud/networkconnectivity/v1/hub_pb.rb +32 -1
- data/lib/google/cloud/networkconnectivity/v1/hub_services_pb.rb +24 -0
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/networkconnectivity/v1/common.rb +3 -2
- data/proto_docs/google/cloud/networkconnectivity/v1/hub.rb +709 -55
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +10 -9
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module HubService
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
DEFAULT_ENDPOINT_TEMPLATE = "networkconnectivity.$UNIVERSE_DOMAIN$"
|
31
|
+
|
29
32
|
# @private
|
30
33
|
attr_reader :operations_stub
|
31
34
|
|
@@ -60,6 +63,15 @@ module Google
|
|
60
63
|
@config
|
61
64
|
end
|
62
65
|
|
66
|
+
##
|
67
|
+
# The effective universe domain
|
68
|
+
#
|
69
|
+
# @return [String]
|
70
|
+
#
|
71
|
+
def universe_domain
|
72
|
+
@operations_stub.universe_domain
|
73
|
+
end
|
74
|
+
|
63
75
|
##
|
64
76
|
# Create a new Operations client object.
|
65
77
|
#
|
@@ -90,8 +102,10 @@ module Google
|
|
90
102
|
|
91
103
|
@operations_stub = ::Gapic::ServiceStub.new(
|
92
104
|
::Google::Longrunning::Operations::Stub,
|
93
|
-
credentials:
|
94
|
-
endpoint:
|
105
|
+
credentials: credentials,
|
106
|
+
endpoint: @config.endpoint,
|
107
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
108
|
+
universe_domain: @config.universe_domain,
|
95
109
|
channel_args: @config.channel_args,
|
96
110
|
interceptors: @config.interceptors,
|
97
111
|
channel_pool_config: @config.channel_pool
|
@@ -613,9 +627,9 @@ module Google
|
|
613
627
|
# end
|
614
628
|
#
|
615
629
|
# @!attribute [rw] endpoint
|
616
|
-
#
|
617
|
-
#
|
618
|
-
# @return [::String]
|
630
|
+
# A custom service endpoint, as a hostname or hostname:port. The default is
|
631
|
+
# nil, indicating to use the default endpoint in the current universe domain.
|
632
|
+
# @return [::String,nil]
|
619
633
|
# @!attribute [rw] credentials
|
620
634
|
# Credentials to send with calls. You may provide any of the following types:
|
621
635
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -661,13 +675,20 @@ module Google
|
|
661
675
|
# @!attribute [rw] quota_project
|
662
676
|
# A separate project against which to charge quota.
|
663
677
|
# @return [::String]
|
678
|
+
# @!attribute [rw] universe_domain
|
679
|
+
# The universe domain within which to make requests. This determines the
|
680
|
+
# default endpoint URL. The default value of nil uses the environment
|
681
|
+
# universe (usually the default "googleapis.com" universe).
|
682
|
+
# @return [::String,nil]
|
664
683
|
#
|
665
684
|
class Configuration
|
666
685
|
extend ::Gapic::Config
|
667
686
|
|
687
|
+
# @private
|
688
|
+
# The endpoint specific to the default "googleapis.com" universe. Deprecated.
|
668
689
|
DEFAULT_ENDPOINT = "networkconnectivity.googleapis.com"
|
669
690
|
|
670
|
-
config_attr :endpoint,
|
691
|
+
config_attr :endpoint, nil, ::String, nil
|
671
692
|
config_attr :credentials, nil do |value|
|
672
693
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
673
694
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -682,6 +703,7 @@ module Google
|
|
682
703
|
config_attr :metadata, nil, ::Hash, nil
|
683
704
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
684
705
|
config_attr :quota_project, nil, ::String, nil
|
706
|
+
config_attr :universe_domain, nil, ::String, nil
|
685
707
|
|
686
708
|
# @private
|
687
709
|
def initialize parent_config = nil
|
@@ -24,6 +24,25 @@ module Google
|
|
24
24
|
module HubService
|
25
25
|
# Path helper methods for the HubService API.
|
26
26
|
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified Group resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/global/hubs/{hub}/groups/{group}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param hub [String]
|
36
|
+
# @param group [String]
|
37
|
+
#
|
38
|
+
# @return [::String]
|
39
|
+
def group_path project:, hub:, group:
|
40
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
41
|
+
raise ::ArgumentError, "hub cannot contain /" if hub.to_s.include? "/"
|
42
|
+
|
43
|
+
"projects/#{project}/locations/global/hubs/#{hub}/groups/#{group}"
|
44
|
+
end
|
45
|
+
|
27
46
|
##
|
28
47
|
# Create a fully-qualified Hub resource string.
|
29
48
|
#
|
@@ -41,6 +60,27 @@ module Google
|
|
41
60
|
"projects/#{project}/locations/global/hubs/#{hub}"
|
42
61
|
end
|
43
62
|
|
63
|
+
##
|
64
|
+
# Create a fully-qualified HubRoute resource string.
|
65
|
+
#
|
66
|
+
# The resource will be in the following format:
|
67
|
+
#
|
68
|
+
# `projects/{project}/locations/global/hubs/{hub}/routeTables/{route_table}/routes/{route}`
|
69
|
+
#
|
70
|
+
# @param project [String]
|
71
|
+
# @param hub [String]
|
72
|
+
# @param route_table [String]
|
73
|
+
# @param route [String]
|
74
|
+
#
|
75
|
+
# @return [::String]
|
76
|
+
def hub_route_path project:, hub:, route_table:, route:
|
77
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
78
|
+
raise ::ArgumentError, "hub cannot contain /" if hub.to_s.include? "/"
|
79
|
+
raise ::ArgumentError, "route_table cannot contain /" if route_table.to_s.include? "/"
|
80
|
+
|
81
|
+
"projects/#{project}/locations/global/hubs/#{hub}/routeTables/#{route_table}/routes/#{route}"
|
82
|
+
end
|
83
|
+
|
44
84
|
##
|
45
85
|
# Create a fully-qualified Instance resource string.
|
46
86
|
#
|
@@ -113,6 +153,25 @@ module Google
|
|
113
153
|
"projects/#{project}/global/networks/#{resource_id}"
|
114
154
|
end
|
115
155
|
|
156
|
+
##
|
157
|
+
# Create a fully-qualified RouteTable resource string.
|
158
|
+
#
|
159
|
+
# The resource will be in the following format:
|
160
|
+
#
|
161
|
+
# `projects/{project}/locations/global/hubs/{hub}/routeTables/{route_table}`
|
162
|
+
#
|
163
|
+
# @param project [String]
|
164
|
+
# @param hub [String]
|
165
|
+
# @param route_table [String]
|
166
|
+
#
|
167
|
+
# @return [::String]
|
168
|
+
def route_table_path project:, hub:, route_table:
|
169
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
170
|
+
raise ::ArgumentError, "hub cannot contain /" if hub.to_s.include? "/"
|
171
|
+
|
172
|
+
"projects/#{project}/locations/global/hubs/#{hub}/routeTables/#{route_table}"
|
173
|
+
end
|
174
|
+
|
116
175
|
##
|
117
176
|
# Create a fully-qualified Spoke resource string.
|
118
177
|
#
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# policies for Layer 4 traffic traversing through the connected service.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
DEFAULT_ENDPOINT_TEMPLATE = "networkconnectivity.$UNIVERSE_DOMAIN$"
|
38
|
+
|
36
39
|
include Paths
|
37
40
|
|
38
41
|
# @private
|
@@ -102,6 +105,15 @@ module Google
|
|
102
105
|
@config
|
103
106
|
end
|
104
107
|
|
108
|
+
##
|
109
|
+
# The effective universe domain
|
110
|
+
#
|
111
|
+
# @return [String]
|
112
|
+
#
|
113
|
+
def universe_domain
|
114
|
+
@policy_based_routing_service_stub.universe_domain
|
115
|
+
end
|
116
|
+
|
105
117
|
##
|
106
118
|
# Create a new PolicyBasedRoutingService client object.
|
107
119
|
#
|
@@ -135,8 +147,9 @@ module Google
|
|
135
147
|
credentials = @config.credentials
|
136
148
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
137
149
|
# but only if the default endpoint does not have a region prefix.
|
138
|
-
enable_self_signed_jwt = @config.endpoint
|
139
|
-
|
150
|
+
enable_self_signed_jwt = @config.endpoint.nil? ||
|
151
|
+
(@config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
152
|
+
!@config.endpoint.split(".").first.include?("-"))
|
140
153
|
credentials ||= Credentials.default scope: @config.scope,
|
141
154
|
enable_self_signed_jwt: enable_self_signed_jwt
|
142
155
|
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
@@ -149,24 +162,29 @@ module Google
|
|
149
162
|
config.credentials = credentials
|
150
163
|
config.quota_project = @quota_project_id
|
151
164
|
config.endpoint = @config.endpoint
|
165
|
+
config.universe_domain = @config.universe_domain
|
152
166
|
end
|
153
167
|
|
154
168
|
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
155
169
|
config.credentials = credentials
|
156
170
|
config.quota_project = @quota_project_id
|
157
171
|
config.endpoint = @config.endpoint
|
172
|
+
config.universe_domain = @config.universe_domain
|
158
173
|
end
|
159
174
|
|
160
175
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
161
176
|
config.credentials = credentials
|
162
177
|
config.quota_project = @quota_project_id
|
163
178
|
config.endpoint = @config.endpoint
|
179
|
+
config.universe_domain = @config.universe_domain
|
164
180
|
end
|
165
181
|
|
166
182
|
@policy_based_routing_service_stub = ::Gapic::ServiceStub.new(
|
167
183
|
::Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoutingService::Stub,
|
168
|
-
credentials:
|
169
|
-
endpoint:
|
184
|
+
credentials: credentials,
|
185
|
+
endpoint: @config.endpoint,
|
186
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
187
|
+
universe_domain: @config.universe_domain,
|
170
188
|
channel_args: @config.channel_args,
|
171
189
|
interceptors: @config.interceptors,
|
172
190
|
channel_pool_config: @config.channel_pool
|
@@ -627,9 +645,9 @@ module Google
|
|
627
645
|
# end
|
628
646
|
#
|
629
647
|
# @!attribute [rw] endpoint
|
630
|
-
#
|
631
|
-
#
|
632
|
-
# @return [::String]
|
648
|
+
# A custom service endpoint, as a hostname or hostname:port. The default is
|
649
|
+
# nil, indicating to use the default endpoint in the current universe domain.
|
650
|
+
# @return [::String,nil]
|
633
651
|
# @!attribute [rw] credentials
|
634
652
|
# Credentials to send with calls. You may provide any of the following types:
|
635
653
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -675,13 +693,20 @@ module Google
|
|
675
693
|
# @!attribute [rw] quota_project
|
676
694
|
# A separate project against which to charge quota.
|
677
695
|
# @return [::String]
|
696
|
+
# @!attribute [rw] universe_domain
|
697
|
+
# The universe domain within which to make requests. This determines the
|
698
|
+
# default endpoint URL. The default value of nil uses the environment
|
699
|
+
# universe (usually the default "googleapis.com" universe).
|
700
|
+
# @return [::String,nil]
|
678
701
|
#
|
679
702
|
class Configuration
|
680
703
|
extend ::Gapic::Config
|
681
704
|
|
705
|
+
# @private
|
706
|
+
# The endpoint specific to the default "googleapis.com" universe. Deprecated.
|
682
707
|
DEFAULT_ENDPOINT = "networkconnectivity.googleapis.com"
|
683
708
|
|
684
|
-
config_attr :endpoint,
|
709
|
+
config_attr :endpoint, nil, ::String, nil
|
685
710
|
config_attr :credentials, nil do |value|
|
686
711
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
687
712
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -696,6 +721,7 @@ module Google
|
|
696
721
|
config_attr :metadata, nil, ::Hash, nil
|
697
722
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
698
723
|
config_attr :quota_project, nil, ::String, nil
|
724
|
+
config_attr :universe_domain, nil, ::String, nil
|
699
725
|
|
700
726
|
# @private
|
701
727
|
def initialize parent_config = nil
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module PolicyBasedRoutingService
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
DEFAULT_ENDPOINT_TEMPLATE = "networkconnectivity.$UNIVERSE_DOMAIN$"
|
31
|
+
|
29
32
|
# @private
|
30
33
|
attr_reader :operations_stub
|
31
34
|
|
@@ -60,6 +63,15 @@ module Google
|
|
60
63
|
@config
|
61
64
|
end
|
62
65
|
|
66
|
+
##
|
67
|
+
# The effective universe domain
|
68
|
+
#
|
69
|
+
# @return [String]
|
70
|
+
#
|
71
|
+
def universe_domain
|
72
|
+
@operations_stub.universe_domain
|
73
|
+
end
|
74
|
+
|
63
75
|
##
|
64
76
|
# Create a new Operations client object.
|
65
77
|
#
|
@@ -90,8 +102,10 @@ module Google
|
|
90
102
|
|
91
103
|
@operations_stub = ::Gapic::ServiceStub.new(
|
92
104
|
::Google::Longrunning::Operations::Stub,
|
93
|
-
credentials:
|
94
|
-
endpoint:
|
105
|
+
credentials: credentials,
|
106
|
+
endpoint: @config.endpoint,
|
107
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
108
|
+
universe_domain: @config.universe_domain,
|
95
109
|
channel_args: @config.channel_args,
|
96
110
|
interceptors: @config.interceptors,
|
97
111
|
channel_pool_config: @config.channel_pool
|
@@ -613,9 +627,9 @@ module Google
|
|
613
627
|
# end
|
614
628
|
#
|
615
629
|
# @!attribute [rw] endpoint
|
616
|
-
#
|
617
|
-
#
|
618
|
-
# @return [::String]
|
630
|
+
# A custom service endpoint, as a hostname or hostname:port. The default is
|
631
|
+
# nil, indicating to use the default endpoint in the current universe domain.
|
632
|
+
# @return [::String,nil]
|
619
633
|
# @!attribute [rw] credentials
|
620
634
|
# Credentials to send with calls. You may provide any of the following types:
|
621
635
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -661,13 +675,20 @@ module Google
|
|
661
675
|
# @!attribute [rw] quota_project
|
662
676
|
# A separate project against which to charge quota.
|
663
677
|
# @return [::String]
|
678
|
+
# @!attribute [rw] universe_domain
|
679
|
+
# The universe domain within which to make requests. This determines the
|
680
|
+
# default endpoint URL. The default value of nil uses the environment
|
681
|
+
# universe (usually the default "googleapis.com" universe).
|
682
|
+
# @return [::String,nil]
|
664
683
|
#
|
665
684
|
class Configuration
|
666
685
|
extend ::Gapic::Config
|
667
686
|
|
687
|
+
# @private
|
688
|
+
# The endpoint specific to the default "googleapis.com" universe. Deprecated.
|
668
689
|
DEFAULT_ENDPOINT = "networkconnectivity.googleapis.com"
|
669
690
|
|
670
|
-
config_attr :endpoint,
|
691
|
+
config_attr :endpoint, nil, ::String, nil
|
671
692
|
config_attr :credentials, nil do |value|
|
672
693
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
673
694
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -682,6 +703,7 @@ module Google
|
|
682
703
|
config_attr :metadata, nil, ::Hash, nil
|
683
704
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
684
705
|
config_attr :quota_project, nil, ::String, nil
|
706
|
+
config_attr :universe_domain, nil, ::String, nil
|
685
707
|
|
686
708
|
# @private
|
687
709
|
def initialize parent_config = nil
|
@@ -8,12 +8,14 @@ require 'google/api/annotations_pb'
|
|
8
8
|
require 'google/api/client_pb'
|
9
9
|
require 'google/api/field_behavior_pb'
|
10
10
|
require 'google/api/resource_pb'
|
11
|
+
require 'google/cloud/networkconnectivity/v1/common_pb'
|
11
12
|
require 'google/longrunning/operations_pb'
|
13
|
+
require 'google/protobuf/empty_pb'
|
12
14
|
require 'google/protobuf/field_mask_pb'
|
13
15
|
require 'google/protobuf/timestamp_pb'
|
14
16
|
|
15
17
|
|
16
|
-
descriptor_data = "\n-google/cloud/networkconnectivity/v1/hub.proto\x12#google.cloud.networkconnectivity.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8a\x04\n\x03Hub\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\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\x44\n\x06labels\x18\x04 \x03(\x0b\x32\x34.google.cloud.networkconnectivity.v1.Hub.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x16\n\tunique_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12>\n\x05state\x18\t \x01(\x0e\x32*.google.cloud.networkconnectivity.v1.StateB\x03\xe0\x41\x03\x12\x45\n\x0crouting_vpcs\x18\n \x03(\x0b\x32/.google.cloud.networkconnectivity.v1.RoutingVPC\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:[\xea\x41X\n&networkconnectivity.googleapis.com/Hub\x12.projects/{project}/locations/global/hubs/{hub}\"\x7f\n\nRoutingVPC\x12\x30\n\x03uri\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12?\n2required_for_new_site_to_site_data_transfer_spokes\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\"\xbe\x06\n\x05Spoke\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\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\x46\n\x06labels\x18\x04 \x03(\x0b\x32\x36.google.cloud.networkconnectivity.v1.Spoke.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12;\n\x03hub\x18\x06 \x01(\tB.\xe0\x41\x05\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12Q\n\x12linked_vpn_tunnels\x18\x11 \x01(\x0b\x32\x35.google.cloud.networkconnectivity.v1.LinkedVpnTunnels\x12k\n\x1flinked_interconnect_attachments\x18\x12 \x01(\x0b\x32\x42.google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments\x12n\n!linked_router_appliance_instances\x18\x13 \x01(\x0b\x32\x43.google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances\x12\x16\n\tunique_id\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12>\n\x05state\x18\x0f \x01(\x0e\x32*.google.cloud.networkconnectivity.v1.StateB\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(networkconnectivity.googleapis.com/Spoke\x12\x36projects/{project}/locations/{location}/spokes/{spoke}\"\x95\x01\n\x0fListHubsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\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\"x\n\x10ListHubsResponse\x12\x36\n\x04hubs\x18\x01 \x03(\x0b\x32(.google.cloud.networkconnectivity.v1.Hub\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\rGetHubRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\"\xb7\x01\n\x10\x43reateHubRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06hub_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x03hub\x18\x03 \x01(\x0b\x32(.google.cloud.networkconnectivity.v1.HubB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9d\x01\n\x10UpdateHubRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12:\n\x03hub\x18\x02 \x01(\x0b\x32(.google.cloud.networkconnectivity.v1.HubB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"i\n\x10\x44\x65leteHubRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x97\x01\n\x11ListSpokesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\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\x12ListSpokesResponse\x12:\n\x06spokes\x18\x01 \x03(\x0b\x32*.google.cloud.networkconnectivity.v1.Spoke\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x0fGetSpokeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\"\xbf\x01\n\x12\x43reateSpokeRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x15\n\x08spoke_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x05spoke\x18\x03 \x01(\x0b\x32*.google.cloud.networkconnectivity.v1.SpokeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa3\x01\n\x12UpdateSpokeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12>\n\x05spoke\x18\x02 \x01(\x0b\x32*.google.cloud.networkconnectivity.v1.SpokeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x12\x44\x65leteSpokeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xa8\x01\n\x10LinkedVpnTunnels\x12\x33\n\x04uris\x18\x01 \x03(\tB%\xfa\x41\"\n compute.googleapis.com/VpnTunnel\x12\"\n\x1asite_to_site_data_transfer\x18\x02 \x01(\x08\x12;\n\x0bvpc_network\x18\x03 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\"\xc2\x01\n\x1dLinkedInterconnectAttachments\x12@\n\x04uris\x18\x01 \x03(\tB2\xfa\x41/\n-compute.googleapis.com/InterconnectAttachment\x12\"\n\x1asite_to_site_data_transfer\x18\x02 \x01(\x08\x12;\n\x0bvpc_network\x18\x03 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\"\xd2\x01\n\x1eLinkedRouterApplianceInstances\x12O\n\tinstances\x18\x01 \x03(\x0b\x32<.google.cloud.networkconnectivity.v1.RouterApplianceInstance\x12\"\n\x1asite_to_site_data_transfer\x18\x02 \x01(\x08\x12;\n\x0bvpc_network\x18\x03 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\"l\n\x17RouterApplianceInstance\x12=\n\x0fvirtual_machine\x18\x01 \x01(\tB$\xfa\x41!\n\x1f\x63ompute.googleapis.com/Instance\x12\x12\n\nip_address\x18\x03 \x01(\t\"c\n\x10LocationMetadata\x12O\n\x11location_features\x18\x01 \x03(\x0e\x32\x34.google.cloud.networkconnectivity.v1.LocationFeature*f\n\x0fLocationFeature\x12 \n\x1cLOCATION_FEATURE_UNSPECIFIED\x10\x00\x12\x18\n\x14SITE_TO_CLOUD_SPOKES\x10\x01\x12\x17\n\x13SITE_TO_SITE_SPOKES\x10\x02*T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x06\x32\x9d\x10\n\nHubService\x12\xb7\x01\n\x08ListHubs\x12\x34.google.cloud.networkconnectivity.v1.ListHubsRequest\x1a\x35.google.cloud.networkconnectivity.v1.ListHubsResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/global}/hubs\xda\x41\x06parent\x12\xa4\x01\n\x06GetHub\x12\x32.google.cloud.networkconnectivity.v1.GetHubRequest\x1a(.google.cloud.networkconnectivity.v1.Hub\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/global/hubs/*}\xda\x41\x04name\x12\xcc\x01\n\tCreateHub\x12\x35.google.cloud.networkconnectivity.v1.CreateHubRequest\x1a\x1d.google.longrunning.Operation\"i\x82\xd3\xe4\x93\x02\x34\"-/v1/{parent=projects/*/locations/global}/hubs:\x03hub\xda\x41\x11parent,hub,hub_id\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\x12\xce\x01\n\tUpdateHub\x12\x35.google.cloud.networkconnectivity.v1.UpdateHubRequest\x1a\x1d.google.longrunning.Operation\"k\x82\xd3\xe4\x93\x02\x38\x32\x31/v1/{hub.name=projects/*/locations/global/hubs/*}:\x03hub\xda\x41\x0fhub,update_mask\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\x12\xcc\x01\n\tDeleteHub\x12\x35.google.cloud.networkconnectivity.v1.DeleteHubRequest\x1a\x1d.google.longrunning.Operation\"i\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/global/hubs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xba\x01\n\nListSpokes\x12\x36.google.cloud.networkconnectivity.v1.ListSpokesRequest\x1a\x37.google.cloud.networkconnectivity.v1.ListSpokesResponse\";\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/spokes\xda\x41\x06parent\x12\xa7\x01\n\x08GetSpoke\x12\x34.google.cloud.networkconnectivity.v1.GetSpokeRequest\x1a*.google.cloud.networkconnectivity.v1.Spoke\"9\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/spokes/*}\xda\x41\x04name\x12\xd5\x01\n\x0b\x43reateSpoke\x12\x37.google.cloud.networkconnectivity.v1.CreateSpokeRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/spokes:\x05spoke\xda\x41\x15parent,spoke,spoke_id\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\x12\xd7\x01\n\x0bUpdateSpoke\x12\x37.google.cloud.networkconnectivity.v1.UpdateSpokeRequest\x1a\x1d.google.longrunning.Operation\"p\x82\xd3\xe4\x93\x02\x39\x32\x30/v1/{spoke.name=projects/*/locations/*/spokes/*}:\x05spoke\xda\x41\x11spoke,update_mask\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\x12\xcd\x01\n\x0b\x44\x65leteSpoke\x12\x37.google.cloud.networkconnectivity.v1.DeleteSpokeRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/spokes/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x1aV\xca\x41\"networkconnectivity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc2\x03\n\'com.google.cloud.networkconnectivity.v1B\x08HubProtoP\x01ZYcloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb;networkconnectivitypb\xaa\x02#Google.Cloud.NetworkConnectivity.V1\xca\x02#Google\\Cloud\\NetworkConnectivity\\V1\xea\x02&Google::Cloud::NetworkConnectivity::V1\xea\x41`\n compute.googleapis.com/VpnTunnel\x12<projects/{project}/regions/{region}/vpnTunnels/{resource_id}\xea\x41W\n\x1f\x63ompute.googleapis.com/Instance\x12\x34projects/{project}/zones/{zone}/instances/{instance}b\x06proto3"
|
18
|
+
descriptor_data = "\n-google/cloud/networkconnectivity/v1/hub.proto\x12#google.cloud.networkconnectivity.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/networkconnectivity/v1/common.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf4\x04\n\x03Hub\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\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\x44\n\x06labels\x18\x04 \x03(\x0b\x32\x34.google.cloud.networkconnectivity.v1.Hub.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x16\n\tunique_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12>\n\x05state\x18\t \x01(\x0e\x32*.google.cloud.networkconnectivity.v1.StateB\x03\xe0\x41\x03\x12\x45\n\x0crouting_vpcs\x18\n \x03(\x0b\x32/.google.cloud.networkconnectivity.v1.RoutingVPC\x12\x19\n\x0croute_tables\x18\x0b \x03(\tB\x03\xe0\x41\x03\x12M\n\rspoke_summary\x18\x0c \x01(\x0b\x32\x31.google.cloud.networkconnectivity.v1.SpokeSummaryB\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:[\xea\x41X\n&networkconnectivity.googleapis.com/Hub\x12.projects/{project}/locations/global/hubs/{hub}\"\x7f\n\nRoutingVPC\x12\x30\n\x03uri\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12?\n2required_for_new_site_to_site_data_transfer_spokes\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\"\xc8\n\n\x05Spoke\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\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\x46\n\x06labels\x18\x04 \x03(\x0b\x32\x36.google.cloud.networkconnectivity.v1.Spoke.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12;\n\x03hub\x18\x06 \x01(\tB.\xe0\x41\x05\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12?\n\x05group\x18\x17 \x01(\tB0\xe0\x41\x01\xfa\x41*\n(networkconnectivity.googleapis.com/Group\x12Q\n\x12linked_vpn_tunnels\x18\x11 \x01(\x0b\x32\x35.google.cloud.networkconnectivity.v1.LinkedVpnTunnels\x12k\n\x1flinked_interconnect_attachments\x18\x12 \x01(\x0b\x32\x42.google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments\x12n\n!linked_router_appliance_instances\x18\x13 \x01(\x0b\x32\x43.google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances\x12V\n\x12linked_vpc_network\x18\x14 \x01(\x0b\x32\x35.google.cloud.networkconnectivity.v1.LinkedVpcNetworkB\x03\xe0\x41\x01\x12\x16\n\tunique_id\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12>\n\x05state\x18\x0f \x01(\x0e\x32*.google.cloud.networkconnectivity.v1.StateB\x03\xe0\x41\x03\x12L\n\x07reasons\x18\x15 \x03(\x0b\x32\x36.google.cloud.networkconnectivity.v1.Spoke.StateReasonB\x03\xe0\x41\x03\x12G\n\nspoke_type\x18\x16 \x01(\x0e\x32..google.cloud.networkconnectivity.v1.SpokeTypeB\x03\xe0\x41\x03\x1a\xd7\x01\n\x0bStateReason\x12I\n\x04\x63ode\x18\x01 \x01(\x0e\x32;.google.cloud.networkconnectivity.v1.Spoke.StateReason.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x14\n\x0cuser_details\x18\x03 \x01(\t\"V\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x12\n\x0ePENDING_REVIEW\x10\x01\x12\x0c\n\x08REJECTED\x10\x02\x12\n\n\x06PAUSED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\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(networkconnectivity.googleapis.com/Spoke\x12\x36projects/{project}/locations/{location}/spokes/{spoke}\"\xec\x03\n\nRouteTable\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\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\x12K\n\x06labels\x18\x04 \x03(\x0b\x32;.google.cloud.networkconnectivity.v1.RouteTable.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x10\n\x03uid\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12>\n\x05state\x18\x07 \x01(\x0e\x32*.google.cloud.networkconnectivity.v1.StateB\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:|\xea\x41y\n-networkconnectivity.googleapis.com/RouteTable\x12Hprojects/{project}/locations/global/hubs/{hub}/routeTables/{route_table}\"\xfe\x05\n\x05Route\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x15\n\rip_cidr_range\x18\x01 \x01(\t\x12\x41\n\x04type\x18\n \x01(\x0e\x32..google.cloud.networkconnectivity.v1.RouteTypeB\x03\xe0\x41\x03\x12Y\n\x14next_hop_vpc_network\x18\x02 \x01(\x0b\x32\x36.google.cloud.networkconnectivity.v1.NextHopVpcNetworkB\x03\xe0\x41\x05\x12\x46\n\x06labels\x18\x06 \x03(\x0b\x32\x36.google.cloud.networkconnectivity.v1.Route.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x10\n\x03uid\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12>\n\x05state\x18\t \x01(\x0e\x32*.google.cloud.networkconnectivity.v1.StateB\x03\xe0\x41\x03\x12?\n\x05spoke\x18\x0b \x01(\tB0\xe0\x41\x05\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x15\n\x08location\x18\x0c \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x8a\x01\xea\x41\x86\x01\n+networkconnectivity.googleapis.com/HubRoute\x12Wprojects/{project}/locations/global/hubs/{hub}/routeTables/{route_table}/routes/{route}\"\xdc\x03\n\x05Group\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\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\x12K\n\x06labels\x18\x04 \x03(\x0b\x32\x36.google.cloud.networkconnectivity.v1.Group.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12>\n\x05state\x18\x07 \x01(\x0e\x32*.google.cloud.networkconnectivity.v1.StateB\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:l\xea\x41i\n(networkconnectivity.googleapis.com/Group\x12=projects/{project}/locations/global/hubs/{hub}/groups/{group}\"\x95\x01\n\x0fListHubsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\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\"x\n\x10ListHubsResponse\x12\x36\n\x04hubs\x18\x01 \x03(\x0b\x32(.google.cloud.networkconnectivity.v1.Hub\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\rGetHubRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\"\xb7\x01\n\x10\x43reateHubRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06hub_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x03hub\x18\x03 \x01(\x0b\x32(.google.cloud.networkconnectivity.v1.HubB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9d\x01\n\x10UpdateHubRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12:\n\x03hub\x18\x02 \x01(\x0b\x32(.google.cloud.networkconnectivity.v1.HubB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"i\n\x10\x44\x65leteHubRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xcb\x02\n\x14ListHubSpokesRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x17\n\x0fspoke_locations\x18\x02 \x03(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12\x10\n\x08order_by\x18\x06 \x01(\t\x12Q\n\x04view\x18\x07 \x01(\x0e\x32\x43.google.cloud.networkconnectivity.v1.ListHubSpokesRequest.SpokeView\"@\n\tSpokeView\x12\x1a\n\x16SPOKE_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0c\n\x08\x44\x45TAILED\x10\x02\"\x81\x01\n\x15ListHubSpokesResponse\x12:\n\x06spokes\x18\x01 \x03(\x0b\x32*.google.cloud.networkconnectivity.v1.Spoke\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x97\x01\n\x11ListSpokesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\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\x12ListSpokesResponse\x12:\n\x06spokes\x18\x01 \x03(\x0b\x32*.google.cloud.networkconnectivity.v1.Spoke\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x0fGetSpokeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\"\xbf\x01\n\x12\x43reateSpokeRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x15\n\x08spoke_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x05spoke\x18\x03 \x01(\x0b\x32*.google.cloud.networkconnectivity.v1.SpokeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa3\x01\n\x12UpdateSpokeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12>\n\x05spoke\x18\x02 \x01(\x0b\x32*.google.cloud.networkconnectivity.v1.SpokeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x12\x44\x65leteSpokeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xb3\x01\n\x15\x41\x63\x63\x65ptHubSpokeRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x43\n\tspoke_uri\x18\x02 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"S\n\x16\x41\x63\x63\x65ptHubSpokeResponse\x12\x39\n\x05spoke\x18\x01 \x01(\x0b\x32*.google.cloud.networkconnectivity.v1.Spoke\"\xc9\x01\n\x15RejectHubSpokeRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x43\n\tspoke_uri\x18\x02 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07\x64\x65tails\x18\x04 \x01(\tB\x03\xe0\x41\x01\"S\n\x16RejectHubSpokeResponse\x12\x39\n\x05spoke\x18\x01 \x01(\x0b\x32*.google.cloud.networkconnectivity.v1.Spoke\"[\n\x14GetRouteTableRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-networkconnectivity.googleapis.com/RouteTable\"T\n\x0fGetRouteRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+networkconnectivity.googleapis.com/HubRoute\"\xa3\x01\n\x11ListRoutesRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-networkconnectivity.googleapis.com/RouteTable\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\x12ListRoutesResponse\x12:\n\x06routes\x18\x01 \x03(\x0b\x32*.google.cloud.networkconnectivity.v1.Route\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xa1\x01\n\x16ListRouteTablesRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\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\"\x8e\x01\n\x17ListRouteTablesResponse\x12\x45\n\x0croute_tables\x18\x01 \x03(\x0b\x32/.google.cloud.networkconnectivity.v1.RouteTable\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x9c\x01\n\x11ListGroupsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\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\x12ListGroupsResponse\x12:\n\x06groups\x18\x01 \x03(\x0b\x32*.google.cloud.networkconnectivity.v1.Group\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xa8\x01\n\x10LinkedVpnTunnels\x12\x33\n\x04uris\x18\x01 \x03(\tB%\xfa\x41\"\n compute.googleapis.com/VpnTunnel\x12\"\n\x1asite_to_site_data_transfer\x18\x02 \x01(\x08\x12;\n\x0bvpc_network\x18\x03 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\"\xc2\x01\n\x1dLinkedInterconnectAttachments\x12@\n\x04uris\x18\x01 \x03(\tB2\xfa\x41/\n-compute.googleapis.com/InterconnectAttachment\x12\"\n\x1asite_to_site_data_transfer\x18\x02 \x01(\x08\x12;\n\x0bvpc_network\x18\x03 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\"\xd2\x01\n\x1eLinkedRouterApplianceInstances\x12O\n\tinstances\x18\x01 \x03(\x0b\x32<.google.cloud.networkconnectivity.v1.RouterApplianceInstance\x12\"\n\x1asite_to_site_data_transfer\x18\x02 \x01(\x08\x12;\n\x0bvpc_network\x18\x03 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\"k\n\x10LinkedVpcNetwork\x12\x33\n\x03uri\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\"\n\x15\x65xclude_export_ranges\x18\x02 \x03(\tB\x03\xe0\x41\x01\"l\n\x17RouterApplianceInstance\x12=\n\x0fvirtual_machine\x18\x01 \x01(\tB$\xfa\x41!\n\x1f\x63ompute.googleapis.com/Instance\x12\x12\n\nip_address\x18\x03 \x01(\t\"c\n\x10LocationMetadata\x12O\n\x11location_features\x18\x01 \x03(\x0e\x32\x34.google.cloud.networkconnectivity.v1.LocationFeature\"E\n\x11NextHopVpcNetwork\x12\x30\n\x03uri\x18\x01 \x01(\tB#\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\"\xa6\x05\n\x0cSpokeSummary\x12`\n\x11spoke_type_counts\x18\x01 \x03(\x0b\x32@.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCountB\x03\xe0\x41\x03\x12\x62\n\x12spoke_state_counts\x18\x02 \x03(\x0b\x32\x41.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCountB\x03\xe0\x41\x03\x12o\n\x19spoke_state_reason_counts\x18\x03 \x03(\x0b\x32G.google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCountB\x03\xe0\x41\x03\x1am\n\x0eSpokeTypeCount\x12G\n\nspoke_type\x18\x01 \x01(\x0e\x32..google.cloud.networkconnectivity.v1.SpokeTypeB\x03\xe0\x41\x03\x12\x12\n\x05\x63ount\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x1a\x65\n\x0fSpokeStateCount\x12>\n\x05state\x18\x01 \x01(\x0e\x32*.google.cloud.networkconnectivity.v1.StateB\x03\xe0\x41\x03\x12\x12\n\x05\x63ount\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x1a\x88\x01\n\x15SpokeStateReasonCount\x12[\n\x11state_reason_code\x18\x01 \x01(\x0e\x32;.google.cloud.networkconnectivity.v1.Spoke.StateReason.CodeB\x03\xe0\x41\x03\x12\x12\n\x05\x63ount\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\"Q\n\x0fGetGroupRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Group*f\n\x0fLocationFeature\x12 \n\x1cLOCATION_FEATURE_UNSPECIFIED\x10\x00\x12\x18\n\x14SITE_TO_CLOUD_SPOKES\x10\x01\x12\x17\n\x13SITE_TO_SITE_SPOKES\x10\x02*Y\n\tRouteType\x12\x1a\n\x16ROUTE_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12VPC_PRIMARY_SUBNET\x10\x01\x12\x18\n\x14VPC_SECONDARY_SUBNET\x10\x02*\x8e\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\r\n\tACCEPTING\x10\x08\x12\r\n\tREJECTING\x10\t\x12\x0c\n\x08UPDATING\x10\x06\x12\x0c\n\x08INACTIVE\x10\x07\x12\x0c\n\x08OBSOLETE\x10\n*{\n\tSpokeType\x12\x1a\n\x16SPOKE_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nVPN_TUNNEL\x10\x01\x12\x1b\n\x17INTERCONNECT_ATTACHMENT\x10\x02\x12\x14\n\x10ROUTER_APPLIANCE\x10\x03\x12\x0f\n\x0bVPC_NETWORK\x10\x04\x32\x98\x1f\n\nHubService\x12\xb7\x01\n\x08ListHubs\x12\x34.google.cloud.networkconnectivity.v1.ListHubsRequest\x1a\x35.google.cloud.networkconnectivity.v1.ListHubsResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/global}/hubs\xda\x41\x06parent\x12\xa4\x01\n\x06GetHub\x12\x32.google.cloud.networkconnectivity.v1.GetHubRequest\x1a(.google.cloud.networkconnectivity.v1.Hub\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/global/hubs/*}\xda\x41\x04name\x12\xcc\x01\n\tCreateHub\x12\x35.google.cloud.networkconnectivity.v1.CreateHubRequest\x1a\x1d.google.longrunning.Operation\"i\x82\xd3\xe4\x93\x02\x34\"-/v1/{parent=projects/*/locations/global}/hubs:\x03hub\xda\x41\x11parent,hub,hub_id\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\x12\xce\x01\n\tUpdateHub\x12\x35.google.cloud.networkconnectivity.v1.UpdateHubRequest\x1a\x1d.google.longrunning.Operation\"k\x82\xd3\xe4\x93\x02\x38\x32\x31/v1/{hub.name=projects/*/locations/global/hubs/*}:\x03hub\xda\x41\x0fhub,update_mask\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\x12\xcc\x01\n\tDeleteHub\x12\x35.google.cloud.networkconnectivity.v1.DeleteHubRequest\x1a\x1d.google.longrunning.Operation\"i\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/global/hubs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xcf\x01\n\rListHubSpokes\x12\x39.google.cloud.networkconnectivity.v1.ListHubSpokesRequest\x1a:.google.cloud.networkconnectivity.v1.ListHubSpokesResponse\"G\x82\xd3\xe4\x93\x02:\x12\x38/v1/{name=projects/*/locations/global/hubs/*}:listSpokes\xda\x41\x04name\x12\xba\x01\n\nListSpokes\x12\x36.google.cloud.networkconnectivity.v1.ListSpokesRequest\x1a\x37.google.cloud.networkconnectivity.v1.ListSpokesResponse\";\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/spokes\xda\x41\x06parent\x12\xa7\x01\n\x08GetSpoke\x12\x34.google.cloud.networkconnectivity.v1.GetSpokeRequest\x1a*.google.cloud.networkconnectivity.v1.Spoke\"9\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/spokes/*}\xda\x41\x04name\x12\xd5\x01\n\x0b\x43reateSpoke\x12\x37.google.cloud.networkconnectivity.v1.CreateSpokeRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/spokes:\x05spoke\xda\x41\x15parent,spoke,spoke_id\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\x12\xd7\x01\n\x0bUpdateSpoke\x12\x37.google.cloud.networkconnectivity.v1.UpdateSpokeRequest\x1a\x1d.google.longrunning.Operation\"p\x82\xd3\xe4\x93\x02\x39\x32\x30/v1/{spoke.name=projects/*/locations/*/spokes/*}:\x05spoke\xda\x41\x11spoke,update_mask\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\x12\xf1\x01\n\x0eRejectHubSpoke\x12:.google.cloud.networkconnectivity.v1.RejectHubSpokeRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\x82\xd3\xe4\x93\x02>\"9/v1/{name=projects/*/locations/global/hubs/*}:rejectSpoke:\x01*\xda\x41\x0ename,spoke_uri\xca\x41+\n\x16RejectHubSpokeResponse\x12\x11OperationMetadata\x12\xf1\x01\n\x0e\x41\x63\x63\x65ptHubSpoke\x12:.google.cloud.networkconnectivity.v1.AcceptHubSpokeRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\x82\xd3\xe4\x93\x02>\"9/v1/{name=projects/*/locations/global/hubs/*}:acceptSpoke:\x01*\xda\x41\x0ename,spoke_uri\xca\x41+\n\x16\x41\x63\x63\x65ptHubSpokeResponse\x12\x11OperationMetadata\x12\xcd\x01\n\x0b\x44\x65leteSpoke\x12\x37.google.cloud.networkconnectivity.v1.DeleteSpokeRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/spokes/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc7\x01\n\rGetRouteTable\x12\x39.google.cloud.networkconnectivity.v1.GetRouteTableRequest\x1a/.google.cloud.networkconnectivity.v1.RouteTable\"J\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/global/hubs/*/routeTables/*}\xda\x41\x04name\x12\xc1\x01\n\x08GetRoute\x12\x34.google.cloud.networkconnectivity.v1.GetRouteRequest\x1a*.google.cloud.networkconnectivity.v1.Route\"S\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/global/hubs/*/routeTables/*/routes/*}\xda\x41\x04name\x12\xd4\x01\n\nListRoutes\x12\x36.google.cloud.networkconnectivity.v1.ListRoutesRequest\x1a\x37.google.cloud.networkconnectivity.v1.ListRoutesResponse\"U\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/global/hubs/*/routeTables/*}/routes\xda\x41\x06parent\x12\xda\x01\n\x0fListRouteTables\x12;.google.cloud.networkconnectivity.v1.ListRouteTablesRequest\x1a<.google.cloud.networkconnectivity.v1.ListRouteTablesResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/global/hubs/*}/routeTables\xda\x41\x06parent\x12\xb3\x01\n\x08GetGroup\x12\x34.google.cloud.networkconnectivity.v1.GetGroupRequest\x1a*.google.cloud.networkconnectivity.v1.Group\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/global/hubs/*/groups/*}\xda\x41\x04name\x12\xc6\x01\n\nListGroups\x12\x36.google.cloud.networkconnectivity.v1.ListGroupsRequest\x1a\x37.google.cloud.networkconnectivity.v1.ListGroupsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/global/hubs/*}/groups\xda\x41\x06parent\x1aV\xca\x41\"networkconnectivity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc2\x03\n\'com.google.cloud.networkconnectivity.v1B\x08HubProtoP\x01ZYcloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb;networkconnectivitypb\xaa\x02#Google.Cloud.NetworkConnectivity.V1\xca\x02#Google\\Cloud\\NetworkConnectivity\\V1\xea\x02&Google::Cloud::NetworkConnectivity::V1\xea\x41`\n compute.googleapis.com/VpnTunnel\x12<projects/{project}/regions/{region}/vpnTunnels/{resource_id}\xea\x41W\n\x1f\x63ompute.googleapis.com/Instance\x12\x34projects/{project}/zones/{zone}/instances/{instance}b\x06proto3"
|
17
19
|
|
18
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
21
|
|
@@ -48,25 +50,54 @@ module Google
|
|
48
50
|
Hub = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.Hub").msgclass
|
49
51
|
RoutingVPC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RoutingVPC").msgclass
|
50
52
|
Spoke = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.Spoke").msgclass
|
53
|
+
Spoke::StateReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.Spoke.StateReason").msgclass
|
54
|
+
Spoke::StateReason::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.Spoke.StateReason.Code").enummodule
|
55
|
+
RouteTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RouteTable").msgclass
|
56
|
+
Route = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.Route").msgclass
|
57
|
+
Group = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.Group").msgclass
|
51
58
|
ListHubsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubsRequest").msgclass
|
52
59
|
ListHubsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubsResponse").msgclass
|
53
60
|
GetHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.GetHubRequest").msgclass
|
54
61
|
CreateHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.CreateHubRequest").msgclass
|
55
62
|
UpdateHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.UpdateHubRequest").msgclass
|
56
63
|
DeleteHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.DeleteHubRequest").msgclass
|
64
|
+
ListHubSpokesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubSpokesRequest").msgclass
|
65
|
+
ListHubSpokesRequest::SpokeView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubSpokesRequest.SpokeView").enummodule
|
66
|
+
ListHubSpokesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubSpokesResponse").msgclass
|
57
67
|
ListSpokesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListSpokesRequest").msgclass
|
58
68
|
ListSpokesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListSpokesResponse").msgclass
|
59
69
|
GetSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.GetSpokeRequest").msgclass
|
60
70
|
CreateSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.CreateSpokeRequest").msgclass
|
61
71
|
UpdateSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.UpdateSpokeRequest").msgclass
|
62
72
|
DeleteSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.DeleteSpokeRequest").msgclass
|
73
|
+
AcceptHubSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.AcceptHubSpokeRequest").msgclass
|
74
|
+
AcceptHubSpokeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.AcceptHubSpokeResponse").msgclass
|
75
|
+
RejectHubSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RejectHubSpokeRequest").msgclass
|
76
|
+
RejectHubSpokeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RejectHubSpokeResponse").msgclass
|
77
|
+
GetRouteTableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.GetRouteTableRequest").msgclass
|
78
|
+
GetRouteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.GetRouteRequest").msgclass
|
79
|
+
ListRoutesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListRoutesRequest").msgclass
|
80
|
+
ListRoutesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListRoutesResponse").msgclass
|
81
|
+
ListRouteTablesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListRouteTablesRequest").msgclass
|
82
|
+
ListRouteTablesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListRouteTablesResponse").msgclass
|
83
|
+
ListGroupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListGroupsRequest").msgclass
|
84
|
+
ListGroupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListGroupsResponse").msgclass
|
63
85
|
LinkedVpnTunnels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedVpnTunnels").msgclass
|
64
86
|
LinkedInterconnectAttachments = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments").msgclass
|
65
87
|
LinkedRouterApplianceInstances = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances").msgclass
|
88
|
+
LinkedVpcNetwork = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedVpcNetwork").msgclass
|
66
89
|
RouterApplianceInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RouterApplianceInstance").msgclass
|
67
90
|
LocationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LocationMetadata").msgclass
|
91
|
+
NextHopVpcNetwork = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.NextHopVpcNetwork").msgclass
|
92
|
+
SpokeSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.SpokeSummary").msgclass
|
93
|
+
SpokeSummary::SpokeTypeCount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount").msgclass
|
94
|
+
SpokeSummary::SpokeStateCount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount").msgclass
|
95
|
+
SpokeSummary::SpokeStateReasonCount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount").msgclass
|
96
|
+
GetGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.GetGroupRequest").msgclass
|
68
97
|
LocationFeature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LocationFeature").enummodule
|
98
|
+
RouteType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RouteType").enummodule
|
69
99
|
State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.State").enummodule
|
100
|
+
SpokeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.SpokeType").enummodule
|
70
101
|
end
|
71
102
|
end
|
72
103
|
end
|
@@ -46,6 +46,10 @@ module Google
|
|
46
46
|
rpc :UpdateHub, ::Google::Cloud::NetworkConnectivity::V1::UpdateHubRequest, ::Google::Longrunning::Operation
|
47
47
|
# Deletes a Network Connectivity Center hub.
|
48
48
|
rpc :DeleteHub, ::Google::Cloud::NetworkConnectivity::V1::DeleteHubRequest, ::Google::Longrunning::Operation
|
49
|
+
# Lists the Network Connectivity Center spokes associated with a
|
50
|
+
# specified hub and location. The list includes both spokes that are attached
|
51
|
+
# to the hub and spokes that have been proposed but not yet accepted.
|
52
|
+
rpc :ListHubSpokes, ::Google::Cloud::NetworkConnectivity::V1::ListHubSpokesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListHubSpokesResponse
|
49
53
|
# Lists the Network Connectivity Center spokes in a specified project and
|
50
54
|
# location.
|
51
55
|
rpc :ListSpokes, ::Google::Cloud::NetworkConnectivity::V1::ListSpokesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListSpokesResponse
|
@@ -55,8 +59,28 @@ module Google
|
|
55
59
|
rpc :CreateSpoke, ::Google::Cloud::NetworkConnectivity::V1::CreateSpokeRequest, ::Google::Longrunning::Operation
|
56
60
|
# Updates the parameters of a Network Connectivity Center spoke.
|
57
61
|
rpc :UpdateSpoke, ::Google::Cloud::NetworkConnectivity::V1::UpdateSpokeRequest, ::Google::Longrunning::Operation
|
62
|
+
# Rejects a Network Connectivity Center spoke from being attached to a hub.
|
63
|
+
# If the spoke was previously in the `ACTIVE` state, it
|
64
|
+
# transitions to the `INACTIVE` state and is no longer able to
|
65
|
+
# connect to other spokes that are attached to the hub.
|
66
|
+
rpc :RejectHubSpoke, ::Google::Cloud::NetworkConnectivity::V1::RejectHubSpokeRequest, ::Google::Longrunning::Operation
|
67
|
+
# Accepts a proposal to attach a Network Connectivity Center spoke
|
68
|
+
# to a hub.
|
69
|
+
rpc :AcceptHubSpoke, ::Google::Cloud::NetworkConnectivity::V1::AcceptHubSpokeRequest, ::Google::Longrunning::Operation
|
58
70
|
# Deletes a Network Connectivity Center spoke.
|
59
71
|
rpc :DeleteSpoke, ::Google::Cloud::NetworkConnectivity::V1::DeleteSpokeRequest, ::Google::Longrunning::Operation
|
72
|
+
# Gets details about a Network Connectivity Center route table.
|
73
|
+
rpc :GetRouteTable, ::Google::Cloud::NetworkConnectivity::V1::GetRouteTableRequest, ::Google::Cloud::NetworkConnectivity::V1::RouteTable
|
74
|
+
# Gets details about the specified route.
|
75
|
+
rpc :GetRoute, ::Google::Cloud::NetworkConnectivity::V1::GetRouteRequest, ::Google::Cloud::NetworkConnectivity::V1::Route
|
76
|
+
# Lists routes in a given project.
|
77
|
+
rpc :ListRoutes, ::Google::Cloud::NetworkConnectivity::V1::ListRoutesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListRoutesResponse
|
78
|
+
# Lists route tables in a given project.
|
79
|
+
rpc :ListRouteTables, ::Google::Cloud::NetworkConnectivity::V1::ListRouteTablesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListRouteTablesResponse
|
80
|
+
# Gets details about a Network Connectivity Center group.
|
81
|
+
rpc :GetGroup, ::Google::Cloud::NetworkConnectivity::V1::GetGroupRequest, ::Google::Cloud::NetworkConnectivity::V1::Group
|
82
|
+
# Lists groups in a given hub.
|
83
|
+
rpc :ListGroups, ::Google::Cloud::NetworkConnectivity::V1::ListGroupsRequest, ::Google::Cloud::NetworkConnectivity::V1::ListGroupsResponse
|
60
84
|
end
|
61
85
|
|
62
86
|
Stub = Service.rpc_stub_class
|
@@ -21,6 +21,7 @@ module Google
|
|
21
21
|
module Api
|
22
22
|
# Required information for every language.
|
23
23
|
# @!attribute [rw] reference_docs_uri
|
24
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
24
25
|
# @return [::String]
|
25
26
|
# Link to automatically generated reference documentation. Example:
|
26
27
|
# https://cloud.google.com/nodejs/docs/reference/asset/latest
|
@@ -304,6 +305,19 @@ module Google
|
|
304
305
|
# seconds: 360 # 6 minutes
|
305
306
|
# total_poll_timeout:
|
306
307
|
# seconds: 54000 # 90 minutes
|
308
|
+
# @!attribute [rw] auto_populated_fields
|
309
|
+
# @return [::Array<::String>]
|
310
|
+
# List of top-level fields of the request message, that should be
|
311
|
+
# automatically populated by the client libraries based on their
|
312
|
+
# (google.api.field_info).format. Currently supported format: UUID4.
|
313
|
+
#
|
314
|
+
# Example of a YAML configuration:
|
315
|
+
#
|
316
|
+
# publishing:
|
317
|
+
# method_settings:
|
318
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
319
|
+
# auto_populated_fields:
|
320
|
+
# - request_id
|
307
321
|
class MethodSettings
|
308
322
|
include ::Google::Protobuf::MessageExts
|
309
323
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -41,8 +41,9 @@ module Google
|
|
41
41
|
# @return [::Boolean]
|
42
42
|
# Output only. Identifies whether the user has requested cancellation
|
43
43
|
# of the operation. Operations that have been cancelled successfully
|
44
|
-
# have [Operation.error][] value with a
|
45
|
-
# corresponding to
|
44
|
+
# have [Operation.error][] value with a
|
45
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
46
|
+
# `Code.CANCELLED`.
|
46
47
|
# @!attribute [r] api_version
|
47
48
|
# @return [::String]
|
48
49
|
# Output only. API version used to start the operation.
|