google-apis-networkconnectivity_v1 0.26.0 → 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +583 -5
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +233 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +288 -4
- 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
|
@@ -381,8 +472,11 @@ module Google
|
|
381
472
|
property :description, as: 'description'
|
382
473
|
hash :labels, as: 'labels'
|
383
474
|
property :name, as: 'name'
|
475
|
+
collection :route_tables, as: 'routeTables'
|
384
476
|
collection :routing_vpcs, as: 'routingVpcs', class: Google::Apis::NetworkconnectivityV1::RoutingVpc, decorator: Google::Apis::NetworkconnectivityV1::RoutingVpc::Representation
|
385
477
|
|
478
|
+
property :spoke_summary, as: 'spokeSummary', class: Google::Apis::NetworkconnectivityV1::SpokeSummary, decorator: Google::Apis::NetworkconnectivityV1::SpokeSummary::Representation
|
479
|
+
|
386
480
|
property :state, as: 'state'
|
387
481
|
property :unique_id, as: 'uniqueId'
|
388
482
|
property :update_time, as: 'updateTime'
|
@@ -427,6 +521,14 @@ module Google
|
|
427
521
|
end
|
428
522
|
end
|
429
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
|
+
|
430
532
|
class LinkedVpnTunnels
|
431
533
|
# @private
|
432
534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -436,6 +538,16 @@ module Google
|
|
436
538
|
end
|
437
539
|
end
|
438
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
|
+
|
439
551
|
class ListHubsResponse
|
440
552
|
# @private
|
441
553
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -465,6 +577,26 @@ module Google
|
|
465
577
|
end
|
466
578
|
end
|
467
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
|
+
|
468
600
|
class ListServiceClassesResponse
|
469
601
|
# @private
|
470
602
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -533,6 +665,13 @@ module Google
|
|
533
665
|
end
|
534
666
|
end
|
535
667
|
|
668
|
+
class NextHopVpcNetwork
|
669
|
+
# @private
|
670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
671
|
+
property :uri, as: 'uri'
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
536
675
|
class OperationMetadata
|
537
676
|
# @private
|
538
677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -588,6 +727,46 @@ module Google
|
|
588
727
|
end
|
589
728
|
end
|
590
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
|
+
|
591
770
|
class RouterApplianceInstance
|
592
771
|
# @private
|
593
772
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -609,6 +788,7 @@ module Google
|
|
609
788
|
class Representation < Google::Apis::Core::JsonRepresentation
|
610
789
|
property :create_time, as: 'createTime'
|
611
790
|
property :description, as: 'description'
|
791
|
+
property :etag, as: 'etag'
|
612
792
|
hash :labels, as: 'labels'
|
613
793
|
property :name, as: 'name'
|
614
794
|
property :service_class, as: 'serviceClass'
|
@@ -626,6 +806,7 @@ module Google
|
|
626
806
|
|
627
807
|
property :create_time, as: 'createTime'
|
628
808
|
property :description, as: 'description'
|
809
|
+
property :etag, as: 'etag'
|
629
810
|
property :infrastructure, as: 'infrastructure'
|
630
811
|
hash :labels, as: 'labels'
|
631
812
|
property :name, as: 'name'
|
@@ -643,6 +824,7 @@ module Google
|
|
643
824
|
class Representation < Google::Apis::Core::JsonRepresentation
|
644
825
|
property :create_time, as: 'createTime'
|
645
826
|
property :description, as: 'description'
|
827
|
+
property :etag, as: 'etag'
|
646
828
|
property :infrastructure, as: 'infrastructure'
|
647
829
|
hash :labels, as: 'labels'
|
648
830
|
property :name, as: 'name'
|
@@ -661,6 +843,7 @@ module Google
|
|
661
843
|
class Representation < Google::Apis::Core::JsonRepresentation
|
662
844
|
property :create_time, as: 'createTime'
|
663
845
|
property :description, as: 'description'
|
846
|
+
property :etag, as: 'etag'
|
664
847
|
property :expire_time, as: 'expireTime'
|
665
848
|
hash :labels, as: 'labels'
|
666
849
|
property :name, as: 'name'
|
@@ -690,15 +873,65 @@ module Google
|
|
690
873
|
|
691
874
|
property :linked_router_appliance_instances, as: 'linkedRouterApplianceInstances', class: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances, decorator: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances::Representation
|
692
875
|
|
876
|
+
property :linked_vpc_network, as: 'linkedVpcNetwork', class: Google::Apis::NetworkconnectivityV1::LinkedVpcNetwork, decorator: Google::Apis::NetworkconnectivityV1::LinkedVpcNetwork::Representation
|
877
|
+
|
693
878
|
property :linked_vpn_tunnels, as: 'linkedVpnTunnels', class: Google::Apis::NetworkconnectivityV1::LinkedVpnTunnels, decorator: Google::Apis::NetworkconnectivityV1::LinkedVpnTunnels::Representation
|
694
879
|
|
695
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'
|
696
884
|
property :state, as: 'state'
|
697
885
|
property :unique_id, as: 'uniqueId'
|
698
886
|
property :update_time, as: 'updateTime'
|
699
887
|
end
|
700
888
|
end
|
701
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
|
+
|
702
935
|
class TestIamPermissionsRequest
|
703
936
|
# @private
|
704
937
|
class Representation < Google::Apis::Core::JsonRepresentation
|