google-apis-networkconnectivity_v1 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +1065 -0
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +28 -0
- data/lib/google/apis/networkconnectivity_v1/representations.rb +418 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +1066 -0
- data/lib/google/apis/networkconnectivity_v1.rb +36 -0
- data/lib/google-apis-networkconnectivity_v1.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module NetworkconnectivityV1
|
18
|
+
# Version of the google-apis-networkconnectivity_v1 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20210913"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,418 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module NetworkconnectivityV1
|
24
|
+
|
25
|
+
class AuditConfig
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AuditLogConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class Binding
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Empty
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Expr
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GoogleLongrunningCancelOperationRequest
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class GoogleLongrunningListOperationsResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GoogleLongrunningOperation
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class GoogleRpcStatus
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class Hub
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class LinkedInterconnectAttachments
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class LinkedRouterApplianceInstances
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class LinkedVpnTunnels
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class ListHubsResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class ListLocationsResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class ListSpokesResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class Location
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class OperationMetadata
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class Policy
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class RouterApplianceInstance
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class RoutingVpc
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class SetIamPolicyRequest
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class Spoke
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class TestIamPermissionsRequest
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class TestIamPermissionsResponse
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class AuditConfig
|
176
|
+
# @private
|
177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
178
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::NetworkconnectivityV1::AuditLogConfig, decorator: Google::Apis::NetworkconnectivityV1::AuditLogConfig::Representation
|
179
|
+
|
180
|
+
property :service, as: 'service'
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
class AuditLogConfig
|
185
|
+
# @private
|
186
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
187
|
+
collection :exempted_members, as: 'exemptedMembers'
|
188
|
+
property :log_type, as: 'logType'
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
class Binding
|
193
|
+
# @private
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
195
|
+
property :condition, as: 'condition', class: Google::Apis::NetworkconnectivityV1::Expr, decorator: Google::Apis::NetworkconnectivityV1::Expr::Representation
|
196
|
+
|
197
|
+
collection :members, as: 'members'
|
198
|
+
property :role, as: 'role'
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
202
|
+
class Empty
|
203
|
+
# @private
|
204
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
208
|
+
class Expr
|
209
|
+
# @private
|
210
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
211
|
+
property :description, as: 'description'
|
212
|
+
property :expression, as: 'expression'
|
213
|
+
property :location, as: 'location'
|
214
|
+
property :title, as: 'title'
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
class GoogleLongrunningCancelOperationRequest
|
219
|
+
# @private
|
220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class GoogleLongrunningListOperationsResponse
|
225
|
+
# @private
|
226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
227
|
+
property :next_page_token, as: 'nextPageToken'
|
228
|
+
collection :operations, as: 'operations', class: Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation, decorator: Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
229
|
+
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
class GoogleLongrunningOperation
|
234
|
+
# @private
|
235
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
236
|
+
property :done, as: 'done'
|
237
|
+
property :error, as: 'error', class: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus, decorator: Google::Apis::NetworkconnectivityV1::GoogleRpcStatus::Representation
|
238
|
+
|
239
|
+
hash :metadata, as: 'metadata'
|
240
|
+
property :name, as: 'name'
|
241
|
+
hash :response, as: 'response'
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
class GoogleRpcStatus
|
246
|
+
# @private
|
247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
248
|
+
property :code, as: 'code'
|
249
|
+
collection :details, as: 'details'
|
250
|
+
property :message, as: 'message'
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
class Hub
|
255
|
+
# @private
|
256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
257
|
+
property :create_time, as: 'createTime'
|
258
|
+
property :description, as: 'description'
|
259
|
+
hash :labels, as: 'labels'
|
260
|
+
property :name, as: 'name'
|
261
|
+
collection :routing_vpcs, as: 'routingVpcs', class: Google::Apis::NetworkconnectivityV1::RoutingVpc, decorator: Google::Apis::NetworkconnectivityV1::RoutingVpc::Representation
|
262
|
+
|
263
|
+
property :state, as: 'state'
|
264
|
+
property :unique_id, as: 'uniqueId'
|
265
|
+
property :update_time, as: 'updateTime'
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
class LinkedInterconnectAttachments
|
270
|
+
# @private
|
271
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
272
|
+
property :site_to_site_data_transfer, as: 'siteToSiteDataTransfer'
|
273
|
+
collection :uris, as: 'uris'
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
class LinkedRouterApplianceInstances
|
278
|
+
# @private
|
279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
+
collection :instances, as: 'instances', class: Google::Apis::NetworkconnectivityV1::RouterApplianceInstance, decorator: Google::Apis::NetworkconnectivityV1::RouterApplianceInstance::Representation
|
281
|
+
|
282
|
+
property :site_to_site_data_transfer, as: 'siteToSiteDataTransfer'
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
class LinkedVpnTunnels
|
287
|
+
# @private
|
288
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
289
|
+
property :site_to_site_data_transfer, as: 'siteToSiteDataTransfer'
|
290
|
+
collection :uris, as: 'uris'
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class ListHubsResponse
|
295
|
+
# @private
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
297
|
+
collection :hubs, as: 'hubs', class: Google::Apis::NetworkconnectivityV1::Hub, decorator: Google::Apis::NetworkconnectivityV1::Hub::Representation
|
298
|
+
|
299
|
+
property :next_page_token, as: 'nextPageToken'
|
300
|
+
collection :unreachable, as: 'unreachable'
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
class ListLocationsResponse
|
305
|
+
# @private
|
306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
307
|
+
collection :locations, as: 'locations', class: Google::Apis::NetworkconnectivityV1::Location, decorator: Google::Apis::NetworkconnectivityV1::Location::Representation
|
308
|
+
|
309
|
+
property :next_page_token, as: 'nextPageToken'
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
class ListSpokesResponse
|
314
|
+
# @private
|
315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
316
|
+
property :next_page_token, as: 'nextPageToken'
|
317
|
+
collection :spokes, as: 'spokes', class: Google::Apis::NetworkconnectivityV1::Spoke, decorator: Google::Apis::NetworkconnectivityV1::Spoke::Representation
|
318
|
+
|
319
|
+
collection :unreachable, as: 'unreachable'
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
class Location
|
324
|
+
# @private
|
325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
+
property :display_name, as: 'displayName'
|
327
|
+
hash :labels, as: 'labels'
|
328
|
+
property :location_id, as: 'locationId'
|
329
|
+
hash :metadata, as: 'metadata'
|
330
|
+
property :name, as: 'name'
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
class OperationMetadata
|
335
|
+
# @private
|
336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
337
|
+
property :api_version, as: 'apiVersion'
|
338
|
+
property :create_time, as: 'createTime'
|
339
|
+
property :end_time, as: 'endTime'
|
340
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
341
|
+
property :status_message, as: 'statusMessage'
|
342
|
+
property :target, as: 'target'
|
343
|
+
property :verb, as: 'verb'
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
class Policy
|
348
|
+
# @private
|
349
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
350
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::NetworkconnectivityV1::AuditConfig, decorator: Google::Apis::NetworkconnectivityV1::AuditConfig::Representation
|
351
|
+
|
352
|
+
collection :bindings, as: 'bindings', class: Google::Apis::NetworkconnectivityV1::Binding, decorator: Google::Apis::NetworkconnectivityV1::Binding::Representation
|
353
|
+
|
354
|
+
property :etag, :base64 => true, as: 'etag'
|
355
|
+
property :version, as: 'version'
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
class RouterApplianceInstance
|
360
|
+
# @private
|
361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
362
|
+
property :ip_address, as: 'ipAddress'
|
363
|
+
property :virtual_machine, as: 'virtualMachine'
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
367
|
+
class RoutingVpc
|
368
|
+
# @private
|
369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
370
|
+
property :uri, as: 'uri'
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
class SetIamPolicyRequest
|
375
|
+
# @private
|
376
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
377
|
+
property :policy, as: 'policy', class: Google::Apis::NetworkconnectivityV1::Policy, decorator: Google::Apis::NetworkconnectivityV1::Policy::Representation
|
378
|
+
|
379
|
+
property :update_mask, as: 'updateMask'
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
class Spoke
|
384
|
+
# @private
|
385
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
386
|
+
property :create_time, as: 'createTime'
|
387
|
+
property :description, as: 'description'
|
388
|
+
property :hub, as: 'hub'
|
389
|
+
hash :labels, as: 'labels'
|
390
|
+
property :linked_interconnect_attachments, as: 'linkedInterconnectAttachments', class: Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments, decorator: Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments::Representation
|
391
|
+
|
392
|
+
property :linked_router_appliance_instances, as: 'linkedRouterApplianceInstances', class: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances, decorator: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances::Representation
|
393
|
+
|
394
|
+
property :linked_vpn_tunnels, as: 'linkedVpnTunnels', class: Google::Apis::NetworkconnectivityV1::LinkedVpnTunnels, decorator: Google::Apis::NetworkconnectivityV1::LinkedVpnTunnels::Representation
|
395
|
+
|
396
|
+
property :name, as: 'name'
|
397
|
+
property :state, as: 'state'
|
398
|
+
property :unique_id, as: 'uniqueId'
|
399
|
+
property :update_time, as: 'updateTime'
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
403
|
+
class TestIamPermissionsRequest
|
404
|
+
# @private
|
405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
406
|
+
collection :permissions, as: 'permissions'
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
class TestIamPermissionsResponse
|
411
|
+
# @private
|
412
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
413
|
+
collection :permissions, as: 'permissions'
|
414
|
+
end
|
415
|
+
end
|
416
|
+
end
|
417
|
+
end
|
418
|
+
end
|