google-apis-networkconnectivity_v1 0.25.0 → 0.27.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/CHANGELOG.md +8 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +590 -5
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +234 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +409 -54
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkconnectivityV1
|
18
18
|
# Version of the google-apis-networkconnectivity_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230621"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module NetworkconnectivityV1
|
24
24
|
|
25
|
+
class AcceptSpokeRequest
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AuditConfig
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -112,12 +118,24 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class LinkedVpcNetwork
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class LinkedVpnTunnels
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
118
130
|
include Google::Apis::Core::JsonObjectSupport
|
119
131
|
end
|
120
132
|
|
133
|
+
class ListHubSpokesResponse
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
121
139
|
class ListHubsResponse
|
122
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
141
|
|
@@ -136,6 +154,18 @@ module Google
|
|
136
154
|
include Google::Apis::Core::JsonObjectSupport
|
137
155
|
end
|
138
156
|
|
157
|
+
class ListRouteTablesResponse
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class ListRoutesResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
139
169
|
class ListServiceClassesResponse
|
140
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
171
|
|
@@ -178,6 +208,12 @@ module Google
|
|
178
208
|
include Google::Apis::Core::JsonObjectSupport
|
179
209
|
end
|
180
210
|
|
211
|
+
class NextHopVpcNetwork
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
181
217
|
class OperationMetadata
|
182
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
219
|
|
@@ -208,6 +244,24 @@ module Google
|
|
208
244
|
include Google::Apis::Core::JsonObjectSupport
|
209
245
|
end
|
210
246
|
|
247
|
+
class RejectSpokeRequest
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class Route
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class RouteTable
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
211
265
|
class RouterApplianceInstance
|
212
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
267
|
|
@@ -256,6 +310,36 @@ module Google
|
|
256
310
|
include Google::Apis::Core::JsonObjectSupport
|
257
311
|
end
|
258
312
|
|
313
|
+
class SpokeStateCount
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class SpokeStateReasonCount
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class SpokeSummary
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class SpokeTypeCount
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class StateReason
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
259
343
|
class TestIamPermissionsRequest
|
260
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
345
|
|
@@ -268,6 +352,13 @@ module Google
|
|
268
352
|
include Google::Apis::Core::JsonObjectSupport
|
269
353
|
end
|
270
354
|
|
355
|
+
class AcceptSpokeRequest
|
356
|
+
# @private
|
357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
358
|
+
property :request_id, as: 'requestId'
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
271
362
|
class AuditConfig
|
272
363
|
# @private
|
273
364
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -301,6 +392,7 @@ module Google
|
|
301
392
|
property :disable_global_access, as: 'disableGlobalAccess'
|
302
393
|
property :network, as: 'network'
|
303
394
|
property :project, as: 'project'
|
395
|
+
property :state, as: 'state'
|
304
396
|
end
|
305
397
|
end
|
306
398
|
|
@@ -380,8 +472,11 @@ module Google
|
|
380
472
|
property :description, as: 'description'
|
381
473
|
hash :labels, as: 'labels'
|
382
474
|
property :name, as: 'name'
|
475
|
+
collection :route_tables, as: 'routeTables'
|
383
476
|
collection :routing_vpcs, as: 'routingVpcs', class: Google::Apis::NetworkconnectivityV1::RoutingVpc, decorator: Google::Apis::NetworkconnectivityV1::RoutingVpc::Representation
|
384
477
|
|
478
|
+
property :spoke_summary, as: 'spokeSummary', class: Google::Apis::NetworkconnectivityV1::SpokeSummary, decorator: Google::Apis::NetworkconnectivityV1::SpokeSummary::Representation
|
479
|
+
|
385
480
|
property :state, as: 'state'
|
386
481
|
property :unique_id, as: 'uniqueId'
|
387
482
|
property :update_time, as: 'updateTime'
|
@@ -426,6 +521,14 @@ module Google
|
|
426
521
|
end
|
427
522
|
end
|
428
523
|
|
524
|
+
class LinkedVpcNetwork
|
525
|
+
# @private
|
526
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
527
|
+
collection :exclude_export_ranges, as: 'excludeExportRanges'
|
528
|
+
property :uri, as: 'uri'
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
429
532
|
class LinkedVpnTunnels
|
430
533
|
# @private
|
431
534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -435,6 +538,16 @@ module Google
|
|
435
538
|
end
|
436
539
|
end
|
437
540
|
|
541
|
+
class ListHubSpokesResponse
|
542
|
+
# @private
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
property :next_page_token, as: 'nextPageToken'
|
545
|
+
collection :spokes, as: 'spokes', class: Google::Apis::NetworkconnectivityV1::Spoke, decorator: Google::Apis::NetworkconnectivityV1::Spoke::Representation
|
546
|
+
|
547
|
+
collection :unreachable, as: 'unreachable'
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
438
551
|
class ListHubsResponse
|
439
552
|
# @private
|
440
553
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -464,6 +577,26 @@ module Google
|
|
464
577
|
end
|
465
578
|
end
|
466
579
|
|
580
|
+
class ListRouteTablesResponse
|
581
|
+
# @private
|
582
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
583
|
+
property :next_page_token, as: 'nextPageToken'
|
584
|
+
collection :route_tables, as: 'routeTables', class: Google::Apis::NetworkconnectivityV1::RouteTable, decorator: Google::Apis::NetworkconnectivityV1::RouteTable::Representation
|
585
|
+
|
586
|
+
collection :unreachable, as: 'unreachable'
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
class ListRoutesResponse
|
591
|
+
# @private
|
592
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
593
|
+
property :next_page_token, as: 'nextPageToken'
|
594
|
+
collection :routes, as: 'routes', class: Google::Apis::NetworkconnectivityV1::Route, decorator: Google::Apis::NetworkconnectivityV1::Route::Representation
|
595
|
+
|
596
|
+
collection :unreachable, as: 'unreachable'
|
597
|
+
end
|
598
|
+
end
|
599
|
+
|
467
600
|
class ListServiceClassesResponse
|
468
601
|
# @private
|
469
602
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -532,6 +665,13 @@ module Google
|
|
532
665
|
end
|
533
666
|
end
|
534
667
|
|
668
|
+
class NextHopVpcNetwork
|
669
|
+
# @private
|
670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
671
|
+
property :uri, as: 'uri'
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
535
675
|
class OperationMetadata
|
536
676
|
# @private
|
537
677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -587,6 +727,46 @@ module Google
|
|
587
727
|
end
|
588
728
|
end
|
589
729
|
|
730
|
+
class RejectSpokeRequest
|
731
|
+
# @private
|
732
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
733
|
+
property :details, as: 'details'
|
734
|
+
property :request_id, as: 'requestId'
|
735
|
+
end
|
736
|
+
end
|
737
|
+
|
738
|
+
class Route
|
739
|
+
# @private
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
741
|
+
property :create_time, as: 'createTime'
|
742
|
+
property :description, as: 'description'
|
743
|
+
property :ip_cidr_range, as: 'ipCidrRange'
|
744
|
+
hash :labels, as: 'labels'
|
745
|
+
property :location, as: 'location'
|
746
|
+
property :name, as: 'name'
|
747
|
+
property :next_hop_vpc_network, as: 'nextHopVpcNetwork', class: Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork, decorator: Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork::Representation
|
748
|
+
|
749
|
+
property :spoke, as: 'spoke'
|
750
|
+
property :state, as: 'state'
|
751
|
+
property :type, as: 'type'
|
752
|
+
property :uid, as: 'uid'
|
753
|
+
property :update_time, as: 'updateTime'
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
class RouteTable
|
758
|
+
# @private
|
759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
760
|
+
property :create_time, as: 'createTime'
|
761
|
+
property :description, as: 'description'
|
762
|
+
hash :labels, as: 'labels'
|
763
|
+
property :name, as: 'name'
|
764
|
+
property :state, as: 'state'
|
765
|
+
property :uid, as: 'uid'
|
766
|
+
property :update_time, as: 'updateTime'
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
590
770
|
class RouterApplianceInstance
|
591
771
|
# @private
|
592
772
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -608,6 +788,7 @@ module Google
|
|
608
788
|
class Representation < Google::Apis::Core::JsonRepresentation
|
609
789
|
property :create_time, as: 'createTime'
|
610
790
|
property :description, as: 'description'
|
791
|
+
property :etag, as: 'etag'
|
611
792
|
hash :labels, as: 'labels'
|
612
793
|
property :name, as: 'name'
|
613
794
|
property :service_class, as: 'serviceClass'
|
@@ -625,6 +806,7 @@ module Google
|
|
625
806
|
|
626
807
|
property :create_time, as: 'createTime'
|
627
808
|
property :description, as: 'description'
|
809
|
+
property :etag, as: 'etag'
|
628
810
|
property :infrastructure, as: 'infrastructure'
|
629
811
|
hash :labels, as: 'labels'
|
630
812
|
property :name, as: 'name'
|
@@ -642,6 +824,7 @@ module Google
|
|
642
824
|
class Representation < Google::Apis::Core::JsonRepresentation
|
643
825
|
property :create_time, as: 'createTime'
|
644
826
|
property :description, as: 'description'
|
827
|
+
property :etag, as: 'etag'
|
645
828
|
property :infrastructure, as: 'infrastructure'
|
646
829
|
hash :labels, as: 'labels'
|
647
830
|
property :name, as: 'name'
|
@@ -660,6 +843,7 @@ module Google
|
|
660
843
|
class Representation < Google::Apis::Core::JsonRepresentation
|
661
844
|
property :create_time, as: 'createTime'
|
662
845
|
property :description, as: 'description'
|
846
|
+
property :etag, as: 'etag'
|
663
847
|
property :expire_time, as: 'expireTime'
|
664
848
|
hash :labels, as: 'labels'
|
665
849
|
property :name, as: 'name'
|
@@ -689,15 +873,65 @@ module Google
|
|
689
873
|
|
690
874
|
property :linked_router_appliance_instances, as: 'linkedRouterApplianceInstances', class: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances, decorator: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances::Representation
|
691
875
|
|
876
|
+
property :linked_vpc_network, as: 'linkedVpcNetwork', class: Google::Apis::NetworkconnectivityV1::LinkedVpcNetwork, decorator: Google::Apis::NetworkconnectivityV1::LinkedVpcNetwork::Representation
|
877
|
+
|
692
878
|
property :linked_vpn_tunnels, as: 'linkedVpnTunnels', class: Google::Apis::NetworkconnectivityV1::LinkedVpnTunnels, decorator: Google::Apis::NetworkconnectivityV1::LinkedVpnTunnels::Representation
|
693
879
|
|
694
880
|
property :name, as: 'name'
|
881
|
+
collection :reasons, as: 'reasons', class: Google::Apis::NetworkconnectivityV1::StateReason, decorator: Google::Apis::NetworkconnectivityV1::StateReason::Representation
|
882
|
+
|
883
|
+
property :spoke_type, as: 'spokeType'
|
695
884
|
property :state, as: 'state'
|
696
885
|
property :unique_id, as: 'uniqueId'
|
697
886
|
property :update_time, as: 'updateTime'
|
698
887
|
end
|
699
888
|
end
|
700
889
|
|
890
|
+
class SpokeStateCount
|
891
|
+
# @private
|
892
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
893
|
+
property :count, :numeric_string => true, as: 'count'
|
894
|
+
property :state, as: 'state'
|
895
|
+
end
|
896
|
+
end
|
897
|
+
|
898
|
+
class SpokeStateReasonCount
|
899
|
+
# @private
|
900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
901
|
+
property :count, :numeric_string => true, as: 'count'
|
902
|
+
property :state_reason_code, as: 'stateReasonCode'
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
906
|
+
class SpokeSummary
|
907
|
+
# @private
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
909
|
+
collection :spoke_state_counts, as: 'spokeStateCounts', class: Google::Apis::NetworkconnectivityV1::SpokeStateCount, decorator: Google::Apis::NetworkconnectivityV1::SpokeStateCount::Representation
|
910
|
+
|
911
|
+
collection :spoke_state_reason_counts, as: 'spokeStateReasonCounts', class: Google::Apis::NetworkconnectivityV1::SpokeStateReasonCount, decorator: Google::Apis::NetworkconnectivityV1::SpokeStateReasonCount::Representation
|
912
|
+
|
913
|
+
collection :spoke_type_counts, as: 'spokeTypeCounts', class: Google::Apis::NetworkconnectivityV1::SpokeTypeCount, decorator: Google::Apis::NetworkconnectivityV1::SpokeTypeCount::Representation
|
914
|
+
|
915
|
+
end
|
916
|
+
end
|
917
|
+
|
918
|
+
class SpokeTypeCount
|
919
|
+
# @private
|
920
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
921
|
+
property :count, :numeric_string => true, as: 'count'
|
922
|
+
property :spoke_type, as: 'spokeType'
|
923
|
+
end
|
924
|
+
end
|
925
|
+
|
926
|
+
class StateReason
|
927
|
+
# @private
|
928
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
929
|
+
property :code, as: 'code'
|
930
|
+
property :message, as: 'message'
|
931
|
+
property :user_details, as: 'userDetails'
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
701
935
|
class TestIamPermissionsRequest
|
702
936
|
# @private
|
703
937
|
class Representation < Google::Apis::Core::JsonRepresentation
|