google-cloud-network_connectivity-v1beta 0.a → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +153 -8
- data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/client.rb +1782 -0
- data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/credentials.rb +47 -0
- data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/operations.rb +841 -0
- data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service/paths.rb +109 -0
- data/lib/google/cloud/network_connectivity/v1beta/data_transfer_service.rb +50 -0
- data/lib/google/cloud/network_connectivity/v1beta/hub_service/client.rb +3581 -0
- data/lib/google/cloud/network_connectivity/v1beta/hub_service/credentials.rb +47 -0
- data/lib/google/cloud/network_connectivity/v1beta/hub_service/operations.rb +841 -0
- data/lib/google/cloud/network_connectivity/v1beta/hub_service/paths.rb +259 -0
- data/lib/google/cloud/network_connectivity/v1beta/hub_service.rb +52 -0
- data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/client.rb +877 -0
- data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/credentials.rb +47 -0
- data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/operations.rb +841 -0
- data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service/paths.rb +84 -0
- data/lib/google/cloud/network_connectivity/v1beta/policy_based_routing_service.rb +51 -0
- data/lib/google/cloud/network_connectivity/v1beta/transport_manager/client.rb +1285 -0
- data/lib/google/cloud/network_connectivity/v1beta/transport_manager/credentials.rb +47 -0
- data/lib/google/cloud/network_connectivity/v1beta/transport_manager/operations.rb +841 -0
- data/lib/google/cloud/network_connectivity/v1beta/transport_manager/paths.rb +105 -0
- data/lib/google/cloud/network_connectivity/v1beta/transport_manager.rb +50 -0
- data/lib/google/cloud/network_connectivity/v1beta/version.rb +7 -2
- data/lib/google/cloud/network_connectivity/v1beta.rb +43 -0
- data/lib/google/cloud/networkconnectivity/v1beta/common_pb.rb +25 -0
- data/lib/google/cloud/networkconnectivity/v1beta/data_transfer_pb.rb +56 -0
- data/lib/google/cloud/networkconnectivity/v1beta/data_transfer_services_pb.rb +72 -0
- data/lib/google/cloud/networkconnectivity/v1beta/hub_pb.rb +111 -0
- data/lib/google/cloud/networkconnectivity/v1beta/hub_services_pb.rb +110 -0
- data/lib/google/cloud/networkconnectivity/v1beta/policy_based_routing_pb.rb +42 -0
- data/lib/google/cloud/networkconnectivity/v1beta/policy_based_routing_services_pb.rb +52 -0
- data/lib/google/cloud/networkconnectivity/v1beta/transport_manager_pb.rb +55 -0
- data/lib/google/cloud/networkconnectivity/v1beta/transport_manager_services_pb.rb +59 -0
- data/lib/google-cloud-network_connectivity-v1beta.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/networkconnectivity/v1beta/common.rb +58 -0
- data/proto_docs/google/cloud/networkconnectivity/v1beta/data_transfer.rb +635 -0
- data/proto_docs/google/cloud/networkconnectivity/v1beta/hub.rb +2024 -0
- data/proto_docs/google/cloud/networkconnectivity/v1beta/policy_based_routing.rb +340 -0
- data/proto_docs/google/cloud/networkconnectivity/v1beta/transport_manager.rb +621 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +116 -9
|
@@ -0,0 +1,621 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module NetworkConnectivity
|
|
23
|
+
module V1beta
|
|
24
|
+
# Message describing RemoteTransportProfile object.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Identifier. Name of the resource in the format of $provider-$site.
|
|
28
|
+
# @!attribute [r] labels
|
|
29
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
30
|
+
# Output only. Labels as key value pairs.
|
|
31
|
+
# @!attribute [r] description
|
|
32
|
+
# @return [::String]
|
|
33
|
+
# Output only. Description of the profile.
|
|
34
|
+
# @!attribute [r] provider
|
|
35
|
+
# @return [::String]
|
|
36
|
+
# Output only. Name of the provider on the other end of this profile. E.g.
|
|
37
|
+
# “Amazon Web Services” or “Microsoft Azure”.
|
|
38
|
+
# @!attribute [r] provider_site
|
|
39
|
+
# @return [::String]
|
|
40
|
+
# Output only. If the profile is a Cloud Service Provider with compute
|
|
41
|
+
# resources, this is populated with the region where connectivity is being
|
|
42
|
+
# established. If the profile provides facility-level selection, this is an
|
|
43
|
+
# identity of the facility any connections on this profile are going through.
|
|
44
|
+
# @!attribute [r] supported_bandwidths
|
|
45
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::RemoteTransportProfile::Bandwidth>]
|
|
46
|
+
# Output only. List of bandwidth enum values that are supported by this
|
|
47
|
+
# profile.
|
|
48
|
+
# @!attribute [r] sla
|
|
49
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::RemoteTransportProfile::ServiceLevelAvailability]
|
|
50
|
+
# Output only. Availability class that will be configured for this
|
|
51
|
+
# particular RemoteTransportProfile.
|
|
52
|
+
# @!attribute [r] flow
|
|
53
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::RemoteTransportProfile::KeyProvisioningFlow]
|
|
54
|
+
# Output only. Type of provisioning flows supported by this profile.
|
|
55
|
+
# @!attribute [r] order_state
|
|
56
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::RemoteTransportProfile::State]
|
|
57
|
+
# Output only. Order state for this profile.
|
|
58
|
+
# @!attribute [r] display_name
|
|
59
|
+
# @return [::String]
|
|
60
|
+
# Output only. Human readable name of this profile, used to identify this
|
|
61
|
+
# profile in the UI.
|
|
62
|
+
class RemoteTransportProfile
|
|
63
|
+
include ::Google::Protobuf::MessageExts
|
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
65
|
+
|
|
66
|
+
# @!attribute [rw] key
|
|
67
|
+
# @return [::String]
|
|
68
|
+
# @!attribute [rw] value
|
|
69
|
+
# @return [::String]
|
|
70
|
+
class LabelsEntry
|
|
71
|
+
include ::Google::Protobuf::MessageExts
|
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Bandwidth values that may be supported for a specific profile.
|
|
76
|
+
module Bandwidth
|
|
77
|
+
# Unspecified bandwidth.
|
|
78
|
+
BANDWIDTH_UNSPECIFIED = 0
|
|
79
|
+
|
|
80
|
+
# 50 Megabits per second.
|
|
81
|
+
BPS_50M = 1
|
|
82
|
+
|
|
83
|
+
# 100 Megabits per second.
|
|
84
|
+
BPS_100M = 2
|
|
85
|
+
|
|
86
|
+
# 200 Megabits per second.
|
|
87
|
+
BPS_200M = 3
|
|
88
|
+
|
|
89
|
+
# 300 Megabits per second.
|
|
90
|
+
BPS_300M = 4
|
|
91
|
+
|
|
92
|
+
# 400 Megabits per second.
|
|
93
|
+
BPS_400M = 5
|
|
94
|
+
|
|
95
|
+
# 500 Megabits per second.
|
|
96
|
+
BPS_500M = 6
|
|
97
|
+
|
|
98
|
+
# 1 Gigabit per second.
|
|
99
|
+
BPS_1G = 7
|
|
100
|
+
|
|
101
|
+
# 2 Gigabits per second.
|
|
102
|
+
BPS_2G = 8
|
|
103
|
+
|
|
104
|
+
# 5 Gigabits per second.
|
|
105
|
+
BPS_5G = 9
|
|
106
|
+
|
|
107
|
+
# 10 Gigabits per second.
|
|
108
|
+
BPS_10G = 10
|
|
109
|
+
|
|
110
|
+
# 20 Gigabits per second.
|
|
111
|
+
BPS_20G = 11
|
|
112
|
+
|
|
113
|
+
# 50 Gigabits per second.
|
|
114
|
+
BPS_50G = 12
|
|
115
|
+
|
|
116
|
+
# 100 Gigabits per second.
|
|
117
|
+
BPS_100G = 13
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Availability class options.
|
|
121
|
+
module ServiceLevelAvailability
|
|
122
|
+
# Unspecified service level availability.
|
|
123
|
+
SERVICE_LEVEL_AVAILABILITY_UNSPECIFIED = 0
|
|
124
|
+
|
|
125
|
+
# This represents a 99.9% service level on the availability of the
|
|
126
|
+
# configured connectivity.
|
|
127
|
+
HIGH = 1
|
|
128
|
+
|
|
129
|
+
# This represents a 99.99% service level on the availability of the
|
|
130
|
+
# configured connectivity.
|
|
131
|
+
MAXIMUM = 2
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# Type of provisioning flows supported.
|
|
135
|
+
module KeyProvisioningFlow
|
|
136
|
+
# Unspecified key provisioning flow.
|
|
137
|
+
KEY_PROVISIONING_FLOW_UNSPECIFIED = 0
|
|
138
|
+
|
|
139
|
+
# The activationKey field on the Transport must be included in a create or
|
|
140
|
+
# patch request to establish connectivity.
|
|
141
|
+
INPUT_ONLY = 1
|
|
142
|
+
|
|
143
|
+
# The generatedActivationKey field is populated and must be read from the
|
|
144
|
+
# resource and passed into the other provider.
|
|
145
|
+
OUTPUT_ONLY = 2
|
|
146
|
+
|
|
147
|
+
# Both activation key fields are allowed for establishing connectivity. If
|
|
148
|
+
# a key is input, the generated key is still present after provisioning is
|
|
149
|
+
# finished.
|
|
150
|
+
INPUT_OR_OUTPUT = 3
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# State of the RemoteTransportProfile.
|
|
154
|
+
module State
|
|
155
|
+
# Unspecified state.
|
|
156
|
+
STATE_UNSPECIFIED = 0
|
|
157
|
+
|
|
158
|
+
# Not enough capacity for customers to order.
|
|
159
|
+
CLOSED = 1
|
|
160
|
+
|
|
161
|
+
# Enough capacity to fulfill an order.
|
|
162
|
+
OPEN = 2
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Message for requesting list of RemoteTransportProfiles.
|
|
167
|
+
# @!attribute [rw] parent
|
|
168
|
+
# @return [::String]
|
|
169
|
+
# Required. Parent value for ListRemoteTransportProfilesRequest.
|
|
170
|
+
# @!attribute [rw] page_size
|
|
171
|
+
# @return [::Integer]
|
|
172
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
173
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
174
|
+
# @!attribute [rw] page_token
|
|
175
|
+
# @return [::String]
|
|
176
|
+
# Optional. A token identifying a page of results the server should return.
|
|
177
|
+
# @!attribute [rw] filter
|
|
178
|
+
# @return [::String]
|
|
179
|
+
# Optional. Filtering results.
|
|
180
|
+
# @!attribute [rw] order_by
|
|
181
|
+
# @return [::String]
|
|
182
|
+
# Optional. Hint for how to order the results.
|
|
183
|
+
class ListRemoteTransportProfilesRequest
|
|
184
|
+
include ::Google::Protobuf::MessageExts
|
|
185
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
# Message for response to listing RemoteTransportProfiles
|
|
189
|
+
# @!attribute [rw] remote_transport_profiles
|
|
190
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::RemoteTransportProfile>]
|
|
191
|
+
# The list of RemoteTransportProfiles.
|
|
192
|
+
# @!attribute [rw] next_page_token
|
|
193
|
+
# @return [::String]
|
|
194
|
+
# A token identifying a page of results the server should return.
|
|
195
|
+
# @!attribute [rw] unreachable
|
|
196
|
+
# @return [::Array<::String>]
|
|
197
|
+
# Unordered list. Locations that could not be reached.
|
|
198
|
+
class ListRemoteTransportProfilesResponse
|
|
199
|
+
include ::Google::Protobuf::MessageExts
|
|
200
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# Message for getting a RemoteTransportProfile.
|
|
204
|
+
# @!attribute [rw] name
|
|
205
|
+
# @return [::String]
|
|
206
|
+
# Required. Name of the resource.
|
|
207
|
+
class GetRemoteTransportProfileRequest
|
|
208
|
+
include ::Google::Protobuf::MessageExts
|
|
209
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
# Message describing Transport object.
|
|
213
|
+
# @!attribute [rw] name
|
|
214
|
+
# @return [::String]
|
|
215
|
+
# Identifier. Name of the resource.
|
|
216
|
+
# @!attribute [r] create_time
|
|
217
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
218
|
+
# Output only. Create time stamp.
|
|
219
|
+
# @!attribute [r] update_time
|
|
220
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
221
|
+
# Output only. Update time stamp.
|
|
222
|
+
# @!attribute [rw] labels
|
|
223
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
224
|
+
# Optional. Labels as key value pairs.
|
|
225
|
+
# @!attribute [rw] description
|
|
226
|
+
# @return [::String]
|
|
227
|
+
# Optional. Description of the Transport.
|
|
228
|
+
# @!attribute [rw] remote_profile
|
|
229
|
+
# @return [::String]
|
|
230
|
+
# Optional. Name of the remoteTransportProfile that this Transport is
|
|
231
|
+
# connecting to.
|
|
232
|
+
# @!attribute [rw] provided_activation_key
|
|
233
|
+
# @return [::String]
|
|
234
|
+
# Optional. Key used for establishing a connection with the remote transport.
|
|
235
|
+
# This key can only be provided if the profile supports an INPUT key flow and
|
|
236
|
+
# the resource is in the PENDING_KEY state.
|
|
237
|
+
# @!attribute [r] generated_activation_key
|
|
238
|
+
# @return [::String]
|
|
239
|
+
# Output only. Google-generated activation key. This is only output if the
|
|
240
|
+
# selected profile supports an OUTPUT key flow. Inputting this to the
|
|
241
|
+
# provider is only valid while the resource is in a PENDING_KEY state. Once
|
|
242
|
+
# the provider has accepted the key, the resource will move to the
|
|
243
|
+
# CONFIGURING state.
|
|
244
|
+
# @!attribute [rw] bandwidth
|
|
245
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Transport::Bandwidth]
|
|
246
|
+
# Optional. Bandwidth of the Transport. This must be one of the supported
|
|
247
|
+
# bandwidths for the remote profile, and must be set when no activation key
|
|
248
|
+
# is being provided.
|
|
249
|
+
# @!attribute [rw] stack_type
|
|
250
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Transport::StackType]
|
|
251
|
+
# Optional. IP version stack for the established connectivity.
|
|
252
|
+
# @!attribute [r] state
|
|
253
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Transport::State]
|
|
254
|
+
# Output only. State of the underlying connectivity.
|
|
255
|
+
# @!attribute [r] mtu_limit
|
|
256
|
+
# @return [::Integer]
|
|
257
|
+
# Output only. The maximum transmission unit (MTU) of a packet that can be
|
|
258
|
+
# sent over this transport.
|
|
259
|
+
# @!attribute [rw] admin_enabled
|
|
260
|
+
# @return [::Boolean]
|
|
261
|
+
# Optional. Administrative state of the underlying connectivity. If set to
|
|
262
|
+
# true (default), connectivity should be available between your environments.
|
|
263
|
+
# If set to false, the connectivity over these links is disabled. Disabling
|
|
264
|
+
# your Transport does not affect billing, and retains the underlying network
|
|
265
|
+
# bandwidth associated with the connectivity.
|
|
266
|
+
# @!attribute [rw] network
|
|
267
|
+
# @return [::String]
|
|
268
|
+
# Optional. Resource URI of the Network that will be peered with this
|
|
269
|
+
# Transport. This field must be provided during resource creation and cannot
|
|
270
|
+
# be changed.
|
|
271
|
+
# @!attribute [rw] advertised_routes
|
|
272
|
+
# @return [::Array<::String>]
|
|
273
|
+
# Optional. List of IP Prefixes that will be advertised to the remote
|
|
274
|
+
# provider. Both IPv4 and IPv6 addresses are supported.
|
|
275
|
+
# @!attribute [rw] remote_account_id
|
|
276
|
+
# @return [::String]
|
|
277
|
+
# Optional. The user supplied account id for the CSP associated with the
|
|
278
|
+
# remote profile.
|
|
279
|
+
# @!attribute [r] peering_network
|
|
280
|
+
# @return [::String]
|
|
281
|
+
# Output only. VPC Network URI that was created for the VPC Peering
|
|
282
|
+
# connection to the provided `network`. If VPC Peering is disconnected, this
|
|
283
|
+
# can be used to re-establish.
|
|
284
|
+
class Transport
|
|
285
|
+
include ::Google::Protobuf::MessageExts
|
|
286
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
287
|
+
|
|
288
|
+
# @!attribute [rw] key
|
|
289
|
+
# @return [::String]
|
|
290
|
+
# @!attribute [rw] value
|
|
291
|
+
# @return [::String]
|
|
292
|
+
class LabelsEntry
|
|
293
|
+
include ::Google::Protobuf::MessageExts
|
|
294
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# Supported bandwidth options.
|
|
298
|
+
module Bandwidth
|
|
299
|
+
# Unspecified bandwidth.
|
|
300
|
+
BANDWIDTH_UNSPECIFIED = 0
|
|
301
|
+
|
|
302
|
+
# 50 Megabits per second.
|
|
303
|
+
BPS_50M = 1
|
|
304
|
+
|
|
305
|
+
# 100 Megabits per second.
|
|
306
|
+
BPS_100M = 2
|
|
307
|
+
|
|
308
|
+
# 200 Megabits per second.
|
|
309
|
+
BPS_200M = 3
|
|
310
|
+
|
|
311
|
+
# 300 Megabits per second.
|
|
312
|
+
BPS_300M = 4
|
|
313
|
+
|
|
314
|
+
# 400 Megabits per second.
|
|
315
|
+
BPS_400M = 5
|
|
316
|
+
|
|
317
|
+
# 500 Megabits per second.
|
|
318
|
+
BPS_500M = 6
|
|
319
|
+
|
|
320
|
+
# 1 Gigabit per second.
|
|
321
|
+
BPS_1G = 7
|
|
322
|
+
|
|
323
|
+
# 2 Gigabits per second.
|
|
324
|
+
BPS_2G = 8
|
|
325
|
+
|
|
326
|
+
# 5 Gigabits per second.
|
|
327
|
+
BPS_5G = 9
|
|
328
|
+
|
|
329
|
+
# 10 Gigabits per second.
|
|
330
|
+
BPS_10G = 10
|
|
331
|
+
|
|
332
|
+
# 20 Gigabits per second.
|
|
333
|
+
BPS_20G = 11
|
|
334
|
+
|
|
335
|
+
# 50 Gigabits per second.
|
|
336
|
+
BPS_50G = 12
|
|
337
|
+
|
|
338
|
+
# 100 Gigabits per second.
|
|
339
|
+
BPS_100G = 13
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
# IP version stack for the established connectivity.
|
|
343
|
+
module StackType
|
|
344
|
+
# Unspecified stack type.
|
|
345
|
+
STACK_TYPE_UNSPECIFIED = 0
|
|
346
|
+
|
|
347
|
+
# Only IPv4 is supported. (default)
|
|
348
|
+
IPV4_ONLY = 1
|
|
349
|
+
|
|
350
|
+
# Both IPv4 and IPv6 are supported.
|
|
351
|
+
IPV4_IPV6 = 2
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
# Represents the status of the underlying connectivity. One of
|
|
355
|
+
# the following states, depending on who has initiated the Transport request.
|
|
356
|
+
module State
|
|
357
|
+
# Unspecified state.
|
|
358
|
+
STATE_UNSPECIFIED = 0
|
|
359
|
+
|
|
360
|
+
# The resource exists locally and is being created / associated with the
|
|
361
|
+
# resource on the remote provider’s end of the underlying connectivity.
|
|
362
|
+
CREATING = 1
|
|
363
|
+
|
|
364
|
+
# The Transport exists on both sides of the connection, and is waiting for
|
|
365
|
+
# configuration to finalize and be verified as operational.
|
|
366
|
+
PENDING_CONFIG = 2
|
|
367
|
+
|
|
368
|
+
# The Transport was created in GCP. Depending on the profile’s key
|
|
369
|
+
# provisioning flow, this is either waiting for an activation key to be
|
|
370
|
+
# input (the key will be validated that it uses remote resources that match
|
|
371
|
+
# the Transport), or for the generated key to be input to the provider for
|
|
372
|
+
# finalizing. The configured bandwidth is not yet guaranteed.
|
|
373
|
+
PENDING_KEY = 3
|
|
374
|
+
|
|
375
|
+
# The Transport is configured and the underlying connectivity is considered
|
|
376
|
+
# operational.
|
|
377
|
+
ACTIVE = 4
|
|
378
|
+
|
|
379
|
+
# The Transport is being deleted from GCP. The underlying connectivity is
|
|
380
|
+
# no longer operational.
|
|
381
|
+
DELETING = 5
|
|
382
|
+
|
|
383
|
+
# The Transport was deleted on the remote provider's end and is no longer
|
|
384
|
+
# operational. GCP has insufficient information to move the resource back
|
|
385
|
+
# to PENDING_KEY state.
|
|
386
|
+
DEPROVISIONED = 6
|
|
387
|
+
end
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
# Message for requesting list of Transports.
|
|
391
|
+
# @!attribute [rw] parent
|
|
392
|
+
# @return [::String]
|
|
393
|
+
# Required. Parent value for ListTransportsRequest.
|
|
394
|
+
# @!attribute [rw] page_size
|
|
395
|
+
# @return [::Integer]
|
|
396
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
397
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
398
|
+
# @!attribute [rw] page_token
|
|
399
|
+
# @return [::String]
|
|
400
|
+
# Optional. A token identifying a page of results the server should return.
|
|
401
|
+
# @!attribute [rw] filter
|
|
402
|
+
# @return [::String]
|
|
403
|
+
# Optional. Filtering results.
|
|
404
|
+
# @!attribute [rw] order_by
|
|
405
|
+
# @return [::String]
|
|
406
|
+
# Optional. Hint for how to order the results.
|
|
407
|
+
class ListTransportsRequest
|
|
408
|
+
include ::Google::Protobuf::MessageExts
|
|
409
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
410
|
+
end
|
|
411
|
+
|
|
412
|
+
# Message for response to listing Transports.
|
|
413
|
+
# @!attribute [rw] transports
|
|
414
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::Transport>]
|
|
415
|
+
# The list of Transport.
|
|
416
|
+
# @!attribute [rw] next_page_token
|
|
417
|
+
# @return [::String]
|
|
418
|
+
# A token identifying a page of results the server should return.
|
|
419
|
+
# @!attribute [rw] unreachable
|
|
420
|
+
# @return [::Array<::String>]
|
|
421
|
+
# Unordered list. Locations that could not be reached.
|
|
422
|
+
class ListTransportsResponse
|
|
423
|
+
include ::Google::Protobuf::MessageExts
|
|
424
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
# Message for getting a Transport.
|
|
428
|
+
# @!attribute [rw] name
|
|
429
|
+
# @return [::String]
|
|
430
|
+
# Required. Name of the resource.
|
|
431
|
+
class GetTransportRequest
|
|
432
|
+
include ::Google::Protobuf::MessageExts
|
|
433
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
# Message for getting a Transport's operational status.
|
|
437
|
+
# @!attribute [rw] name
|
|
438
|
+
# @return [::String]
|
|
439
|
+
# Required. Name of the resource.
|
|
440
|
+
class GetStatusRequest
|
|
441
|
+
include ::Google::Protobuf::MessageExts
|
|
442
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
# Message for the response to getting a Transport's operational status.
|
|
446
|
+
# @!attribute [rw] overall_status
|
|
447
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::GetStatusResponse::OverallStatus]
|
|
448
|
+
# The overall status of the Transport. This field will always output the most
|
|
449
|
+
# critical status of the Transport. For example, if the connectivity is
|
|
450
|
+
# DISCONNECTED, and the underlying networking components are DOWN, then
|
|
451
|
+
# the overall status will be DOWN.
|
|
452
|
+
# @!attribute [rw] operational_status
|
|
453
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::GetStatusResponse::OperationalStatus]
|
|
454
|
+
# The operational status of the underlying networking components.
|
|
455
|
+
# @!attribute [rw] connectivity_status
|
|
456
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::GetStatusResponse::ConnectivityStatus]
|
|
457
|
+
# Current status of connectivity to the local GCP resource. This reflects
|
|
458
|
+
# whether the VPC Peering or NCC Hub appears correctly configured.
|
|
459
|
+
# @!attribute [rw] mac_sec_status
|
|
460
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::GetStatusResponse::MacSecStatus]
|
|
461
|
+
# Current status of MACSec on the underlying network connectivity between GC
|
|
462
|
+
# and the partner.
|
|
463
|
+
class GetStatusResponse
|
|
464
|
+
include ::Google::Protobuf::MessageExts
|
|
465
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
466
|
+
|
|
467
|
+
# The overall status of the Transport.
|
|
468
|
+
module OverallStatus
|
|
469
|
+
# Unspecified status.
|
|
470
|
+
OVERALL_STATUS_UNSPECIFIED = 0
|
|
471
|
+
|
|
472
|
+
# Resource is active and operational.
|
|
473
|
+
ACTIVE = 1
|
|
474
|
+
|
|
475
|
+
# Resource is waiting for an activation key to be exchanged.
|
|
476
|
+
PENDING_KEY = 2
|
|
477
|
+
|
|
478
|
+
# Activation keys have been exchanged and connectivity is being
|
|
479
|
+
# established.
|
|
480
|
+
CONFIGURING = 3
|
|
481
|
+
|
|
482
|
+
# VPC Peering has been taken down, or the NCC Spoke has been rejected.
|
|
483
|
+
DISCONNECTED = 4
|
|
484
|
+
|
|
485
|
+
# User configuration is correct, but the configured capacity is
|
|
486
|
+
# operationally down.
|
|
487
|
+
DOWN = 5
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
# The operational status of the underlying networking components.
|
|
491
|
+
module OperationalStatus
|
|
492
|
+
# Unspecified status.
|
|
493
|
+
OPERATIONAL_STATUS_UNSPECIFIED = 0
|
|
494
|
+
|
|
495
|
+
# Protected capacity is available and networking components show as up.
|
|
496
|
+
OPERATIONAL_STATUS_ACTIVE = 1
|
|
497
|
+
|
|
498
|
+
# Protected capacity is showing as operationally down.
|
|
499
|
+
OPERATIONAL_STATUS_DOWN = 2
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
# Current status of connectivity to the local GCP resource. This reflects
|
|
503
|
+
# whether the VPC Peering or NCC Hub appears correctly configured.
|
|
504
|
+
module ConnectivityStatus
|
|
505
|
+
# Unspecified status.
|
|
506
|
+
CONNECTIVITY_STATUS_UNSPECIFIED = 0
|
|
507
|
+
|
|
508
|
+
# VPC Peering or the NCC Hub appear to be correctly established.
|
|
509
|
+
CONNECTIVITY_STATUS_CONNECTED = 1
|
|
510
|
+
|
|
511
|
+
# VPC Peering has been taken down, or the NCC Spoke has been rejected.
|
|
512
|
+
CONNECTIVITY_STATUS_DISCONNECTED = 2
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
# Current status of MACSec on the underlying network connectivity between GC
|
|
516
|
+
# and the partner.
|
|
517
|
+
module MacSecStatus
|
|
518
|
+
# Unspecified status.
|
|
519
|
+
MAC_SEC_STATUS_UNSPECIFIED = 0
|
|
520
|
+
|
|
521
|
+
# MACSec is protecting the links and configured in fail closed.
|
|
522
|
+
MAC_SEC_STATUS_ACTIVE_FAIL_CLOSED = 1
|
|
523
|
+
|
|
524
|
+
# MACSec is protecting the links and configured to fail open on at least
|
|
525
|
+
# one of the redundant links.
|
|
526
|
+
MAC_SEC_STATUS_ACTIVE_FAIL_OPEN = 2
|
|
527
|
+
|
|
528
|
+
# MACSec is not configured on at least one of the underlying links.
|
|
529
|
+
MAC_SEC_STATUS_NOT_CONFIGURED = 3
|
|
530
|
+
end
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
# Message for creating a Transport
|
|
534
|
+
# @!attribute [rw] parent
|
|
535
|
+
# @return [::String]
|
|
536
|
+
# Required. Value for parent.
|
|
537
|
+
# @!attribute [rw] transport_id
|
|
538
|
+
# @return [::String]
|
|
539
|
+
# Required. Id of the requesting object
|
|
540
|
+
# @!attribute [rw] transport
|
|
541
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Transport]
|
|
542
|
+
# Required. The resource being created
|
|
543
|
+
# @!attribute [rw] request_id
|
|
544
|
+
# @return [::String]
|
|
545
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
546
|
+
# request ID so that if you must retry your request, the server will know to
|
|
547
|
+
# ignore the request if it has already been completed. The server will
|
|
548
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
549
|
+
#
|
|
550
|
+
# For example, consider a situation where you make an initial request and the
|
|
551
|
+
# request times out. If you make the request again with the same request
|
|
552
|
+
# ID, the server can check if original operation with the same request ID
|
|
553
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
554
|
+
# clients from accidentally creating duplicate commitments.
|
|
555
|
+
#
|
|
556
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
557
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
558
|
+
class CreateTransportRequest
|
|
559
|
+
include ::Google::Protobuf::MessageExts
|
|
560
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
# Message for updating a Transport.
|
|
564
|
+
# @!attribute [rw] update_mask
|
|
565
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
566
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
567
|
+
# Transport resource by the update.
|
|
568
|
+
# The fields specified in the update_mask are relative to the resource, not
|
|
569
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
|
570
|
+
# user does not provide a mask then all fields present in the request will be
|
|
571
|
+
# overwritten.
|
|
572
|
+
# @!attribute [rw] transport
|
|
573
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Transport]
|
|
574
|
+
# Required. The resource being updated.
|
|
575
|
+
# @!attribute [rw] request_id
|
|
576
|
+
# @return [::String]
|
|
577
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
578
|
+
# request ID so that if you must retry your request, the server will know to
|
|
579
|
+
# ignore the request if it has already been completed. The server will
|
|
580
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
581
|
+
#
|
|
582
|
+
# For example, consider a situation where you make an initial request and the
|
|
583
|
+
# request times out. If you make the request again with the same request
|
|
584
|
+
# ID, the server can check if original operation with the same request ID
|
|
585
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
586
|
+
# clients from accidentally creating duplicate commitments.
|
|
587
|
+
#
|
|
588
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
589
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
590
|
+
class UpdateTransportRequest
|
|
591
|
+
include ::Google::Protobuf::MessageExts
|
|
592
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
593
|
+
end
|
|
594
|
+
|
|
595
|
+
# Message for deleting a Transport.
|
|
596
|
+
# @!attribute [rw] name
|
|
597
|
+
# @return [::String]
|
|
598
|
+
# Required. Name of the resource.
|
|
599
|
+
# @!attribute [rw] request_id
|
|
600
|
+
# @return [::String]
|
|
601
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
602
|
+
# request ID so that if you must retry your request, the server will know to
|
|
603
|
+
# ignore the request if it has already been completed. The server will
|
|
604
|
+
# guarantee that for at least 60 minutes after the first request.
|
|
605
|
+
#
|
|
606
|
+
# For example, consider a situation where you make an initial request and the
|
|
607
|
+
# request times out. If you make the request again with the same request
|
|
608
|
+
# ID, the server can check if original operation with the same request ID
|
|
609
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
610
|
+
# clients from accidentally creating duplicate commitments.
|
|
611
|
+
#
|
|
612
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
613
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
614
|
+
class DeleteTransportRequest
|
|
615
|
+
include ::Google::Protobuf::MessageExts
|
|
616
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
617
|
+
end
|
|
618
|
+
end
|
|
619
|
+
end
|
|
620
|
+
end
|
|
621
|
+
end
|