google-apis-networkmanagement_v1 0.52.0 → 0.54.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: 9bb7a0495d41b90de7e71e154b6a3a5c79d8f19bb7a606f12e4eb25bb2c8ec9a
4
- data.tar.gz: 764bfa956c72f65540d1f15933f39e9685557ec60aba5c3d9b0dfe10fcd0dc2a
3
+ metadata.gz: 9672f6ef7331669d81fa5328ac2bb5d151084cb7f6cee73f4b1ddc425e5d601b
4
+ data.tar.gz: 2564791618085f5e3d3ce2a4567f413a3147372c31782010eea9f197a2619ff6
5
5
  SHA512:
6
- metadata.gz: f5b7fa08d823803eb09d834516c9329274b039ab784d6131cdc53db6fde93324f64c9376bbad984bdbc1908b3dfe3fbb34be8e977a2392147ec120dfa0aef0a4
7
- data.tar.gz: ab6efd8960244fbd0c21824cec149380c7e53f022d0364fffb51ab879783f10dfdd4022ff0bf1a547dd409a832b05d6ec838317074f9f517e987d851c60dd108
6
+ metadata.gz: eec00dc9a72cee04e64c0cb8a593153c7d8d526a651d3bb4bf7b6b8f25540d38cb4df870ead22522aa5bfb68425efcb25f5a59a43e6aa304cabb52bed0b92c70
7
+ data.tar.gz: ff67598232dbeba028db2b889ff11ebcadd08cff90bcd53486fb26cccde6f85097c2dc9492656418c1459aaf330cf9a0164e06c3dadde38c22a24a4b8729206a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-networkmanagement_v1
2
2
 
3
+ ### v0.54.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250219
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.53.0 (2024-12-15)
9
+
10
+ * Regenerated from discovery document revision 20241210
11
+
3
12
  ### v0.52.0 (2024-12-08)
4
13
 
5
14
  * Regenerated from discovery document revision 20241202
@@ -620,6 +620,50 @@ module Google
620
620
  end
621
621
  end
622
622
 
623
+ # For display only. Metadata associated with a serverless direct VPC egress
624
+ # connection.
625
+ class DirectVpcEgressConnectionInfo
626
+ include Google::Apis::Core::Hashable
627
+
628
+ # URI of direct access network.
629
+ # Corresponds to the JSON property `networkUri`
630
+ # @return [String]
631
+ attr_accessor :network_uri
632
+
633
+ # Region in which the Direct VPC egress is deployed.
634
+ # Corresponds to the JSON property `region`
635
+ # @return [String]
636
+ attr_accessor :region
637
+
638
+ # Selected starting IP address, from the selected IP range.
639
+ # Corresponds to the JSON property `selectedIpAddress`
640
+ # @return [String]
641
+ attr_accessor :selected_ip_address
642
+
643
+ # Selected IP range.
644
+ # Corresponds to the JSON property `selectedIpRange`
645
+ # @return [String]
646
+ attr_accessor :selected_ip_range
647
+
648
+ # URI of direct access subnetwork.
649
+ # Corresponds to the JSON property `subnetworkUri`
650
+ # @return [String]
651
+ attr_accessor :subnetwork_uri
652
+
653
+ def initialize(**args)
654
+ update!(**args)
655
+ end
656
+
657
+ # Update properties of this object
658
+ def update!(**args)
659
+ @network_uri = args[:network_uri] if args.key?(:network_uri)
660
+ @region = args[:region] if args.key?(:region)
661
+ @selected_ip_address = args[:selected_ip_address] if args.key?(:selected_ip_address)
662
+ @selected_ip_range = args[:selected_ip_range] if args.key?(:selected_ip_range)
663
+ @subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri)
664
+ end
665
+ end
666
+
623
667
  # Details of the final state "drop" and associated resource.
624
668
  class DropInfo
625
669
  include Google::Apis::Core::Hashable
@@ -1418,6 +1462,37 @@ module Google
1418
1462
  end
1419
1463
  end
1420
1464
 
1465
+ # Response for the `ListVpcFlowLogsConfigs` method.
1466
+ class ListVpcFlowLogsConfigsResponse
1467
+ include Google::Apis::Core::Hashable
1468
+
1469
+ # Page token to fetch the next set of configurations.
1470
+ # Corresponds to the JSON property `nextPageToken`
1471
+ # @return [String]
1472
+ attr_accessor :next_page_token
1473
+
1474
+ # Locations that could not be reached (when querying all locations with `-`).
1475
+ # Corresponds to the JSON property `unreachable`
1476
+ # @return [Array<String>]
1477
+ attr_accessor :unreachable
1478
+
1479
+ # List of VPC Flow Log configurations.
1480
+ # Corresponds to the JSON property `vpcFlowLogsConfigs`
1481
+ # @return [Array<Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig>]
1482
+ attr_accessor :vpc_flow_logs_configs
1483
+
1484
+ def initialize(**args)
1485
+ update!(**args)
1486
+ end
1487
+
1488
+ # Update properties of this object
1489
+ def update!(**args)
1490
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1491
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1492
+ @vpc_flow_logs_configs = args[:vpc_flow_logs_configs] if args.key?(:vpc_flow_logs_configs)
1493
+ end
1494
+ end
1495
+
1421
1496
  # For display only. Metadata associated with a specific load balancer backend.
1422
1497
  class LoadBalancerBackend
1423
1498
  include Google::Apis::Core::Hashable
@@ -2301,14 +2376,15 @@ module Google
2301
2376
  class RouteInfo
2302
2377
  include Google::Apis::Core::Hashable
2303
2378
 
2304
- # For advertised routes, the URI of their next hop, i.e. the URI of the hybrid
2379
+ # For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid
2305
2380
  # endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the
2306
2381
  # advertised prefix is advertised through, or URI of the source peered network.
2382
+ # Deprecated in favor of the next_hop_uri field, not used in new tests.
2307
2383
  # Corresponds to the JSON property `advertisedRouteNextHopUri`
2308
2384
  # @return [String]
2309
2385
  attr_accessor :advertised_route_next_hop_uri
2310
2386
 
2311
- # For advertised dynamic routes, the URI of the Cloud Router that advertised the
2387
+ # For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the
2312
2388
  # corresponding IP prefix.
2313
2389
  # Corresponds to the JSON property `advertisedRouteSourceRouterUri`
2314
2390
  # @return [String]
@@ -2319,7 +2395,7 @@ module Google
2319
2395
  # @return [String]
2320
2396
  attr_accessor :dest_ip_range
2321
2397
 
2322
- # Destination port ranges of the route. Policy based routes only.
2398
+ # Destination port ranges of the route. POLICY_BASED routes only.
2323
2399
  # Corresponds to the JSON property `destPortRanges`
2324
2400
  # @return [Array<String>]
2325
2401
  attr_accessor :dest_port_ranges
@@ -2334,47 +2410,82 @@ module Google
2334
2410
  # @return [Array<String>]
2335
2411
  attr_accessor :instance_tags
2336
2412
 
2337
- # URI of a NCC Hub. NCC_HUB routes only.
2413
+ # For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub,
2414
+ # the URI of the corresponding route in NCC Hub's routing table.
2415
+ # Corresponds to the JSON property `nccHubRouteUri`
2416
+ # @return [String]
2417
+ attr_accessor :ncc_hub_route_uri
2418
+
2419
+ # URI of the NCC Hub the route is advertised by. PEERING_SUBNET and
2420
+ # PEERING_DYNAMIC routes that are advertised by NCC Hub only.
2338
2421
  # Corresponds to the JSON property `nccHubUri`
2339
2422
  # @return [String]
2340
2423
  attr_accessor :ncc_hub_uri
2341
2424
 
2342
- # URI of a NCC Spoke. NCC_HUB routes only.
2425
+ # URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes
2426
+ # that are advertised by NCC Hub only.
2343
2427
  # Corresponds to the JSON property `nccSpokeUri`
2344
2428
  # @return [String]
2345
2429
  attr_accessor :ncc_spoke_uri
2346
2430
 
2347
- # URI of a Compute Engine network. NETWORK routes only.
2431
+ # URI of a VPC network where route is located.
2348
2432
  # Corresponds to the JSON property `networkUri`
2349
2433
  # @return [String]
2350
2434
  attr_accessor :network_uri
2351
2435
 
2352
- # Next hop of the route.
2436
+ # String type of the next hop of the route (for example, "VPN tunnel").
2437
+ # Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in
2438
+ # new tests.
2353
2439
  # Corresponds to the JSON property `nextHop`
2354
2440
  # @return [String]
2355
2441
  attr_accessor :next_hop
2356
2442
 
2443
+ # URI of a VPC network where the next hop resource is located.
2444
+ # Corresponds to the JSON property `nextHopNetworkUri`
2445
+ # @return [String]
2446
+ attr_accessor :next_hop_network_uri
2447
+
2357
2448
  # Type of next hop.
2358
2449
  # Corresponds to the JSON property `nextHopType`
2359
2450
  # @return [String]
2360
2451
  attr_accessor :next_hop_type
2361
2452
 
2453
+ # URI of the next hop resource.
2454
+ # Corresponds to the JSON property `nextHopUri`
2455
+ # @return [String]
2456
+ attr_accessor :next_hop_uri
2457
+
2458
+ # For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the
2459
+ # originating SUBNET/STATIC/DYNAMIC route.
2460
+ # Corresponds to the JSON property `originatingRouteDisplayName`
2461
+ # @return [String]
2462
+ attr_accessor :originating_route_display_name
2463
+
2464
+ # For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating
2465
+ # SUBNET/STATIC route.
2466
+ # Corresponds to the JSON property `originatingRouteUri`
2467
+ # @return [String]
2468
+ attr_accessor :originating_route_uri
2469
+
2362
2470
  # Priority of the route.
2363
2471
  # Corresponds to the JSON property `priority`
2364
2472
  # @return [Fixnum]
2365
2473
  attr_accessor :priority
2366
2474
 
2367
- # Protocols of the route. Policy based routes only.
2475
+ # Protocols of the route. POLICY_BASED routes only.
2368
2476
  # Corresponds to the JSON property `protocols`
2369
2477
  # @return [Array<String>]
2370
2478
  attr_accessor :protocols
2371
2479
 
2372
- # Region of the route (if applicable).
2480
+ # Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED
2481
+ # routes only. If set for POLICY_BASED route, this is a region of VLAN
2482
+ # attachments for Cloud Interconnect the route applies to.
2373
2483
  # Corresponds to the JSON property `region`
2374
2484
  # @return [String]
2375
2485
  attr_accessor :region
2376
2486
 
2377
- # Indicates where route is applicable.
2487
+ # Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are
2488
+ # not included in the trace in new tests.
2378
2489
  # Corresponds to the JSON property `routeScope`
2379
2490
  # @return [String]
2380
2491
  attr_accessor :route_scope
@@ -2384,17 +2495,18 @@ module Google
2384
2495
  # @return [String]
2385
2496
  attr_accessor :route_type
2386
2497
 
2387
- # Source IP address range of the route. Policy based routes only.
2498
+ # Source IP address range of the route. POLICY_BASED routes only.
2388
2499
  # Corresponds to the JSON property `srcIpRange`
2389
2500
  # @return [String]
2390
2501
  attr_accessor :src_ip_range
2391
2502
 
2392
- # Source port ranges of the route. Policy based routes only.
2503
+ # Source port ranges of the route. POLICY_BASED routes only.
2393
2504
  # Corresponds to the JSON property `srcPortRanges`
2394
2505
  # @return [Array<String>]
2395
2506
  attr_accessor :src_port_ranges
2396
2507
 
2397
- # URI of a route (if applicable).
2508
+ # URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and
2509
+ # POLICY_BASED routes only.
2398
2510
  # Corresponds to the JSON property `uri`
2399
2511
  # @return [String]
2400
2512
  attr_accessor :uri
@@ -2411,11 +2523,16 @@ module Google
2411
2523
  @dest_port_ranges = args[:dest_port_ranges] if args.key?(:dest_port_ranges)
2412
2524
  @display_name = args[:display_name] if args.key?(:display_name)
2413
2525
  @instance_tags = args[:instance_tags] if args.key?(:instance_tags)
2526
+ @ncc_hub_route_uri = args[:ncc_hub_route_uri] if args.key?(:ncc_hub_route_uri)
2414
2527
  @ncc_hub_uri = args[:ncc_hub_uri] if args.key?(:ncc_hub_uri)
2415
2528
  @ncc_spoke_uri = args[:ncc_spoke_uri] if args.key?(:ncc_spoke_uri)
2416
2529
  @network_uri = args[:network_uri] if args.key?(:network_uri)
2417
2530
  @next_hop = args[:next_hop] if args.key?(:next_hop)
2531
+ @next_hop_network_uri = args[:next_hop_network_uri] if args.key?(:next_hop_network_uri)
2418
2532
  @next_hop_type = args[:next_hop_type] if args.key?(:next_hop_type)
2533
+ @next_hop_uri = args[:next_hop_uri] if args.key?(:next_hop_uri)
2534
+ @originating_route_display_name = args[:originating_route_display_name] if args.key?(:originating_route_display_name)
2535
+ @originating_route_uri = args[:originating_route_uri] if args.key?(:originating_route_uri)
2419
2536
  @priority = args[:priority] if args.key?(:priority)
2420
2537
  @protocols = args[:protocols] if args.key?(:protocols)
2421
2538
  @region = args[:region] if args.key?(:region)
@@ -2427,6 +2544,25 @@ module Google
2427
2544
  end
2428
2545
  end
2429
2546
 
2547
+ # For display only. Metadata associated with a serverless public connection.
2548
+ class ServerlessExternalConnectionInfo
2549
+ include Google::Apis::Core::Hashable
2550
+
2551
+ # Selected starting IP address, from the Google dynamic address pool.
2552
+ # Corresponds to the JSON property `selectedIpAddress`
2553
+ # @return [String]
2554
+ attr_accessor :selected_ip_address
2555
+
2556
+ def initialize(**args)
2557
+ update!(**args)
2558
+ end
2559
+
2560
+ # Update properties of this object
2561
+ def update!(**args)
2562
+ @selected_ip_address = args[:selected_ip_address] if args.key?(:selected_ip_address)
2563
+ end
2564
+ end
2565
+
2430
2566
  # For display only. Metadata associated with the serverless network endpoint
2431
2567
  # group backend.
2432
2568
  class ServerlessNegInfo
@@ -2585,6 +2721,12 @@ module Google
2585
2721
  # @return [String]
2586
2722
  attr_accessor :description
2587
2723
 
2724
+ # For display only. Metadata associated with a serverless direct VPC egress
2725
+ # connection.
2726
+ # Corresponds to the JSON property `directVpcEgressConnection`
2727
+ # @return [Google::Apis::NetworkmanagementV1::DirectVpcEgressConnectionInfo]
2728
+ attr_accessor :direct_vpc_egress_connection
2729
+
2588
2730
  # Details of the final state "drop" and associated resource.
2589
2731
  # Corresponds to the JSON property `drop`
2590
2732
  # @return [Google::Apis::NetworkmanagementV1::DropInfo]
@@ -2679,6 +2821,11 @@ module Google
2679
2821
  # @return [Google::Apis::NetworkmanagementV1::RouteInfo]
2680
2822
  attr_accessor :route
2681
2823
 
2824
+ # For display only. Metadata associated with a serverless public connection.
2825
+ # Corresponds to the JSON property `serverlessExternalConnection`
2826
+ # @return [Google::Apis::NetworkmanagementV1::ServerlessExternalConnectionInfo]
2827
+ attr_accessor :serverless_external_connection
2828
+
2682
2829
  # For display only. Metadata associated with the serverless network endpoint
2683
2830
  # group backend.
2684
2831
  # Corresponds to the JSON property `serverlessNeg`
@@ -2724,6 +2871,7 @@ module Google
2724
2871
  @cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
2725
2872
  @deliver = args[:deliver] if args.key?(:deliver)
2726
2873
  @description = args[:description] if args.key?(:description)
2874
+ @direct_vpc_egress_connection = args[:direct_vpc_egress_connection] if args.key?(:direct_vpc_egress_connection)
2727
2875
  @drop = args[:drop] if args.key?(:drop)
2728
2876
  @endpoint = args[:endpoint] if args.key?(:endpoint)
2729
2877
  @firewall = args[:firewall] if args.key?(:firewall)
@@ -2741,6 +2889,7 @@ module Google
2741
2889
  @redis_cluster = args[:redis_cluster] if args.key?(:redis_cluster)
2742
2890
  @redis_instance = args[:redis_instance] if args.key?(:redis_instance)
2743
2891
  @route = args[:route] if args.key?(:route)
2892
+ @serverless_external_connection = args[:serverless_external_connection] if args.key?(:serverless_external_connection)
2744
2893
  @serverless_neg = args[:serverless_neg] if args.key?(:serverless_neg)
2745
2894
  @state = args[:state] if args.key?(:state)
2746
2895
  @storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket)
@@ -2884,6 +3033,115 @@ module Google
2884
3033
  end
2885
3034
  end
2886
3035
 
3036
+ # A configuration to generate VPC Flow Logs.
3037
+ class VpcFlowLogsConfig
3038
+ include Google::Apis::Core::Hashable
3039
+
3040
+ # Optional. The aggregation interval for the logs. Default value is
3041
+ # INTERVAL_5_SEC.
3042
+ # Corresponds to the JSON property `aggregationInterval`
3043
+ # @return [String]
3044
+ attr_accessor :aggregation_interval
3045
+
3046
+ # Output only. The time the config was created.
3047
+ # Corresponds to the JSON property `createTime`
3048
+ # @return [String]
3049
+ attr_accessor :create_time
3050
+
3051
+ # Optional. The user-supplied description of the VPC Flow Logs configuration.
3052
+ # Maximum of 512 characters.
3053
+ # Corresponds to the JSON property `description`
3054
+ # @return [String]
3055
+ attr_accessor :description
3056
+
3057
+ # Optional. Export filter used to define which VPC Flow Logs should be logged.
3058
+ # Corresponds to the JSON property `filterExpr`
3059
+ # @return [String]
3060
+ attr_accessor :filter_expr
3061
+
3062
+ # Optional. The value of the field must be in (0, 1]. The sampling rate of VPC
3063
+ # Flow Logs where 1.0 means all collected logs are reported. Setting the
3064
+ # sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use
3065
+ # the state field instead. Default value is 1.0.
3066
+ # Corresponds to the JSON property `flowSampling`
3067
+ # @return [Float]
3068
+ attr_accessor :flow_sampling
3069
+
3070
+ # Traffic will be logged from the Interconnect Attachment. Format: projects/`
3071
+ # project_id`/regions/`region`/interconnectAttachments/`name`
3072
+ # Corresponds to the JSON property `interconnectAttachment`
3073
+ # @return [String]
3074
+ attr_accessor :interconnect_attachment
3075
+
3076
+ # Optional. Resource labels to represent user-provided metadata.
3077
+ # Corresponds to the JSON property `labels`
3078
+ # @return [Hash<String,String>]
3079
+ attr_accessor :labels
3080
+
3081
+ # Optional. Configures whether all, none or a subset of metadata fields should
3082
+ # be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.
3083
+ # Corresponds to the JSON property `metadata`
3084
+ # @return [String]
3085
+ attr_accessor :metadata
3086
+
3087
+ # Optional. Custom metadata fields to include in the reported VPC flow logs. Can
3088
+ # only be specified if "metadata" was set to CUSTOM_METADATA.
3089
+ # Corresponds to the JSON property `metadataFields`
3090
+ # @return [Array<String>]
3091
+ attr_accessor :metadata_fields
3092
+
3093
+ # Identifier. Unique name of the configuration using the form: `projects/`
3094
+ # project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id``
3095
+ # Corresponds to the JSON property `name`
3096
+ # @return [String]
3097
+ attr_accessor :name
3098
+
3099
+ # Optional. The state of the VPC Flow Log configuration. Default value is
3100
+ # ENABLED. When creating a new configuration, it must be enabled.
3101
+ # Corresponds to the JSON property `state`
3102
+ # @return [String]
3103
+ attr_accessor :state
3104
+
3105
+ # Output only. A diagnostic bit - describes the state of the configured target
3106
+ # resource for diagnostic purposes.
3107
+ # Corresponds to the JSON property `targetResourceState`
3108
+ # @return [String]
3109
+ attr_accessor :target_resource_state
3110
+
3111
+ # Output only. The time the config was updated.
3112
+ # Corresponds to the JSON property `updateTime`
3113
+ # @return [String]
3114
+ attr_accessor :update_time
3115
+
3116
+ # Traffic will be logged from the VPN Tunnel. Format: projects/`project_id`/
3117
+ # regions/`region`/vpnTunnels/`name`
3118
+ # Corresponds to the JSON property `vpnTunnel`
3119
+ # @return [String]
3120
+ attr_accessor :vpn_tunnel
3121
+
3122
+ def initialize(**args)
3123
+ update!(**args)
3124
+ end
3125
+
3126
+ # Update properties of this object
3127
+ def update!(**args)
3128
+ @aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
3129
+ @create_time = args[:create_time] if args.key?(:create_time)
3130
+ @description = args[:description] if args.key?(:description)
3131
+ @filter_expr = args[:filter_expr] if args.key?(:filter_expr)
3132
+ @flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
3133
+ @interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
3134
+ @labels = args[:labels] if args.key?(:labels)
3135
+ @metadata = args[:metadata] if args.key?(:metadata)
3136
+ @metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
3137
+ @name = args[:name] if args.key?(:name)
3138
+ @state = args[:state] if args.key?(:state)
3139
+ @target_resource_state = args[:target_resource_state] if args.key?(:target_resource_state)
3140
+ @update_time = args[:update_time] if args.key?(:update_time)
3141
+ @vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)
3142
+ end
3143
+ end
3144
+
2887
3145
  # For display only. Metadata associated with a Compute Engine VPN gateway.
2888
3146
  class VpnGatewayInfo
2889
3147
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkmanagementV1
18
18
  # Version of the google-apis-networkmanagement_v1 gem
19
- GEM_VERSION = "0.52.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241202"
25
+ REVISION = "20250219"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class DirectVpcEgressConnectionInfo
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class DropInfo
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -208,6 +214,12 @@ module Google
208
214
  include Google::Apis::Core::JsonObjectSupport
209
215
  end
210
216
 
217
+ class ListVpcFlowLogsConfigsResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
211
223
  class LoadBalancerBackend
212
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
225
 
@@ -304,6 +316,12 @@ module Google
304
316
  include Google::Apis::Core::JsonObjectSupport
305
317
  end
306
318
 
319
+ class ServerlessExternalConnectionInfo
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
307
325
  class ServerlessNegInfo
308
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
327
 
@@ -358,6 +376,12 @@ module Google
358
376
  include Google::Apis::Core::JsonObjectSupport
359
377
  end
360
378
 
379
+ class VpcFlowLogsConfig
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
361
385
  class VpnGatewayInfo
362
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
387
 
@@ -513,6 +537,17 @@ module Google
513
537
  end
514
538
  end
515
539
 
540
+ class DirectVpcEgressConnectionInfo
541
+ # @private
542
+ class Representation < Google::Apis::Core::JsonRepresentation
543
+ property :network_uri, as: 'networkUri'
544
+ property :region, as: 'region'
545
+ property :selected_ip_address, as: 'selectedIpAddress'
546
+ property :selected_ip_range, as: 'selectedIpRange'
547
+ property :subnetwork_uri, as: 'subnetworkUri'
548
+ end
549
+ end
550
+
516
551
  class DropInfo
517
552
  # @private
518
553
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -709,6 +744,16 @@ module Google
709
744
  end
710
745
  end
711
746
 
747
+ class ListVpcFlowLogsConfigsResponse
748
+ # @private
749
+ class Representation < Google::Apis::Core::JsonRepresentation
750
+ property :next_page_token, as: 'nextPageToken'
751
+ collection :unreachable, as: 'unreachable'
752
+ collection :vpc_flow_logs_configs, as: 'vpcFlowLogsConfigs', class: Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig, decorator: Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig::Representation
753
+
754
+ end
755
+ end
756
+
712
757
  class LoadBalancerBackend
713
758
  # @private
714
759
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -913,11 +958,16 @@ module Google
913
958
  collection :dest_port_ranges, as: 'destPortRanges'
914
959
  property :display_name, as: 'displayName'
915
960
  collection :instance_tags, as: 'instanceTags'
961
+ property :ncc_hub_route_uri, as: 'nccHubRouteUri'
916
962
  property :ncc_hub_uri, as: 'nccHubUri'
917
963
  property :ncc_spoke_uri, as: 'nccSpokeUri'
918
964
  property :network_uri, as: 'networkUri'
919
965
  property :next_hop, as: 'nextHop'
966
+ property :next_hop_network_uri, as: 'nextHopNetworkUri'
920
967
  property :next_hop_type, as: 'nextHopType'
968
+ property :next_hop_uri, as: 'nextHopUri'
969
+ property :originating_route_display_name, as: 'originatingRouteDisplayName'
970
+ property :originating_route_uri, as: 'originatingRouteUri'
921
971
  property :priority, as: 'priority'
922
972
  collection :protocols, as: 'protocols'
923
973
  property :region, as: 'region'
@@ -929,6 +979,13 @@ module Google
929
979
  end
930
980
  end
931
981
 
982
+ class ServerlessExternalConnectionInfo
983
+ # @private
984
+ class Representation < Google::Apis::Core::JsonRepresentation
985
+ property :selected_ip_address, as: 'selectedIpAddress'
986
+ end
987
+ end
988
+
932
989
  class ServerlessNegInfo
933
990
  # @private
934
991
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -971,6 +1028,8 @@ module Google
971
1028
  property :deliver, as: 'deliver', class: Google::Apis::NetworkmanagementV1::DeliverInfo, decorator: Google::Apis::NetworkmanagementV1::DeliverInfo::Representation
972
1029
 
973
1030
  property :description, as: 'description'
1031
+ property :direct_vpc_egress_connection, as: 'directVpcEgressConnection', class: Google::Apis::NetworkmanagementV1::DirectVpcEgressConnectionInfo, decorator: Google::Apis::NetworkmanagementV1::DirectVpcEgressConnectionInfo::Representation
1032
+
974
1033
  property :drop, as: 'drop', class: Google::Apis::NetworkmanagementV1::DropInfo, decorator: Google::Apis::NetworkmanagementV1::DropInfo::Representation
975
1034
 
976
1035
  property :endpoint, as: 'endpoint', class: Google::Apis::NetworkmanagementV1::EndpointInfo, decorator: Google::Apis::NetworkmanagementV1::EndpointInfo::Representation
@@ -1004,6 +1063,8 @@ module Google
1004
1063
 
1005
1064
  property :route, as: 'route', class: Google::Apis::NetworkmanagementV1::RouteInfo, decorator: Google::Apis::NetworkmanagementV1::RouteInfo::Representation
1006
1065
 
1066
+ property :serverless_external_connection, as: 'serverlessExternalConnection', class: Google::Apis::NetworkmanagementV1::ServerlessExternalConnectionInfo, decorator: Google::Apis::NetworkmanagementV1::ServerlessExternalConnectionInfo::Representation
1067
+
1007
1068
  property :serverless_neg, as: 'serverlessNeg', class: Google::Apis::NetworkmanagementV1::ServerlessNegInfo, decorator: Google::Apis::NetworkmanagementV1::ServerlessNegInfo::Representation
1008
1069
 
1009
1070
  property :state, as: 'state'
@@ -1059,6 +1120,26 @@ module Google
1059
1120
  end
1060
1121
  end
1061
1122
 
1123
+ class VpcFlowLogsConfig
1124
+ # @private
1125
+ class Representation < Google::Apis::Core::JsonRepresentation
1126
+ property :aggregation_interval, as: 'aggregationInterval'
1127
+ property :create_time, as: 'createTime'
1128
+ property :description, as: 'description'
1129
+ property :filter_expr, as: 'filterExpr'
1130
+ property :flow_sampling, as: 'flowSampling'
1131
+ property :interconnect_attachment, as: 'interconnectAttachment'
1132
+ hash :labels, as: 'labels'
1133
+ property :metadata, as: 'metadata'
1134
+ collection :metadata_fields, as: 'metadataFields'
1135
+ property :name, as: 'name'
1136
+ property :state, as: 'state'
1137
+ property :target_resource_state, as: 'targetResourceState'
1138
+ property :update_time, as: 'updateTime'
1139
+ property :vpn_tunnel, as: 'vpnTunnel'
1140
+ end
1141
+ end
1142
+
1062
1143
  class VpnGatewayInfo
1063
1144
  # @private
1064
1145
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -638,6 +638,200 @@ module Google
638
638
  command.query['quotaUser'] = quota_user unless quota_user.nil?
639
639
  execute_or_queue_command(command, &block)
640
640
  end
641
+
642
+ # Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same
643
+ # settings already exists (even if the ID is different), the creation fails.
644
+ # Notes: 1. Creating a configuration with state=DISABLED will fail 2. The
645
+ # following fields are not considered as `settings` for the purpose of the check
646
+ # mentioned above, therefore - creating another configuration with the same
647
+ # fields but different values for the following fields will fail as well: * name
648
+ # * create_time * update_time * labels * description
649
+ # @param [String] parent
650
+ # Required. The parent resource of the VPC Flow Logs configuration to create: `
651
+ # projects/`project_id`/locations/global`
652
+ # @param [Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig] vpc_flow_logs_config_object
653
+ # @param [String] vpc_flow_logs_config_id
654
+ # Required. ID of the `VpcFlowLogsConfig`.
655
+ # @param [String] fields
656
+ # Selector specifying which fields to include in a partial response.
657
+ # @param [String] quota_user
658
+ # Available to use for quota purposes for server-side applications. Can be any
659
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
660
+ # @param [Google::Apis::RequestOptions] options
661
+ # Request-specific options
662
+ #
663
+ # @yield [result, err] Result & error if block supplied
664
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object
665
+ # @yieldparam err [StandardError] error object if request failed
666
+ #
667
+ # @return [Google::Apis::NetworkmanagementV1::Operation]
668
+ #
669
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
670
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
671
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
672
+ def create_project_location_vpc_flow_logs_config(parent, vpc_flow_logs_config_object = nil, vpc_flow_logs_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
673
+ command = make_simple_command(:post, 'v1/{+parent}/vpcFlowLogsConfigs', options)
674
+ command.request_representation = Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig::Representation
675
+ command.request_object = vpc_flow_logs_config_object
676
+ command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation
677
+ command.response_class = Google::Apis::NetworkmanagementV1::Operation
678
+ command.params['parent'] = parent unless parent.nil?
679
+ command.query['vpcFlowLogsConfigId'] = vpc_flow_logs_config_id unless vpc_flow_logs_config_id.nil?
680
+ command.query['fields'] = fields unless fields.nil?
681
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
682
+ execute_or_queue_command(command, &block)
683
+ end
684
+
685
+ # Deletes a specific `VpcFlowLogsConfig`.
686
+ # @param [String] name
687
+ # Required. `VpcFlowLogsConfig` resource name using the form: `projects/`
688
+ # project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config``
689
+ # @param [String] fields
690
+ # Selector specifying which fields to include in a partial response.
691
+ # @param [String] quota_user
692
+ # Available to use for quota purposes for server-side applications. Can be any
693
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
694
+ # @param [Google::Apis::RequestOptions] options
695
+ # Request-specific options
696
+ #
697
+ # @yield [result, err] Result & error if block supplied
698
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object
699
+ # @yieldparam err [StandardError] error object if request failed
700
+ #
701
+ # @return [Google::Apis::NetworkmanagementV1::Operation]
702
+ #
703
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
704
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
705
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
706
+ def delete_project_location_vpc_flow_logs_config(name, fields: nil, quota_user: nil, options: nil, &block)
707
+ command = make_simple_command(:delete, 'v1/{+name}', options)
708
+ command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation
709
+ command.response_class = Google::Apis::NetworkmanagementV1::Operation
710
+ command.params['name'] = name unless name.nil?
711
+ command.query['fields'] = fields unless fields.nil?
712
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
713
+ execute_or_queue_command(command, &block)
714
+ end
715
+
716
+ # Gets the details of a specific `VpcFlowLogsConfig`.
717
+ # @param [String] name
718
+ # Required. `VpcFlowLogsConfig` resource name using the form: `projects/`
719
+ # project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config``
720
+ # @param [String] fields
721
+ # Selector specifying which fields to include in a partial response.
722
+ # @param [String] quota_user
723
+ # Available to use for quota purposes for server-side applications. Can be any
724
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
725
+ # @param [Google::Apis::RequestOptions] options
726
+ # Request-specific options
727
+ #
728
+ # @yield [result, err] Result & error if block supplied
729
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig] parsed result object
730
+ # @yieldparam err [StandardError] error object if request failed
731
+ #
732
+ # @return [Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig]
733
+ #
734
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
735
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
736
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
737
+ def get_project_location_vpc_flow_logs_config(name, fields: nil, quota_user: nil, options: nil, &block)
738
+ command = make_simple_command(:get, 'v1/{+name}', options)
739
+ command.response_representation = Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig::Representation
740
+ command.response_class = Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig
741
+ command.params['name'] = name unless name.nil?
742
+ command.query['fields'] = fields unless fields.nil?
743
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
744
+ execute_or_queue_command(command, &block)
745
+ end
746
+
747
+ # Lists all `VpcFlowLogsConfigs` in a given project.
748
+ # @param [String] parent
749
+ # Required. The parent resource of the VpcFlowLogsConfig: `projects/`project_id`/
750
+ # locations/global`
751
+ # @param [String] filter
752
+ # Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A
753
+ # filter expression must use the supported [CEL logic operators] (https://cloud.
754
+ # google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
755
+ # @param [String] order_by
756
+ # Optional. Field to use to sort the list.
757
+ # @param [Fixnum] page_size
758
+ # Optional. Number of `VpcFlowLogsConfigs` to return.
759
+ # @param [String] page_token
760
+ # Optional. Page token from an earlier query, as returned in `next_page_token`.
761
+ # @param [String] fields
762
+ # Selector specifying which fields to include in a partial response.
763
+ # @param [String] quota_user
764
+ # Available to use for quota purposes for server-side applications. Can be any
765
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
766
+ # @param [Google::Apis::RequestOptions] options
767
+ # Request-specific options
768
+ #
769
+ # @yield [result, err] Result & error if block supplied
770
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::ListVpcFlowLogsConfigsResponse] parsed result object
771
+ # @yieldparam err [StandardError] error object if request failed
772
+ #
773
+ # @return [Google::Apis::NetworkmanagementV1::ListVpcFlowLogsConfigsResponse]
774
+ #
775
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
776
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
777
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
778
+ def list_project_location_vpc_flow_logs_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
779
+ command = make_simple_command(:get, 'v1/{+parent}/vpcFlowLogsConfigs', options)
780
+ command.response_representation = Google::Apis::NetworkmanagementV1::ListVpcFlowLogsConfigsResponse::Representation
781
+ command.response_class = Google::Apis::NetworkmanagementV1::ListVpcFlowLogsConfigsResponse
782
+ command.params['parent'] = parent unless parent.nil?
783
+ command.query['filter'] = filter unless filter.nil?
784
+ command.query['orderBy'] = order_by unless order_by.nil?
785
+ command.query['pageSize'] = page_size unless page_size.nil?
786
+ command.query['pageToken'] = page_token unless page_token.nil?
787
+ command.query['fields'] = fields unless fields.nil?
788
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
789
+ execute_or_queue_command(command, &block)
790
+ end
791
+
792
+ # Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact
793
+ # same settings already exists (even if the ID is different), the creation fails.
794
+ # Notes: 1. Updating a configuration with state=DISABLED will fail. 2. The
795
+ # following fields are not considered as `settings` for the purpose of the check
796
+ # mentioned above, therefore - updating another configuration with the same
797
+ # fields but different values for the following fields will fail as well: * name
798
+ # * create_time * update_time * labels * description
799
+ # @param [String] name
800
+ # Identifier. Unique name of the configuration using the form: `projects/`
801
+ # project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id``
802
+ # @param [Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig] vpc_flow_logs_config_object
803
+ # @param [String] update_mask
804
+ # Required. Mask of fields to update. At least one path must be supplied in this
805
+ # field.
806
+ # @param [String] fields
807
+ # Selector specifying which fields to include in a partial response.
808
+ # @param [String] quota_user
809
+ # Available to use for quota purposes for server-side applications. Can be any
810
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
811
+ # @param [Google::Apis::RequestOptions] options
812
+ # Request-specific options
813
+ #
814
+ # @yield [result, err] Result & error if block supplied
815
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object
816
+ # @yieldparam err [StandardError] error object if request failed
817
+ #
818
+ # @return [Google::Apis::NetworkmanagementV1::Operation]
819
+ #
820
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
821
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
822
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
823
+ def patch_project_location_vpc_flow_logs_config(name, vpc_flow_logs_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
824
+ command = make_simple_command(:patch, 'v1/{+name}', options)
825
+ command.request_representation = Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig::Representation
826
+ command.request_object = vpc_flow_logs_config_object
827
+ command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation
828
+ command.response_class = Google::Apis::NetworkmanagementV1::Operation
829
+ command.params['name'] = name unless name.nil?
830
+ command.query['updateMask'] = update_mask unless update_mask.nil?
831
+ command.query['fields'] = fields unless fields.nil?
832
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
833
+ execute_or_queue_command(command, &block)
834
+ end
641
835
 
642
836
  protected
643
837
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkmanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-08 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.52.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.54.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Network Management API V1
82
79
  test_files: []