google-cloud-network_connectivity-v1beta 0.a → 0.2.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 +1784 -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 +843 -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 +3583 -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 +843 -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 +879 -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 +843 -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 +1287 -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 +843 -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,2024 @@
|
|
|
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
|
+
# A Network Connectivity Center hub is a global management resource to which
|
|
25
|
+
# you attach spokes. A single hub can contain spokes from multiple regions.
|
|
26
|
+
# However, if any of a hub's spokes use the site-to-site data transfer feature,
|
|
27
|
+
# the resources associated with those spokes must all be in the same VPC
|
|
28
|
+
# network. Spokes that do not use site-to-site data transfer can be associated
|
|
29
|
+
# with any VPC network in your project.
|
|
30
|
+
# @!attribute [rw] name
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Immutable. The name of the hub. Hub names must be unique. They use the
|
|
33
|
+
# following form:
|
|
34
|
+
# `projects/{project_number}/locations/global/hubs/{hub_id}`
|
|
35
|
+
# @!attribute [r] create_time
|
|
36
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
37
|
+
# Output only. The time the hub was created.
|
|
38
|
+
# @!attribute [r] update_time
|
|
39
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
40
|
+
# Output only. The time the hub was last updated.
|
|
41
|
+
# @!attribute [rw] labels
|
|
42
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
43
|
+
# Optional labels in key-value pair format. For more information about
|
|
44
|
+
# labels, see [Requirements for
|
|
45
|
+
# labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
|
46
|
+
# @!attribute [rw] description
|
|
47
|
+
# @return [::String]
|
|
48
|
+
# Optional. An optional description of the hub.
|
|
49
|
+
# @!attribute [r] unique_id
|
|
50
|
+
# @return [::String]
|
|
51
|
+
# Output only. The Google-generated UUID for the hub. This value is unique
|
|
52
|
+
# across all hub resources. If a hub is deleted and another with the same
|
|
53
|
+
# name is created, the new hub is assigned a different unique_id.
|
|
54
|
+
# @!attribute [r] state
|
|
55
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::State]
|
|
56
|
+
# Output only. The current lifecycle state of this hub.
|
|
57
|
+
# @!attribute [r] routing_vpcs
|
|
58
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::RoutingVPC>]
|
|
59
|
+
# Output only. The VPC networks associated with this hub's spokes.
|
|
60
|
+
#
|
|
61
|
+
# This field is read-only. Network Connectivity Center automatically
|
|
62
|
+
# populates it based on the set of spokes attached to the hub.
|
|
63
|
+
# @!attribute [r] route_tables
|
|
64
|
+
# @return [::Array<::String>]
|
|
65
|
+
# Output only. The route tables that belong to this hub. They use the
|
|
66
|
+
# following form:
|
|
67
|
+
# `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`
|
|
68
|
+
#
|
|
69
|
+
# This field is read-only. Network Connectivity Center automatically
|
|
70
|
+
# populates it based on the route tables nested under the hub.
|
|
71
|
+
# @!attribute [r] spoke_summary
|
|
72
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::SpokeSummary]
|
|
73
|
+
# Output only. A summary of the spokes associated with a hub. The
|
|
74
|
+
# summary includes a count of spokes according to type
|
|
75
|
+
# and according to state. If any spokes are inactive,
|
|
76
|
+
# the summary also lists the reasons they are inactive,
|
|
77
|
+
# including a count for each reason.
|
|
78
|
+
# @!attribute [rw] policy_mode
|
|
79
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::PolicyMode]
|
|
80
|
+
# Optional. The policy mode of this hub. This field can be either
|
|
81
|
+
# PRESET or CUSTOM. If unspecified, the
|
|
82
|
+
# policy_mode defaults to PRESET.
|
|
83
|
+
# @!attribute [rw] preset_topology
|
|
84
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::PresetTopology]
|
|
85
|
+
# Optional. The topology implemented in this hub. Currently, this field is
|
|
86
|
+
# only used when policy_mode = PRESET. The available preset topologies are
|
|
87
|
+
# MESH and STAR. If preset_topology is unspecified and policy_mode = PRESET,
|
|
88
|
+
# the preset_topology defaults to MESH. When policy_mode = CUSTOM,
|
|
89
|
+
# the preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED.
|
|
90
|
+
# @!attribute [rw] export_psc
|
|
91
|
+
# @return [::Boolean]
|
|
92
|
+
# Optional. Whether Private Service Connect connection propagation is enabled
|
|
93
|
+
# for the hub. If true, Private Service Connect endpoints in VPC spokes
|
|
94
|
+
# attached to the hub are made accessible to other VPC spokes attached to the
|
|
95
|
+
# hub. The default value is false.
|
|
96
|
+
class Hub
|
|
97
|
+
include ::Google::Protobuf::MessageExts
|
|
98
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
99
|
+
|
|
100
|
+
# @!attribute [rw] key
|
|
101
|
+
# @return [::String]
|
|
102
|
+
# @!attribute [rw] value
|
|
103
|
+
# @return [::String]
|
|
104
|
+
class LabelsEntry
|
|
105
|
+
include ::Google::Protobuf::MessageExts
|
|
106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# RoutingVPC contains information about the VPC networks associated
|
|
111
|
+
# with the spokes of a Network Connectivity Center hub.
|
|
112
|
+
# @!attribute [rw] uri
|
|
113
|
+
# @return [::String]
|
|
114
|
+
# The URI of the VPC network.
|
|
115
|
+
# @!attribute [r] required_for_new_site_to_site_data_transfer_spokes
|
|
116
|
+
# @return [::Boolean]
|
|
117
|
+
# Output only. If true, indicates that this VPC network is currently
|
|
118
|
+
# associated with spokes that use the data transfer feature (spokes where the
|
|
119
|
+
# site_to_site_data_transfer field is set to true). If you create new spokes
|
|
120
|
+
# that use data transfer, they must be associated with this VPC network. At
|
|
121
|
+
# most, one VPC network will have this field set to true.
|
|
122
|
+
class RoutingVPC
|
|
123
|
+
include ::Google::Protobuf::MessageExts
|
|
124
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# A Network Connectivity Center spoke represents one or more network
|
|
128
|
+
# connectivity resources.
|
|
129
|
+
#
|
|
130
|
+
# When you create a spoke, you associate it with a hub. You must also
|
|
131
|
+
# identify a value for exactly one of the following fields:
|
|
132
|
+
#
|
|
133
|
+
# * linked_vpn_tunnels
|
|
134
|
+
# * linked_interconnect_attachments
|
|
135
|
+
# * linked_router_appliance_instances
|
|
136
|
+
# * linked_vpc_network
|
|
137
|
+
# @!attribute [rw] name
|
|
138
|
+
# @return [::String]
|
|
139
|
+
# Immutable. The name of the spoke. Spoke names must be unique. They use the
|
|
140
|
+
# following form:
|
|
141
|
+
# `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
|
|
142
|
+
# @!attribute [r] create_time
|
|
143
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
144
|
+
# Output only. The time the spoke was created.
|
|
145
|
+
# @!attribute [r] update_time
|
|
146
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
147
|
+
# Output only. The time the spoke was last updated.
|
|
148
|
+
# @!attribute [rw] labels
|
|
149
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
150
|
+
# Optional labels in key-value pair format. For more information about
|
|
151
|
+
# labels, see [Requirements for
|
|
152
|
+
# labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
|
153
|
+
# @!attribute [rw] description
|
|
154
|
+
# @return [::String]
|
|
155
|
+
# Optional. An optional description of the spoke.
|
|
156
|
+
# @!attribute [rw] hub
|
|
157
|
+
# @return [::String]
|
|
158
|
+
# Immutable. The name of the hub that this spoke is attached to.
|
|
159
|
+
# @!attribute [rw] group
|
|
160
|
+
# @return [::String]
|
|
161
|
+
# Optional. The name of the group that this spoke is associated with.
|
|
162
|
+
# @!attribute [rw] linked_vpn_tunnels
|
|
163
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::LinkedVpnTunnels]
|
|
164
|
+
# Optional. VPN tunnels that are associated with the spoke.
|
|
165
|
+
# @!attribute [rw] linked_interconnect_attachments
|
|
166
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::LinkedInterconnectAttachments]
|
|
167
|
+
# Optional. VLAN attachments that are associated with the spoke.
|
|
168
|
+
# @!attribute [rw] linked_router_appliance_instances
|
|
169
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::LinkedRouterApplianceInstances]
|
|
170
|
+
# Optional. Router appliance instances that are associated with the spoke.
|
|
171
|
+
# @!attribute [rw] linked_vpc_network
|
|
172
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::LinkedVpcNetwork]
|
|
173
|
+
# Optional. VPC network that is associated with the spoke.
|
|
174
|
+
# @!attribute [rw] gateway
|
|
175
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Gateway]
|
|
176
|
+
# Optional. This is a gateway that can apply specialized processing to
|
|
177
|
+
# traffic going through it.
|
|
178
|
+
# @!attribute [rw] linked_producer_vpc_network
|
|
179
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::LinkedProducerVpcNetwork]
|
|
180
|
+
# Optional. The linked producer VPC that is associated with the spoke.
|
|
181
|
+
# @!attribute [r] unique_id
|
|
182
|
+
# @return [::String]
|
|
183
|
+
# Output only. The Google-generated UUID for the spoke. This value is unique
|
|
184
|
+
# across all spoke resources. If a spoke is deleted and another with the same
|
|
185
|
+
# name is created, the new spoke is assigned a different `unique_id`.
|
|
186
|
+
# @!attribute [r] state
|
|
187
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::State]
|
|
188
|
+
# Output only. The current lifecycle state of this spoke.
|
|
189
|
+
# @!attribute [r] reasons
|
|
190
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::Spoke::StateReason>]
|
|
191
|
+
# Output only. The reasons for current state of the spoke.
|
|
192
|
+
# @!attribute [r] spoke_type
|
|
193
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::SpokeType]
|
|
194
|
+
# Output only. The type of resource associated with the spoke.
|
|
195
|
+
# @!attribute [rw] etag
|
|
196
|
+
# @return [::String]
|
|
197
|
+
# Optional. This checksum is computed by the server based on the value of
|
|
198
|
+
# other fields, and may be sent on update and delete requests to ensure the
|
|
199
|
+
# client has an up-to-date value before proceeding.
|
|
200
|
+
# @!attribute [rw] field_paths_pending_update
|
|
201
|
+
# @return [::Array<::String>]
|
|
202
|
+
# Optional. The list of fields waiting for hub administrator's approval.
|
|
203
|
+
class Spoke
|
|
204
|
+
include ::Google::Protobuf::MessageExts
|
|
205
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
206
|
+
|
|
207
|
+
# The reason for the current state of the spoke.
|
|
208
|
+
# @!attribute [rw] code
|
|
209
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Spoke::StateReason::Code]
|
|
210
|
+
# The code associated with this reason.
|
|
211
|
+
# @!attribute [rw] message
|
|
212
|
+
# @return [::String]
|
|
213
|
+
# Human-readable details about this reason.
|
|
214
|
+
# @!attribute [rw] user_details
|
|
215
|
+
# @return [::String]
|
|
216
|
+
# Additional information provided by the user in the RejectSpoke call.
|
|
217
|
+
class StateReason
|
|
218
|
+
include ::Google::Protobuf::MessageExts
|
|
219
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
220
|
+
|
|
221
|
+
# The Code enum represents the various reasons for the state of the spoke.
|
|
222
|
+
module Code
|
|
223
|
+
# No information available.
|
|
224
|
+
CODE_UNSPECIFIED = 0
|
|
225
|
+
|
|
226
|
+
# The proposed spoke is pending review.
|
|
227
|
+
PENDING_REVIEW = 1
|
|
228
|
+
|
|
229
|
+
# The proposed spoke has been rejected by the hub administrator.
|
|
230
|
+
REJECTED = 2
|
|
231
|
+
|
|
232
|
+
# The spoke has been deactivated internally.
|
|
233
|
+
PAUSED = 3
|
|
234
|
+
|
|
235
|
+
# Network Connectivity Center encountered errors while accepting
|
|
236
|
+
# the spoke.
|
|
237
|
+
FAILED = 4
|
|
238
|
+
|
|
239
|
+
# The proposed spoke update is pending review.
|
|
240
|
+
UPDATE_PENDING_REVIEW = 5
|
|
241
|
+
|
|
242
|
+
# The proposed spoke update has been rejected by the hub administrator.
|
|
243
|
+
UPDATE_REJECTED = 6
|
|
244
|
+
|
|
245
|
+
# Network Connectivity Center encountered errors while accepting
|
|
246
|
+
# the spoke update.
|
|
247
|
+
UPDATE_FAILED = 7
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# @!attribute [rw] key
|
|
252
|
+
# @return [::String]
|
|
253
|
+
# @!attribute [rw] value
|
|
254
|
+
# @return [::String]
|
|
255
|
+
class LabelsEntry
|
|
256
|
+
include ::Google::Protobuf::MessageExts
|
|
257
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
# @!attribute [rw] name
|
|
262
|
+
# @return [::String]
|
|
263
|
+
# Immutable. The name of the route table. Route table names must be unique.
|
|
264
|
+
# They use the following form:
|
|
265
|
+
# `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}`
|
|
266
|
+
# @!attribute [r] create_time
|
|
267
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
268
|
+
# Output only. The time the route table was created.
|
|
269
|
+
# @!attribute [r] update_time
|
|
270
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
271
|
+
# Output only. The time the route table was last updated.
|
|
272
|
+
# @!attribute [rw] labels
|
|
273
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
274
|
+
# Optional labels in key-value pair format. For more information about
|
|
275
|
+
# labels, see [Requirements for
|
|
276
|
+
# labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
|
277
|
+
# @!attribute [rw] description
|
|
278
|
+
# @return [::String]
|
|
279
|
+
# An optional description of the route table.
|
|
280
|
+
# @!attribute [r] uid
|
|
281
|
+
# @return [::String]
|
|
282
|
+
# Output only. The Google-generated UUID for the route table. This value is
|
|
283
|
+
# unique across all route table resources. If a route table is deleted and
|
|
284
|
+
# another with the same name is created, the new route table is assigned
|
|
285
|
+
# a different `uid`.
|
|
286
|
+
# @!attribute [r] state
|
|
287
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::State]
|
|
288
|
+
# Output only. The current lifecycle state of this route table.
|
|
289
|
+
class RouteTable
|
|
290
|
+
include ::Google::Protobuf::MessageExts
|
|
291
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
292
|
+
|
|
293
|
+
# @!attribute [rw] key
|
|
294
|
+
# @return [::String]
|
|
295
|
+
# @!attribute [rw] value
|
|
296
|
+
# @return [::String]
|
|
297
|
+
class LabelsEntry
|
|
298
|
+
include ::Google::Protobuf::MessageExts
|
|
299
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# A route defines a path from VM instances within a spoke to a specific
|
|
304
|
+
# destination resource. Only VPC spokes have routes.
|
|
305
|
+
# @!attribute [rw] name
|
|
306
|
+
# @return [::String]
|
|
307
|
+
# Immutable. The name of the route. Route names must be unique. Route names
|
|
308
|
+
# use the following form:
|
|
309
|
+
# `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}/routes/{route_id}`
|
|
310
|
+
# @!attribute [r] create_time
|
|
311
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
312
|
+
# Output only. The time the route was created.
|
|
313
|
+
# @!attribute [r] update_time
|
|
314
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
315
|
+
# Output only. The time the route was last updated.
|
|
316
|
+
# @!attribute [rw] ip_cidr_range
|
|
317
|
+
# @return [::String]
|
|
318
|
+
# The destination IP address range.
|
|
319
|
+
# @!attribute [r] type
|
|
320
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::RouteType]
|
|
321
|
+
# Output only. The route's type. Its type is determined by the properties of
|
|
322
|
+
# its IP address range.
|
|
323
|
+
# @!attribute [rw] next_hop_vpc_network
|
|
324
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::NextHopVpcNetwork]
|
|
325
|
+
# Immutable. The destination VPC network for packets on this route.
|
|
326
|
+
# @!attribute [rw] labels
|
|
327
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
328
|
+
# Optional labels in key-value pair format. For more information about
|
|
329
|
+
# labels, see [Requirements for
|
|
330
|
+
# labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
|
331
|
+
# @!attribute [rw] description
|
|
332
|
+
# @return [::String]
|
|
333
|
+
# An optional description of the route.
|
|
334
|
+
# @!attribute [r] uid
|
|
335
|
+
# @return [::String]
|
|
336
|
+
# Output only. The Google-generated UUID for the route. This value is unique
|
|
337
|
+
# across all Network Connectivity Center route resources. If a
|
|
338
|
+
# route is deleted and another with the same name is created,
|
|
339
|
+
# the new route is assigned a different `uid`.
|
|
340
|
+
# @!attribute [r] state
|
|
341
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::State]
|
|
342
|
+
# Output only. The current lifecycle state of the route.
|
|
343
|
+
# @!attribute [rw] spoke
|
|
344
|
+
# @return [::String]
|
|
345
|
+
# Immutable. The spoke that this route leads to.
|
|
346
|
+
# Example: projects/12345/locations/global/spokes/SPOKE
|
|
347
|
+
# @!attribute [r] location
|
|
348
|
+
# @return [::String]
|
|
349
|
+
# Output only. The origin location of the route.
|
|
350
|
+
# Uses the following form: "projects/\\{project}/locations/\\{location}"
|
|
351
|
+
# Example: projects/1234/locations/us-central1
|
|
352
|
+
# @!attribute [r] priority
|
|
353
|
+
# @return [::Integer]
|
|
354
|
+
# Output only. The priority of this route. Priority is used to break ties in
|
|
355
|
+
# cases where a destination matches more than one route. In these cases the
|
|
356
|
+
# route with the lowest-numbered priority value wins.
|
|
357
|
+
# @!attribute [rw] next_hop_vpn_tunnel
|
|
358
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::NextHopVPNTunnel]
|
|
359
|
+
# Immutable. The next-hop VPN tunnel for packets on this route.
|
|
360
|
+
# @!attribute [rw] next_hop_router_appliance_instance
|
|
361
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::NextHopRouterApplianceInstance]
|
|
362
|
+
# Immutable. The next-hop Router appliance instance for packets on this
|
|
363
|
+
# route.
|
|
364
|
+
# @!attribute [rw] next_hop_interconnect_attachment
|
|
365
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::NextHopInterconnectAttachment]
|
|
366
|
+
# Immutable. The next-hop VLAN attachment for packets on this route.
|
|
367
|
+
# @!attribute [rw] next_hop_spoke
|
|
368
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::NextHopSpoke]
|
|
369
|
+
# Immutable. The next-hop spoke for packets on this route.
|
|
370
|
+
class Route
|
|
371
|
+
include ::Google::Protobuf::MessageExts
|
|
372
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
373
|
+
|
|
374
|
+
# @!attribute [rw] key
|
|
375
|
+
# @return [::String]
|
|
376
|
+
# @!attribute [rw] value
|
|
377
|
+
# @return [::String]
|
|
378
|
+
class LabelsEntry
|
|
379
|
+
include ::Google::Protobuf::MessageExts
|
|
380
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
381
|
+
end
|
|
382
|
+
end
|
|
383
|
+
|
|
384
|
+
# A group represents a subset of spokes attached to a hub.
|
|
385
|
+
# @!attribute [rw] name
|
|
386
|
+
# @return [::String]
|
|
387
|
+
# Immutable. The name of the group. Group names must be unique. They
|
|
388
|
+
# use the following form:
|
|
389
|
+
# `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`
|
|
390
|
+
# @!attribute [r] create_time
|
|
391
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
392
|
+
# Output only. The time the group was created.
|
|
393
|
+
# @!attribute [r] update_time
|
|
394
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
395
|
+
# Output only. The time the group was last updated.
|
|
396
|
+
# @!attribute [rw] labels
|
|
397
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
398
|
+
# Optional. Labels in key-value pair format. For more information about
|
|
399
|
+
# labels, see [Requirements for
|
|
400
|
+
# labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
|
401
|
+
# @!attribute [rw] description
|
|
402
|
+
# @return [::String]
|
|
403
|
+
# Optional. The description of the group.
|
|
404
|
+
# @!attribute [r] uid
|
|
405
|
+
# @return [::String]
|
|
406
|
+
# Output only. The Google-generated UUID for the group. This value is unique
|
|
407
|
+
# across all group resources. If a group is deleted and
|
|
408
|
+
# another with the same name is created, the new route table is assigned
|
|
409
|
+
# a different unique_id.
|
|
410
|
+
# @!attribute [r] state
|
|
411
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::State]
|
|
412
|
+
# Output only. The current lifecycle state of this group.
|
|
413
|
+
# @!attribute [rw] auto_accept
|
|
414
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::AutoAccept]
|
|
415
|
+
# Optional. The auto-accept setting for this group.
|
|
416
|
+
# @!attribute [r] route_table
|
|
417
|
+
# @return [::String]
|
|
418
|
+
# Output only. The name of the route table that corresponds to this group.
|
|
419
|
+
# They use the following form:
|
|
420
|
+
# `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`
|
|
421
|
+
class Group
|
|
422
|
+
include ::Google::Protobuf::MessageExts
|
|
423
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
424
|
+
|
|
425
|
+
# @!attribute [rw] key
|
|
426
|
+
# @return [::String]
|
|
427
|
+
# @!attribute [rw] value
|
|
428
|
+
# @return [::String]
|
|
429
|
+
class LabelsEntry
|
|
430
|
+
include ::Google::Protobuf::MessageExts
|
|
431
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
432
|
+
end
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
# The auto-accept setting for a group controls whether
|
|
436
|
+
# proposed spokes are automatically attached to the hub. If auto-accept is
|
|
437
|
+
# enabled, the spoke immediately is attached to the hub and becomes part of the
|
|
438
|
+
# group. In this case, the new spoke is in the ACTIVE state.
|
|
439
|
+
# If auto-accept is disabled, the spoke goes to the INACTIVE
|
|
440
|
+
# state, and it must be reviewed and accepted by a hub
|
|
441
|
+
# administrator.
|
|
442
|
+
# @!attribute [rw] auto_accept_projects
|
|
443
|
+
# @return [::Array<::String>]
|
|
444
|
+
# Optional. A list of project ids or project numbers for which you want
|
|
445
|
+
# to enable auto-accept. The auto-accept setting is applied to
|
|
446
|
+
# spokes being created or updated in these projects.
|
|
447
|
+
class AutoAccept
|
|
448
|
+
include ::Google::Protobuf::MessageExts
|
|
449
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
# Request for
|
|
453
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_hubs HubService.ListHubs}
|
|
454
|
+
# method.
|
|
455
|
+
# @!attribute [rw] parent
|
|
456
|
+
# @return [::String]
|
|
457
|
+
# Required. The parent resource's name.
|
|
458
|
+
# @!attribute [rw] page_size
|
|
459
|
+
# @return [::Integer]
|
|
460
|
+
# The maximum number of results per page to return.
|
|
461
|
+
# @!attribute [rw] page_token
|
|
462
|
+
# @return [::String]
|
|
463
|
+
# The page token.
|
|
464
|
+
# @!attribute [rw] filter
|
|
465
|
+
# @return [::String]
|
|
466
|
+
# An expression that filters the list of results.
|
|
467
|
+
# @!attribute [rw] order_by
|
|
468
|
+
# @return [::String]
|
|
469
|
+
# Sort the results by a certain order.
|
|
470
|
+
class ListHubsRequest
|
|
471
|
+
include ::Google::Protobuf::MessageExts
|
|
472
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
# Response for
|
|
476
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_hubs HubService.ListHubs}
|
|
477
|
+
# method.
|
|
478
|
+
# @!attribute [rw] hubs
|
|
479
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::Hub>]
|
|
480
|
+
# The requested hubs.
|
|
481
|
+
# @!attribute [rw] next_page_token
|
|
482
|
+
# @return [::String]
|
|
483
|
+
# The token for the next page of the response. To see more results,
|
|
484
|
+
# use this value as the page_token for your next request. If this value
|
|
485
|
+
# is empty, there are no more results.
|
|
486
|
+
# @!attribute [rw] unreachable
|
|
487
|
+
# @return [::Array<::String>]
|
|
488
|
+
# Locations that could not be reached.
|
|
489
|
+
class ListHubsResponse
|
|
490
|
+
include ::Google::Protobuf::MessageExts
|
|
491
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
# Request for
|
|
495
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#get_hub HubService.GetHub}
|
|
496
|
+
# method.
|
|
497
|
+
# @!attribute [rw] name
|
|
498
|
+
# @return [::String]
|
|
499
|
+
# Required. The name of the hub resource to get.
|
|
500
|
+
class GetHubRequest
|
|
501
|
+
include ::Google::Protobuf::MessageExts
|
|
502
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
# Request for
|
|
506
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#create_hub HubService.CreateHub}
|
|
507
|
+
# method.
|
|
508
|
+
# @!attribute [rw] parent
|
|
509
|
+
# @return [::String]
|
|
510
|
+
# Required. The parent resource.
|
|
511
|
+
# @!attribute [rw] hub_id
|
|
512
|
+
# @return [::String]
|
|
513
|
+
# Required. A unique identifier for the hub.
|
|
514
|
+
# @!attribute [rw] hub
|
|
515
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Hub]
|
|
516
|
+
# Required. The initial values for a new hub.
|
|
517
|
+
# @!attribute [rw] request_id
|
|
518
|
+
# @return [::String]
|
|
519
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
520
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
521
|
+
# if it has already been completed. The server guarantees that a request
|
|
522
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
523
|
+
# minutes.
|
|
524
|
+
#
|
|
525
|
+
# For example, consider a situation where you make an initial request and
|
|
526
|
+
# the request times out. If you make the request again with the same request
|
|
527
|
+
# ID, the server can check to see whether the original operation
|
|
528
|
+
# was received. If it was, the server ignores the second request. This
|
|
529
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
530
|
+
#
|
|
531
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
532
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
533
|
+
class CreateHubRequest
|
|
534
|
+
include ::Google::Protobuf::MessageExts
|
|
535
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
# Request for
|
|
539
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#update_hub HubService.UpdateHub}
|
|
540
|
+
# method.
|
|
541
|
+
# @!attribute [rw] update_mask
|
|
542
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
543
|
+
# Optional. In the case of an update to an existing hub, field mask is used
|
|
544
|
+
# to specify the fields to be overwritten. The fields specified in the
|
|
545
|
+
# update_mask are relative to the resource, not the full request. A field is
|
|
546
|
+
# overwritten if it is in the mask. If the user does not provide a mask, then
|
|
547
|
+
# all fields are overwritten.
|
|
548
|
+
# @!attribute [rw] hub
|
|
549
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Hub]
|
|
550
|
+
# Required. The state that the hub should be in after the update.
|
|
551
|
+
# @!attribute [rw] request_id
|
|
552
|
+
# @return [::String]
|
|
553
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
554
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
555
|
+
# if it has already been completed. The server guarantees that a request
|
|
556
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
557
|
+
# minutes.
|
|
558
|
+
#
|
|
559
|
+
# For example, consider a situation where you make an initial request and
|
|
560
|
+
# the request times out. If you make the request again with the same request
|
|
561
|
+
# ID, the server can check to see whether the original operation
|
|
562
|
+
# was received. If it was, the server ignores the second request. This
|
|
563
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
564
|
+
#
|
|
565
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
566
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
567
|
+
class UpdateHubRequest
|
|
568
|
+
include ::Google::Protobuf::MessageExts
|
|
569
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
# The request for
|
|
573
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#delete_hub HubService.DeleteHub}.
|
|
574
|
+
# @!attribute [rw] name
|
|
575
|
+
# @return [::String]
|
|
576
|
+
# Required. The name of the hub to delete.
|
|
577
|
+
# @!attribute [rw] request_id
|
|
578
|
+
# @return [::String]
|
|
579
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
580
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
581
|
+
# if it has already been completed. The server guarantees that a request
|
|
582
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
583
|
+
# minutes.
|
|
584
|
+
#
|
|
585
|
+
# For example, consider a situation where you make an initial request and
|
|
586
|
+
# the request times out. If you make the request again with the same request
|
|
587
|
+
# ID, the server can check to see whether the original operation
|
|
588
|
+
# was received. If it was, the server ignores the second request. This
|
|
589
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
590
|
+
#
|
|
591
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
592
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
593
|
+
class DeleteHubRequest
|
|
594
|
+
include ::Google::Protobuf::MessageExts
|
|
595
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
596
|
+
end
|
|
597
|
+
|
|
598
|
+
# The request for
|
|
599
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_hub_spokes HubService.ListHubSpokes}.
|
|
600
|
+
# @!attribute [rw] name
|
|
601
|
+
# @return [::String]
|
|
602
|
+
# Required. The name of the hub.
|
|
603
|
+
# @!attribute [rw] spoke_locations
|
|
604
|
+
# @return [::Array<::String>]
|
|
605
|
+
# A list of locations.
|
|
606
|
+
# Specify one of the following: `[global]`, a single region (for
|
|
607
|
+
# example, `[us-central1]`), or a combination of
|
|
608
|
+
# values (for example, `[global, us-central1, us-west1]`).
|
|
609
|
+
# If the spoke_locations field is populated, the list of results
|
|
610
|
+
# includes only spokes in the specified location.
|
|
611
|
+
# If the spoke_locations field is not populated, the list of results
|
|
612
|
+
# includes spokes in all locations.
|
|
613
|
+
# @!attribute [rw] page_size
|
|
614
|
+
# @return [::Integer]
|
|
615
|
+
# The maximum number of results to return per page.
|
|
616
|
+
# @!attribute [rw] page_token
|
|
617
|
+
# @return [::String]
|
|
618
|
+
# The page token.
|
|
619
|
+
# @!attribute [rw] filter
|
|
620
|
+
# @return [::String]
|
|
621
|
+
# An expression that filters the list of results.
|
|
622
|
+
# @!attribute [rw] order_by
|
|
623
|
+
# @return [::String]
|
|
624
|
+
# Sort the results by name or create_time.
|
|
625
|
+
# @!attribute [rw] view
|
|
626
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::ListHubSpokesRequest::SpokeView]
|
|
627
|
+
# The view of the spoke to return.
|
|
628
|
+
# The view that you use determines which spoke fields are included in the
|
|
629
|
+
# response.
|
|
630
|
+
class ListHubSpokesRequest
|
|
631
|
+
include ::Google::Protobuf::MessageExts
|
|
632
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
633
|
+
|
|
634
|
+
# Enum that controls which spoke fields are included in the response.
|
|
635
|
+
module SpokeView
|
|
636
|
+
# The spoke view is unspecified. When the spoke view is unspecified, the
|
|
637
|
+
# API returns the same fields as the `BASIC` view.
|
|
638
|
+
SPOKE_VIEW_UNSPECIFIED = 0
|
|
639
|
+
|
|
640
|
+
# Includes `name`, `create_time`, `hub`, `unique_id`, `state`, `reasons`,
|
|
641
|
+
# and `spoke_type`. This is the default value.
|
|
642
|
+
BASIC = 1
|
|
643
|
+
|
|
644
|
+
# Includes all spoke fields except `labels`.
|
|
645
|
+
# You can use the `DETAILED` view only when you set the `spoke_locations`
|
|
646
|
+
# field to `[global]`.
|
|
647
|
+
DETAILED = 2
|
|
648
|
+
end
|
|
649
|
+
end
|
|
650
|
+
|
|
651
|
+
# The response for
|
|
652
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_hub_spokes HubService.ListHubSpokes}.
|
|
653
|
+
# @!attribute [rw] spokes
|
|
654
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::Spoke>]
|
|
655
|
+
# The requested spokes.
|
|
656
|
+
# The spoke fields can be partially populated based on the `view` field in
|
|
657
|
+
# the request message.
|
|
658
|
+
# @!attribute [rw] next_page_token
|
|
659
|
+
# @return [::String]
|
|
660
|
+
# The token for the next page of the response. To see more results,
|
|
661
|
+
# use this value as the page_token for your next request. If this value
|
|
662
|
+
# is empty, there are no more results.
|
|
663
|
+
# @!attribute [rw] unreachable
|
|
664
|
+
# @return [::Array<::String>]
|
|
665
|
+
# Locations that could not be reached.
|
|
666
|
+
class ListHubSpokesResponse
|
|
667
|
+
include ::Google::Protobuf::MessageExts
|
|
668
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
669
|
+
end
|
|
670
|
+
|
|
671
|
+
# The request for
|
|
672
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#query_hub_status HubService.QueryHubStatus}.
|
|
673
|
+
# @!attribute [rw] name
|
|
674
|
+
# @return [::String]
|
|
675
|
+
# Required. The name of the hub.
|
|
676
|
+
# @!attribute [rw] page_size
|
|
677
|
+
# @return [::Integer]
|
|
678
|
+
# Optional. The maximum number of results to return per page.
|
|
679
|
+
# @!attribute [rw] page_token
|
|
680
|
+
# @return [::String]
|
|
681
|
+
# Optional. The page token.
|
|
682
|
+
# @!attribute [rw] filter
|
|
683
|
+
# @return [::String]
|
|
684
|
+
# Optional. An expression that filters the list of results.
|
|
685
|
+
# The filter can be used to filter the results by the following fields:
|
|
686
|
+
# * `psc_propagation_status.source_spoke`
|
|
687
|
+
# * `psc_propagation_status.source_group`
|
|
688
|
+
# * `psc_propagation_status.source_forwarding_rule`
|
|
689
|
+
# * `psc_propagation_status.target_spoke`
|
|
690
|
+
# * `psc_propagation_status.target_group`
|
|
691
|
+
# * `psc_propagation_status.code`
|
|
692
|
+
# * `psc_propagation_status.message`
|
|
693
|
+
# @!attribute [rw] order_by
|
|
694
|
+
# @return [::String]
|
|
695
|
+
# Optional. Sort the results in ascending order by the specified fields.
|
|
696
|
+
# A comma-separated list of any of these fields:
|
|
697
|
+
# * `psc_propagation_status.source_spoke`
|
|
698
|
+
# * `psc_propagation_status.source_group`
|
|
699
|
+
# * `psc_propagation_status.source_forwarding_rule`
|
|
700
|
+
# * `psc_propagation_status.target_spoke`
|
|
701
|
+
# * `psc_propagation_status.target_group`
|
|
702
|
+
# * `psc_propagation_status.code`
|
|
703
|
+
# If `group_by` is set, the value of the `order_by` field must be the
|
|
704
|
+
# same as or a subset of the `group_by` field.
|
|
705
|
+
# @!attribute [rw] group_by
|
|
706
|
+
# @return [::String]
|
|
707
|
+
# Optional. Aggregate the results by the specified fields.
|
|
708
|
+
# A comma-separated list of any of these fields:
|
|
709
|
+
# * `psc_propagation_status.source_spoke`
|
|
710
|
+
# * `psc_propagation_status.source_group`
|
|
711
|
+
# * `psc_propagation_status.source_forwarding_rule`
|
|
712
|
+
# * `psc_propagation_status.target_spoke`
|
|
713
|
+
# * `psc_propagation_status.target_group`
|
|
714
|
+
# * `psc_propagation_status.code`
|
|
715
|
+
class QueryHubStatusRequest
|
|
716
|
+
include ::Google::Protobuf::MessageExts
|
|
717
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
718
|
+
end
|
|
719
|
+
|
|
720
|
+
# The response for
|
|
721
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#query_hub_status HubService.QueryHubStatus}.
|
|
722
|
+
# @!attribute [rw] hub_status_entries
|
|
723
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::HubStatusEntry>]
|
|
724
|
+
# The list of hub status.
|
|
725
|
+
# @!attribute [rw] next_page_token
|
|
726
|
+
# @return [::String]
|
|
727
|
+
# The token for the next page of the response. To see more results,
|
|
728
|
+
# use this value as the page_token for your next request. If this value
|
|
729
|
+
# is empty, there are no more results.
|
|
730
|
+
class QueryHubStatusResponse
|
|
731
|
+
include ::Google::Protobuf::MessageExts
|
|
732
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
# A hub status entry represents the status of a set of propagated Private
|
|
736
|
+
# Service Connect connections grouped by certain fields.
|
|
737
|
+
# @!attribute [rw] count
|
|
738
|
+
# @return [::Integer]
|
|
739
|
+
# The number of propagated Private Service Connect connections with this
|
|
740
|
+
# status. If the `group_by` field was not set in the request message, the
|
|
741
|
+
# value of this field is 1.
|
|
742
|
+
# @!attribute [rw] group_by
|
|
743
|
+
# @return [::String]
|
|
744
|
+
# The fields that this entry is grouped by. This has the same value as the
|
|
745
|
+
# `group_by` field in the request message.
|
|
746
|
+
# @!attribute [rw] psc_propagation_status
|
|
747
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::PscPropagationStatus]
|
|
748
|
+
# The Private Service Connect propagation status.
|
|
749
|
+
class HubStatusEntry
|
|
750
|
+
include ::Google::Protobuf::MessageExts
|
|
751
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
752
|
+
end
|
|
753
|
+
|
|
754
|
+
# The status of one or more propagated Private Service Connect connections in a
|
|
755
|
+
# hub.
|
|
756
|
+
# @!attribute [rw] source_spoke
|
|
757
|
+
# @return [::String]
|
|
758
|
+
# The name of the spoke that the source forwarding rule belongs to.
|
|
759
|
+
# @!attribute [rw] source_group
|
|
760
|
+
# @return [::String]
|
|
761
|
+
# The name of the group that the source spoke belongs to.
|
|
762
|
+
# @!attribute [rw] source_forwarding_rule
|
|
763
|
+
# @return [::String]
|
|
764
|
+
# The name of the forwarding rule exported to the hub.
|
|
765
|
+
# @!attribute [rw] target_spoke
|
|
766
|
+
# @return [::String]
|
|
767
|
+
# The name of the spoke that the source forwarding rule propagates to.
|
|
768
|
+
# @!attribute [rw] target_group
|
|
769
|
+
# @return [::String]
|
|
770
|
+
# The name of the group that the target spoke belongs to.
|
|
771
|
+
# @!attribute [rw] code
|
|
772
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::PscPropagationStatus::Code]
|
|
773
|
+
# The propagation status.
|
|
774
|
+
# @!attribute [rw] message
|
|
775
|
+
# @return [::String]
|
|
776
|
+
# The human-readable summary of the Private Service Connect connection
|
|
777
|
+
# propagation status.
|
|
778
|
+
class PscPropagationStatus
|
|
779
|
+
include ::Google::Protobuf::MessageExts
|
|
780
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
781
|
+
|
|
782
|
+
# The Code enum represents the state of the Private Service Connect
|
|
783
|
+
# propagation.
|
|
784
|
+
module Code
|
|
785
|
+
# The code is unspecified.
|
|
786
|
+
CODE_UNSPECIFIED = 0
|
|
787
|
+
|
|
788
|
+
# The propagated Private Service Connect connection is ready.
|
|
789
|
+
READY = 1
|
|
790
|
+
|
|
791
|
+
# The Private Service Connect connection is propagating. This is a
|
|
792
|
+
# transient state.
|
|
793
|
+
PROPAGATING = 2
|
|
794
|
+
|
|
795
|
+
# The Private Service Connect connection propagation failed because the VPC
|
|
796
|
+
# network or the project of the target spoke has exceeded the connection
|
|
797
|
+
# limit set by the producer.
|
|
798
|
+
ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED = 3
|
|
799
|
+
|
|
800
|
+
# The Private Service Connect connection propagation failed because the NAT
|
|
801
|
+
# IP subnet space has been exhausted. It is equivalent to the `Needs
|
|
802
|
+
# attention` status of the Private Service Connect connection. See
|
|
803
|
+
# https://cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#connection-statuses.
|
|
804
|
+
ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED = 4
|
|
805
|
+
|
|
806
|
+
# The Private Service Connect connection propagation failed because the
|
|
807
|
+
# `PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK` quota in the
|
|
808
|
+
# producer VPC network has been exceeded.
|
|
809
|
+
ERROR_PRODUCER_QUOTA_EXCEEDED = 5
|
|
810
|
+
|
|
811
|
+
# The Private Service Connect connection propagation failed because the
|
|
812
|
+
# `PSC_PROPAGATED_CONNECTIONS_PER_VPC_NETWORK` quota in the consumer
|
|
813
|
+
# VPC network has been exceeded.
|
|
814
|
+
ERROR_CONSUMER_QUOTA_EXCEEDED = 6
|
|
815
|
+
end
|
|
816
|
+
end
|
|
817
|
+
|
|
818
|
+
# The request for
|
|
819
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_spokes HubService.ListSpokes}.
|
|
820
|
+
# @!attribute [rw] parent
|
|
821
|
+
# @return [::String]
|
|
822
|
+
# Required. The parent resource.
|
|
823
|
+
# @!attribute [rw] page_size
|
|
824
|
+
# @return [::Integer]
|
|
825
|
+
# The maximum number of results to return per page.
|
|
826
|
+
# @!attribute [rw] page_token
|
|
827
|
+
# @return [::String]
|
|
828
|
+
# The page token.
|
|
829
|
+
# @!attribute [rw] filter
|
|
830
|
+
# @return [::String]
|
|
831
|
+
# An expression that filters the list of results.
|
|
832
|
+
# @!attribute [rw] order_by
|
|
833
|
+
# @return [::String]
|
|
834
|
+
# Sort the results by a certain order.
|
|
835
|
+
class ListSpokesRequest
|
|
836
|
+
include ::Google::Protobuf::MessageExts
|
|
837
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
838
|
+
end
|
|
839
|
+
|
|
840
|
+
# The response for
|
|
841
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_spokes HubService.ListSpokes}.
|
|
842
|
+
# @!attribute [rw] spokes
|
|
843
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::Spoke>]
|
|
844
|
+
# The requested spokes.
|
|
845
|
+
# @!attribute [rw] next_page_token
|
|
846
|
+
# @return [::String]
|
|
847
|
+
# The token for the next page of the response. To see more results,
|
|
848
|
+
# use this value as the page_token for your next request. If this value
|
|
849
|
+
# is empty, there are no more results.
|
|
850
|
+
# @!attribute [rw] unreachable
|
|
851
|
+
# @return [::Array<::String>]
|
|
852
|
+
# Locations that could not be reached.
|
|
853
|
+
class ListSpokesResponse
|
|
854
|
+
include ::Google::Protobuf::MessageExts
|
|
855
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
856
|
+
end
|
|
857
|
+
|
|
858
|
+
# The request for
|
|
859
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#get_spoke HubService.GetSpoke}.
|
|
860
|
+
# @!attribute [rw] name
|
|
861
|
+
# @return [::String]
|
|
862
|
+
# Required. The name of the spoke resource.
|
|
863
|
+
class GetSpokeRequest
|
|
864
|
+
include ::Google::Protobuf::MessageExts
|
|
865
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
866
|
+
end
|
|
867
|
+
|
|
868
|
+
# The request for
|
|
869
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#create_spoke HubService.CreateSpoke}.
|
|
870
|
+
# @!attribute [rw] parent
|
|
871
|
+
# @return [::String]
|
|
872
|
+
# Required. The parent resource.
|
|
873
|
+
# @!attribute [rw] spoke_id
|
|
874
|
+
# @return [::String]
|
|
875
|
+
# Required. Unique id for the spoke to create.
|
|
876
|
+
# @!attribute [rw] spoke
|
|
877
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Spoke]
|
|
878
|
+
# Required. The initial values for a new spoke.
|
|
879
|
+
# @!attribute [rw] request_id
|
|
880
|
+
# @return [::String]
|
|
881
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
882
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
883
|
+
# if it has already been completed. The server guarantees that a request
|
|
884
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
885
|
+
# minutes.
|
|
886
|
+
#
|
|
887
|
+
# For example, consider a situation where you make an initial request and
|
|
888
|
+
# the request times out. If you make the request again with the same request
|
|
889
|
+
# ID, the server can check to see whether the original operation
|
|
890
|
+
# was received. If it was, the server ignores the second request. This
|
|
891
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
892
|
+
#
|
|
893
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
894
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
895
|
+
class CreateSpokeRequest
|
|
896
|
+
include ::Google::Protobuf::MessageExts
|
|
897
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
898
|
+
end
|
|
899
|
+
|
|
900
|
+
# Request for
|
|
901
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#update_spoke HubService.UpdateSpoke}
|
|
902
|
+
# method.
|
|
903
|
+
# @!attribute [rw] update_mask
|
|
904
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
905
|
+
# Optional. In the case of an update to an existing spoke, field mask is used
|
|
906
|
+
# to specify the fields to be overwritten. The fields specified in the
|
|
907
|
+
# update_mask are relative to the resource, not the full request. A field is
|
|
908
|
+
# overwritten if it is in the mask. If the user does not provide a mask, then
|
|
909
|
+
# all fields are overwritten.
|
|
910
|
+
# @!attribute [rw] spoke
|
|
911
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Spoke]
|
|
912
|
+
# Required. The state that the spoke should be in after the update.
|
|
913
|
+
# @!attribute [rw] request_id
|
|
914
|
+
# @return [::String]
|
|
915
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
916
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
917
|
+
# if it has already been completed. The server guarantees that a request
|
|
918
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
919
|
+
# minutes.
|
|
920
|
+
#
|
|
921
|
+
# For example, consider a situation where you make an initial request and
|
|
922
|
+
# the request times out. If you make the request again with the same request
|
|
923
|
+
# ID, the server can check to see whether the original operation
|
|
924
|
+
# was received. If it was, the server ignores the second request. This
|
|
925
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
926
|
+
#
|
|
927
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
928
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
929
|
+
class UpdateSpokeRequest
|
|
930
|
+
include ::Google::Protobuf::MessageExts
|
|
931
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
932
|
+
end
|
|
933
|
+
|
|
934
|
+
# The request for
|
|
935
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#delete_spoke HubService.DeleteSpoke}.
|
|
936
|
+
# @!attribute [rw] name
|
|
937
|
+
# @return [::String]
|
|
938
|
+
# Required. The name of the spoke to delete.
|
|
939
|
+
# @!attribute [rw] request_id
|
|
940
|
+
# @return [::String]
|
|
941
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
942
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
943
|
+
# if it has already been completed. The server guarantees that a request
|
|
944
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
945
|
+
# minutes.
|
|
946
|
+
#
|
|
947
|
+
# For example, consider a situation where you make an initial request and
|
|
948
|
+
# the request times out. If you make the request again with the same request
|
|
949
|
+
# ID, the server can check to see whether the original operation
|
|
950
|
+
# was received. If it was, the server ignores the second request. This
|
|
951
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
952
|
+
#
|
|
953
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
954
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
955
|
+
class DeleteSpokeRequest
|
|
956
|
+
include ::Google::Protobuf::MessageExts
|
|
957
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
958
|
+
end
|
|
959
|
+
|
|
960
|
+
# The request for
|
|
961
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#accept_hub_spoke HubService.AcceptHubSpoke}.
|
|
962
|
+
# @!attribute [rw] name
|
|
963
|
+
# @return [::String]
|
|
964
|
+
# Required. The name of the hub into which to accept the spoke.
|
|
965
|
+
# @!attribute [rw] spoke_uri
|
|
966
|
+
# @return [::String]
|
|
967
|
+
# Required. The URI of the spoke to accept into the hub.
|
|
968
|
+
# @!attribute [rw] request_id
|
|
969
|
+
# @return [::String]
|
|
970
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
971
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
972
|
+
# if it has already been completed. The server guarantees that a request
|
|
973
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
974
|
+
# minutes.
|
|
975
|
+
#
|
|
976
|
+
# For example, consider a situation where you make an initial request and
|
|
977
|
+
# the request times out. If you make the request again with the same request
|
|
978
|
+
# ID, the server can check to see whether the original operation
|
|
979
|
+
# was received. If it was, the server ignores the second request. This
|
|
980
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
981
|
+
#
|
|
982
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
983
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
984
|
+
class AcceptHubSpokeRequest
|
|
985
|
+
include ::Google::Protobuf::MessageExts
|
|
986
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
# The response for
|
|
990
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#accept_hub_spoke HubService.AcceptHubSpoke}.
|
|
991
|
+
# @!attribute [rw] spoke
|
|
992
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Spoke]
|
|
993
|
+
# The spoke that was operated on.
|
|
994
|
+
class AcceptHubSpokeResponse
|
|
995
|
+
include ::Google::Protobuf::MessageExts
|
|
996
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
997
|
+
end
|
|
998
|
+
|
|
999
|
+
# The request for
|
|
1000
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#reject_hub_spoke HubService.RejectHubSpoke}.
|
|
1001
|
+
# @!attribute [rw] name
|
|
1002
|
+
# @return [::String]
|
|
1003
|
+
# Required. The name of the hub from which to reject the spoke.
|
|
1004
|
+
# @!attribute [rw] spoke_uri
|
|
1005
|
+
# @return [::String]
|
|
1006
|
+
# Required. The URI of the spoke to reject from the hub.
|
|
1007
|
+
# @!attribute [rw] request_id
|
|
1008
|
+
# @return [::String]
|
|
1009
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
1010
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
1011
|
+
# if it has already been completed. The server guarantees that a request
|
|
1012
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
1013
|
+
# minutes.
|
|
1014
|
+
#
|
|
1015
|
+
# For example, consider a situation where you make an initial request and
|
|
1016
|
+
# the request times out. If you make the request again with the same request
|
|
1017
|
+
# ID, the server can check to see whether the original operation
|
|
1018
|
+
# was received. If it was, the server ignores the second request. This
|
|
1019
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
1020
|
+
#
|
|
1021
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
1022
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1023
|
+
# @!attribute [rw] details
|
|
1024
|
+
# @return [::String]
|
|
1025
|
+
# Optional. Additional information provided by the hub administrator.
|
|
1026
|
+
class RejectHubSpokeRequest
|
|
1027
|
+
include ::Google::Protobuf::MessageExts
|
|
1028
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1029
|
+
end
|
|
1030
|
+
|
|
1031
|
+
# The response for
|
|
1032
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#reject_hub_spoke HubService.RejectHubSpoke}.
|
|
1033
|
+
# @!attribute [rw] spoke
|
|
1034
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Spoke]
|
|
1035
|
+
# The spoke that was operated on.
|
|
1036
|
+
class RejectHubSpokeResponse
|
|
1037
|
+
include ::Google::Protobuf::MessageExts
|
|
1038
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
# The request for
|
|
1042
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#accept_spoke_update HubService.AcceptSpokeUpdate}.
|
|
1043
|
+
# @!attribute [rw] name
|
|
1044
|
+
# @return [::String]
|
|
1045
|
+
# Required. The name of the hub to accept spoke update.
|
|
1046
|
+
# @!attribute [rw] spoke_uri
|
|
1047
|
+
# @return [::String]
|
|
1048
|
+
# Required. The URI of the spoke to accept update.
|
|
1049
|
+
# @!attribute [rw] spoke_etag
|
|
1050
|
+
# @return [::String]
|
|
1051
|
+
# Required. The etag of the spoke to accept update.
|
|
1052
|
+
# @!attribute [rw] request_id
|
|
1053
|
+
# @return [::String]
|
|
1054
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
1055
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
1056
|
+
# if it has already been completed. The server guarantees that a request
|
|
1057
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
1058
|
+
# minutes.
|
|
1059
|
+
#
|
|
1060
|
+
# For example, consider a situation where you make an initial request and
|
|
1061
|
+
# the request times out. If you make the request again with the same request
|
|
1062
|
+
# ID, the server can check to see whether the original operation
|
|
1063
|
+
# was received. If it was, the server ignores the second request. This
|
|
1064
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
1065
|
+
#
|
|
1066
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
1067
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1068
|
+
class AcceptSpokeUpdateRequest
|
|
1069
|
+
include ::Google::Protobuf::MessageExts
|
|
1070
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1071
|
+
end
|
|
1072
|
+
|
|
1073
|
+
# The response for
|
|
1074
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#accept_spoke_update HubService.AcceptSpokeUpdate}.
|
|
1075
|
+
# @!attribute [rw] spoke
|
|
1076
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Spoke]
|
|
1077
|
+
# The spoke that was operated on.
|
|
1078
|
+
class AcceptSpokeUpdateResponse
|
|
1079
|
+
include ::Google::Protobuf::MessageExts
|
|
1080
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1081
|
+
end
|
|
1082
|
+
|
|
1083
|
+
# The request for
|
|
1084
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#reject_spoke_update HubService.RejectSpokeUpdate}.
|
|
1085
|
+
# @!attribute [rw] name
|
|
1086
|
+
# @return [::String]
|
|
1087
|
+
# Required. The name of the hub to reject spoke update.
|
|
1088
|
+
# @!attribute [rw] spoke_uri
|
|
1089
|
+
# @return [::String]
|
|
1090
|
+
# Required. The URI of the spoke to reject update.
|
|
1091
|
+
# @!attribute [rw] spoke_etag
|
|
1092
|
+
# @return [::String]
|
|
1093
|
+
# Required. The etag of the spoke to reject update.
|
|
1094
|
+
# @!attribute [rw] details
|
|
1095
|
+
# @return [::String]
|
|
1096
|
+
# Optional. Additional information provided by the hub administrator.
|
|
1097
|
+
# @!attribute [rw] request_id
|
|
1098
|
+
# @return [::String]
|
|
1099
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
1100
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
1101
|
+
# if it has already been completed. The server guarantees that a request
|
|
1102
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
1103
|
+
# minutes.
|
|
1104
|
+
#
|
|
1105
|
+
# For example, consider a situation where you make an initial request and
|
|
1106
|
+
# the request times out. If you make the request again with the same request
|
|
1107
|
+
# ID, the server can check to see whether the original operation
|
|
1108
|
+
# was received. If it was, the server ignores the second request. This
|
|
1109
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
1110
|
+
#
|
|
1111
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
1112
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1113
|
+
class RejectSpokeUpdateRequest
|
|
1114
|
+
include ::Google::Protobuf::MessageExts
|
|
1115
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1116
|
+
end
|
|
1117
|
+
|
|
1118
|
+
# The response for
|
|
1119
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#reject_spoke_update HubService.RejectSpokeUpdate}.
|
|
1120
|
+
# @!attribute [rw] spoke
|
|
1121
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Spoke]
|
|
1122
|
+
# The spoke that was operated on.
|
|
1123
|
+
class RejectSpokeUpdateResponse
|
|
1124
|
+
include ::Google::Protobuf::MessageExts
|
|
1125
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1126
|
+
end
|
|
1127
|
+
|
|
1128
|
+
# The request for
|
|
1129
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#get_route_table HubService.GetRouteTable}.
|
|
1130
|
+
# @!attribute [rw] name
|
|
1131
|
+
# @return [::String]
|
|
1132
|
+
# Required. The name of the route table resource.
|
|
1133
|
+
class GetRouteTableRequest
|
|
1134
|
+
include ::Google::Protobuf::MessageExts
|
|
1135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1136
|
+
end
|
|
1137
|
+
|
|
1138
|
+
# The request for
|
|
1139
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#get_route HubService.GetRoute}.
|
|
1140
|
+
# @!attribute [rw] name
|
|
1141
|
+
# @return [::String]
|
|
1142
|
+
# Required. The name of the route resource.
|
|
1143
|
+
class GetRouteRequest
|
|
1144
|
+
include ::Google::Protobuf::MessageExts
|
|
1145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1146
|
+
end
|
|
1147
|
+
|
|
1148
|
+
# Request for
|
|
1149
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_routes HubService.ListRoutes}
|
|
1150
|
+
# method.
|
|
1151
|
+
# @!attribute [rw] parent
|
|
1152
|
+
# @return [::String]
|
|
1153
|
+
# Required. The parent resource's name.
|
|
1154
|
+
# @!attribute [rw] page_size
|
|
1155
|
+
# @return [::Integer]
|
|
1156
|
+
# The maximum number of results to return per page.
|
|
1157
|
+
# @!attribute [rw] page_token
|
|
1158
|
+
# @return [::String]
|
|
1159
|
+
# The page token.
|
|
1160
|
+
# @!attribute [rw] filter
|
|
1161
|
+
# @return [::String]
|
|
1162
|
+
# An expression that filters the list of results.
|
|
1163
|
+
# @!attribute [rw] order_by
|
|
1164
|
+
# @return [::String]
|
|
1165
|
+
# Sort the results by a certain order.
|
|
1166
|
+
class ListRoutesRequest
|
|
1167
|
+
include ::Google::Protobuf::MessageExts
|
|
1168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1169
|
+
end
|
|
1170
|
+
|
|
1171
|
+
# Response for
|
|
1172
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_routes HubService.ListRoutes}
|
|
1173
|
+
# method.
|
|
1174
|
+
# @!attribute [rw] routes
|
|
1175
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::Route>]
|
|
1176
|
+
# The requested routes.
|
|
1177
|
+
# @!attribute [rw] next_page_token
|
|
1178
|
+
# @return [::String]
|
|
1179
|
+
# The token for the next page of the response. To see more results,
|
|
1180
|
+
# use this value as the page_token for your next request. If this value
|
|
1181
|
+
# is empty, there are no more results.
|
|
1182
|
+
# @!attribute [rw] unreachable
|
|
1183
|
+
# @return [::Array<::String>]
|
|
1184
|
+
# RouteTables that could not be reached.
|
|
1185
|
+
class ListRoutesResponse
|
|
1186
|
+
include ::Google::Protobuf::MessageExts
|
|
1187
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1188
|
+
end
|
|
1189
|
+
|
|
1190
|
+
# Request for
|
|
1191
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_route_tables HubService.ListRouteTables}
|
|
1192
|
+
# method.
|
|
1193
|
+
# @!attribute [rw] parent
|
|
1194
|
+
# @return [::String]
|
|
1195
|
+
# Required. The parent resource's name.
|
|
1196
|
+
# @!attribute [rw] page_size
|
|
1197
|
+
# @return [::Integer]
|
|
1198
|
+
# The maximum number of results to return per page.
|
|
1199
|
+
# @!attribute [rw] page_token
|
|
1200
|
+
# @return [::String]
|
|
1201
|
+
# The page token.
|
|
1202
|
+
# @!attribute [rw] filter
|
|
1203
|
+
# @return [::String]
|
|
1204
|
+
# An expression that filters the list of results.
|
|
1205
|
+
# @!attribute [rw] order_by
|
|
1206
|
+
# @return [::String]
|
|
1207
|
+
# Sort the results by a certain order.
|
|
1208
|
+
class ListRouteTablesRequest
|
|
1209
|
+
include ::Google::Protobuf::MessageExts
|
|
1210
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1211
|
+
end
|
|
1212
|
+
|
|
1213
|
+
# Response for
|
|
1214
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_route_tables HubService.ListRouteTables}
|
|
1215
|
+
# method.
|
|
1216
|
+
# @!attribute [rw] route_tables
|
|
1217
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::RouteTable>]
|
|
1218
|
+
# The requested route tables.
|
|
1219
|
+
# @!attribute [rw] next_page_token
|
|
1220
|
+
# @return [::String]
|
|
1221
|
+
# The token for the next page of the response. To see more results,
|
|
1222
|
+
# use this value as the page_token for your next request. If this value
|
|
1223
|
+
# is empty, there are no more results.
|
|
1224
|
+
# @!attribute [rw] unreachable
|
|
1225
|
+
# @return [::Array<::String>]
|
|
1226
|
+
# Hubs that could not be reached.
|
|
1227
|
+
class ListRouteTablesResponse
|
|
1228
|
+
include ::Google::Protobuf::MessageExts
|
|
1229
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1232
|
+
# Request for
|
|
1233
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_groups HubService.ListGroups}
|
|
1234
|
+
# method.
|
|
1235
|
+
# @!attribute [rw] parent
|
|
1236
|
+
# @return [::String]
|
|
1237
|
+
# Required. The parent resource's name.
|
|
1238
|
+
# @!attribute [rw] page_size
|
|
1239
|
+
# @return [::Integer]
|
|
1240
|
+
# The maximum number of results to return per page.
|
|
1241
|
+
# @!attribute [rw] page_token
|
|
1242
|
+
# @return [::String]
|
|
1243
|
+
# The page token.
|
|
1244
|
+
# @!attribute [rw] filter
|
|
1245
|
+
# @return [::String]
|
|
1246
|
+
# An expression that filters the list of results.
|
|
1247
|
+
# @!attribute [rw] order_by
|
|
1248
|
+
# @return [::String]
|
|
1249
|
+
# Sort the results by a certain order.
|
|
1250
|
+
class ListGroupsRequest
|
|
1251
|
+
include ::Google::Protobuf::MessageExts
|
|
1252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1253
|
+
end
|
|
1254
|
+
|
|
1255
|
+
# Response for
|
|
1256
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_groups HubService.ListGroups}
|
|
1257
|
+
# method.
|
|
1258
|
+
# @!attribute [rw] groups
|
|
1259
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::Group>]
|
|
1260
|
+
# The requested groups.
|
|
1261
|
+
# @!attribute [rw] next_page_token
|
|
1262
|
+
# @return [::String]
|
|
1263
|
+
# The token for the next page of the response. To see more results,
|
|
1264
|
+
# use this value as the page_token for your next request. If this value
|
|
1265
|
+
# is empty, there are no more results.
|
|
1266
|
+
# @!attribute [rw] unreachable
|
|
1267
|
+
# @return [::Array<::String>]
|
|
1268
|
+
# Hubs that could not be reached.
|
|
1269
|
+
class ListGroupsResponse
|
|
1270
|
+
include ::Google::Protobuf::MessageExts
|
|
1271
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1272
|
+
end
|
|
1273
|
+
|
|
1274
|
+
# A collection of Cloud VPN tunnel resources. These resources should be
|
|
1275
|
+
# redundant HA VPN tunnels that all advertise the same prefixes to Google
|
|
1276
|
+
# Cloud. Alternatively, in a passive/active configuration, all tunnels
|
|
1277
|
+
# should be capable of advertising the same prefixes.
|
|
1278
|
+
# @!attribute [rw] uris
|
|
1279
|
+
# @return [::Array<::String>]
|
|
1280
|
+
# The URIs of linked VPN tunnel resources.
|
|
1281
|
+
# @!attribute [rw] site_to_site_data_transfer
|
|
1282
|
+
# @return [::Boolean]
|
|
1283
|
+
# A value that controls whether site-to-site data transfer is enabled for
|
|
1284
|
+
# these resources. Data transfer is available only in [supported
|
|
1285
|
+
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
|
1286
|
+
# @!attribute [r] vpc_network
|
|
1287
|
+
# @return [::String]
|
|
1288
|
+
# Output only. The VPC network where these VPN tunnels are located.
|
|
1289
|
+
# @!attribute [rw] include_import_ranges
|
|
1290
|
+
# @return [::Array<::String>]
|
|
1291
|
+
# Optional. Hub routes fully encompassed by include import ranges are
|
|
1292
|
+
# included during import from hub.
|
|
1293
|
+
class LinkedVpnTunnels
|
|
1294
|
+
include ::Google::Protobuf::MessageExts
|
|
1295
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1296
|
+
end
|
|
1297
|
+
|
|
1298
|
+
# A collection of VLAN attachment resources. These resources should
|
|
1299
|
+
# be redundant attachments that all advertise the same prefixes to Google
|
|
1300
|
+
# Cloud. Alternatively, in active/passive configurations, all attachments
|
|
1301
|
+
# should be capable of advertising the same prefixes.
|
|
1302
|
+
# @!attribute [rw] uris
|
|
1303
|
+
# @return [::Array<::String>]
|
|
1304
|
+
# The URIs of linked interconnect attachment resources
|
|
1305
|
+
# @!attribute [rw] site_to_site_data_transfer
|
|
1306
|
+
# @return [::Boolean]
|
|
1307
|
+
# A value that controls whether site-to-site data transfer is enabled for
|
|
1308
|
+
# these resources. Data transfer is available only in [supported
|
|
1309
|
+
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
|
1310
|
+
# @!attribute [r] vpc_network
|
|
1311
|
+
# @return [::String]
|
|
1312
|
+
# Output only. The VPC network where these VLAN attachments are located.
|
|
1313
|
+
# @!attribute [rw] include_import_ranges
|
|
1314
|
+
# @return [::Array<::String>]
|
|
1315
|
+
# Optional. Hub routes fully encompassed by include import ranges are
|
|
1316
|
+
# included during import from hub.
|
|
1317
|
+
class LinkedInterconnectAttachments
|
|
1318
|
+
include ::Google::Protobuf::MessageExts
|
|
1319
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1320
|
+
end
|
|
1321
|
+
|
|
1322
|
+
# A collection of router appliance instances. If you configure multiple router
|
|
1323
|
+
# appliance instances to receive data from the same set of sites outside of
|
|
1324
|
+
# Google Cloud, we recommend that you associate those instances with the same
|
|
1325
|
+
# spoke.
|
|
1326
|
+
# @!attribute [rw] instances
|
|
1327
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::RouterApplianceInstance>]
|
|
1328
|
+
# The list of router appliance instances.
|
|
1329
|
+
# @!attribute [rw] site_to_site_data_transfer
|
|
1330
|
+
# @return [::Boolean]
|
|
1331
|
+
# A value that controls whether site-to-site data transfer is enabled for
|
|
1332
|
+
# these resources. Data transfer is available only in [supported
|
|
1333
|
+
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
|
1334
|
+
# @!attribute [r] vpc_network
|
|
1335
|
+
# @return [::String]
|
|
1336
|
+
# Output only. The VPC network where these router appliance instances are
|
|
1337
|
+
# located.
|
|
1338
|
+
# @!attribute [rw] include_import_ranges
|
|
1339
|
+
# @return [::Array<::String>]
|
|
1340
|
+
# Optional. Hub routes fully encompassed by include import ranges are
|
|
1341
|
+
# included during import from hub.
|
|
1342
|
+
class LinkedRouterApplianceInstances
|
|
1343
|
+
include ::Google::Protobuf::MessageExts
|
|
1344
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1345
|
+
end
|
|
1346
|
+
|
|
1347
|
+
# An existing VPC network.
|
|
1348
|
+
# @!attribute [rw] uri
|
|
1349
|
+
# @return [::String]
|
|
1350
|
+
# Required. The URI of the VPC network resource.
|
|
1351
|
+
# @!attribute [rw] exclude_export_ranges
|
|
1352
|
+
# @return [::Array<::String>]
|
|
1353
|
+
# Optional. IP ranges encompassing the subnets to be excluded from peering.
|
|
1354
|
+
# @!attribute [rw] include_export_ranges
|
|
1355
|
+
# @return [::Array<::String>]
|
|
1356
|
+
# Optional. IP ranges allowed to be included from peering.
|
|
1357
|
+
# @!attribute [r] proposed_include_export_ranges
|
|
1358
|
+
# @return [::Array<::String>]
|
|
1359
|
+
# Output only. The proposed include export IP ranges waiting for hub
|
|
1360
|
+
# administrator's approval.
|
|
1361
|
+
# @!attribute [r] proposed_exclude_export_ranges
|
|
1362
|
+
# @return [::Array<::String>]
|
|
1363
|
+
# Output only. The proposed exclude export IP ranges waiting for hub
|
|
1364
|
+
# administrator's approval.
|
|
1365
|
+
# @!attribute [r] producer_vpc_spokes
|
|
1366
|
+
# @return [::Array<::String>]
|
|
1367
|
+
# Output only. The list of Producer VPC spokes that this VPC spoke is a
|
|
1368
|
+
# service consumer VPC spoke for. These producer VPCs are connected through
|
|
1369
|
+
# VPC peering to this spoke's backing VPC network. Because they are directly
|
|
1370
|
+
# connected through VPC peering, NCC export filters do not apply between the
|
|
1371
|
+
# service consumer VPC spoke and any of its producer VPC spokes. This VPC
|
|
1372
|
+
# spoke cannot be deleted as long as any of these producer VPC spokes are
|
|
1373
|
+
# connected to the NCC Hub.
|
|
1374
|
+
class LinkedVpcNetwork
|
|
1375
|
+
include ::Google::Protobuf::MessageExts
|
|
1376
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1377
|
+
end
|
|
1378
|
+
|
|
1379
|
+
# A gateway that can apply specialized traffic processing.
|
|
1380
|
+
# @!attribute [rw] ip_range_reservations
|
|
1381
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::Gateway::IpRangeReservation>]
|
|
1382
|
+
# Optional. A list of IP ranges that are reserved for this gateway's internal
|
|
1383
|
+
# intfrastructure.
|
|
1384
|
+
# @!attribute [rw] capacity
|
|
1385
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Gateway::GatewayCapacity]
|
|
1386
|
+
# Optional. The aggregate processing capacity of this gateway.
|
|
1387
|
+
# @!attribute [r] cloud_routers
|
|
1388
|
+
# @return [::Array<::String>]
|
|
1389
|
+
# Output only. The list of Cloud Routers that are connected to this gateway.
|
|
1390
|
+
# Should be in the form:
|
|
1391
|
+
# https://www.googleapis.com/compute/v1/projects/\\{project}/regions/\\{region}/routers/\\{router}
|
|
1392
|
+
# @!attribute [r] sac_attachment
|
|
1393
|
+
# @return [::String]
|
|
1394
|
+
# Output only. The URI of the connected SACAttachment.
|
|
1395
|
+
# Should be in the form:
|
|
1396
|
+
# projects/\\{project}/locations/\\{location}/sacAttachments/\\{sac_attachment}
|
|
1397
|
+
class Gateway
|
|
1398
|
+
include ::Google::Protobuf::MessageExts
|
|
1399
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1400
|
+
|
|
1401
|
+
# A list of IP ranges that are reserved for this gateway's internal
|
|
1402
|
+
# intfrastructure.
|
|
1403
|
+
# @!attribute [rw] ip_range
|
|
1404
|
+
# @return [::String]
|
|
1405
|
+
# Required. A block of IP addresses used to allocate supporting
|
|
1406
|
+
# infrastructure for this gateway. This block must not overlap with subnets
|
|
1407
|
+
# in any spokes or peer VPC networks that the gateway can communicate with.
|
|
1408
|
+
# Example: "10.1.2.0/24"
|
|
1409
|
+
class IpRangeReservation
|
|
1410
|
+
include ::Google::Protobuf::MessageExts
|
|
1411
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1412
|
+
end
|
|
1413
|
+
|
|
1414
|
+
# The aggregate processing capacity of this gateway.
|
|
1415
|
+
module GatewayCapacity
|
|
1416
|
+
# The gateway capacity is unspecified.
|
|
1417
|
+
GATEWAY_CAPACITY_UNSPECIFIED = 0
|
|
1418
|
+
|
|
1419
|
+
# The gateway has 1 Gbps of aggregate processing capacity
|
|
1420
|
+
CAPACITY_1_GBPS = 5
|
|
1421
|
+
|
|
1422
|
+
# The gateway has 10 Gbps of aggregate processing capacity
|
|
1423
|
+
CAPACITY_10_GBPS = 1
|
|
1424
|
+
|
|
1425
|
+
# The gateway has 100 Gbps of aggregate processing capacity
|
|
1426
|
+
CAPACITY_100_GBPS = 4
|
|
1427
|
+
end
|
|
1428
|
+
end
|
|
1429
|
+
|
|
1430
|
+
# A gateway advertised route is a route that a gateway spoke advertises
|
|
1431
|
+
# somewhere.
|
|
1432
|
+
# @!attribute [rw] name
|
|
1433
|
+
# @return [::String]
|
|
1434
|
+
# Identifier. The name of the gateway advertised route. Route names must be
|
|
1435
|
+
# unique and use the following form:
|
|
1436
|
+
# `projects/{project_number}/locations/{region}/spokes/{spoke}/gatewayAdvertisedRoutes/{gateway_advertised_route_id}`
|
|
1437
|
+
# @!attribute [r] create_time
|
|
1438
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1439
|
+
# Output only. The time the gateway advertised route was created.
|
|
1440
|
+
# @!attribute [r] update_time
|
|
1441
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1442
|
+
# Output only. The time the gateway advertised route was last updated.
|
|
1443
|
+
# @!attribute [rw] labels
|
|
1444
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
1445
|
+
# Optional labels in key-value pair format. For more information about
|
|
1446
|
+
# labels, see [Requirements for
|
|
1447
|
+
# labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
|
|
1448
|
+
# @!attribute [rw] description
|
|
1449
|
+
# @return [::String]
|
|
1450
|
+
# An optional description of the gateway advertised route.
|
|
1451
|
+
# @!attribute [r] unique_id
|
|
1452
|
+
# @return [::String]
|
|
1453
|
+
# Output only. The Google-generated UUID for the gateway advertised route.
|
|
1454
|
+
# This value is unique across all gateway advertised route resources. If a
|
|
1455
|
+
# gateway advertised route is deleted and another with the same name is
|
|
1456
|
+
# created, the new route is assigned a different `unique_id`.
|
|
1457
|
+
# @!attribute [r] state
|
|
1458
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::State]
|
|
1459
|
+
# Output only. The current lifecycle state of this gateway advertised route.
|
|
1460
|
+
# @!attribute [rw] ip_range
|
|
1461
|
+
# @return [::String]
|
|
1462
|
+
# Immutable. This route's advertised IP address range. Must be a valid
|
|
1463
|
+
# CIDR-formatted prefix. If an IP address is provided without a subnet mask,
|
|
1464
|
+
# it is interpreted as, for IPv4, a `/32` singular IP address range, and, for
|
|
1465
|
+
# IPv6,
|
|
1466
|
+
# `/128`.
|
|
1467
|
+
# @!attribute [rw] priority
|
|
1468
|
+
# @return [::Integer]
|
|
1469
|
+
# Optional. The priority of this advertised route. You can choose a value
|
|
1470
|
+
# from `0` to `65335`. If you don't provide a value, Google Cloud assigns a
|
|
1471
|
+
# priority of `100` to the ranges.
|
|
1472
|
+
# @!attribute [rw] recipient
|
|
1473
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRoute::Recipient]
|
|
1474
|
+
# Optional. The recipient of this advertised route.
|
|
1475
|
+
class GatewayAdvertisedRoute
|
|
1476
|
+
include ::Google::Protobuf::MessageExts
|
|
1477
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1478
|
+
|
|
1479
|
+
# @!attribute [rw] key
|
|
1480
|
+
# @return [::String]
|
|
1481
|
+
# @!attribute [rw] value
|
|
1482
|
+
# @return [::String]
|
|
1483
|
+
class LabelsEntry
|
|
1484
|
+
include ::Google::Protobuf::MessageExts
|
|
1485
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1486
|
+
end
|
|
1487
|
+
|
|
1488
|
+
# The recipient of an advertised route.
|
|
1489
|
+
module Recipient
|
|
1490
|
+
# No recipient specified. By default routes are advertised to the hub.
|
|
1491
|
+
RECIPIENT_UNSPECIFIED = 0
|
|
1492
|
+
|
|
1493
|
+
# Advertises a route toward the hub. Other spokes reachable from this spoke
|
|
1494
|
+
# will receive the route.
|
|
1495
|
+
ADVERTISE_TO_HUB = 1
|
|
1496
|
+
end
|
|
1497
|
+
end
|
|
1498
|
+
|
|
1499
|
+
# The request for
|
|
1500
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#create_gateway_advertised_route HubService.CreateGatewayAdvertisedRoute}.
|
|
1501
|
+
# @!attribute [rw] parent
|
|
1502
|
+
# @return [::String]
|
|
1503
|
+
# Required. The parent resource.
|
|
1504
|
+
# @!attribute [rw] gateway_advertised_route_id
|
|
1505
|
+
# @return [::String]
|
|
1506
|
+
# Required. Unique id for the route to create.
|
|
1507
|
+
# @!attribute [rw] gateway_advertised_route
|
|
1508
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRoute]
|
|
1509
|
+
# Required. Initial values for the new gateway advertised route.
|
|
1510
|
+
# @!attribute [rw] request_id
|
|
1511
|
+
# @return [::String]
|
|
1512
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
1513
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
1514
|
+
# if it has already been completed. The server guarantees that a request
|
|
1515
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
1516
|
+
# minutes.
|
|
1517
|
+
#
|
|
1518
|
+
# For example, consider a situation where you make an initial request and
|
|
1519
|
+
# the request times out. If you make the request again with the same request
|
|
1520
|
+
# ID, the server can check to see whether the original operation
|
|
1521
|
+
# was received. If it was, the server ignores the second request. This
|
|
1522
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
1523
|
+
#
|
|
1524
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
1525
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1526
|
+
class CreateGatewayAdvertisedRouteRequest
|
|
1527
|
+
include ::Google::Protobuf::MessageExts
|
|
1528
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1529
|
+
end
|
|
1530
|
+
|
|
1531
|
+
# The request for
|
|
1532
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#get_gateway_advertised_route HubService.GetGatewayAdvertisedRoute}.
|
|
1533
|
+
# @!attribute [rw] name
|
|
1534
|
+
# @return [::String]
|
|
1535
|
+
# Required. The name of the gateway advertised route to get.
|
|
1536
|
+
class GetGatewayAdvertisedRouteRequest
|
|
1537
|
+
include ::Google::Protobuf::MessageExts
|
|
1538
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1539
|
+
end
|
|
1540
|
+
|
|
1541
|
+
# The request for
|
|
1542
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_gateway_advertised_routes HubService.ListGatewayAdvertisedRoutes}.
|
|
1543
|
+
# @!attribute [rw] parent
|
|
1544
|
+
# @return [::String]
|
|
1545
|
+
# Required. The parent resource's name.
|
|
1546
|
+
# @!attribute [rw] page_size
|
|
1547
|
+
# @return [::Integer]
|
|
1548
|
+
# Optional. The maximum number of results per page that should be returned.
|
|
1549
|
+
# @!attribute [rw] page_token
|
|
1550
|
+
# @return [::String]
|
|
1551
|
+
# Optional. A page token, received from a previous
|
|
1552
|
+
# `ListGatewayAdvertisedRoutes` call. Provide this to retrieve the subsequent
|
|
1553
|
+
# page.
|
|
1554
|
+
#
|
|
1555
|
+
# When paginating, all other parameters provided to
|
|
1556
|
+
# `ListGatewayAdvertisedRoutes` must match the call that provided the page
|
|
1557
|
+
# token.
|
|
1558
|
+
# @!attribute [rw] filter
|
|
1559
|
+
# @return [::String]
|
|
1560
|
+
# An expression that filters the list of results.
|
|
1561
|
+
# @!attribute [rw] order_by
|
|
1562
|
+
# @return [::String]
|
|
1563
|
+
# Sort the results by a certain order.
|
|
1564
|
+
class ListGatewayAdvertisedRoutesRequest
|
|
1565
|
+
include ::Google::Protobuf::MessageExts
|
|
1566
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1567
|
+
end
|
|
1568
|
+
|
|
1569
|
+
# Response for
|
|
1570
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#list_gateway_advertised_routes HubService.ListGatewayAdvertisedRoutes}
|
|
1571
|
+
# method.
|
|
1572
|
+
# @!attribute [rw] gateway_advertised_routes
|
|
1573
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRoute>]
|
|
1574
|
+
# The requested gateway advertised routes.
|
|
1575
|
+
# @!attribute [rw] next_page_token
|
|
1576
|
+
# @return [::String]
|
|
1577
|
+
# The token for the next page of the response. To see more results,
|
|
1578
|
+
# use this value as the page_token for your next request. If this value
|
|
1579
|
+
# is empty, there are no more results.
|
|
1580
|
+
# @!attribute [rw] unreachable
|
|
1581
|
+
# @return [::Array<::String>]
|
|
1582
|
+
# Hubs that could not be reached.
|
|
1583
|
+
class ListGatewayAdvertisedRoutesResponse
|
|
1584
|
+
include ::Google::Protobuf::MessageExts
|
|
1585
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1586
|
+
end
|
|
1587
|
+
|
|
1588
|
+
# The request for
|
|
1589
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#update_gateway_advertised_route HubService.UpdateGatewayAdvertisedRoute}.
|
|
1590
|
+
# @!attribute [rw] update_mask
|
|
1591
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
1592
|
+
# Optional. In the case of an update to an existing group, field mask is used
|
|
1593
|
+
# to specify the fields to be overwritten. The fields specified in the
|
|
1594
|
+
# update_mask are relative to the resource, not the full request. A field is
|
|
1595
|
+
# overwritten if it is in the mask. If the user does not provide a mask, then
|
|
1596
|
+
# all fields are overwritten.
|
|
1597
|
+
# @!attribute [rw] gateway_advertised_route
|
|
1598
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::GatewayAdvertisedRoute]
|
|
1599
|
+
# Required. The gateway advertised route to update.
|
|
1600
|
+
#
|
|
1601
|
+
# The gateway advertised route's `name` field is used to identify the gateway
|
|
1602
|
+
# advertised route to update. Format:
|
|
1603
|
+
# `projects/{project}/locations/{location}/spokes/{spoke}/gatewayAdvertisedRoutes/{gatewayAdvertisedRoute}`
|
|
1604
|
+
# @!attribute [rw] request_id
|
|
1605
|
+
# @return [::String]
|
|
1606
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
1607
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
1608
|
+
# if it has already been completed. The server guarantees that a request
|
|
1609
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
1610
|
+
# minutes.
|
|
1611
|
+
#
|
|
1612
|
+
# For example, consider a situation where you make an initial request and
|
|
1613
|
+
# the request times out. If you make the request again with the same request
|
|
1614
|
+
# ID, the server can check to see whether the original operation
|
|
1615
|
+
# was received. If it was, the server ignores the second request. This
|
|
1616
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
1617
|
+
#
|
|
1618
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
1619
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1620
|
+
class UpdateGatewayAdvertisedRouteRequest
|
|
1621
|
+
include ::Google::Protobuf::MessageExts
|
|
1622
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1623
|
+
end
|
|
1624
|
+
|
|
1625
|
+
# Request for
|
|
1626
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#delete_gateway_advertised_route HubService.DeleteGatewayAdvertisedRoute}
|
|
1627
|
+
# method.
|
|
1628
|
+
# @!attribute [rw] name
|
|
1629
|
+
# @return [::String]
|
|
1630
|
+
# Required. The name of the gateway advertised route to delete.
|
|
1631
|
+
# @!attribute [rw] request_id
|
|
1632
|
+
# @return [::String]
|
|
1633
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
1634
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
1635
|
+
# if it has already been completed. The server guarantees that a request
|
|
1636
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
1637
|
+
# minutes.
|
|
1638
|
+
#
|
|
1639
|
+
# For example, consider a situation where you make an initial request and
|
|
1640
|
+
# the request times out. If you make the request again with the same request
|
|
1641
|
+
# ID, the server can check to see whether the original operation
|
|
1642
|
+
# was received. If it was, the server ignores the second request. This
|
|
1643
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
1644
|
+
#
|
|
1645
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
1646
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1647
|
+
class DeleteGatewayAdvertisedRouteRequest
|
|
1648
|
+
include ::Google::Protobuf::MessageExts
|
|
1649
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1650
|
+
end
|
|
1651
|
+
|
|
1652
|
+
# @!attribute [rw] network
|
|
1653
|
+
# @return [::String]
|
|
1654
|
+
# Immutable. The URI of the Service Consumer VPC that the Producer VPC is
|
|
1655
|
+
# peered with.
|
|
1656
|
+
# @!attribute [r] service_consumer_vpc_spoke
|
|
1657
|
+
# @return [::String]
|
|
1658
|
+
# Output only. The Service Consumer Network spoke.
|
|
1659
|
+
# @!attribute [rw] peering
|
|
1660
|
+
# @return [::String]
|
|
1661
|
+
# Immutable. The name of the VPC peering between the Service Consumer VPC and
|
|
1662
|
+
# the Producer VPC (defined in the Tenant project) which is added to the NCC
|
|
1663
|
+
# hub. This peering must be in ACTIVE state.
|
|
1664
|
+
# @!attribute [r] producer_network
|
|
1665
|
+
# @return [::String]
|
|
1666
|
+
# Output only. The URI of the Producer VPC.
|
|
1667
|
+
# @!attribute [rw] exclude_export_ranges
|
|
1668
|
+
# @return [::Array<::String>]
|
|
1669
|
+
# Optional. IP ranges encompassing the subnets to be excluded from peering.
|
|
1670
|
+
# @!attribute [rw] include_export_ranges
|
|
1671
|
+
# @return [::Array<::String>]
|
|
1672
|
+
# Optional. IP ranges allowed to be included from peering.
|
|
1673
|
+
# @!attribute [r] proposed_include_export_ranges
|
|
1674
|
+
# @return [::Array<::String>]
|
|
1675
|
+
# Output only. The proposed include export IP ranges waiting for hub
|
|
1676
|
+
# administrator's approval.
|
|
1677
|
+
# @!attribute [r] proposed_exclude_export_ranges
|
|
1678
|
+
# @return [::Array<::String>]
|
|
1679
|
+
# Output only. The proposed exclude export IP ranges waiting for hub
|
|
1680
|
+
# administrator's approval.
|
|
1681
|
+
class LinkedProducerVpcNetwork
|
|
1682
|
+
include ::Google::Protobuf::MessageExts
|
|
1683
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1684
|
+
end
|
|
1685
|
+
|
|
1686
|
+
# A router appliance instance is a Compute Engine virtual machine (VM) instance
|
|
1687
|
+
# that acts as a BGP speaker. A router appliance instance is specified by the
|
|
1688
|
+
# URI of the VM and the internal IP address of one of the VM's network
|
|
1689
|
+
# interfaces.
|
|
1690
|
+
# @!attribute [rw] virtual_machine
|
|
1691
|
+
# @return [::String]
|
|
1692
|
+
# The URI of the VM.
|
|
1693
|
+
# @!attribute [rw] ip_address
|
|
1694
|
+
# @return [::String]
|
|
1695
|
+
# The IP address on the VM to use for peering.
|
|
1696
|
+
class RouterApplianceInstance
|
|
1697
|
+
include ::Google::Protobuf::MessageExts
|
|
1698
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1699
|
+
end
|
|
1700
|
+
|
|
1701
|
+
# Metadata about locations
|
|
1702
|
+
# @!attribute [rw] location_features
|
|
1703
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::LocationFeature>]
|
|
1704
|
+
# List of supported features
|
|
1705
|
+
class LocationMetadata
|
|
1706
|
+
include ::Google::Protobuf::MessageExts
|
|
1707
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1708
|
+
end
|
|
1709
|
+
|
|
1710
|
+
# @!attribute [rw] uri
|
|
1711
|
+
# @return [::String]
|
|
1712
|
+
# The URI of the VPC network resource
|
|
1713
|
+
class NextHopVpcNetwork
|
|
1714
|
+
include ::Google::Protobuf::MessageExts
|
|
1715
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1716
|
+
end
|
|
1717
|
+
|
|
1718
|
+
# A route next hop that leads to a VPN tunnel resource.
|
|
1719
|
+
# @!attribute [rw] uri
|
|
1720
|
+
# @return [::String]
|
|
1721
|
+
# The URI of the VPN tunnel resource.
|
|
1722
|
+
# @!attribute [rw] vpc_network
|
|
1723
|
+
# @return [::String]
|
|
1724
|
+
# The VPC network where this VPN tunnel is located.
|
|
1725
|
+
# @!attribute [rw] site_to_site_data_transfer
|
|
1726
|
+
# @return [::Boolean]
|
|
1727
|
+
# Indicates whether site-to-site data transfer is allowed for this VPN tunnel
|
|
1728
|
+
# resource. Data transfer is available only in [supported
|
|
1729
|
+
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
|
1730
|
+
class NextHopVPNTunnel
|
|
1731
|
+
include ::Google::Protobuf::MessageExts
|
|
1732
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1733
|
+
end
|
|
1734
|
+
|
|
1735
|
+
# A route next hop that leads to a Router appliance instance.
|
|
1736
|
+
# @!attribute [rw] uri
|
|
1737
|
+
# @return [::String]
|
|
1738
|
+
# The URI of the Router appliance instance.
|
|
1739
|
+
# @!attribute [rw] vpc_network
|
|
1740
|
+
# @return [::String]
|
|
1741
|
+
# The VPC network where this VM is located.
|
|
1742
|
+
# @!attribute [rw] site_to_site_data_transfer
|
|
1743
|
+
# @return [::Boolean]
|
|
1744
|
+
# Indicates whether site-to-site data transfer is allowed for this Router
|
|
1745
|
+
# appliance instance resource. Data transfer is available only in [supported
|
|
1746
|
+
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
|
1747
|
+
class NextHopRouterApplianceInstance
|
|
1748
|
+
include ::Google::Protobuf::MessageExts
|
|
1749
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1750
|
+
end
|
|
1751
|
+
|
|
1752
|
+
# A route next hop that leads to an interconnect attachment resource.
|
|
1753
|
+
# @!attribute [rw] uri
|
|
1754
|
+
# @return [::String]
|
|
1755
|
+
# The URI of the interconnect attachment resource.
|
|
1756
|
+
# @!attribute [rw] vpc_network
|
|
1757
|
+
# @return [::String]
|
|
1758
|
+
# The VPC network where this interconnect attachment is located.
|
|
1759
|
+
# @!attribute [rw] site_to_site_data_transfer
|
|
1760
|
+
# @return [::Boolean]
|
|
1761
|
+
# Indicates whether site-to-site data transfer is allowed for this
|
|
1762
|
+
# interconnect attachment resource. Data transfer is available only in
|
|
1763
|
+
# [supported
|
|
1764
|
+
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
|
1765
|
+
class NextHopInterconnectAttachment
|
|
1766
|
+
include ::Google::Protobuf::MessageExts
|
|
1767
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1768
|
+
end
|
|
1769
|
+
|
|
1770
|
+
# A route next hop that leads to a spoke resource.
|
|
1771
|
+
# @!attribute [rw] uri
|
|
1772
|
+
# @return [::String]
|
|
1773
|
+
# The URI of the spoke resource.
|
|
1774
|
+
# @!attribute [rw] site_to_site_data_transfer
|
|
1775
|
+
# @return [::Boolean]
|
|
1776
|
+
# Indicates whether site-to-site data transfer is allowed for this
|
|
1777
|
+
# spoke resource. Data transfer is available only in
|
|
1778
|
+
# [supported
|
|
1779
|
+
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
|
1780
|
+
# Whether this route is accessible to other hybrid spokes with site-to-site
|
|
1781
|
+
# data transfer enabled. If this is false, the route is only accessible to
|
|
1782
|
+
# VPC spokes of the connected Hub.
|
|
1783
|
+
class NextHopSpoke
|
|
1784
|
+
include ::Google::Protobuf::MessageExts
|
|
1785
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1786
|
+
end
|
|
1787
|
+
|
|
1788
|
+
# Summarizes information about the spokes associated with a hub.
|
|
1789
|
+
# The summary includes a count of spokes according to type
|
|
1790
|
+
# and according to state. If any spokes are inactive,
|
|
1791
|
+
# the summary also lists the reasons they are inactive,
|
|
1792
|
+
# including a count for each reason.
|
|
1793
|
+
# @!attribute [r] spoke_type_counts
|
|
1794
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::SpokeSummary::SpokeTypeCount>]
|
|
1795
|
+
# Output only. Counts the number of spokes of each type that are
|
|
1796
|
+
# associated with a specific hub.
|
|
1797
|
+
# @!attribute [r] spoke_state_counts
|
|
1798
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::SpokeSummary::SpokeStateCount>]
|
|
1799
|
+
# Output only. Counts the number of spokes that are in each state
|
|
1800
|
+
# and associated with a given hub.
|
|
1801
|
+
# @!attribute [r] spoke_state_reason_counts
|
|
1802
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1beta::SpokeSummary::SpokeStateReasonCount>]
|
|
1803
|
+
# Output only. Counts the number of spokes that are inactive for each
|
|
1804
|
+
# possible reason and associated with a given hub.
|
|
1805
|
+
class SpokeSummary
|
|
1806
|
+
include ::Google::Protobuf::MessageExts
|
|
1807
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1808
|
+
|
|
1809
|
+
# The number of spokes of a given type that are associated
|
|
1810
|
+
# with a specific hub. The type indicates what kind of
|
|
1811
|
+
# resource is associated with the spoke.
|
|
1812
|
+
# @!attribute [r] spoke_type
|
|
1813
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::SpokeType]
|
|
1814
|
+
# Output only. The type of the spokes.
|
|
1815
|
+
# @!attribute [r] count
|
|
1816
|
+
# @return [::Integer]
|
|
1817
|
+
# Output only. The total number of spokes of this type that are
|
|
1818
|
+
# associated with the hub.
|
|
1819
|
+
class SpokeTypeCount
|
|
1820
|
+
include ::Google::Protobuf::MessageExts
|
|
1821
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1822
|
+
end
|
|
1823
|
+
|
|
1824
|
+
# The number of spokes that are in a particular state
|
|
1825
|
+
# and associated with a given hub.
|
|
1826
|
+
# @!attribute [r] state
|
|
1827
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::State]
|
|
1828
|
+
# Output only. The state of the spokes.
|
|
1829
|
+
# @!attribute [r] count
|
|
1830
|
+
# @return [::Integer]
|
|
1831
|
+
# Output only. The total number of spokes that are in this state
|
|
1832
|
+
# and associated with a given hub.
|
|
1833
|
+
class SpokeStateCount
|
|
1834
|
+
include ::Google::Protobuf::MessageExts
|
|
1835
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1836
|
+
end
|
|
1837
|
+
|
|
1838
|
+
# The number of spokes in the hub that are inactive for this reason.
|
|
1839
|
+
# @!attribute [r] state_reason_code
|
|
1840
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Spoke::StateReason::Code]
|
|
1841
|
+
# Output only. The reason that a spoke is inactive.
|
|
1842
|
+
# @!attribute [r] count
|
|
1843
|
+
# @return [::Integer]
|
|
1844
|
+
# Output only. The total number of spokes that are inactive for a
|
|
1845
|
+
# particular reason and associated with a given hub.
|
|
1846
|
+
class SpokeStateReasonCount
|
|
1847
|
+
include ::Google::Protobuf::MessageExts
|
|
1848
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1849
|
+
end
|
|
1850
|
+
end
|
|
1851
|
+
|
|
1852
|
+
# The request for
|
|
1853
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#get_group HubService.GetGroup}.
|
|
1854
|
+
# @!attribute [rw] name
|
|
1855
|
+
# @return [::String]
|
|
1856
|
+
# Required. The name of the route table resource.
|
|
1857
|
+
class GetGroupRequest
|
|
1858
|
+
include ::Google::Protobuf::MessageExts
|
|
1859
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1860
|
+
end
|
|
1861
|
+
|
|
1862
|
+
# Request for
|
|
1863
|
+
# {::Google::Cloud::NetworkConnectivity::V1beta::HubService::Client#update_group HubService.UpdateGroup}
|
|
1864
|
+
# method.
|
|
1865
|
+
# @!attribute [rw] update_mask
|
|
1866
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
1867
|
+
# Optional. In the case of an update to an existing group, field mask is used
|
|
1868
|
+
# to specify the fields to be overwritten. The fields specified in the
|
|
1869
|
+
# update_mask are relative to the resource, not the full request. A field is
|
|
1870
|
+
# overwritten if it is in the mask. If the user does not provide a mask, then
|
|
1871
|
+
# all fields are overwritten.
|
|
1872
|
+
# @!attribute [rw] group
|
|
1873
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1beta::Group]
|
|
1874
|
+
# Required. The state that the group should be in after the update.
|
|
1875
|
+
# @!attribute [rw] request_id
|
|
1876
|
+
# @return [::String]
|
|
1877
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
1878
|
+
# that if you must retry your request, the server knows to ignore the request
|
|
1879
|
+
# if it has already been completed. The server guarantees that a request
|
|
1880
|
+
# doesn't result in creation of duplicate commitments for at least 60
|
|
1881
|
+
# minutes.
|
|
1882
|
+
#
|
|
1883
|
+
# For example, consider a situation where you make an initial request and
|
|
1884
|
+
# the request times out. If you make the request again with the same request
|
|
1885
|
+
# ID, the server can check to see whether the original operation
|
|
1886
|
+
# was received. If it was, the server ignores the second request. This
|
|
1887
|
+
# behavior prevents clients from mistakenly creating duplicate commitments.
|
|
1888
|
+
#
|
|
1889
|
+
# The request ID must be a valid UUID, with the exception that zero UUID is
|
|
1890
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
1891
|
+
class UpdateGroupRequest
|
|
1892
|
+
include ::Google::Protobuf::MessageExts
|
|
1893
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1894
|
+
end
|
|
1895
|
+
|
|
1896
|
+
# The route's type
|
|
1897
|
+
module RouteType
|
|
1898
|
+
# No route type information specified
|
|
1899
|
+
ROUTE_TYPE_UNSPECIFIED = 0
|
|
1900
|
+
|
|
1901
|
+
# The route leads to a destination within the primary address range of the
|
|
1902
|
+
# VPC network's subnet.
|
|
1903
|
+
VPC_PRIMARY_SUBNET = 1
|
|
1904
|
+
|
|
1905
|
+
# The route leads to a destination within the secondary address range of the
|
|
1906
|
+
# VPC network's subnet.
|
|
1907
|
+
VPC_SECONDARY_SUBNET = 2
|
|
1908
|
+
|
|
1909
|
+
# The route leads to a destination in a dynamic route. Dynamic routes are
|
|
1910
|
+
# derived from Border Gateway Protocol (BGP) advertisements received from an
|
|
1911
|
+
# NCC hybrid spoke.
|
|
1912
|
+
DYNAMIC_ROUTE = 3
|
|
1913
|
+
end
|
|
1914
|
+
|
|
1915
|
+
# The State enum represents the lifecycle stage of a Network Connectivity
|
|
1916
|
+
# Center resource.
|
|
1917
|
+
module State
|
|
1918
|
+
# No state information available
|
|
1919
|
+
STATE_UNSPECIFIED = 0
|
|
1920
|
+
|
|
1921
|
+
# The resource's create operation is in progress.
|
|
1922
|
+
CREATING = 1
|
|
1923
|
+
|
|
1924
|
+
# The resource is active
|
|
1925
|
+
ACTIVE = 2
|
|
1926
|
+
|
|
1927
|
+
# The resource's delete operation is in progress.
|
|
1928
|
+
DELETING = 3
|
|
1929
|
+
|
|
1930
|
+
# The resource's accept operation is in progress.
|
|
1931
|
+
ACCEPTING = 8
|
|
1932
|
+
|
|
1933
|
+
# The resource's reject operation is in progress.
|
|
1934
|
+
REJECTING = 9
|
|
1935
|
+
|
|
1936
|
+
# The resource's update operation is in progress.
|
|
1937
|
+
UPDATING = 6
|
|
1938
|
+
|
|
1939
|
+
# The resource is inactive.
|
|
1940
|
+
INACTIVE = 7
|
|
1941
|
+
|
|
1942
|
+
# The hub associated with this spoke resource has been deleted.
|
|
1943
|
+
# This state applies to spoke resources only.
|
|
1944
|
+
OBSOLETE = 10
|
|
1945
|
+
|
|
1946
|
+
# The resource is in an undefined state due to resource creation or deletion
|
|
1947
|
+
# failure. You can try to delete the resource later or contact support for
|
|
1948
|
+
# help.
|
|
1949
|
+
FAILED = 11
|
|
1950
|
+
end
|
|
1951
|
+
|
|
1952
|
+
# The SpokeType enum represents the type of spoke. The type
|
|
1953
|
+
# reflects the kind of resource that a spoke is associated with.
|
|
1954
|
+
module SpokeType
|
|
1955
|
+
# Unspecified spoke type.
|
|
1956
|
+
SPOKE_TYPE_UNSPECIFIED = 0
|
|
1957
|
+
|
|
1958
|
+
# Spokes associated with VPN tunnels.
|
|
1959
|
+
VPN_TUNNEL = 1
|
|
1960
|
+
|
|
1961
|
+
# Spokes associated with VLAN attachments.
|
|
1962
|
+
INTERCONNECT_ATTACHMENT = 2
|
|
1963
|
+
|
|
1964
|
+
# Spokes associated with router appliance instances.
|
|
1965
|
+
ROUTER_APPLIANCE = 3
|
|
1966
|
+
|
|
1967
|
+
# Spokes associated with VPC networks.
|
|
1968
|
+
VPC_NETWORK = 4
|
|
1969
|
+
|
|
1970
|
+
# Spokes that are NCC gateways.
|
|
1971
|
+
GATEWAY = 5
|
|
1972
|
+
|
|
1973
|
+
# Spokes that are backed by a producer VPC network.
|
|
1974
|
+
PRODUCER_VPC_NETWORK = 7
|
|
1975
|
+
end
|
|
1976
|
+
|
|
1977
|
+
# This enum controls the policy mode used in a hub.
|
|
1978
|
+
module PolicyMode
|
|
1979
|
+
# Policy mode is unspecified. It defaults to PRESET
|
|
1980
|
+
# with preset_topology = MESH.
|
|
1981
|
+
POLICY_MODE_UNSPECIFIED = 0
|
|
1982
|
+
|
|
1983
|
+
# Hub uses one of the preset topologies.
|
|
1984
|
+
PRESET = 1
|
|
1985
|
+
end
|
|
1986
|
+
|
|
1987
|
+
# The list of available preset topologies.
|
|
1988
|
+
module PresetTopology
|
|
1989
|
+
# Preset topology is unspecified. When policy_mode = PRESET,
|
|
1990
|
+
# it defaults to MESH.
|
|
1991
|
+
PRESET_TOPOLOGY_UNSPECIFIED = 0
|
|
1992
|
+
|
|
1993
|
+
# Mesh topology is implemented. Group `default` is automatically created.
|
|
1994
|
+
# All spokes in the hub are added to group `default`.
|
|
1995
|
+
MESH = 2
|
|
1996
|
+
|
|
1997
|
+
# Star topology is implemented. Two groups, `center` and `edge`, are
|
|
1998
|
+
# automatically created along with hub creation. Spokes have to join one of
|
|
1999
|
+
# the groups during creation.
|
|
2000
|
+
STAR = 3
|
|
2001
|
+
|
|
2002
|
+
# Hybrid inspection has 4 groups ('non-prod', 'prod', 'services', and
|
|
2003
|
+
# 'untrusted') that are automatically created along with hub creation.
|
|
2004
|
+
HYBRID_INSPECTION = 4
|
|
2005
|
+
end
|
|
2006
|
+
|
|
2007
|
+
# Supported features for a location
|
|
2008
|
+
module LocationFeature
|
|
2009
|
+
# No publicly supported feature in this location
|
|
2010
|
+
LOCATION_FEATURE_UNSPECIFIED = 0
|
|
2011
|
+
|
|
2012
|
+
# Site-to-cloud spokes are supported in this location
|
|
2013
|
+
SITE_TO_CLOUD_SPOKES = 1
|
|
2014
|
+
|
|
2015
|
+
# Site-to-site spokes are supported in this location
|
|
2016
|
+
SITE_TO_SITE_SPOKES = 2
|
|
2017
|
+
|
|
2018
|
+
# Gateway spokes are supported in this location.
|
|
2019
|
+
GATEWAY_SPOKES = 3
|
|
2020
|
+
end
|
|
2021
|
+
end
|
|
2022
|
+
end
|
|
2023
|
+
end
|
|
2024
|
+
end
|