google-apis-networkconnectivity_v1 0.47.0 → 0.49.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99cfa9927dd569ac9a8f920453047e21ebd6b06186a4e945e4fd0798c6280a04
4
- data.tar.gz: 244244ec5a5b0be1f68676a630d45d1c9efa3e5c05e57ea0e39f4c4e598b3b60
3
+ metadata.gz: 4b555e6994968e0aa8675884ad70c8c4671d43a4a057f1aa1a3779cd8e070ea7
4
+ data.tar.gz: 136ba0752a2c07ca20861687a57f0b640ce72bc75627a7ada1d9e1f7fd4580ca
5
5
  SHA512:
6
- metadata.gz: d836ed36c7ef1a9825b46b9c5cbcede558d93558f6979b33c7e17d295d30b390a109c33e0534c2da586e3b5e3740b76f73767f54db3037505dc1346d1bdcb615
7
- data.tar.gz: 0ce4608db2ffe09b184965dc9f75573d5e50361a033d6daa959495d975e654e12240062a219aec1c078266dabbc53f909809e8ab143fb9ef5cc6805c388c3398
6
+ metadata.gz: 74ffddfa9107fa618c69da5d07e7804f198bd6d68f706e16cd0fc8e8b9ab155d0eabcfa0d1ba7fa4cc87574a808ea1e4da3ea1dd0947eaf7f20fa37e45172f76
7
+ data.tar.gz: 377bc181f8e48a666cf8b81a03b5a3f6ce19b3f419818dac1dc220bcc9c9eb998e223dbcc88ec2677ed832de4189f6969783402318bdf5201b31171b46120a96
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networkconnectivity_v1
2
2
 
3
+ ### v0.49.0 (2024-10-20)
4
+
5
+ * Regenerated from discovery document revision 20241009
6
+
7
+ ### v0.48.0 (2024-09-29)
8
+
9
+ * Regenerated from discovery document revision 20240923
10
+
3
11
  ### v0.47.0 (2024-09-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20240911
@@ -298,6 +298,11 @@ module Google
298
298
  attr_accessor :disable_global_access
299
299
  alias_method :disable_global_access?, :disable_global_access
300
300
 
301
+ # The requested IP version for the PSC connection.
302
+ # Corresponds to the JSON property `ipVersion`
303
+ # @return [String]
304
+ attr_accessor :ip_version
305
+
301
306
  # The resource path of the consumer network where PSC connections are allowed to
302
307
  # be created in. Note, this network does not need be in the ConsumerPscConfig.
303
308
  # project in the case of SharedVPC. Example: projects/`projectNumOrId`/global/
@@ -343,6 +348,7 @@ module Google
343
348
  def update!(**args)
344
349
  @consumer_instance_project = args[:consumer_instance_project] if args.key?(:consumer_instance_project)
345
350
  @disable_global_access = args[:disable_global_access] if args.key?(:disable_global_access)
351
+ @ip_version = args[:ip_version] if args.key?(:ip_version)
346
352
  @network = args[:network] if args.key?(:network)
347
353
  @producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
348
354
  @producer_instance_metadata = args[:producer_instance_metadata] if args.key?(:producer_instance_metadata)
@@ -402,6 +408,11 @@ module Google
402
408
  # @return [String]
403
409
  attr_accessor :ip
404
410
 
411
+ # The requested IP version for the PSC connection.
412
+ # Corresponds to the JSON property `ipVersion`
413
+ # @return [String]
414
+ attr_accessor :ip_version
415
+
405
416
  # The consumer network whose PSC forwarding rule is connected to the service
406
417
  # attachments in this service connection map. Note that the network could be on
407
418
  # a different project (shared VPC).
@@ -460,6 +471,7 @@ module Google
460
471
  @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
461
472
  @gce_operation = args[:gce_operation] if args.key?(:gce_operation)
462
473
  @ip = args[:ip] if args.key?(:ip)
474
+ @ip_version = args[:ip_version] if args.key?(:ip_version)
463
475
  @network = args[:network] if args.key?(:network)
464
476
  @producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
465
477
  @producer_instance_metadata = args[:producer_instance_metadata] if args.key?(:producer_instance_metadata)
@@ -1121,8 +1133,8 @@ module Google
1121
1133
  class LinkedInterconnectAttachments
1122
1134
  include Google::Apis::Core::Hashable
1123
1135
 
1124
- # Optional. IP ranges allowed to be included during import from hub.(does not
1125
- # control transit connectivity) The only allowed value for now is "
1136
+ # Optional. IP ranges allowed to be included during import from hub (does not
1137
+ # control transit connectivity). The only allowed value for now is "
1126
1138
  # ALL_IPV4_RANGES".
1127
1139
  # Corresponds to the JSON property `includeImportRanges`
1128
1140
  # @return [Array<String>]
@@ -1160,6 +1172,52 @@ module Google
1160
1172
  end
1161
1173
  end
1162
1174
 
1175
+ # Next ID: 7
1176
+ class LinkedProducerVpcNetwork
1177
+ include Google::Apis::Core::Hashable
1178
+
1179
+ # Optional. IP ranges encompassing the subnets to be excluded from peering.
1180
+ # Corresponds to the JSON property `excludeExportRanges`
1181
+ # @return [Array<String>]
1182
+ attr_accessor :exclude_export_ranges
1183
+
1184
+ # Immutable. The URI of the Service Consumer VPC that the Producer VPC is peered
1185
+ # with.
1186
+ # Corresponds to the JSON property `network`
1187
+ # @return [String]
1188
+ attr_accessor :network
1189
+
1190
+ # Immutable. The name of the VPC peering between the Service Consumer VPC and
1191
+ # the Producer VPC (defined in the Tenant project) which is added to the NCC hub.
1192
+ # This peering must be in ACTIVE state.
1193
+ # Corresponds to the JSON property `peering`
1194
+ # @return [String]
1195
+ attr_accessor :peering
1196
+
1197
+ # Output only. The URI of the Producer VPC.
1198
+ # Corresponds to the JSON property `producerNetwork`
1199
+ # @return [String]
1200
+ attr_accessor :producer_network
1201
+
1202
+ # Output only. The Service Consumer Network spoke.
1203
+ # Corresponds to the JSON property `serviceConsumerVpcSpoke`
1204
+ # @return [String]
1205
+ attr_accessor :service_consumer_vpc_spoke
1206
+
1207
+ def initialize(**args)
1208
+ update!(**args)
1209
+ end
1210
+
1211
+ # Update properties of this object
1212
+ def update!(**args)
1213
+ @exclude_export_ranges = args[:exclude_export_ranges] if args.key?(:exclude_export_ranges)
1214
+ @network = args[:network] if args.key?(:network)
1215
+ @peering = args[:peering] if args.key?(:peering)
1216
+ @producer_network = args[:producer_network] if args.key?(:producer_network)
1217
+ @service_consumer_vpc_spoke = args[:service_consumer_vpc_spoke] if args.key?(:service_consumer_vpc_spoke)
1218
+ end
1219
+ end
1220
+
1163
1221
  # A collection of router appliance instances. If you configure multiple router
1164
1222
  # appliance instances to receive data from the same set of sites outside of
1165
1223
  # Google Cloud, we recommend that you associate those instances with the same
@@ -1167,8 +1225,8 @@ module Google
1167
1225
  class LinkedRouterApplianceInstances
1168
1226
  include Google::Apis::Core::Hashable
1169
1227
 
1170
- # Optional. IP ranges allowed to be included during import from hub.(does not
1171
- # control transit connectivity) The only allowed value for now is "
1228
+ # Optional. IP ranges allowed to be included during import from hub (does not
1229
+ # control transit connectivity). The only allowed value for now is "
1172
1230
  # ALL_IPV4_RANGES".
1173
1231
  # Corresponds to the JSON property `includeImportRanges`
1174
1232
  # @return [Array<String>]
@@ -1253,8 +1311,8 @@ module Google
1253
1311
  class LinkedVpnTunnels
1254
1312
  include Google::Apis::Core::Hashable
1255
1313
 
1256
- # Optional. IP ranges allowed to be included during import from hub.(does not
1257
- # control transit connectivity) The only allowed value for now is "
1314
+ # Optional. IP ranges allowed to be included during import from hub (does not
1315
+ # control transit connectivity). The only allowed value for now is "
1258
1316
  # ALL_IPV4_RANGES".
1259
1317
  # Corresponds to the JSON property `includeImportRanges`
1260
1318
  # @return [Array<String>]
@@ -2356,6 +2414,11 @@ module Google
2356
2414
  # @return [String]
2357
2415
  attr_accessor :gce_operation
2358
2416
 
2417
+ # The requested IP version for the PSC connection.
2418
+ # Corresponds to the JSON property `ipVersion`
2419
+ # @return [String]
2420
+ attr_accessor :ip_version
2421
+
2359
2422
  # Immutable. Deprecated. Use producer_instance_metadata instead. An immutable
2360
2423
  # identifier for the producer instance.
2361
2424
  # Corresponds to the JSON property `producerInstanceId`
@@ -2403,6 +2466,7 @@ module Google
2403
2466
  @error_info = args[:error_info] if args.key?(:error_info)
2404
2467
  @error_type = args[:error_type] if args.key?(:error_type)
2405
2468
  @gce_operation = args[:gce_operation] if args.key?(:gce_operation)
2469
+ @ip_version = args[:ip_version] if args.key?(:ip_version)
2406
2470
  @producer_instance_id = args[:producer_instance_id] if args.key?(:producer_instance_id)
2407
2471
  @producer_instance_metadata = args[:producer_instance_metadata] if args.key?(:producer_instance_metadata)
2408
2472
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
@@ -3230,6 +3294,11 @@ module Google
3230
3294
  # @return [Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments]
3231
3295
  attr_accessor :linked_interconnect_attachments
3232
3296
 
3297
+ # Next ID: 7
3298
+ # Corresponds to the JSON property `linkedProducerVpcNetwork`
3299
+ # @return [Google::Apis::NetworkconnectivityV1::LinkedProducerVpcNetwork]
3300
+ attr_accessor :linked_producer_vpc_network
3301
+
3233
3302
  # A collection of router appliance instances. If you configure multiple router
3234
3303
  # appliance instances to receive data from the same set of sites outside of
3235
3304
  # Google Cloud, we recommend that you associate those instances with the same
@@ -3298,6 +3367,7 @@ module Google
3298
3367
  @hub = args[:hub] if args.key?(:hub)
3299
3368
  @labels = args[:labels] if args.key?(:labels)
3300
3369
  @linked_interconnect_attachments = args[:linked_interconnect_attachments] if args.key?(:linked_interconnect_attachments)
3370
+ @linked_producer_vpc_network = args[:linked_producer_vpc_network] if args.key?(:linked_producer_vpc_network)
3301
3371
  @linked_router_appliance_instances = args[:linked_router_appliance_instances] if args.key?(:linked_router_appliance_instances)
3302
3372
  @linked_vpc_network = args[:linked_vpc_network] if args.key?(:linked_vpc_network)
3303
3373
  @linked_vpn_tunnels = args[:linked_vpn_tunnels] if args.key?(:linked_vpn_tunnels)
@@ -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.47.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240911"
25
+ REVISION = "20241009"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class LinkedProducerVpcNetwork
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class LinkedRouterApplianceInstances
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -515,6 +521,7 @@ module Google
515
521
  class Representation < Google::Apis::Core::JsonRepresentation
516
522
  property :consumer_instance_project, as: 'consumerInstanceProject'
517
523
  property :disable_global_access, as: 'disableGlobalAccess'
524
+ property :ip_version, as: 'ipVersion'
518
525
  property :network, as: 'network'
519
526
  property :producer_instance_id, as: 'producerInstanceId'
520
527
  hash :producer_instance_metadata, as: 'producerInstanceMetadata'
@@ -535,6 +542,7 @@ module Google
535
542
  property :forwarding_rule, as: 'forwardingRule'
536
543
  property :gce_operation, as: 'gceOperation'
537
544
  property :ip, as: 'ip'
545
+ property :ip_version, as: 'ipVersion'
538
546
  property :network, as: 'network'
539
547
  property :producer_instance_id, as: 'producerInstanceId'
540
548
  hash :producer_instance_metadata, as: 'producerInstanceMetadata'
@@ -692,6 +700,17 @@ module Google
692
700
  end
693
701
  end
694
702
 
703
+ class LinkedProducerVpcNetwork
704
+ # @private
705
+ class Representation < Google::Apis::Core::JsonRepresentation
706
+ collection :exclude_export_ranges, as: 'excludeExportRanges'
707
+ property :network, as: 'network'
708
+ property :peering, as: 'peering'
709
+ property :producer_network, as: 'producerNetwork'
710
+ property :service_consumer_vpc_spoke, as: 'serviceConsumerVpcSpoke'
711
+ end
712
+ end
713
+
695
714
  class LinkedRouterApplianceInstances
696
715
  # @private
697
716
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1001,6 +1020,7 @@ module Google
1001
1020
 
1002
1021
  property :error_type, as: 'errorType'
1003
1022
  property :gce_operation, as: 'gceOperation'
1023
+ property :ip_version, as: 'ipVersion'
1004
1024
  property :producer_instance_id, as: 'producerInstanceId'
1005
1025
  hash :producer_instance_metadata, as: 'producerInstanceMetadata'
1006
1026
  property :psc_connection_id, as: 'pscConnectionId'
@@ -1188,6 +1208,8 @@ module Google
1188
1208
  hash :labels, as: 'labels'
1189
1209
  property :linked_interconnect_attachments, as: 'linkedInterconnectAttachments', class: Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments, decorator: Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments::Representation
1190
1210
 
1211
+ property :linked_producer_vpc_network, as: 'linkedProducerVpcNetwork', class: Google::Apis::NetworkconnectivityV1::LinkedProducerVpcNetwork, decorator: Google::Apis::NetworkconnectivityV1::LinkedProducerVpcNetwork::Representation
1212
+
1191
1213
  property :linked_router_appliance_instances, as: 'linkedRouterApplianceInstances', class: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances, decorator: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances::Representation
1192
1214
 
1193
1215
  property :linked_vpc_network, as: 'linkedVpcNetwork', class: Google::Apis::NetworkconnectivityV1::LinkedVpcNetwork, decorator: Google::Apis::NetworkconnectivityV1::LinkedVpcNetwork::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkconnectivity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-22 00:00:00.000000000 Z
11
+ date: 2024-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.49.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Network Connectivity API V1