google-apis-networkmanagement_v1beta1 0.49.0 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be906612660f44f0e9b6d8d28c4425660d88d2ee588cfc56e8cd84e7da3d7ffa
4
- data.tar.gz: 36c50da7fcb10376fbc1e353ad3c34d2eed6d8d0a8d10aa5726f0f4c79e04bd1
3
+ metadata.gz: df2918328f2a49c119a533232c64714191b9849f56f52d34e3a5f8f4a95a5e65
4
+ data.tar.gz: 577b333663a6a5cf37bbe45e0dc8b0a2d1bb787f09f6914978d7ad84d0398ba9
5
5
  SHA512:
6
- metadata.gz: 04d6eb36ffbca103e31f72602892c5797b59a0db82e1348ee8dbe0ab0fad97a894c4f5d39996de042c26cbba8ff01adf6bf5094db955b7f41b01c1e8f8deb91b
7
- data.tar.gz: a382836206299cecdd48dcb71469006efe26552c34d4d2a226ea6738174c579d3d9beba92519e00a67f26b28d12cbb1f02e3d3d5b72044a70022b49ac653a425
6
+ metadata.gz: b6ae389cff70cc19d3088ff187a43c2850fd4c7480345d112131be382835283b45f3c5b6347d877a15b169cefecd4a3d6e5060f3aff10a8bdea3dc5f2b4f7c03
7
+ data.tar.gz: 0d7f6d78b1036fdd5c90a671be25e80fa97025fb690844cfe949d787dfe98496727bce1bb547251ef6c3d31935fea311aa18f8cf36f5bd6114737b59ece39a31
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-networkmanagement_v1beta1
2
2
 
3
+ ### v0.51.0 (2024-12-08)
4
+
5
+ * Regenerated from discovery document revision 20241202
6
+
7
+ ### v0.50.0 (2024-12-02)
8
+
9
+ * Regenerated from discovery document revision 20241106
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.49.0 (2024-06-16)
4
13
 
5
14
  * Regenerated from discovery document revision 20240605
@@ -394,12 +394,6 @@ module Google
394
394
  # @return [String]
395
395
  attr_accessor :location
396
396
 
397
- # ID of Cloud Run Service this revision belongs to. Was never set, is not
398
- # exported to v1 proto and public protos. Do not export to v1beta1 public proto.
399
- # Corresponds to the JSON property `serviceName`
400
- # @return [String]
401
- attr_accessor :service_name
402
-
403
397
  # URI of Cloud Run service this revision belongs to.
404
398
  # Corresponds to the JSON property `serviceUri`
405
399
  # @return [String]
@@ -418,7 +412,6 @@ module Google
418
412
  def update!(**args)
419
413
  @display_name = args[:display_name] if args.key?(:display_name)
420
414
  @location = args[:location] if args.key?(:location)
421
- @service_name = args[:service_name] if args.key?(:service_name)
422
415
  @service_uri = args[:service_uri] if args.key?(:service_uri)
423
416
  @uri = args[:uri] if args.key?(:uri)
424
417
  end
@@ -538,6 +531,18 @@ module Google
538
531
  # @return [Array<String>]
539
532
  attr_accessor :related_projects
540
533
 
534
+ # Results of the configuration analysis from the last run of the test.
535
+ # Corresponds to the JSON property `returnReachabilityDetails`
536
+ # @return [Google::Apis::NetworkmanagementV1beta1::ReachabilityDetails]
537
+ attr_accessor :return_reachability_details
538
+
539
+ # Whether run analysis for the return path from destination to source. Default
540
+ # value is false.
541
+ # Corresponds to the JSON property `roundTrip`
542
+ # @return [Boolean]
543
+ attr_accessor :round_trip
544
+ alias_method :round_trip?, :round_trip
545
+
541
546
  # Source or destination of the Connectivity Test.
542
547
  # Corresponds to the JSON property `source`
543
548
  # @return [Google::Apis::NetworkmanagementV1beta1::Endpoint]
@@ -565,6 +570,8 @@ module Google
565
570
  @protocol = args[:protocol] if args.key?(:protocol)
566
571
  @reachability_details = args[:reachability_details] if args.key?(:reachability_details)
567
572
  @related_projects = args[:related_projects] if args.key?(:related_projects)
573
+ @return_reachability_details = args[:return_reachability_details] if args.key?(:return_reachability_details)
574
+ @round_trip = args[:round_trip] if args.key?(:round_trip)
568
575
  @source = args[:source] if args.key?(:source)
569
576
  @update_time = args[:update_time] if args.key?(:update_time)
570
577
  end
@@ -731,8 +738,16 @@ module Google
731
738
  # @return [String]
732
739
  attr_accessor :forwarding_rule_target
733
740
 
734
- # A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/
735
- # kubernetes-engine/docs/concepts/cluster-architecture).
741
+ # DNS endpoint of [Google Kubernetes Engine cluster control plane](https://cloud.
742
+ # google.com/kubernetes-engine/docs/concepts/cluster-architecture). Requires
743
+ # gke_master_cluster to be set, can't be used simultaneoulsly with ip_address or
744
+ # network. Applicable only to destination endpoint.
745
+ # Corresponds to the JSON property `fqdn`
746
+ # @return [String]
747
+ attr_accessor :fqdn
748
+
749
+ # A cluster URI for [Google Kubernetes Engine cluster control plane](https://
750
+ # cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).
736
751
  # Corresponds to the JSON property `gkeMasterCluster`
737
752
  # @return [String]
738
753
  attr_accessor :gke_master_cluster
@@ -786,6 +801,16 @@ module Google
786
801
  # @return [String]
787
802
  attr_accessor :project_id
788
803
 
804
+ # A [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.
805
+ # Corresponds to the JSON property `redisCluster`
806
+ # @return [String]
807
+ attr_accessor :redis_cluster
808
+
809
+ # A [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.
810
+ # Corresponds to the JSON property `redisInstance`
811
+ # @return [String]
812
+ attr_accessor :redis_instance
813
+
789
814
  def initialize(**args)
790
815
  update!(**args)
791
816
  end
@@ -798,6 +823,7 @@ module Google
798
823
  @cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
799
824
  @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
800
825
  @forwarding_rule_target = args[:forwarding_rule_target] if args.key?(:forwarding_rule_target)
826
+ @fqdn = args[:fqdn] if args.key?(:fqdn)
801
827
  @gke_master_cluster = args[:gke_master_cluster] if args.key?(:gke_master_cluster)
802
828
  @instance = args[:instance] if args.key?(:instance)
803
829
  @ip_address = args[:ip_address] if args.key?(:ip_address)
@@ -807,6 +833,8 @@ module Google
807
833
  @network_type = args[:network_type] if args.key?(:network_type)
808
834
  @port = args[:port] if args.key?(:port)
809
835
  @project_id = args[:project_id] if args.key?(:project_id)
836
+ @redis_cluster = args[:redis_cluster] if args.key?(:redis_cluster)
837
+ @redis_instance = args[:redis_instance] if args.key?(:redis_instance)
810
838
  end
811
839
  end
812
840
 
@@ -928,7 +956,7 @@ module Google
928
956
  end
929
957
 
930
958
  # For display only. Metadata associated with a VPC firewall rule, an implied VPC
931
- # firewall rule, or a hierarchical firewall policy rule.
959
+ # firewall rule, or a firewall policy rule.
932
960
  class FirewallInfo
933
961
  include Google::Apis::Core::Hashable
934
962
 
@@ -942,8 +970,8 @@ module Google
942
970
  # @return [String]
943
971
  attr_accessor :direction
944
972
 
945
- # The display name of the VPC firewall rule. This field is not applicable to
946
- # hierarchical firewall policy rules.
973
+ # The display name of the firewall rule. This field might be empty for firewall
974
+ # policy rules.
947
975
  # Corresponds to the JSON property `displayName`
948
976
  # @return [String]
949
977
  attr_accessor :display_name
@@ -959,12 +987,18 @@ module Google
959
987
  # @return [String]
960
988
  attr_accessor :network_uri
961
989
 
962
- # The hierarchical firewall policy that this rule is associated with. This field
963
- # is not applicable to VPC firewall rules.
990
+ # The name of the firewall policy that this rule is associated with. This field
991
+ # is not applicable to VPC firewall rules and implied VPC firewall rules.
964
992
  # Corresponds to the JSON property `policy`
965
993
  # @return [String]
966
994
  attr_accessor :policy
967
995
 
996
+ # The URI of the firewall policy that this rule is associated with. This field
997
+ # is not applicable to VPC firewall rules and implied VPC firewall rules.
998
+ # Corresponds to the JSON property `policyUri`
999
+ # @return [String]
1000
+ attr_accessor :policy_uri
1001
+
968
1002
  # The priority of the firewall rule.
969
1003
  # Corresponds to the JSON property `priority`
970
1004
  # @return [Fixnum]
@@ -976,13 +1010,13 @@ module Google
976
1010
  attr_accessor :target_service_accounts
977
1011
 
978
1012
  # The target tags defined by the VPC firewall rule. This field is not applicable
979
- # to hierarchical firewall policy rules.
1013
+ # to firewall policy rules.
980
1014
  # Corresponds to the JSON property `targetTags`
981
1015
  # @return [Array<String>]
982
1016
  attr_accessor :target_tags
983
1017
 
984
- # The URI of the VPC firewall rule. This field is not applicable to implied
985
- # firewall rules or hierarchical firewall policy rules.
1018
+ # The URI of the firewall rule. This field is not applicable to implied VPC
1019
+ # firewall rules.
986
1020
  # Corresponds to the JSON property `uri`
987
1021
  # @return [String]
988
1022
  attr_accessor :uri
@@ -999,6 +1033,7 @@ module Google
999
1033
  @firewall_rule_type = args[:firewall_rule_type] if args.key?(:firewall_rule_type)
1000
1034
  @network_uri = args[:network_uri] if args.key?(:network_uri)
1001
1035
  @policy = args[:policy] if args.key?(:policy)
1036
+ @policy_uri = args[:policy_uri] if args.key?(:policy_uri)
1002
1037
  @priority = args[:priority] if args.key?(:priority)
1003
1038
  @target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
1004
1039
  @target_tags = args[:target_tags] if args.key?(:target_tags)
@@ -1132,12 +1167,17 @@ module Google
1132
1167
  # @return [String]
1133
1168
  attr_accessor :cluster_uri
1134
1169
 
1135
- # External IP address of a GKE cluster master.
1170
+ # DNS endpoint of a GKE cluster control plane.
1171
+ # Corresponds to the JSON property `dnsEndpoint`
1172
+ # @return [String]
1173
+ attr_accessor :dns_endpoint
1174
+
1175
+ # External IP address of a GKE cluster control plane.
1136
1176
  # Corresponds to the JSON property `externalIp`
1137
1177
  # @return [String]
1138
1178
  attr_accessor :external_ip
1139
1179
 
1140
- # Internal IP address of a GKE cluster master.
1180
+ # Internal IP address of a GKE cluster control plane.
1141
1181
  # Corresponds to the JSON property `internalIp`
1142
1182
  # @return [String]
1143
1183
  attr_accessor :internal_ip
@@ -1150,6 +1190,7 @@ module Google
1150
1190
  def update!(**args)
1151
1191
  @cluster_network_uri = args[:cluster_network_uri] if args.key?(:cluster_network_uri)
1152
1192
  @cluster_uri = args[:cluster_uri] if args.key?(:cluster_uri)
1193
+ @dns_endpoint = args[:dns_endpoint] if args.key?(:dns_endpoint)
1153
1194
  @external_ip = args[:external_ip] if args.key?(:external_ip)
1154
1195
  @internal_ip = args[:internal_ip] if args.key?(:internal_ip)
1155
1196
  end
@@ -1218,6 +1259,11 @@ module Google
1218
1259
  # @return [String]
1219
1260
  attr_accessor :network_uri
1220
1261
 
1262
+ # URI of the PSC network attachment the NIC is attached to (if relevant).
1263
+ # Corresponds to the JSON property `pscNetworkAttachmentUri`
1264
+ # @return [String]
1265
+ attr_accessor :psc_network_attachment_uri
1266
+
1221
1267
  # Service account authorized for the instance.
1222
1268
  # Corresponds to the JSON property `serviceAccount`
1223
1269
  # @return [String]
@@ -1240,6 +1286,7 @@ module Google
1240
1286
  @internal_ip = args[:internal_ip] if args.key?(:internal_ip)
1241
1287
  @network_tags = args[:network_tags] if args.key?(:network_tags)
1242
1288
  @network_uri = args[:network_uri] if args.key?(:network_uri)
1289
+ @psc_network_attachment_uri = args[:psc_network_attachment_uri] if args.key?(:psc_network_attachment_uri)
1243
1290
  @service_account = args[:service_account] if args.key?(:service_account)
1244
1291
  @uri = args[:uri] if args.key?(:uri)
1245
1292
  end
@@ -1371,6 +1418,37 @@ module Google
1371
1418
  end
1372
1419
  end
1373
1420
 
1421
+ # Response for the `ListVpcFlowLogsConfigs` method.
1422
+ class ListVpcFlowLogsConfigsResponse
1423
+ include Google::Apis::Core::Hashable
1424
+
1425
+ # Page token to fetch the next set of configurations.
1426
+ # Corresponds to the JSON property `nextPageToken`
1427
+ # @return [String]
1428
+ attr_accessor :next_page_token
1429
+
1430
+ # Locations that could not be reached (when querying all locations with `-`).
1431
+ # Corresponds to the JSON property `unreachable`
1432
+ # @return [Array<String>]
1433
+ attr_accessor :unreachable
1434
+
1435
+ # List of VPC Flow Log configurations.
1436
+ # Corresponds to the JSON property `vpcFlowLogsConfigs`
1437
+ # @return [Array<Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig>]
1438
+ attr_accessor :vpc_flow_logs_configs
1439
+
1440
+ def initialize(**args)
1441
+ update!(**args)
1442
+ end
1443
+
1444
+ # Update properties of this object
1445
+ def update!(**args)
1446
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1447
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1448
+ @vpc_flow_logs_configs = args[:vpc_flow_logs_configs] if args.key?(:vpc_flow_logs_configs)
1449
+ end
1450
+ end
1451
+
1374
1452
  # For display only. Metadata associated with a specific load balancer backend.
1375
1453
  class LoadBalancerBackend
1376
1454
  include Google::Apis::Core::Hashable
@@ -1679,7 +1757,8 @@ module Google
1679
1757
  end
1680
1758
  end
1681
1759
 
1682
- # For display only. Metadata associated with a Compute Engine network.
1760
+ # For display only. Metadata associated with a Compute Engine network. Next ID:
1761
+ # 7
1683
1762
  class NetworkInfo
1684
1763
  include Google::Apis::Core::Hashable
1685
1764
 
@@ -1688,11 +1767,21 @@ module Google
1688
1767
  # @return [String]
1689
1768
  attr_accessor :display_name
1690
1769
 
1691
- # The IP range that matches the test.
1770
+ # The IP range of the subnet matching the source IP address of the test.
1692
1771
  # Corresponds to the JSON property `matchedIpRange`
1693
1772
  # @return [String]
1694
1773
  attr_accessor :matched_ip_range
1695
1774
 
1775
+ # URI of the subnet matching the source IP address of the test.
1776
+ # Corresponds to the JSON property `matchedSubnetUri`
1777
+ # @return [String]
1778
+ attr_accessor :matched_subnet_uri
1779
+
1780
+ # The region of the subnet matching the source IP address of the test.
1781
+ # Corresponds to the JSON property `region`
1782
+ # @return [String]
1783
+ attr_accessor :region
1784
+
1696
1785
  # URI of a Compute Engine network.
1697
1786
  # Corresponds to the JSON property `uri`
1698
1787
  # @return [String]
@@ -1706,6 +1795,8 @@ module Google
1706
1795
  def update!(**args)
1707
1796
  @display_name = args[:display_name] if args.key?(:display_name)
1708
1797
  @matched_ip_range = args[:matched_ip_range] if args.key?(:matched_ip_range)
1798
+ @matched_subnet_uri = args[:matched_subnet_uri] if args.key?(:matched_subnet_uri)
1799
+ @region = args[:region] if args.key?(:region)
1709
1800
  @uri = args[:uri] if args.key?(:uri)
1710
1801
  end
1711
1802
  end
@@ -2123,6 +2214,107 @@ module Google
2123
2214
  end
2124
2215
  end
2125
2216
 
2217
+ # For display only. Metadata associated with a Redis Cluster.
2218
+ class RedisClusterInfo
2219
+ include Google::Apis::Core::Hashable
2220
+
2221
+ # Discovery endpoint IP address of a Redis Cluster.
2222
+ # Corresponds to the JSON property `discoveryEndpointIpAddress`
2223
+ # @return [String]
2224
+ attr_accessor :discovery_endpoint_ip_address
2225
+
2226
+ # Name of a Redis Cluster.
2227
+ # Corresponds to the JSON property `displayName`
2228
+ # @return [String]
2229
+ attr_accessor :display_name
2230
+
2231
+ # Name of the region in which the Redis Cluster is defined. For example, "us-
2232
+ # central1".
2233
+ # Corresponds to the JSON property `location`
2234
+ # @return [String]
2235
+ attr_accessor :location
2236
+
2237
+ # URI of a Redis Cluster network in format "projects/`project_id`/global/
2238
+ # networks/`network_id`".
2239
+ # Corresponds to the JSON property `networkUri`
2240
+ # @return [String]
2241
+ attr_accessor :network_uri
2242
+
2243
+ # Secondary endpoint IP address of a Redis Cluster.
2244
+ # Corresponds to the JSON property `secondaryEndpointIpAddress`
2245
+ # @return [String]
2246
+ attr_accessor :secondary_endpoint_ip_address
2247
+
2248
+ # URI of a Redis Cluster in format "projects/`project_id`/locations/`location`/
2249
+ # clusters/`cluster_id`"
2250
+ # Corresponds to the JSON property `uri`
2251
+ # @return [String]
2252
+ attr_accessor :uri
2253
+
2254
+ def initialize(**args)
2255
+ update!(**args)
2256
+ end
2257
+
2258
+ # Update properties of this object
2259
+ def update!(**args)
2260
+ @discovery_endpoint_ip_address = args[:discovery_endpoint_ip_address] if args.key?(:discovery_endpoint_ip_address)
2261
+ @display_name = args[:display_name] if args.key?(:display_name)
2262
+ @location = args[:location] if args.key?(:location)
2263
+ @network_uri = args[:network_uri] if args.key?(:network_uri)
2264
+ @secondary_endpoint_ip_address = args[:secondary_endpoint_ip_address] if args.key?(:secondary_endpoint_ip_address)
2265
+ @uri = args[:uri] if args.key?(:uri)
2266
+ end
2267
+ end
2268
+
2269
+ # For display only. Metadata associated with a Cloud Redis Instance.
2270
+ class RedisInstanceInfo
2271
+ include Google::Apis::Core::Hashable
2272
+
2273
+ # Name of a Cloud Redis Instance.
2274
+ # Corresponds to the JSON property `displayName`
2275
+ # @return [String]
2276
+ attr_accessor :display_name
2277
+
2278
+ # URI of a Cloud Redis Instance network.
2279
+ # Corresponds to the JSON property `networkUri`
2280
+ # @return [String]
2281
+ attr_accessor :network_uri
2282
+
2283
+ # Primary endpoint IP address of a Cloud Redis Instance.
2284
+ # Corresponds to the JSON property `primaryEndpointIp`
2285
+ # @return [String]
2286
+ attr_accessor :primary_endpoint_ip
2287
+
2288
+ # Read endpoint IP address of a Cloud Redis Instance (if applicable).
2289
+ # Corresponds to the JSON property `readEndpointIp`
2290
+ # @return [String]
2291
+ attr_accessor :read_endpoint_ip
2292
+
2293
+ # Region in which the Cloud Redis Instance is defined.
2294
+ # Corresponds to the JSON property `region`
2295
+ # @return [String]
2296
+ attr_accessor :region
2297
+
2298
+ # URI of a Cloud Redis Instance.
2299
+ # Corresponds to the JSON property `uri`
2300
+ # @return [String]
2301
+ attr_accessor :uri
2302
+
2303
+ def initialize(**args)
2304
+ update!(**args)
2305
+ end
2306
+
2307
+ # Update properties of this object
2308
+ def update!(**args)
2309
+ @display_name = args[:display_name] if args.key?(:display_name)
2310
+ @network_uri = args[:network_uri] if args.key?(:network_uri)
2311
+ @primary_endpoint_ip = args[:primary_endpoint_ip] if args.key?(:primary_endpoint_ip)
2312
+ @read_endpoint_ip = args[:read_endpoint_ip] if args.key?(:read_endpoint_ip)
2313
+ @region = args[:region] if args.key?(:region)
2314
+ @uri = args[:uri] if args.key?(:uri)
2315
+ end
2316
+ end
2317
+
2126
2318
  # Request for the `RerunConnectivityTest` method.
2127
2319
  class RerunConnectivityTestRequest
2128
2320
  include Google::Apis::Core::Hashable
@@ -2140,6 +2332,19 @@ module Google
2140
2332
  class RouteInfo
2141
2333
  include Google::Apis::Core::Hashable
2142
2334
 
2335
+ # For advertised routes, the URI of their next hop, i.e. the URI of the hybrid
2336
+ # endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the
2337
+ # advertised prefix is advertised through, or URI of the source peered network.
2338
+ # Corresponds to the JSON property `advertisedRouteNextHopUri`
2339
+ # @return [String]
2340
+ attr_accessor :advertised_route_next_hop_uri
2341
+
2342
+ # For advertised dynamic routes, the URI of the Cloud Router that advertised the
2343
+ # corresponding IP prefix.
2344
+ # Corresponds to the JSON property `advertisedRouteSourceRouterUri`
2345
+ # @return [String]
2346
+ attr_accessor :advertised_route_source_router_uri
2347
+
2143
2348
  # Destination IP range of the route.
2144
2349
  # Corresponds to the JSON property `destIpRange`
2145
2350
  # @return [String]
@@ -2195,6 +2400,11 @@ module Google
2195
2400
  # @return [Array<String>]
2196
2401
  attr_accessor :protocols
2197
2402
 
2403
+ # Region of the route (if applicable).
2404
+ # Corresponds to the JSON property `region`
2405
+ # @return [String]
2406
+ attr_accessor :region
2407
+
2198
2408
  # Indicates where route is applicable.
2199
2409
  # Corresponds to the JSON property `routeScope`
2200
2410
  # @return [String]
@@ -2215,9 +2425,7 @@ module Google
2215
2425
  # @return [Array<String>]
2216
2426
  attr_accessor :src_port_ranges
2217
2427
 
2218
- # URI of a route. Dynamic, peering static and peering dynamic routes do not have
2219
- # an URI. Advertised route from Google Cloud VPC to on-premises network also
2220
- # does not have an URI.
2428
+ # URI of a route (if applicable).
2221
2429
  # Corresponds to the JSON property `uri`
2222
2430
  # @return [String]
2223
2431
  attr_accessor :uri
@@ -2228,6 +2436,8 @@ module Google
2228
2436
 
2229
2437
  # Update properties of this object
2230
2438
  def update!(**args)
2439
+ @advertised_route_next_hop_uri = args[:advertised_route_next_hop_uri] if args.key?(:advertised_route_next_hop_uri)
2440
+ @advertised_route_source_router_uri = args[:advertised_route_source_router_uri] if args.key?(:advertised_route_source_router_uri)
2231
2441
  @dest_ip_range = args[:dest_ip_range] if args.key?(:dest_ip_range)
2232
2442
  @dest_port_ranges = args[:dest_port_ranges] if args.key?(:dest_port_ranges)
2233
2443
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -2239,6 +2449,7 @@ module Google
2239
2449
  @next_hop_type = args[:next_hop_type] if args.key?(:next_hop_type)
2240
2450
  @priority = args[:priority] if args.key?(:priority)
2241
2451
  @protocols = args[:protocols] if args.key?(:protocols)
2452
+ @region = args[:region] if args.key?(:region)
2242
2453
  @route_scope = args[:route_scope] if args.key?(:route_scope)
2243
2454
  @route_type = args[:route_type] if args.key?(:route_type)
2244
2455
  @src_ip_range = args[:src_ip_range] if args.key?(:src_ip_range)
@@ -2418,7 +2629,7 @@ module Google
2418
2629
  attr_accessor :endpoint
2419
2630
 
2420
2631
  # For display only. Metadata associated with a VPC firewall rule, an implied VPC
2421
- # firewall rule, or a hierarchical firewall policy rule.
2632
+ # firewall rule, or a firewall policy rule.
2422
2633
  # Corresponds to the JSON property `firewall`
2423
2634
  # @return [Google::Apis::NetworkmanagementV1beta1::FirewallInfo]
2424
2635
  attr_accessor :firewall
@@ -2468,7 +2679,8 @@ module Google
2468
2679
  # @return [Google::Apis::NetworkmanagementV1beta1::NatInfo]
2469
2680
  attr_accessor :nat
2470
2681
 
2471
- # For display only. Metadata associated with a Compute Engine network.
2682
+ # For display only. Metadata associated with a Compute Engine network. Next ID:
2683
+ # 7
2472
2684
  # Corresponds to the JSON property `network`
2473
2685
  # @return [Google::Apis::NetworkmanagementV1beta1::NetworkInfo]
2474
2686
  attr_accessor :network
@@ -2483,6 +2695,16 @@ module Google
2483
2695
  # @return [Google::Apis::NetworkmanagementV1beta1::ProxyConnectionInfo]
2484
2696
  attr_accessor :proxy_connection
2485
2697
 
2698
+ # For display only. Metadata associated with a Redis Cluster.
2699
+ # Corresponds to the JSON property `redisCluster`
2700
+ # @return [Google::Apis::NetworkmanagementV1beta1::RedisClusterInfo]
2701
+ attr_accessor :redis_cluster
2702
+
2703
+ # For display only. Metadata associated with a Cloud Redis Instance.
2704
+ # Corresponds to the JSON property `redisInstance`
2705
+ # @return [Google::Apis::NetworkmanagementV1beta1::RedisInstanceInfo]
2706
+ attr_accessor :redis_instance
2707
+
2486
2708
  # For display only. Metadata associated with a Compute Engine route.
2487
2709
  # Corresponds to the JSON property `route`
2488
2710
  # @return [Google::Apis::NetworkmanagementV1beta1::RouteInfo]
@@ -2547,6 +2769,8 @@ module Google
2547
2769
  @network = args[:network] if args.key?(:network)
2548
2770
  @project_id = args[:project_id] if args.key?(:project_id)
2549
2771
  @proxy_connection = args[:proxy_connection] if args.key?(:proxy_connection)
2772
+ @redis_cluster = args[:redis_cluster] if args.key?(:redis_cluster)
2773
+ @redis_instance = args[:redis_instance] if args.key?(:redis_instance)
2550
2774
  @route = args[:route] if args.key?(:route)
2551
2775
  @serverless_neg = args[:serverless_neg] if args.key?(:serverless_neg)
2552
2776
  @state = args[:state] if args.key?(:state)
@@ -2691,6 +2915,115 @@ module Google
2691
2915
  end
2692
2916
  end
2693
2917
 
2918
+ # A configuration to generate VPC Flow Logs.
2919
+ class VpcFlowLogsConfig
2920
+ include Google::Apis::Core::Hashable
2921
+
2922
+ # Optional. The aggregation interval for the logs. Default value is
2923
+ # INTERVAL_5_SEC.
2924
+ # Corresponds to the JSON property `aggregationInterval`
2925
+ # @return [String]
2926
+ attr_accessor :aggregation_interval
2927
+
2928
+ # Output only. The time the config was created.
2929
+ # Corresponds to the JSON property `createTime`
2930
+ # @return [String]
2931
+ attr_accessor :create_time
2932
+
2933
+ # Optional. The user-supplied description of the VPC Flow Logs configuration.
2934
+ # Maximum of 512 characters.
2935
+ # Corresponds to the JSON property `description`
2936
+ # @return [String]
2937
+ attr_accessor :description
2938
+
2939
+ # Optional. Export filter used to define which VPC Flow Logs should be logged.
2940
+ # Corresponds to the JSON property `filterExpr`
2941
+ # @return [String]
2942
+ attr_accessor :filter_expr
2943
+
2944
+ # Optional. The value of the field must be in (0, 1]. The sampling rate of VPC
2945
+ # Flow Logs where 1.0 means all collected logs are reported. Setting the
2946
+ # sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use
2947
+ # the state field instead. Default value is 1.0.
2948
+ # Corresponds to the JSON property `flowSampling`
2949
+ # @return [Float]
2950
+ attr_accessor :flow_sampling
2951
+
2952
+ # Traffic will be logged from the Interconnect Attachment. Format: projects/`
2953
+ # project_id`/regions/`region`/interconnectAttachments/`name`
2954
+ # Corresponds to the JSON property `interconnectAttachment`
2955
+ # @return [String]
2956
+ attr_accessor :interconnect_attachment
2957
+
2958
+ # Optional. Resource labels to represent user-provided metadata.
2959
+ # Corresponds to the JSON property `labels`
2960
+ # @return [Hash<String,String>]
2961
+ attr_accessor :labels
2962
+
2963
+ # Optional. Configures whether all, none or a subset of metadata fields should
2964
+ # be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.
2965
+ # Corresponds to the JSON property `metadata`
2966
+ # @return [String]
2967
+ attr_accessor :metadata
2968
+
2969
+ # Optional. Custom metadata fields to include in the reported VPC flow logs. Can
2970
+ # only be specified if "metadata" was set to CUSTOM_METADATA.
2971
+ # Corresponds to the JSON property `metadataFields`
2972
+ # @return [Array<String>]
2973
+ attr_accessor :metadata_fields
2974
+
2975
+ # Identifier. Unique name of the configuration using the form: `projects/`
2976
+ # project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id``
2977
+ # Corresponds to the JSON property `name`
2978
+ # @return [String]
2979
+ attr_accessor :name
2980
+
2981
+ # Optional. The state of the VPC Flow Log configuration. Default value is
2982
+ # ENABLED. When creating a new configuration, it must be enabled.
2983
+ # Corresponds to the JSON property `state`
2984
+ # @return [String]
2985
+ attr_accessor :state
2986
+
2987
+ # Output only. A diagnostic bit - describes the state of the configured target
2988
+ # resource for diagnostic purposes.
2989
+ # Corresponds to the JSON property `targetResourceState`
2990
+ # @return [String]
2991
+ attr_accessor :target_resource_state
2992
+
2993
+ # Output only. The time the config was updated.
2994
+ # Corresponds to the JSON property `updateTime`
2995
+ # @return [String]
2996
+ attr_accessor :update_time
2997
+
2998
+ # Traffic will be logged from the VPN Tunnel. Format: projects/`project_id`/
2999
+ # regions/`region`/vpnTunnels/`name`
3000
+ # Corresponds to the JSON property `vpnTunnel`
3001
+ # @return [String]
3002
+ attr_accessor :vpn_tunnel
3003
+
3004
+ def initialize(**args)
3005
+ update!(**args)
3006
+ end
3007
+
3008
+ # Update properties of this object
3009
+ def update!(**args)
3010
+ @aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
3011
+ @create_time = args[:create_time] if args.key?(:create_time)
3012
+ @description = args[:description] if args.key?(:description)
3013
+ @filter_expr = args[:filter_expr] if args.key?(:filter_expr)
3014
+ @flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
3015
+ @interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
3016
+ @labels = args[:labels] if args.key?(:labels)
3017
+ @metadata = args[:metadata] if args.key?(:metadata)
3018
+ @metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
3019
+ @name = args[:name] if args.key?(:name)
3020
+ @state = args[:state] if args.key?(:state)
3021
+ @target_resource_state = args[:target_resource_state] if args.key?(:target_resource_state)
3022
+ @update_time = args[:update_time] if args.key?(:update_time)
3023
+ @vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)
3024
+ end
3025
+ end
3026
+
2694
3027
  # For display only. Metadata associated with a Compute Engine VPN gateway.
2695
3028
  class VpnGatewayInfo
2696
3029
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkmanagementV1beta1
18
18
  # Version of the google-apis-networkmanagement_v1beta1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240605"
25
+ REVISION = "20241202"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class ListVpcFlowLogsConfigsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class LoadBalancerBackend
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -280,6 +286,18 @@ module Google
280
286
  include Google::Apis::Core::JsonObjectSupport
281
287
  end
282
288
 
289
+ class RedisClusterInfo
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class RedisInstanceInfo
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
283
301
  class RerunConnectivityTestRequest
284
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
303
 
@@ -346,6 +364,12 @@ module Google
346
364
  include Google::Apis::Core::JsonObjectSupport
347
365
  end
348
366
 
367
+ class VpcFlowLogsConfig
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
349
373
  class VpnGatewayInfo
350
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
375
 
@@ -447,7 +471,6 @@ module Google
447
471
  class Representation < Google::Apis::Core::JsonRepresentation
448
472
  property :display_name, as: 'displayName'
449
473
  property :location, as: 'location'
450
- property :service_name, as: 'serviceName'
451
474
  property :service_uri, as: 'serviceUri'
452
475
  property :uri, as: 'uri'
453
476
  end
@@ -482,6 +505,9 @@ module Google
482
505
  property :reachability_details, as: 'reachabilityDetails', class: Google::Apis::NetworkmanagementV1beta1::ReachabilityDetails, decorator: Google::Apis::NetworkmanagementV1beta1::ReachabilityDetails::Representation
483
506
 
484
507
  collection :related_projects, as: 'relatedProjects'
508
+ property :return_reachability_details, as: 'returnReachabilityDetails', class: Google::Apis::NetworkmanagementV1beta1::ReachabilityDetails, decorator: Google::Apis::NetworkmanagementV1beta1::ReachabilityDetails::Representation
509
+
510
+ property :round_trip, as: 'roundTrip'
485
511
  property :source, as: 'source', class: Google::Apis::NetworkmanagementV1beta1::Endpoint, decorator: Google::Apis::NetworkmanagementV1beta1::Endpoint::Representation
486
512
 
487
513
  property :update_time, as: 'updateTime'
@@ -535,6 +561,7 @@ module Google
535
561
  property :cloud_sql_instance, as: 'cloudSqlInstance'
536
562
  property :forwarding_rule, as: 'forwardingRule'
537
563
  property :forwarding_rule_target, as: 'forwardingRuleTarget'
564
+ property :fqdn, as: 'fqdn'
538
565
  property :gke_master_cluster, as: 'gkeMasterCluster'
539
566
  property :instance, as: 'instance'
540
567
  property :ip_address, as: 'ipAddress'
@@ -544,6 +571,8 @@ module Google
544
571
  property :network_type, as: 'networkType'
545
572
  property :port, as: 'port'
546
573
  property :project_id, as: 'projectId'
574
+ property :redis_cluster, as: 'redisCluster'
575
+ property :redis_instance, as: 'redisInstance'
547
576
  end
548
577
  end
549
578
 
@@ -580,6 +609,7 @@ module Google
580
609
  property :firewall_rule_type, as: 'firewallRuleType'
581
610
  property :network_uri, as: 'networkUri'
582
611
  property :policy, as: 'policy'
612
+ property :policy_uri, as: 'policyUri'
583
613
  property :priority, as: 'priority'
584
614
  collection :target_service_accounts, as: 'targetServiceAccounts'
585
615
  collection :target_tags, as: 'targetTags'
@@ -618,6 +648,7 @@ module Google
618
648
  class Representation < Google::Apis::Core::JsonRepresentation
619
649
  property :cluster_network_uri, as: 'clusterNetworkUri'
620
650
  property :cluster_uri, as: 'clusterUri'
651
+ property :dns_endpoint, as: 'dnsEndpoint'
621
652
  property :external_ip, as: 'externalIp'
622
653
  property :internal_ip, as: 'internalIp'
623
654
  end
@@ -640,6 +671,7 @@ module Google
640
671
  property :internal_ip, as: 'internalIp'
641
672
  collection :network_tags, as: 'networkTags'
642
673
  property :network_uri, as: 'networkUri'
674
+ property :psc_network_attachment_uri, as: 'pscNetworkAttachmentUri'
643
675
  property :service_account, as: 'serviceAccount'
644
676
  property :uri, as: 'uri'
645
677
  end
@@ -689,6 +721,16 @@ module Google
689
721
  end
690
722
  end
691
723
 
724
+ class ListVpcFlowLogsConfigsResponse
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :next_page_token, as: 'nextPageToken'
728
+ collection :unreachable, as: 'unreachable'
729
+ collection :vpc_flow_logs_configs, as: 'vpcFlowLogsConfigs', class: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig, decorator: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
730
+
731
+ end
732
+ end
733
+
692
734
  class LoadBalancerBackend
693
735
  # @private
694
736
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -763,6 +805,8 @@ module Google
763
805
  class Representation < Google::Apis::Core::JsonRepresentation
764
806
  property :display_name, as: 'displayName'
765
807
  property :matched_ip_range, as: 'matchedIpRange'
808
+ property :matched_subnet_uri, as: 'matchedSubnetUri'
809
+ property :region, as: 'region'
766
810
  property :uri, as: 'uri'
767
811
  end
768
812
  end
@@ -852,6 +896,30 @@ module Google
852
896
  end
853
897
  end
854
898
 
899
+ class RedisClusterInfo
900
+ # @private
901
+ class Representation < Google::Apis::Core::JsonRepresentation
902
+ property :discovery_endpoint_ip_address, as: 'discoveryEndpointIpAddress'
903
+ property :display_name, as: 'displayName'
904
+ property :location, as: 'location'
905
+ property :network_uri, as: 'networkUri'
906
+ property :secondary_endpoint_ip_address, as: 'secondaryEndpointIpAddress'
907
+ property :uri, as: 'uri'
908
+ end
909
+ end
910
+
911
+ class RedisInstanceInfo
912
+ # @private
913
+ class Representation < Google::Apis::Core::JsonRepresentation
914
+ property :display_name, as: 'displayName'
915
+ property :network_uri, as: 'networkUri'
916
+ property :primary_endpoint_ip, as: 'primaryEndpointIp'
917
+ property :read_endpoint_ip, as: 'readEndpointIp'
918
+ property :region, as: 'region'
919
+ property :uri, as: 'uri'
920
+ end
921
+ end
922
+
855
923
  class RerunConnectivityTestRequest
856
924
  # @private
857
925
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -861,6 +929,8 @@ module Google
861
929
  class RouteInfo
862
930
  # @private
863
931
  class Representation < Google::Apis::Core::JsonRepresentation
932
+ property :advertised_route_next_hop_uri, as: 'advertisedRouteNextHopUri'
933
+ property :advertised_route_source_router_uri, as: 'advertisedRouteSourceRouterUri'
864
934
  property :dest_ip_range, as: 'destIpRange'
865
935
  collection :dest_port_ranges, as: 'destPortRanges'
866
936
  property :display_name, as: 'displayName'
@@ -872,6 +942,7 @@ module Google
872
942
  property :next_hop_type, as: 'nextHopType'
873
943
  property :priority, as: 'priority'
874
944
  collection :protocols, as: 'protocols'
945
+ property :region, as: 'region'
875
946
  property :route_scope, as: 'routeScope'
876
947
  property :route_type, as: 'routeType'
877
948
  property :src_ip_range, as: 'srcIpRange'
@@ -949,6 +1020,10 @@ module Google
949
1020
  property :project_id, as: 'projectId'
950
1021
  property :proxy_connection, as: 'proxyConnection', class: Google::Apis::NetworkmanagementV1beta1::ProxyConnectionInfo, decorator: Google::Apis::NetworkmanagementV1beta1::ProxyConnectionInfo::Representation
951
1022
 
1023
+ property :redis_cluster, as: 'redisCluster', class: Google::Apis::NetworkmanagementV1beta1::RedisClusterInfo, decorator: Google::Apis::NetworkmanagementV1beta1::RedisClusterInfo::Representation
1024
+
1025
+ property :redis_instance, as: 'redisInstance', class: Google::Apis::NetworkmanagementV1beta1::RedisInstanceInfo, decorator: Google::Apis::NetworkmanagementV1beta1::RedisInstanceInfo::Representation
1026
+
952
1027
  property :route, as: 'route', class: Google::Apis::NetworkmanagementV1beta1::RouteInfo, decorator: Google::Apis::NetworkmanagementV1beta1::RouteInfo::Representation
953
1028
 
954
1029
  property :serverless_neg, as: 'serverlessNeg', class: Google::Apis::NetworkmanagementV1beta1::ServerlessNegInfo, decorator: Google::Apis::NetworkmanagementV1beta1::ServerlessNegInfo::Representation
@@ -1006,6 +1081,26 @@ module Google
1006
1081
  end
1007
1082
  end
1008
1083
 
1084
+ class VpcFlowLogsConfig
1085
+ # @private
1086
+ class Representation < Google::Apis::Core::JsonRepresentation
1087
+ property :aggregation_interval, as: 'aggregationInterval'
1088
+ property :create_time, as: 'createTime'
1089
+ property :description, as: 'description'
1090
+ property :filter_expr, as: 'filterExpr'
1091
+ property :flow_sampling, as: 'flowSampling'
1092
+ property :interconnect_attachment, as: 'interconnectAttachment'
1093
+ hash :labels, as: 'labels'
1094
+ property :metadata, as: 'metadata'
1095
+ collection :metadata_fields, as: 'metadataFields'
1096
+ property :name, as: 'name'
1097
+ property :state, as: 'state'
1098
+ property :target_resource_state, as: 'targetResourceState'
1099
+ property :update_time, as: 'updateTime'
1100
+ property :vpn_tunnel, as: 'vpnTunnel'
1101
+ end
1102
+ end
1103
+
1009
1104
  class VpnGatewayInfo
1010
1105
  # @private
1011
1106
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -501,8 +501,8 @@ module Google
501
501
  # Clients can use Operations.GetOperation or other methods to check whether the
502
502
  # cancellation succeeded or whether the operation completed despite cancellation.
503
503
  # On successful cancellation, the operation is not deleted; instead, it becomes
504
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
505
- # corresponding to `Code.CANCELLED`.
504
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
505
+ # , corresponding to `Code.CANCELLED`.
506
506
  # @param [String] name
507
507
  # The name of the operation resource to be cancelled.
508
508
  # @param [Google::Apis::NetworkmanagementV1beta1::CancelOperationRequest] cancel_operation_request_object
@@ -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::NetworkmanagementV1beta1::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::NetworkmanagementV1beta1::Operation] parsed result object
665
+ # @yieldparam err [StandardError] error object if request failed
666
+ #
667
+ # @return [Google::Apis::NetworkmanagementV1beta1::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, 'v1beta1/{+parent}/vpcFlowLogsConfigs', options)
674
+ command.request_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
675
+ command.request_object = vpc_flow_logs_config_object
676
+ command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
677
+ command.response_class = Google::Apis::NetworkmanagementV1beta1::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::NetworkmanagementV1beta1::Operation] parsed result object
699
+ # @yieldparam err [StandardError] error object if request failed
700
+ #
701
+ # @return [Google::Apis::NetworkmanagementV1beta1::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, 'v1beta1/{+name}', options)
708
+ command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
709
+ command.response_class = Google::Apis::NetworkmanagementV1beta1::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::NetworkmanagementV1beta1::VpcFlowLogsConfig] parsed result object
730
+ # @yieldparam err [StandardError] error object if request failed
731
+ #
732
+ # @return [Google::Apis::NetworkmanagementV1beta1::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, 'v1beta1/{+name}', options)
739
+ command.response_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
740
+ command.response_class = Google::Apis::NetworkmanagementV1beta1::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::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse] parsed result object
771
+ # @yieldparam err [StandardError] error object if request failed
772
+ #
773
+ # @return [Google::Apis::NetworkmanagementV1beta1::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, 'v1beta1/{+parent}/vpcFlowLogsConfigs', options)
780
+ command.response_representation = Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse::Representation
781
+ command.response_class = Google::Apis::NetworkmanagementV1beta1::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::NetworkmanagementV1beta1::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::NetworkmanagementV1beta1::Operation] parsed result object
816
+ # @yieldparam err [StandardError] error object if request failed
817
+ #
818
+ # @return [Google::Apis::NetworkmanagementV1beta1::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, 'v1beta1/{+name}', options)
825
+ command.request_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
826
+ command.request_object = vpc_flow_logs_config_object
827
+ command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
828
+ command.response_class = Google::Apis::NetworkmanagementV1beta1::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,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkmanagement_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.51.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-06-16 00:00:00.000000000 Z
11
+ date: 2024-12-08 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-networkmanagement_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.51.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1beta1
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.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Network Management API V1beta1