google-cloud-network_connectivity-v1 1.0.1 → 1.1.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_connectivity/v1/hub_service/client.rb +257 -2
- data/lib/google/cloud/network_connectivity/v1/hub_service/operations.rb +3 -10
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/operations.rb +3 -10
- data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
- data/lib/google/cloud/networkconnectivity/v1/hub_pb.rb +15 -1
- data/lib/google/cloud/networkconnectivity/v1/hub_services_pb.rb +7 -2
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/cloud/networkconnectivity/v1/hub.rb +378 -1
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c3c0df2036e7253239435244fdc58ab0f32bb1a0fc744247f76bfe811428571
|
4
|
+
data.tar.gz: 69c0749cc6e5f026e98768de795bb3ff36bee39355f31b9c7473582c02931e10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94279a310101193f4439673ce354f2f14c0cfeff48c506624dbf6fe1a8b5a0da2609d5a3f1e02a630b224ef987f0f93db9c7b50eb3ea69d6c0ca070de479eb3a
|
7
|
+
data.tar.gz: 8376aa3d4a5e7a16f246ec9093d1a630df8e76a8ec19f35bbc4a3b195a174e0089c5fb9f692ea8cbf45e7414e97a0743ab5d9e88a9bd801beb70c3974f2c8d06
|
@@ -863,6 +863,132 @@ module Google
|
|
863
863
|
raise ::Google::Cloud::Error.from_error(e)
|
864
864
|
end
|
865
865
|
|
866
|
+
##
|
867
|
+
# Query the Private Service Connect propagation status of a Network
|
868
|
+
# Connectivity Center hub.
|
869
|
+
#
|
870
|
+
# @overload query_hub_status(request, options = nil)
|
871
|
+
# Pass arguments to `query_hub_status` via a request object, either of type
|
872
|
+
# {::Google::Cloud::NetworkConnectivity::V1::QueryHubStatusRequest} or an equivalent Hash.
|
873
|
+
#
|
874
|
+
# @param request [::Google::Cloud::NetworkConnectivity::V1::QueryHubStatusRequest, ::Hash]
|
875
|
+
# A request object representing the call parameters. Required. To specify no
|
876
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
877
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
878
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
879
|
+
#
|
880
|
+
# @overload query_hub_status(name: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil, group_by: nil)
|
881
|
+
# Pass arguments to `query_hub_status` via keyword arguments. Note that at
|
882
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
883
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
884
|
+
#
|
885
|
+
# @param name [::String]
|
886
|
+
# Required. The name of the hub.
|
887
|
+
# @param page_size [::Integer]
|
888
|
+
# Optional. The maximum number of results to return per page.
|
889
|
+
# @param page_token [::String]
|
890
|
+
# Optional. The page token.
|
891
|
+
# @param filter [::String]
|
892
|
+
# Optional. An expression that filters the list of results.
|
893
|
+
# The filter can be used to filter the results by the following fields:
|
894
|
+
# * `psc_propagation_status.source_spoke`
|
895
|
+
# * `psc_propagation_status.source_group`
|
896
|
+
# * `psc_propagation_status.source_forwarding_rule`
|
897
|
+
# * `psc_propagation_status.target_spoke`
|
898
|
+
# * `psc_propagation_status.target_group`
|
899
|
+
# * `psc_propagation_status.code`
|
900
|
+
# * `psc_propagation_status.message`
|
901
|
+
# @param order_by [::String]
|
902
|
+
# Optional. Sort the results in ascending order by the specified fields.
|
903
|
+
# A comma-separated list of any of these fields:
|
904
|
+
# * `psc_propagation_status.source_spoke`
|
905
|
+
# * `psc_propagation_status.source_group`
|
906
|
+
# * `psc_propagation_status.source_forwarding_rule`
|
907
|
+
# * `psc_propagation_status.target_spoke`
|
908
|
+
# * `psc_propagation_status.target_group`
|
909
|
+
# * `psc_propagation_status.code`
|
910
|
+
# If `group_by` is set, the value of the `order_by` field must be the
|
911
|
+
# same as or a subset of the `group_by` field.
|
912
|
+
# @param group_by [::String]
|
913
|
+
# Optional. Aggregate the results by the specified fields.
|
914
|
+
# A comma-separated list of any of these fields:
|
915
|
+
# * `psc_propagation_status.source_spoke`
|
916
|
+
# * `psc_propagation_status.source_group`
|
917
|
+
# * `psc_propagation_status.source_forwarding_rule`
|
918
|
+
# * `psc_propagation_status.target_spoke`
|
919
|
+
# * `psc_propagation_status.target_group`
|
920
|
+
# * `psc_propagation_status.code`
|
921
|
+
#
|
922
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
923
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::NetworkConnectivity::V1::HubStatusEntry>]
|
924
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
925
|
+
#
|
926
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::NetworkConnectivity::V1::HubStatusEntry>]
|
927
|
+
#
|
928
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
929
|
+
#
|
930
|
+
# @example Basic example
|
931
|
+
# require "google/cloud/network_connectivity/v1"
|
932
|
+
#
|
933
|
+
# # Create a client object. The client can be reused for multiple calls.
|
934
|
+
# client = Google::Cloud::NetworkConnectivity::V1::HubService::Client.new
|
935
|
+
#
|
936
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
937
|
+
# request = Google::Cloud::NetworkConnectivity::V1::QueryHubStatusRequest.new
|
938
|
+
#
|
939
|
+
# # Call the query_hub_status method.
|
940
|
+
# result = client.query_hub_status request
|
941
|
+
#
|
942
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
943
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
944
|
+
# result.each do |item|
|
945
|
+
# # Each element is of type ::Google::Cloud::NetworkConnectivity::V1::HubStatusEntry.
|
946
|
+
# p item
|
947
|
+
# end
|
948
|
+
#
|
949
|
+
def query_hub_status request, options = nil
|
950
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
951
|
+
|
952
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::NetworkConnectivity::V1::QueryHubStatusRequest
|
953
|
+
|
954
|
+
# Converts hash and nil to an options object
|
955
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
956
|
+
|
957
|
+
# Customize the options with defaults
|
958
|
+
metadata = @config.rpcs.query_hub_status.metadata.to_h
|
959
|
+
|
960
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
961
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
962
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
963
|
+
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
964
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
965
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
966
|
+
|
967
|
+
header_params = {}
|
968
|
+
if request.name
|
969
|
+
header_params["name"] = request.name
|
970
|
+
end
|
971
|
+
|
972
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
973
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
974
|
+
|
975
|
+
options.apply_defaults timeout: @config.rpcs.query_hub_status.timeout,
|
976
|
+
metadata: metadata,
|
977
|
+
retry_policy: @config.rpcs.query_hub_status.retry_policy
|
978
|
+
|
979
|
+
options.apply_defaults timeout: @config.timeout,
|
980
|
+
metadata: @config.metadata,
|
981
|
+
retry_policy: @config.retry_policy
|
982
|
+
|
983
|
+
@hub_service_stub.call_rpc :query_hub_status, request, options: options do |response, operation|
|
984
|
+
response = ::Gapic::PagedEnumerable.new @hub_service_stub, :query_hub_status, request, response, operation, options
|
985
|
+
yield response, operation if block_given?
|
986
|
+
return response
|
987
|
+
end
|
988
|
+
rescue ::GRPC::BadStatus => e
|
989
|
+
raise ::Google::Cloud::Error.from_error(e)
|
990
|
+
end
|
991
|
+
|
866
992
|
##
|
867
993
|
# Lists the Network Connectivity Center spokes in a specified project and
|
868
994
|
# location.
|
@@ -1787,7 +1913,7 @@ module Google
|
|
1787
1913
|
end
|
1788
1914
|
|
1789
1915
|
##
|
1790
|
-
# Lists routes in a given
|
1916
|
+
# Lists routes in a given route table.
|
1791
1917
|
#
|
1792
1918
|
# @overload list_routes(request, options = nil)
|
1793
1919
|
# Pass arguments to `list_routes` via a request object, either of type
|
@@ -1886,7 +2012,7 @@ module Google
|
|
1886
2012
|
end
|
1887
2013
|
|
1888
2014
|
##
|
1889
|
-
# Lists route tables in a given
|
2015
|
+
# Lists route tables in a given hub.
|
1890
2016
|
#
|
1891
2017
|
# @overload list_route_tables(request, options = nil)
|
1892
2018
|
# Pass arguments to `list_route_tables` via a request object, either of type
|
@@ -2169,6 +2295,121 @@ module Google
|
|
2169
2295
|
raise ::Google::Cloud::Error.from_error(e)
|
2170
2296
|
end
|
2171
2297
|
|
2298
|
+
##
|
2299
|
+
# Updates the parameters of a Network Connectivity Center group.
|
2300
|
+
#
|
2301
|
+
# @overload update_group(request, options = nil)
|
2302
|
+
# Pass arguments to `update_group` via a request object, either of type
|
2303
|
+
# {::Google::Cloud::NetworkConnectivity::V1::UpdateGroupRequest} or an equivalent Hash.
|
2304
|
+
#
|
2305
|
+
# @param request [::Google::Cloud::NetworkConnectivity::V1::UpdateGroupRequest, ::Hash]
|
2306
|
+
# A request object representing the call parameters. Required. To specify no
|
2307
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2308
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2309
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2310
|
+
#
|
2311
|
+
# @overload update_group(update_mask: nil, group: nil, request_id: nil)
|
2312
|
+
# Pass arguments to `update_group` via keyword arguments. Note that at
|
2313
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2314
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2315
|
+
#
|
2316
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
2317
|
+
# Optional. In the case of an update to an existing group, field mask is used
|
2318
|
+
# to specify the fields to be overwritten. The fields specified in the
|
2319
|
+
# update_mask are relative to the resource, not the full request. A field is
|
2320
|
+
# overwritten if it is in the mask. If the user does not provide a mask, then
|
2321
|
+
# all fields are overwritten.
|
2322
|
+
# @param group [::Google::Cloud::NetworkConnectivity::V1::Group, ::Hash]
|
2323
|
+
# Required. The state that the group should be in after the update.
|
2324
|
+
# @param request_id [::String]
|
2325
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
2326
|
+
# that if you must retry your request, the server knows to ignore the request
|
2327
|
+
# if it has already been completed. The server guarantees that a request
|
2328
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
2329
|
+
# minutes.
|
2330
|
+
#
|
2331
|
+
# For example, consider a situation where you make an initial request and
|
2332
|
+
# the request times out. If you make the request again with the same request
|
2333
|
+
# ID, the server can check to see whether the original operation
|
2334
|
+
# was received. If it was, the server ignores the second request. This
|
2335
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
2336
|
+
#
|
2337
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
2338
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
2339
|
+
#
|
2340
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
2341
|
+
# @yieldparam response [::Gapic::Operation]
|
2342
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2343
|
+
#
|
2344
|
+
# @return [::Gapic::Operation]
|
2345
|
+
#
|
2346
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2347
|
+
#
|
2348
|
+
# @example Basic example
|
2349
|
+
# require "google/cloud/network_connectivity/v1"
|
2350
|
+
#
|
2351
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2352
|
+
# client = Google::Cloud::NetworkConnectivity::V1::HubService::Client.new
|
2353
|
+
#
|
2354
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2355
|
+
# request = Google::Cloud::NetworkConnectivity::V1::UpdateGroupRequest.new
|
2356
|
+
#
|
2357
|
+
# # Call the update_group method.
|
2358
|
+
# result = client.update_group request
|
2359
|
+
#
|
2360
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
2361
|
+
# # check the status of an operation, cancel it, or wait for results.
|
2362
|
+
# # Here is how to wait for a response.
|
2363
|
+
# result.wait_until_done! timeout: 60
|
2364
|
+
# if result.response?
|
2365
|
+
# p result.response
|
2366
|
+
# else
|
2367
|
+
# puts "No response received."
|
2368
|
+
# end
|
2369
|
+
#
|
2370
|
+
def update_group request, options = nil
|
2371
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2372
|
+
|
2373
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::NetworkConnectivity::V1::UpdateGroupRequest
|
2374
|
+
|
2375
|
+
# Converts hash and nil to an options object
|
2376
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2377
|
+
|
2378
|
+
# Customize the options with defaults
|
2379
|
+
metadata = @config.rpcs.update_group.metadata.to_h
|
2380
|
+
|
2381
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2382
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2383
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2384
|
+
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
2385
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2386
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2387
|
+
|
2388
|
+
header_params = {}
|
2389
|
+
if request.group&.name
|
2390
|
+
header_params["group.name"] = request.group.name
|
2391
|
+
end
|
2392
|
+
|
2393
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
2394
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
2395
|
+
|
2396
|
+
options.apply_defaults timeout: @config.rpcs.update_group.timeout,
|
2397
|
+
metadata: metadata,
|
2398
|
+
retry_policy: @config.rpcs.update_group.retry_policy
|
2399
|
+
|
2400
|
+
options.apply_defaults timeout: @config.timeout,
|
2401
|
+
metadata: @config.metadata,
|
2402
|
+
retry_policy: @config.retry_policy
|
2403
|
+
|
2404
|
+
@hub_service_stub.call_rpc :update_group, request, options: options do |response, operation|
|
2405
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
2406
|
+
yield response, operation if block_given?
|
2407
|
+
return response
|
2408
|
+
end
|
2409
|
+
rescue ::GRPC::BadStatus => e
|
2410
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2411
|
+
end
|
2412
|
+
|
2172
2413
|
##
|
2173
2414
|
# Configuration class for the HubService API.
|
2174
2415
|
#
|
@@ -2353,6 +2594,11 @@ module Google
|
|
2353
2594
|
#
|
2354
2595
|
attr_reader :list_hub_spokes
|
2355
2596
|
##
|
2597
|
+
# RPC-specific configuration for `query_hub_status`
|
2598
|
+
# @return [::Gapic::Config::Method]
|
2599
|
+
#
|
2600
|
+
attr_reader :query_hub_status
|
2601
|
+
##
|
2356
2602
|
# RPC-specific configuration for `list_spokes`
|
2357
2603
|
# @return [::Gapic::Config::Method]
|
2358
2604
|
#
|
@@ -2417,6 +2663,11 @@ module Google
|
|
2417
2663
|
# @return [::Gapic::Config::Method]
|
2418
2664
|
#
|
2419
2665
|
attr_reader :list_groups
|
2666
|
+
##
|
2667
|
+
# RPC-specific configuration for `update_group`
|
2668
|
+
# @return [::Gapic::Config::Method]
|
2669
|
+
#
|
2670
|
+
attr_reader :update_group
|
2420
2671
|
|
2421
2672
|
# @private
|
2422
2673
|
def initialize parent_rpcs = nil
|
@@ -2432,6 +2683,8 @@ module Google
|
|
2432
2683
|
@delete_hub = ::Gapic::Config::Method.new delete_hub_config
|
2433
2684
|
list_hub_spokes_config = parent_rpcs.list_hub_spokes if parent_rpcs.respond_to? :list_hub_spokes
|
2434
2685
|
@list_hub_spokes = ::Gapic::Config::Method.new list_hub_spokes_config
|
2686
|
+
query_hub_status_config = parent_rpcs.query_hub_status if parent_rpcs.respond_to? :query_hub_status
|
2687
|
+
@query_hub_status = ::Gapic::Config::Method.new query_hub_status_config
|
2435
2688
|
list_spokes_config = parent_rpcs.list_spokes if parent_rpcs.respond_to? :list_spokes
|
2436
2689
|
@list_spokes = ::Gapic::Config::Method.new list_spokes_config
|
2437
2690
|
get_spoke_config = parent_rpcs.get_spoke if parent_rpcs.respond_to? :get_spoke
|
@@ -2458,6 +2711,8 @@ module Google
|
|
2458
2711
|
@get_group = ::Gapic::Config::Method.new get_group_config
|
2459
2712
|
list_groups_config = parent_rpcs.list_groups if parent_rpcs.respond_to? :list_groups
|
2460
2713
|
@list_groups = ::Gapic::Config::Method.new list_groups_config
|
2714
|
+
update_group_config = parent_rpcs.update_group if parent_rpcs.respond_to? :update_group
|
2715
|
+
@update_group = ::Gapic::Config::Method.new update_group_config
|
2461
2716
|
|
2462
2717
|
yield self if block_given?
|
2463
2718
|
end
|
@@ -124,14 +124,6 @@ module Google
|
|
124
124
|
# Lists operations that match the specified filter in the request. If the
|
125
125
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
126
126
|
#
|
127
|
-
# NOTE: the `name` binding allows API services to override the binding
|
128
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
129
|
-
# override the binding, API services can add a binding such as
|
130
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
131
|
-
# For backwards compatibility, the default name includes the operations
|
132
|
-
# collection id, however overriding users must ensure the name binding
|
133
|
-
# is the parent resource, without the operations collection id.
|
134
|
-
#
|
135
127
|
# @overload list_operations(request, options = nil)
|
136
128
|
# Pass arguments to `list_operations` via a request object, either of type
|
137
129
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -421,8 +413,9 @@ module Google
|
|
421
413
|
# other methods to check whether the cancellation succeeded or whether the
|
422
414
|
# operation completed despite cancellation. On successful cancellation,
|
423
415
|
# the operation is not deleted; instead, it becomes an operation with
|
424
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
425
|
-
# corresponding to
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
418
|
+
# `Code.CANCELLED`.
|
426
419
|
#
|
427
420
|
# @overload cancel_operation(request, options = nil)
|
428
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -124,14 +124,6 @@ module Google
|
|
124
124
|
# Lists operations that match the specified filter in the request. If the
|
125
125
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
126
126
|
#
|
127
|
-
# NOTE: the `name` binding allows API services to override the binding
|
128
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
129
|
-
# override the binding, API services can add a binding such as
|
130
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
131
|
-
# For backwards compatibility, the default name includes the operations
|
132
|
-
# collection id, however overriding users must ensure the name binding
|
133
|
-
# is the parent resource, without the operations collection id.
|
134
|
-
#
|
135
127
|
# @overload list_operations(request, options = nil)
|
136
128
|
# Pass arguments to `list_operations` via a request object, either of type
|
137
129
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -421,8 +413,9 @@ module Google
|
|
421
413
|
# other methods to check whether the cancellation succeeded or whether the
|
422
414
|
# operation completed despite cancellation. On successful cancellation,
|
423
415
|
# the operation is not deleted; instead, it becomes an operation with
|
424
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
425
|
-
# corresponding to
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
418
|
+
# `Code.CANCELLED`.
|
426
419
|
#
|
427
420
|
# @overload cancel_operation(request, options = nil)
|
428
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -7,6 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/annotations_pb'
|
8
8
|
require 'google/api/client_pb'
|
9
9
|
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/api/field_info_pb'
|
10
11
|
require 'google/api/resource_pb'
|
11
12
|
require 'google/cloud/networkconnectivity/v1/common_pb'
|
12
13
|
require 'google/longrunning/operations_pb'
|
@@ -15,7 +16,7 @@ require 'google/protobuf/field_mask_pb'
|
|
15
16
|
require 'google/protobuf/timestamp_pb'
|
16
17
|
|
17
18
|
|
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\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/global}/hubs\x12\xa4\x01\n\x06GetHub\x12\x32.google.cloud.networkconnectivity.v1.GetHubRequest\x1a(.google.cloud.networkconnectivity.v1.Hub\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/global/hubs/*}\x12\xcc\x01\n\tCreateHub\x12\x35.google.cloud.networkconnectivity.v1.CreateHubRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\xda\x41\x11parent,hub,hub_id\x82\xd3\xe4\x93\x02\x34\"-/v1/{parent=projects/*/locations/global}/hubs:\x03hub\x12\xce\x01\n\tUpdateHub\x12\x35.google.cloud.networkconnectivity.v1.UpdateHubRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\xda\x41\x0fhub,update_mask\x82\xd3\xe4\x93\x02\x38\x32\x31/v1/{hub.name=projects/*/locations/global/hubs/*}:\x03hub\x12\xcc\x01\n\tDeleteHub\x12\x35.google.cloud.networkconnectivity.v1.DeleteHubRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/global/hubs/*}\x12\xcf\x01\n\rListHubSpokes\x12\x39.google.cloud.networkconnectivity.v1.ListHubSpokesRequest\x1a:.google.cloud.networkconnectivity.v1.ListHubSpokesResponse\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v1/{name=projects/*/locations/global/hubs/*}:listSpokes\x12\xba\x01\n\nListSpokes\x12\x36.google.cloud.networkconnectivity.v1.ListSpokesRequest\x1a\x37.google.cloud.networkconnectivity.v1.ListSpokesResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/spokes\x12\xa7\x01\n\x08GetSpoke\x12\x34.google.cloud.networkconnectivity.v1.GetSpokeRequest\x1a*.google.cloud.networkconnectivity.v1.Spoke\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/spokes/*}\x12\xd5\x01\n\x0b\x43reateSpoke\x12\x37.google.cloud.networkconnectivity.v1.CreateSpokeRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\xda\x41\x15parent,spoke,spoke_id\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/spokes:\x05spoke\x12\xd7\x01\n\x0bUpdateSpoke\x12\x37.google.cloud.networkconnectivity.v1.UpdateSpokeRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\xda\x41\x11spoke,update_mask\x82\xd3\xe4\x93\x02\x39\x32\x30/v1/{spoke.name=projects/*/locations/*/spokes/*}:\x05spoke\x12\xf1\x01\n\x0eRejectHubSpoke\x12:.google.cloud.networkconnectivity.v1.RejectHubSpokeRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41+\n\x16RejectHubSpokeResponse\x12\x11OperationMetadata\xda\x41\x0ename,spoke_uri\x82\xd3\xe4\x93\x02>\"9/v1/{name=projects/*/locations/global/hubs/*}:rejectSpoke:\x01*\x12\xf1\x01\n\x0e\x41\x63\x63\x65ptHubSpoke\x12:.google.cloud.networkconnectivity.v1.AcceptHubSpokeRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41+\n\x16\x41\x63\x63\x65ptHubSpokeResponse\x12\x11OperationMetadata\xda\x41\x0ename,spoke_uri\x82\xd3\xe4\x93\x02>\"9/v1/{name=projects/*/locations/global/hubs/*}:acceptSpoke:\x01*\x12\xcd\x01\n\x0b\x44\x65leteSpoke\x12\x37.google.cloud.networkconnectivity.v1.DeleteSpokeRequest\x1a\x1d.google.longrunning.Operation\"f\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/spokes/*}\x12\xc7\x01\n\rGetRouteTable\x12\x39.google.cloud.networkconnectivity.v1.GetRouteTableRequest\x1a/.google.cloud.networkconnectivity.v1.RouteTable\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/global/hubs/*/routeTables/*}\x12\xc1\x01\n\x08GetRoute\x12\x34.google.cloud.networkconnectivity.v1.GetRouteRequest\x1a*.google.cloud.networkconnectivity.v1.Route\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/global/hubs/*/routeTables/*/routes/*}\x12\xd4\x01\n\nListRoutes\x12\x36.google.cloud.networkconnectivity.v1.ListRoutesRequest\x1a\x37.google.cloud.networkconnectivity.v1.ListRoutesResponse\"U\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/global/hubs/*/routeTables/*}/routes\x12\xda\x01\n\x0fListRouteTables\x12;.google.cloud.networkconnectivity.v1.ListRouteTablesRequest\x1a<.google.cloud.networkconnectivity.v1.ListRouteTablesResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/global/hubs/*}/routeTables\x12\xb3\x01\n\x08GetGroup\x12\x34.google.cloud.networkconnectivity.v1.GetGroupRequest\x1a*.google.cloud.networkconnectivity.v1.Group\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/global/hubs/*/groups/*}\x12\xc6\x01\n\nListGroups\x12\x36.google.cloud.networkconnectivity.v1.ListGroupsRequest\x1a\x37.google.cloud.networkconnectivity.v1.ListGroupsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/global/hubs/*}/groups\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"
|
19
|
+
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\x1bgoogle/api/field_info.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\"\xbf\x06\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\x12I\n\x0bpolicy_mode\x18\r \x01(\x0e\x32/.google.cloud.networkconnectivity.v1.PolicyModeB\x03\xe0\x41\x01\x12Q\n\x0fpreset_topology\x18\x0e \x01(\x0e\x32\x33.google.cloud.networkconnectivity.v1.PresetTopologyB\x03\xe0\x41\x01\x12\x1c\n\nexport_psc\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\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}B\r\n\x0b_export_psc\"\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\"\xb1\x0b\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\x12g\n\x1blinked_producer_vpc_network\x18\x1a \x01(\x0b\x32=.google.cloud.networkconnectivity.v1.LinkedProducerVpcNetworkB\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}\"\xd7\x08\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\x12\x15\n\x08priority\x18\r \x01(\x03\x42\x03\xe0\x41\x03\x12W\n\x13next_hop_vpn_tunnel\x18\x0e \x01(\x0b\x32\x35.google.cloud.networkconnectivity.v1.NextHopVPNTunnelB\x03\xe0\x41\x05\x12t\n\"next_hop_router_appliance_instance\x18\x0f \x01(\x0b\x32\x43.google.cloud.networkconnectivity.v1.NextHopRouterApplianceInstanceB\x03\xe0\x41\x05\x12q\n next_hop_interconnect_attachment\x18\x10 \x01(\x0b\x32\x42.google.cloud.networkconnectivity.v1.NextHopInterconnectAttachmentB\x03\xe0\x41\x05\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}\"\xc1\x04\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\x12I\n\x0b\x61uto_accept\x18\x08 \x01(\x0b\x32/.google.cloud.networkconnectivity.v1.AutoAcceptB\x03\xe0\x41\x01\x12\x18\n\x0broute_table\x18\t \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:l\xea\x41i\n(networkconnectivity.googleapis.com/Group\x12=projects/{project}/locations/global/hubs/{hub}/groups/{group}\"*\n\nAutoAccept\x12\x1c\n\x14\x61uto_accept_projects\x18\x01 \x03(\t\"\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\"\xc9\x01\n\x15QueryHubStatusRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08group_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\x82\x01\n\x16QueryHubStatusResponse\x12O\n\x12hub_status_entries\x18\x01 \x03(\x0b\x32\x33.google.cloud.networkconnectivity.v1.HubStatusEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8c\x01\n\x0eHubStatusEntry\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\x12\x10\n\x08group_by\x18\x02 \x01(\t\x12Y\n\x16psc_propagation_status\x18\x03 \x01(\x0b\x32\x39.google.cloud.networkconnectivity.v1.PscPropagationStatus\"\xd2\x03\n\x14PscPropagationStatus\x12\x14\n\x0csource_spoke\x18\x01 \x01(\t\x12\x14\n\x0csource_group\x18\x02 \x01(\t\x12\x1e\n\x16source_forwarding_rule\x18\x03 \x01(\t\x12\x14\n\x0ctarget_spoke\x18\x04 \x01(\t\x12\x14\n\x0ctarget_group\x18\x05 \x01(\t\x12L\n\x04\x63ode\x18\x06 \x01(\x0e\x32>.google.cloud.networkconnectivity.v1.PscPropagationStatus.Code\x12\x0f\n\x07message\x18\x07 \x01(\t\"\xe2\x01\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0f\n\x0bPROPAGATING\x10\x02\x12\x37\n3ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED\x10\x03\x12)\n%ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED\x10\x04\x12!\n\x1d\x45RROR_PRODUCER_QUOTA_EXCEEDED\x10\x05\x12!\n\x1d\x45RROR_CONSUMER_QUOTA_EXCEEDED\x10\x06\"\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\"\xcc\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\x12\"\n\x15include_import_ranges\x18\x05 \x03(\tB\x03\xe0\x41\x01\"\xe6\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\x12\"\n\x15include_import_ranges\x18\x05 \x03(\tB\x03\xe0\x41\x01\"\xf6\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\x12\"\n\x15include_import_ranges\x18\x05 \x03(\tB\x03\xe0\x41\x01\"\xde\x01\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\x12\"\n\x15include_export_ranges\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12M\n\x13producer_vpc_spokes\x18\x04 \x03(\tB0\xe0\x41\x03\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\"\xc9\x02\n\x18LinkedProducerVpcNetwork\x12\x37\n\x07network\x18\x01 \x01(\tB&\xe0\x41\x05\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12T\n\x1aservice_consumer_vpc_spoke\x18\x06 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x14\n\x07peering\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12@\n\x10producer_network\x18\x05 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\"\n\x15\x65xclude_export_ranges\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\"\n\x15include_export_ranges\x18\x04 \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\"\xa4\x01\n\x10NextHopVPNTunnel\x12\x32\n\x03uri\x18\x01 \x01(\tB%\xfa\x41\"\n compute.googleapis.com/VpnTunnel\x12\x38\n\x0bvpc_network\x18\x02 \x01(\tB#\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\"\n\x1asite_to_site_data_transfer\x18\x03 \x01(\x08\"\xb1\x01\n\x1eNextHopRouterApplianceInstance\x12\x31\n\x03uri\x18\x01 \x01(\tB$\xfa\x41!\n\x1f\x63ompute.googleapis.com/Instance\x12\x38\n\x0bvpc_network\x18\x02 \x01(\tB#\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\"\n\x1asite_to_site_data_transfer\x18\x03 \x01(\x08\"\xbe\x01\n\x1dNextHopInterconnectAttachment\x12?\n\x03uri\x18\x01 \x01(\tB2\xfa\x41/\n-compute.googleapis.com/InterconnectAttachment\x12\x38\n\x0bvpc_network\x18\x02 \x01(\tB#\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\"\n\x1asite_to_site_data_transfer\x18\x03 \x01(\x08\"\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\"\xa3\x01\n\x12UpdateGroupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12>\n\x05group\x18\x02 \x01(\x0b\x32*.google.cloud.networkconnectivity.v1.GroupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01*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*l\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\x12\x11\n\rDYNAMIC_ROUTE\x10\x03*\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*\x95\x01\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\x12\x18\n\x14PRODUCER_VPC_NETWORK\x10\x07*5\n\nPolicyMode\x12\x1b\n\x17POLICY_MODE_UNSPECIFIED\x10\x00\x12\n\n\x06PRESET\x10\x01*E\n\x0ePresetTopology\x12\x1f\n\x1bPRESET_TOPOLOGY_UNSPECIFIED\x10\x00\x12\x08\n\x04MESH\x10\x02\x12\x08\n\x04STAR\x10\x03\x32\xd4\"\n\nHubService\x12\xb7\x01\n\x08ListHubs\x12\x34.google.cloud.networkconnectivity.v1.ListHubsRequest\x1a\x35.google.cloud.networkconnectivity.v1.ListHubsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/global}/hubs\x12\xa4\x01\n\x06GetHub\x12\x32.google.cloud.networkconnectivity.v1.GetHubRequest\x1a(.google.cloud.networkconnectivity.v1.Hub\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/global/hubs/*}\x12\xcc\x01\n\tCreateHub\x12\x35.google.cloud.networkconnectivity.v1.CreateHubRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\xda\x41\x11parent,hub,hub_id\x82\xd3\xe4\x93\x02\x34\"-/v1/{parent=projects/*/locations/global}/hubs:\x03hub\x12\xce\x01\n\tUpdateHub\x12\x35.google.cloud.networkconnectivity.v1.UpdateHubRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\xda\x41\x0fhub,update_mask\x82\xd3\xe4\x93\x02\x38\x32\x31/v1/{hub.name=projects/*/locations/global/hubs/*}:\x03hub\x12\xcc\x01\n\tDeleteHub\x12\x35.google.cloud.networkconnectivity.v1.DeleteHubRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/global/hubs/*}\x12\xcf\x01\n\rListHubSpokes\x12\x39.google.cloud.networkconnectivity.v1.ListHubSpokesRequest\x1a:.google.cloud.networkconnectivity.v1.ListHubSpokesResponse\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v1/{name=projects/*/locations/global/hubs/*}:listSpokes\x12\xd3\x01\n\x0eQueryHubStatus\x12:.google.cloud.networkconnectivity.v1.QueryHubStatusRequest\x1a;.google.cloud.networkconnectivity.v1.QueryHubStatusResponse\"H\xda\x41\x04name\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/global/hubs/*}:queryStatus\x12\xba\x01\n\nListSpokes\x12\x36.google.cloud.networkconnectivity.v1.ListSpokesRequest\x1a\x37.google.cloud.networkconnectivity.v1.ListSpokesResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/spokes\x12\xa7\x01\n\x08GetSpoke\x12\x34.google.cloud.networkconnectivity.v1.GetSpokeRequest\x1a*.google.cloud.networkconnectivity.v1.Spoke\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/spokes/*}\x12\xd5\x01\n\x0b\x43reateSpoke\x12\x37.google.cloud.networkconnectivity.v1.CreateSpokeRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\xda\x41\x15parent,spoke,spoke_id\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/spokes:\x05spoke\x12\xd7\x01\n\x0bUpdateSpoke\x12\x37.google.cloud.networkconnectivity.v1.UpdateSpokeRequest\x1a\x1d.google.longrunning.Operation\"p\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\xda\x41\x11spoke,update_mask\x82\xd3\xe4\x93\x02\x39\x32\x30/v1/{spoke.name=projects/*/locations/*/spokes/*}:\x05spoke\x12\xf1\x01\n\x0eRejectHubSpoke\x12:.google.cloud.networkconnectivity.v1.RejectHubSpokeRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41+\n\x16RejectHubSpokeResponse\x12\x11OperationMetadata\xda\x41\x0ename,spoke_uri\x82\xd3\xe4\x93\x02>\"9/v1/{name=projects/*/locations/global/hubs/*}:rejectSpoke:\x01*\x12\xf1\x01\n\x0e\x41\x63\x63\x65ptHubSpoke\x12:.google.cloud.networkconnectivity.v1.AcceptHubSpokeRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41+\n\x16\x41\x63\x63\x65ptHubSpokeResponse\x12\x11OperationMetadata\xda\x41\x0ename,spoke_uri\x82\xd3\xe4\x93\x02>\"9/v1/{name=projects/*/locations/global/hubs/*}:acceptSpoke:\x01*\x12\xcd\x01\n\x0b\x44\x65leteSpoke\x12\x37.google.cloud.networkconnectivity.v1.DeleteSpokeRequest\x1a\x1d.google.longrunning.Operation\"f\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/spokes/*}\x12\xc7\x01\n\rGetRouteTable\x12\x39.google.cloud.networkconnectivity.v1.GetRouteTableRequest\x1a/.google.cloud.networkconnectivity.v1.RouteTable\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/global/hubs/*/routeTables/*}\x12\xc1\x01\n\x08GetRoute\x12\x34.google.cloud.networkconnectivity.v1.GetRouteRequest\x1a*.google.cloud.networkconnectivity.v1.Route\"S\xda\x41\x04name\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/global/hubs/*/routeTables/*/routes/*}\x12\xd4\x01\n\nListRoutes\x12\x36.google.cloud.networkconnectivity.v1.ListRoutesRequest\x1a\x37.google.cloud.networkconnectivity.v1.ListRoutesResponse\"U\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/global/hubs/*/routeTables/*}/routes\x12\xda\x01\n\x0fListRouteTables\x12;.google.cloud.networkconnectivity.v1.ListRouteTablesRequest\x1a<.google.cloud.networkconnectivity.v1.ListRouteTablesResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/global/hubs/*}/routeTables\x12\xb3\x01\n\x08GetGroup\x12\x34.google.cloud.networkconnectivity.v1.GetGroupRequest\x1a*.google.cloud.networkconnectivity.v1.Group\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/global/hubs/*/groups/*}\x12\xc6\x01\n\nListGroups\x12\x36.google.cloud.networkconnectivity.v1.ListGroupsRequest\x1a\x37.google.cloud.networkconnectivity.v1.ListGroupsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/global/hubs/*}/groups\x12\xe3\x01\n\x0bUpdateGroup\x12\x37.google.cloud.networkconnectivity.v1.UpdateGroupRequest\x1a\x1d.google.longrunning.Operation\"|\xca\x41\x1a\n\x05Group\x12\x11OperationMetadata\xda\x41\x11group,update_mask\x82\xd3\xe4\x93\x02\x45\x32</v1/{group.name=projects/*/locations/global/hubs/*/groups/*}:\x05group\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"
|
19
20
|
|
20
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
22
|
|
@@ -55,6 +56,7 @@ module Google
|
|
55
56
|
RouteTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RouteTable").msgclass
|
56
57
|
Route = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.Route").msgclass
|
57
58
|
Group = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.Group").msgclass
|
59
|
+
AutoAccept = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.AutoAccept").msgclass
|
58
60
|
ListHubsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubsRequest").msgclass
|
59
61
|
ListHubsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubsResponse").msgclass
|
60
62
|
GetHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.GetHubRequest").msgclass
|
@@ -64,6 +66,11 @@ module Google
|
|
64
66
|
ListHubSpokesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubSpokesRequest").msgclass
|
65
67
|
ListHubSpokesRequest::SpokeView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubSpokesRequest.SpokeView").enummodule
|
66
68
|
ListHubSpokesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubSpokesResponse").msgclass
|
69
|
+
QueryHubStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.QueryHubStatusRequest").msgclass
|
70
|
+
QueryHubStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.QueryHubStatusResponse").msgclass
|
71
|
+
HubStatusEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.HubStatusEntry").msgclass
|
72
|
+
PscPropagationStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.PscPropagationStatus").msgclass
|
73
|
+
PscPropagationStatus::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.PscPropagationStatus.Code").enummodule
|
67
74
|
ListSpokesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListSpokesRequest").msgclass
|
68
75
|
ListSpokesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListSpokesResponse").msgclass
|
69
76
|
GetSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.GetSpokeRequest").msgclass
|
@@ -86,18 +93,25 @@ module Google
|
|
86
93
|
LinkedInterconnectAttachments = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments").msgclass
|
87
94
|
LinkedRouterApplianceInstances = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances").msgclass
|
88
95
|
LinkedVpcNetwork = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedVpcNetwork").msgclass
|
96
|
+
LinkedProducerVpcNetwork = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedProducerVpcNetwork").msgclass
|
89
97
|
RouterApplianceInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RouterApplianceInstance").msgclass
|
90
98
|
LocationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LocationMetadata").msgclass
|
91
99
|
NextHopVpcNetwork = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.NextHopVpcNetwork").msgclass
|
100
|
+
NextHopVPNTunnel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.NextHopVPNTunnel").msgclass
|
101
|
+
NextHopRouterApplianceInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.NextHopRouterApplianceInstance").msgclass
|
102
|
+
NextHopInterconnectAttachment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.NextHopInterconnectAttachment").msgclass
|
92
103
|
SpokeSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.SpokeSummary").msgclass
|
93
104
|
SpokeSummary::SpokeTypeCount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.SpokeSummary.SpokeTypeCount").msgclass
|
94
105
|
SpokeSummary::SpokeStateCount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateCount").msgclass
|
95
106
|
SpokeSummary::SpokeStateReasonCount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.SpokeSummary.SpokeStateReasonCount").msgclass
|
96
107
|
GetGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.GetGroupRequest").msgclass
|
108
|
+
UpdateGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.UpdateGroupRequest").msgclass
|
97
109
|
LocationFeature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LocationFeature").enummodule
|
98
110
|
RouteType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RouteType").enummodule
|
99
111
|
State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.State").enummodule
|
100
112
|
SpokeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.SpokeType").enummodule
|
113
|
+
PolicyMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.PolicyMode").enummodule
|
114
|
+
PresetTopology = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.PresetTopology").enummodule
|
101
115
|
end
|
102
116
|
end
|
103
117
|
end
|
@@ -50,6 +50,9 @@ module Google
|
|
50
50
|
# specified hub and location. The list includes both spokes that are attached
|
51
51
|
# to the hub and spokes that have been proposed but not yet accepted.
|
52
52
|
rpc :ListHubSpokes, ::Google::Cloud::NetworkConnectivity::V1::ListHubSpokesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListHubSpokesResponse
|
53
|
+
# Query the Private Service Connect propagation status of a Network
|
54
|
+
# Connectivity Center hub.
|
55
|
+
rpc :QueryHubStatus, ::Google::Cloud::NetworkConnectivity::V1::QueryHubStatusRequest, ::Google::Cloud::NetworkConnectivity::V1::QueryHubStatusResponse
|
53
56
|
# Lists the Network Connectivity Center spokes in a specified project and
|
54
57
|
# location.
|
55
58
|
rpc :ListSpokes, ::Google::Cloud::NetworkConnectivity::V1::ListSpokesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListSpokesResponse
|
@@ -73,14 +76,16 @@ module Google
|
|
73
76
|
rpc :GetRouteTable, ::Google::Cloud::NetworkConnectivity::V1::GetRouteTableRequest, ::Google::Cloud::NetworkConnectivity::V1::RouteTable
|
74
77
|
# Gets details about the specified route.
|
75
78
|
rpc :GetRoute, ::Google::Cloud::NetworkConnectivity::V1::GetRouteRequest, ::Google::Cloud::NetworkConnectivity::V1::Route
|
76
|
-
# Lists routes in a given
|
79
|
+
# Lists routes in a given route table.
|
77
80
|
rpc :ListRoutes, ::Google::Cloud::NetworkConnectivity::V1::ListRoutesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListRoutesResponse
|
78
|
-
# Lists route tables in a given
|
81
|
+
# Lists route tables in a given hub.
|
79
82
|
rpc :ListRouteTables, ::Google::Cloud::NetworkConnectivity::V1::ListRouteTablesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListRouteTablesResponse
|
80
83
|
# Gets details about a Network Connectivity Center group.
|
81
84
|
rpc :GetGroup, ::Google::Cloud::NetworkConnectivity::V1::GetGroupRequest, ::Google::Cloud::NetworkConnectivity::V1::Group
|
82
85
|
# Lists groups in a given hub.
|
83
86
|
rpc :ListGroups, ::Google::Cloud::NetworkConnectivity::V1::ListGroupsRequest, ::Google::Cloud::NetworkConnectivity::V1::ListGroupsResponse
|
87
|
+
# Updates the parameters of a Network Connectivity Center group.
|
88
|
+
rpc :UpdateGroup, ::Google::Cloud::NetworkConnectivity::V1::UpdateGroupRequest, ::Google::Longrunning::Operation
|
84
89
|
end
|
85
90
|
|
86
91
|
Stub = Service.rpc_stub_class
|