google-cloud-network_connectivity-v1 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/network_connectivity/v1/hub_service/client.rb +0 -189
- data/lib/google/cloud/network_connectivity/v1/hub_service/paths.rb +17 -0
- data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
- data/lib/google/cloud/networkconnectivity/v1/hub_pb.rb +5 -10
- data/lib/google/cloud/networkconnectivity/v1/hub_services_pb.rb +0 -7
- data/proto_docs/google/cloud/networkconnectivity/v1/common.rb +1 -1
- data/proto_docs/google/cloud/networkconnectivity/v1/hub.rb +24 -68
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31c5d8c3f32081a84a1788be4f7718af9c302b3376eb81ef64c0f305aeace8d8
|
4
|
+
data.tar.gz: 200f1b7d55ca447a1f6349e0f7a0c757054da0660e6716968079e4d3e8b1257d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3c215ac655ec07b3dee9e9a017b4fdf362eb154784966bb6ab80a22dfdea1771119f23dcc8377ca3cad93b0f2688ca5d6cceec7f08a0759b9b0327903a9434f
|
7
|
+
data.tar.gz: b797a1a022a2abfb48472ee174515c8d1ecad07ce6e64cf8cd6d7712540089bea7963a8c1f8a8b5f8f7b8c357595890bb18fd377a418d1fde8c6c8302b71b235
|
@@ -81,10 +81,6 @@ module Google
|
|
81
81
|
|
82
82
|
default_config.rpcs.update_spoke.timeout = 60.0
|
83
83
|
|
84
|
-
default_config.rpcs.deactivate_spoke.timeout = 60.0
|
85
|
-
|
86
|
-
default_config.rpcs.activate_spoke.timeout = 60.0
|
87
|
-
|
88
84
|
default_config.rpcs.delete_spoke.timeout = 60.0
|
89
85
|
|
90
86
|
default_config
|
@@ -909,177 +905,6 @@ module Google
|
|
909
905
|
raise ::Google::Cloud::Error.from_error(e)
|
910
906
|
end
|
911
907
|
|
912
|
-
##
|
913
|
-
# Deactivates the specified spoke. Deactivating keeps the spoke information
|
914
|
-
# for future re-activation, but disconnects the Google Cloud network from
|
915
|
-
# non-Google-Cloud network.
|
916
|
-
#
|
917
|
-
# @overload deactivate_spoke(request, options = nil)
|
918
|
-
# Pass arguments to `deactivate_spoke` via a request object, either of type
|
919
|
-
# {::Google::Cloud::NetworkConnectivity::V1::DeactivateSpokeRequest} or an equivalent Hash.
|
920
|
-
#
|
921
|
-
# @param request [::Google::Cloud::NetworkConnectivity::V1::DeactivateSpokeRequest, ::Hash]
|
922
|
-
# A request object representing the call parameters. Required. To specify no
|
923
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
924
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
925
|
-
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
926
|
-
#
|
927
|
-
# @overload deactivate_spoke(name: nil, request_id: nil)
|
928
|
-
# Pass arguments to `deactivate_spoke` via keyword arguments. Note that at
|
929
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
930
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
931
|
-
#
|
932
|
-
# @param name [::String]
|
933
|
-
# Required. The name of the spoke to deactivate.
|
934
|
-
# @param request_id [::String]
|
935
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can use it
|
936
|
-
# in cases when you need to retry your request. When you need to retry, this
|
937
|
-
# ID lets the server know that it can ignore the request if it has already
|
938
|
-
# been completed. The server guarantees that for at least 60 minutes after
|
939
|
-
# the first request.
|
940
|
-
#
|
941
|
-
# For example, consider a situation where you make an initial request and
|
942
|
-
# the request times out. If you make the request again with the same request
|
943
|
-
# ID, the server can check to see whether the original operation
|
944
|
-
# was received. If it was, the server ignores the second request. This
|
945
|
-
# behavior prevents clients from mistakenly creating duplicate commitments.
|
946
|
-
#
|
947
|
-
# The request ID must be a valid UUID, with the exception that zero UUID is
|
948
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
949
|
-
#
|
950
|
-
# @yield [response, operation] Access the result along with the RPC operation
|
951
|
-
# @yieldparam response [::Gapic::Operation]
|
952
|
-
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
953
|
-
#
|
954
|
-
# @return [::Gapic::Operation]
|
955
|
-
#
|
956
|
-
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
957
|
-
#
|
958
|
-
def deactivate_spoke request, options = nil
|
959
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
960
|
-
|
961
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::NetworkConnectivity::V1::DeactivateSpokeRequest
|
962
|
-
|
963
|
-
# Converts hash and nil to an options object
|
964
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
965
|
-
|
966
|
-
# Customize the options with defaults
|
967
|
-
metadata = @config.rpcs.deactivate_spoke.metadata.to_h
|
968
|
-
|
969
|
-
# Set x-goog-api-client and x-goog-user-project headers
|
970
|
-
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
971
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
972
|
-
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
973
|
-
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
974
|
-
|
975
|
-
header_params = {
|
976
|
-
"name" => request.name
|
977
|
-
}
|
978
|
-
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
979
|
-
metadata[:"x-goog-request-params"] ||= request_params_header
|
980
|
-
|
981
|
-
options.apply_defaults timeout: @config.rpcs.deactivate_spoke.timeout,
|
982
|
-
metadata: metadata,
|
983
|
-
retry_policy: @config.rpcs.deactivate_spoke.retry_policy
|
984
|
-
|
985
|
-
options.apply_defaults timeout: @config.timeout,
|
986
|
-
metadata: @config.metadata,
|
987
|
-
retry_policy: @config.retry_policy
|
988
|
-
|
989
|
-
@hub_service_stub.call_rpc :deactivate_spoke, request, options: options do |response, operation|
|
990
|
-
response = ::Gapic::Operation.new response, @operations_client, options: options
|
991
|
-
yield response, operation if block_given?
|
992
|
-
return response
|
993
|
-
end
|
994
|
-
rescue ::GRPC::BadStatus => e
|
995
|
-
raise ::Google::Cloud::Error.from_error(e)
|
996
|
-
end
|
997
|
-
|
998
|
-
##
|
999
|
-
# Activates the specified spoke. Activating reconnects the Google Cloud
|
1000
|
-
# network with the non-Google-Cloud network.
|
1001
|
-
#
|
1002
|
-
# @overload activate_spoke(request, options = nil)
|
1003
|
-
# Pass arguments to `activate_spoke` via a request object, either of type
|
1004
|
-
# {::Google::Cloud::NetworkConnectivity::V1::ActivateSpokeRequest} or an equivalent Hash.
|
1005
|
-
#
|
1006
|
-
# @param request [::Google::Cloud::NetworkConnectivity::V1::ActivateSpokeRequest, ::Hash]
|
1007
|
-
# A request object representing the call parameters. Required. To specify no
|
1008
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1009
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
1010
|
-
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1011
|
-
#
|
1012
|
-
# @overload activate_spoke(name: nil, request_id: nil)
|
1013
|
-
# Pass arguments to `activate_spoke` via keyword arguments. Note that at
|
1014
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
1015
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
1016
|
-
#
|
1017
|
-
# @param name [::String]
|
1018
|
-
# Required. The name of the spoke to activate.
|
1019
|
-
# @param request_id [::String]
|
1020
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can use it
|
1021
|
-
# in cases when you need to retry your request. When you need to retry, this
|
1022
|
-
# ID lets the server know that it can ignore the request if it has already
|
1023
|
-
# been completed. The server guarantees that for at least 60 minutes after
|
1024
|
-
# the first request.
|
1025
|
-
#
|
1026
|
-
# For example, consider a situation where you make an initial request and
|
1027
|
-
# the request times out. If you make the request again with the same request
|
1028
|
-
# ID, the server can check to see whether the original operation
|
1029
|
-
# was received. If it was, the server ignores the second request. This
|
1030
|
-
# behavior prevents clients from mistakenly creating duplicate commitments.
|
1031
|
-
#
|
1032
|
-
# The request ID must be a valid UUID, with the exception that zero UUID is
|
1033
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
1034
|
-
#
|
1035
|
-
# @yield [response, operation] Access the result along with the RPC operation
|
1036
|
-
# @yieldparam response [::Gapic::Operation]
|
1037
|
-
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1038
|
-
#
|
1039
|
-
# @return [::Gapic::Operation]
|
1040
|
-
#
|
1041
|
-
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1042
|
-
#
|
1043
|
-
def activate_spoke request, options = nil
|
1044
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
1045
|
-
|
1046
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::NetworkConnectivity::V1::ActivateSpokeRequest
|
1047
|
-
|
1048
|
-
# Converts hash and nil to an options object
|
1049
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1050
|
-
|
1051
|
-
# Customize the options with defaults
|
1052
|
-
metadata = @config.rpcs.activate_spoke.metadata.to_h
|
1053
|
-
|
1054
|
-
# Set x-goog-api-client and x-goog-user-project headers
|
1055
|
-
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1056
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1057
|
-
gapic_version: ::Google::Cloud::NetworkConnectivity::V1::VERSION
|
1058
|
-
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1059
|
-
|
1060
|
-
header_params = {
|
1061
|
-
"name" => request.name
|
1062
|
-
}
|
1063
|
-
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1064
|
-
metadata[:"x-goog-request-params"] ||= request_params_header
|
1065
|
-
|
1066
|
-
options.apply_defaults timeout: @config.rpcs.activate_spoke.timeout,
|
1067
|
-
metadata: metadata,
|
1068
|
-
retry_policy: @config.rpcs.activate_spoke.retry_policy
|
1069
|
-
|
1070
|
-
options.apply_defaults timeout: @config.timeout,
|
1071
|
-
metadata: @config.metadata,
|
1072
|
-
retry_policy: @config.retry_policy
|
1073
|
-
|
1074
|
-
@hub_service_stub.call_rpc :activate_spoke, request, options: options do |response, operation|
|
1075
|
-
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1076
|
-
yield response, operation if block_given?
|
1077
|
-
return response
|
1078
|
-
end
|
1079
|
-
rescue ::GRPC::BadStatus => e
|
1080
|
-
raise ::Google::Cloud::Error.from_error(e)
|
1081
|
-
end
|
1082
|
-
|
1083
908
|
##
|
1084
909
|
# Deletes the specified spoke.
|
1085
910
|
#
|
@@ -1345,16 +1170,6 @@ module Google
|
|
1345
1170
|
#
|
1346
1171
|
attr_reader :update_spoke
|
1347
1172
|
##
|
1348
|
-
# RPC-specific configuration for `deactivate_spoke`
|
1349
|
-
# @return [::Gapic::Config::Method]
|
1350
|
-
#
|
1351
|
-
attr_reader :deactivate_spoke
|
1352
|
-
##
|
1353
|
-
# RPC-specific configuration for `activate_spoke`
|
1354
|
-
# @return [::Gapic::Config::Method]
|
1355
|
-
#
|
1356
|
-
attr_reader :activate_spoke
|
1357
|
-
##
|
1358
1173
|
# RPC-specific configuration for `delete_spoke`
|
1359
1174
|
# @return [::Gapic::Config::Method]
|
1360
1175
|
#
|
@@ -1380,10 +1195,6 @@ module Google
|
|
1380
1195
|
@create_spoke = ::Gapic::Config::Method.new create_spoke_config
|
1381
1196
|
update_spoke_config = parent_rpcs.update_spoke if parent_rpcs.respond_to? :update_spoke
|
1382
1197
|
@update_spoke = ::Gapic::Config::Method.new update_spoke_config
|
1383
|
-
deactivate_spoke_config = parent_rpcs.deactivate_spoke if parent_rpcs.respond_to? :deactivate_spoke
|
1384
|
-
@deactivate_spoke = ::Gapic::Config::Method.new deactivate_spoke_config
|
1385
|
-
activate_spoke_config = parent_rpcs.activate_spoke if parent_rpcs.respond_to? :activate_spoke
|
1386
|
-
@activate_spoke = ::Gapic::Config::Method.new activate_spoke_config
|
1387
1198
|
delete_spoke_config = parent_rpcs.delete_spoke if parent_rpcs.respond_to? :delete_spoke
|
1388
1199
|
@delete_spoke = ::Gapic::Config::Method.new delete_spoke_config
|
1389
1200
|
|
@@ -96,6 +96,23 @@ module Google
|
|
96
96
|
"projects/#{project}/locations/#{location}"
|
97
97
|
end
|
98
98
|
|
99
|
+
##
|
100
|
+
# Create a fully-qualified Network resource string.
|
101
|
+
#
|
102
|
+
# The resource will be in the following format:
|
103
|
+
#
|
104
|
+
# `projects/{project}/global/networks/{resource_id}`
|
105
|
+
#
|
106
|
+
# @param project [String]
|
107
|
+
# @param resource_id [String]
|
108
|
+
#
|
109
|
+
# @return [::String]
|
110
|
+
def network_path project:, resource_id:
|
111
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
112
|
+
|
113
|
+
"projects/#{project}/global/networks/#{resource_id}"
|
114
|
+
end
|
115
|
+
|
99
116
|
##
|
100
117
|
# Create a fully-qualified Spoke resource string.
|
101
118
|
#
|
@@ -20,6 +20,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
20
20
|
optional :description, :string, 5
|
21
21
|
optional :unique_id, :string, 8
|
22
22
|
optional :state, :enum, 9, "google.cloud.networkconnectivity.v1.State"
|
23
|
+
repeated :routing_vpcs, :message, 10, "google.cloud.networkconnectivity.v1.RoutingVPC"
|
24
|
+
end
|
25
|
+
add_message "google.cloud.networkconnectivity.v1.RoutingVPC" do
|
26
|
+
optional :uri, :string, 1
|
23
27
|
end
|
24
28
|
add_message "google.cloud.networkconnectivity.v1.Spoke" do
|
25
29
|
optional :name, :string, 1
|
@@ -94,14 +98,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
94
98
|
optional :name, :string, 1
|
95
99
|
optional :request_id, :string, 2
|
96
100
|
end
|
97
|
-
add_message "google.cloud.networkconnectivity.v1.DeactivateSpokeRequest" do
|
98
|
-
optional :name, :string, 1
|
99
|
-
optional :request_id, :string, 2
|
100
|
-
end
|
101
|
-
add_message "google.cloud.networkconnectivity.v1.ActivateSpokeRequest" do
|
102
|
-
optional :name, :string, 1
|
103
|
-
optional :request_id, :string, 2
|
104
|
-
end
|
105
101
|
add_message "google.cloud.networkconnectivity.v1.LinkedVpnTunnels" do
|
106
102
|
repeated :uris, :string, 1
|
107
103
|
optional :site_to_site_data_transfer, :bool, 2
|
@@ -132,6 +128,7 @@ module Google
|
|
132
128
|
module NetworkConnectivity
|
133
129
|
module V1
|
134
130
|
Hub = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.Hub").msgclass
|
131
|
+
RoutingVPC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RoutingVPC").msgclass
|
135
132
|
Spoke = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.Spoke").msgclass
|
136
133
|
ListHubsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubsRequest").msgclass
|
137
134
|
ListHubsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListHubsResponse").msgclass
|
@@ -145,8 +142,6 @@ module Google
|
|
145
142
|
CreateSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.CreateSpokeRequest").msgclass
|
146
143
|
UpdateSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.UpdateSpokeRequest").msgclass
|
147
144
|
DeleteSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.DeleteSpokeRequest").msgclass
|
148
|
-
DeactivateSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.DeactivateSpokeRequest").msgclass
|
149
|
-
ActivateSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ActivateSpokeRequest").msgclass
|
150
145
|
LinkedVpnTunnels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedVpnTunnels").msgclass
|
151
146
|
LinkedInterconnectAttachments = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments").msgclass
|
152
147
|
LinkedRouterApplianceInstances = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances").msgclass
|
@@ -53,13 +53,6 @@ module Google
|
|
53
53
|
rpc :CreateSpoke, ::Google::Cloud::NetworkConnectivity::V1::CreateSpokeRequest, ::Google::Longrunning::Operation
|
54
54
|
# Updates the parameters of the specified spoke.
|
55
55
|
rpc :UpdateSpoke, ::Google::Cloud::NetworkConnectivity::V1::UpdateSpokeRequest, ::Google::Longrunning::Operation
|
56
|
-
# Deactivates the specified spoke. Deactivating keeps the spoke information
|
57
|
-
# for future re-activation, but disconnects the Google Cloud network from
|
58
|
-
# non-Google-Cloud network.
|
59
|
-
rpc :DeactivateSpoke, ::Google::Cloud::NetworkConnectivity::V1::DeactivateSpokeRequest, ::Google::Longrunning::Operation
|
60
|
-
# Activates the specified spoke. Activating reconnects the Google Cloud
|
61
|
-
# network with the non-Google-Cloud network.
|
62
|
-
rpc :ActivateSpoke, ::Google::Cloud::NetworkConnectivity::V1::ActivateSpokeRequest, ::Google::Longrunning::Operation
|
63
56
|
# Deletes the specified spoke.
|
64
57
|
rpc :DeleteSpoke, ::Google::Cloud::NetworkConnectivity::V1::DeleteSpokeRequest, ::Google::Longrunning::Operation
|
65
58
|
end
|
@@ -40,7 +40,7 @@ module Google
|
|
40
40
|
# @!attribute [r] requested_cancellation
|
41
41
|
# @return [::Boolean]
|
42
42
|
# Output only. Identifies whether the user has requested cancellation
|
43
|
-
# of the operation. Operations that have
|
43
|
+
# of the operation. Operations that have been cancelled successfully
|
44
44
|
# have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
45
45
|
# corresponding to `Code.CANCELLED`.
|
46
46
|
# @!attribute [r] api_version
|
@@ -51,6 +51,14 @@ module Google
|
|
51
51
|
# @!attribute [r] state
|
52
52
|
# @return [::Google::Cloud::NetworkConnectivity::V1::State]
|
53
53
|
# Output only. The current lifecycle state of this hub.
|
54
|
+
# @!attribute [rw] routing_vpcs
|
55
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::RoutingVPC>]
|
56
|
+
# The VPC network associated with this hub's spokes. All of the VPN tunnels,
|
57
|
+
# VLAN attachments, and router appliance instances referenced by this hub's
|
58
|
+
# spokes must belong to this VPC network.
|
59
|
+
#
|
60
|
+
# This field is read-only. Network Connectivity Center automatically
|
61
|
+
# populates it based on the set of spokes attached to the hub.
|
54
62
|
class Hub
|
55
63
|
include ::Google::Protobuf::MessageExts
|
56
64
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -65,6 +73,16 @@ module Google
|
|
65
73
|
end
|
66
74
|
end
|
67
75
|
|
76
|
+
# RoutingsVPC contains information about a VPC network that is associated with
|
77
|
+
# a hub's spokes.
|
78
|
+
# @!attribute [rw] uri
|
79
|
+
# @return [::String]
|
80
|
+
# The URI of a VPC network.
|
81
|
+
class RoutingVPC
|
82
|
+
include ::Google::Protobuf::MessageExts
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
84
|
+
end
|
85
|
+
|
68
86
|
# A spoke represents a connection between your Google Cloud network resources
|
69
87
|
# and a non-Google-Cloud network.
|
70
88
|
#
|
@@ -395,56 +413,6 @@ module Google
|
|
395
413
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
396
414
|
end
|
397
415
|
|
398
|
-
# The request for {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#deactivate_spoke HubService.DeactivateSpoke}.
|
399
|
-
# @!attribute [rw] name
|
400
|
-
# @return [::String]
|
401
|
-
# Required. The name of the spoke to deactivate.
|
402
|
-
# @!attribute [rw] request_id
|
403
|
-
# @return [::String]
|
404
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can use it
|
405
|
-
# in cases when you need to retry your request. When you need to retry, this
|
406
|
-
# ID lets the server know that it can ignore the request if it has already
|
407
|
-
# been completed. The server guarantees that for at least 60 minutes after
|
408
|
-
# the first request.
|
409
|
-
#
|
410
|
-
# For example, consider a situation where you make an initial request and
|
411
|
-
# the request times out. If you make the request again with the same request
|
412
|
-
# ID, the server can check to see whether the original operation
|
413
|
-
# was received. If it was, the server ignores the second request. This
|
414
|
-
# behavior prevents clients from mistakenly creating duplicate commitments.
|
415
|
-
#
|
416
|
-
# The request ID must be a valid UUID, with the exception that zero UUID is
|
417
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
418
|
-
class DeactivateSpokeRequest
|
419
|
-
include ::Google::Protobuf::MessageExts
|
420
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
421
|
-
end
|
422
|
-
|
423
|
-
# The request for {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#activate_spoke HubService.ActivateSpoke}.
|
424
|
-
# @!attribute [rw] name
|
425
|
-
# @return [::String]
|
426
|
-
# Required. The name of the spoke to activate.
|
427
|
-
# @!attribute [rw] request_id
|
428
|
-
# @return [::String]
|
429
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can use it
|
430
|
-
# in cases when you need to retry your request. When you need to retry, this
|
431
|
-
# ID lets the server know that it can ignore the request if it has already
|
432
|
-
# been completed. The server guarantees that for at least 60 minutes after
|
433
|
-
# the first request.
|
434
|
-
#
|
435
|
-
# For example, consider a situation where you make an initial request and
|
436
|
-
# the request times out. If you make the request again with the same request
|
437
|
-
# ID, the server can check to see whether the original operation
|
438
|
-
# was received. If it was, the server ignores the second request. This
|
439
|
-
# behavior prevents clients from mistakenly creating duplicate commitments.
|
440
|
-
#
|
441
|
-
# The request ID must be a valid UUID, with the exception that zero UUID is
|
442
|
-
# not supported (00000000-0000-0000-0000-000000000000).
|
443
|
-
class ActivateSpokeRequest
|
444
|
-
include ::Google::Protobuf::MessageExts
|
445
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
446
|
-
end
|
447
|
-
|
448
416
|
# A collection of Cloud VPN tunnel resources. These resources should be
|
449
417
|
# redundant HA VPN tunnels that all advertise the same prefixes to Google
|
450
418
|
# Cloud. Alternatively, in a passive/active configuration, all tunnels
|
@@ -455,12 +423,8 @@ module Google
|
|
455
423
|
# @!attribute [rw] site_to_site_data_transfer
|
456
424
|
# @return [::Boolean]
|
457
425
|
# A value that controls whether site-to-site data transfer is enabled for
|
458
|
-
# these resources.
|
459
|
-
#
|
460
|
-
# transfer enabled. If false, the spoke associated with these resources
|
461
|
-
# provides connectivity only between the external site and Google Cloud. In
|
462
|
-
# regions where data transfer is unsupported, you cannot set this field
|
463
|
-
# to true.
|
426
|
+
# these resources. This field is set to false by default, but you must set it
|
427
|
+
# to true. Note that data transfer is available only in supported locations.
|
464
428
|
class LinkedVpnTunnels
|
465
429
|
include ::Google::Protobuf::MessageExts
|
466
430
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -476,12 +440,8 @@ module Google
|
|
476
440
|
# @!attribute [rw] site_to_site_data_transfer
|
477
441
|
# @return [::Boolean]
|
478
442
|
# A value that controls whether site-to-site data transfer is enabled for
|
479
|
-
# these resources.
|
480
|
-
#
|
481
|
-
# transfer enabled. If false, the spoke associated with these resources
|
482
|
-
# provides connectivity only between the external site and Google Cloud. In
|
483
|
-
# regions where data transfer is unsupported, you cannot set this field
|
484
|
-
# to true.
|
443
|
+
# these resources. This field is set to false by default, but you must set it
|
444
|
+
# to true. Note that data transfer is available only in supported locations.
|
485
445
|
class LinkedInterconnectAttachments
|
486
446
|
include ::Google::Protobuf::MessageExts
|
487
447
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -496,12 +456,8 @@ module Google
|
|
496
456
|
# @!attribute [rw] site_to_site_data_transfer
|
497
457
|
# @return [::Boolean]
|
498
458
|
# A value that controls whether site-to-site data transfer is enabled for
|
499
|
-
# these resources.
|
500
|
-
#
|
501
|
-
# transfer enabled. If false, the spoke associated with these resources
|
502
|
-
# provides connectivity only between the external site and Google Cloud. In
|
503
|
-
# regions where data transfer is unsupported, you cannot set this field
|
504
|
-
# to true.
|
459
|
+
# these resources. This field is set to false by default, but you must set it
|
460
|
+
# to true. Note that data transfer is available only in supported locations.
|
505
461
|
class LinkedRouterApplianceInstances
|
506
462
|
include ::Google::Protobuf::MessageExts
|
507
463
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-network_connectivity-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|