google-apis-networkmanagement_v1beta1 0.46.0 → 0.48.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: 55730c416483d24eac578b40643374a9bdaacfa30b06e30e176c25f88f56b16f
4
- data.tar.gz: ff957384b98bf05069a49ca6cd9364868ec460f8af4ff6ff3e2f811144b8254d
3
+ metadata.gz: 58861d6b9b9d06775057f3fc9e7b57aad701e94f5b49ab7a64d3b61e6c86c509
4
+ data.tar.gz: 10bcfa1eb432dcdd69b58ea7c30bce8f7963b2ddcde3fd6a4dd98517375ac5e9
5
5
  SHA512:
6
- metadata.gz: 47437f154eb1e478cf4fb966b16ddc3becc0efb86e4f58b9729c533c5e73315a64a70bd85927b143fa139682d82742e94936942f149374dd011aaabb0670c011
7
- data.tar.gz: a8bee00575174a34f63cc3c3d5d3baa883cd1f77369498e091aab6689cd88dda4d40b976acf6293363fe09efcfe57d4e0bfb0868251c4dd7316b9ed99fa4344d
6
+ metadata.gz: 18bda0a59b6eff87bb17fbae7640a404b7eca86ea4bca22d489b2b7657e7216928d573e02409d55f327ce6824bd9c1c14ff67290c86de019ebf9d645823f0cee
7
+ data.tar.gz: 68dc1b0293a6e1b1a79051cfbd21444e0d586d3496c17a89c21daf8d9f7d4e3bc9a69bb2bb2e0c454a58aecbc22f8938d1a8c4832491869f8676c31af0571dac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-networkmanagement_v1beta1
2
2
 
3
+ ### v0.48.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240515
6
+
7
+ ### v0.47.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240501
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.46.0 (2024-04-28)
4
13
 
5
14
  * Regenerated from discovery document revision 20240417
@@ -572,11 +572,21 @@ module Google
572
572
  # @return [String]
573
573
  attr_accessor :ip_address
574
574
 
575
+ # PSC Google API target the packet is delivered to (if applicable).
576
+ # Corresponds to the JSON property `pscGoogleApiTarget`
577
+ # @return [String]
578
+ attr_accessor :psc_google_api_target
579
+
575
580
  # URI of the resource that the packet is delivered to.
576
581
  # Corresponds to the JSON property `resourceUri`
577
582
  # @return [String]
578
583
  attr_accessor :resource_uri
579
584
 
585
+ # Name of the Cloud Storage Bucket the packet is delivered to (if applicable).
586
+ # Corresponds to the JSON property `storageBucket`
587
+ # @return [String]
588
+ attr_accessor :storage_bucket
589
+
580
590
  # Target type where the packet is delivered to.
581
591
  # Corresponds to the JSON property `target`
582
592
  # @return [String]
@@ -589,7 +599,9 @@ module Google
589
599
  # Update properties of this object
590
600
  def update!(**args)
591
601
  @ip_address = args[:ip_address] if args.key?(:ip_address)
602
+ @psc_google_api_target = args[:psc_google_api_target] if args.key?(:psc_google_api_target)
592
603
  @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
604
+ @storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket)
593
605
  @target = args[:target] if args.key?(:target)
594
606
  end
595
607
  end
@@ -1022,32 +1034,53 @@ module Google
1022
1034
  class ForwardingRuleInfo
1023
1035
  include Google::Apis::Core::Hashable
1024
1036
 
1025
- # Name of a Compute Engine forwarding rule.
1037
+ # Name of the forwarding rule.
1026
1038
  # Corresponds to the JSON property `displayName`
1027
1039
  # @return [String]
1028
1040
  attr_accessor :display_name
1029
1041
 
1030
- # Port range defined in the forwarding rule that matches the test.
1042
+ # Name of the load balancer the forwarding rule belongs to. Empty for forwarding
1043
+ # rules not related to load balancers (like PSC forwarding rules).
1044
+ # Corresponds to the JSON property `loadBalancerName`
1045
+ # @return [String]
1046
+ attr_accessor :load_balancer_name
1047
+
1048
+ # Port range defined in the forwarding rule that matches the packet.
1031
1049
  # Corresponds to the JSON property `matchedPortRange`
1032
1050
  # @return [String]
1033
1051
  attr_accessor :matched_port_range
1034
1052
 
1035
- # Protocol defined in the forwarding rule that matches the test.
1053
+ # Protocol defined in the forwarding rule that matches the packet.
1036
1054
  # Corresponds to the JSON property `matchedProtocol`
1037
1055
  # @return [String]
1038
1056
  attr_accessor :matched_protocol
1039
1057
 
1040
- # Network URI. Only valid for Internal Load Balancer.
1058
+ # Network URI.
1041
1059
  # Corresponds to the JSON property `networkUri`
1042
1060
  # @return [String]
1043
1061
  attr_accessor :network_uri
1044
1062
 
1063
+ # PSC Google API target this forwarding rule targets (if applicable).
1064
+ # Corresponds to the JSON property `pscGoogleApiTarget`
1065
+ # @return [String]
1066
+ attr_accessor :psc_google_api_target
1067
+
1068
+ # URI of the PSC service attachment this forwarding rule targets (if applicable).
1069
+ # Corresponds to the JSON property `pscServiceAttachmentUri`
1070
+ # @return [String]
1071
+ attr_accessor :psc_service_attachment_uri
1072
+
1073
+ # Region of the forwarding rule. Set only for regional forwarding rules.
1074
+ # Corresponds to the JSON property `region`
1075
+ # @return [String]
1076
+ attr_accessor :region
1077
+
1045
1078
  # Target type of the forwarding rule.
1046
1079
  # Corresponds to the JSON property `target`
1047
1080
  # @return [String]
1048
1081
  attr_accessor :target
1049
1082
 
1050
- # URI of a Compute Engine forwarding rule.
1083
+ # URI of the forwarding rule.
1051
1084
  # Corresponds to the JSON property `uri`
1052
1085
  # @return [String]
1053
1086
  attr_accessor :uri
@@ -1064,9 +1097,13 @@ module Google
1064
1097
  # Update properties of this object
1065
1098
  def update!(**args)
1066
1099
  @display_name = args[:display_name] if args.key?(:display_name)
1100
+ @load_balancer_name = args[:load_balancer_name] if args.key?(:load_balancer_name)
1067
1101
  @matched_port_range = args[:matched_port_range] if args.key?(:matched_port_range)
1068
1102
  @matched_protocol = args[:matched_protocol] if args.key?(:matched_protocol)
1069
1103
  @network_uri = args[:network_uri] if args.key?(:network_uri)
1104
+ @psc_google_api_target = args[:psc_google_api_target] if args.key?(:psc_google_api_target)
1105
+ @psc_service_attachment_uri = args[:psc_service_attachment_uri] if args.key?(:psc_service_attachment_uri)
1106
+ @region = args[:region] if args.key?(:region)
1070
1107
  @target = args[:target] if args.key?(:target)
1071
1108
  @uri = args[:uri] if args.key?(:uri)
1072
1109
  @vip = args[:vip] if args.key?(:vip)
@@ -1327,37 +1364,6 @@ module Google
1327
1364
  end
1328
1365
  end
1329
1366
 
1330
- # Response for the `ListVpcFlowLogsConfigs` method.
1331
- class ListVpcFlowLogsConfigsResponse
1332
- include Google::Apis::Core::Hashable
1333
-
1334
- # Page token to fetch the next set of configurations.
1335
- # Corresponds to the JSON property `nextPageToken`
1336
- # @return [String]
1337
- attr_accessor :next_page_token
1338
-
1339
- # Locations that could not be reached (when querying all locations with `-`).
1340
- # Corresponds to the JSON property `unreachable`
1341
- # @return [Array<String>]
1342
- attr_accessor :unreachable
1343
-
1344
- # List of VPC Flow Log configurations.
1345
- # Corresponds to the JSON property `vpcFlowLogsConfigs`
1346
- # @return [Array<Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig>]
1347
- attr_accessor :vpc_flow_logs_configs
1348
-
1349
- def initialize(**args)
1350
- update!(**args)
1351
- end
1352
-
1353
- # Update properties of this object
1354
- def update!(**args)
1355
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1356
- @unreachable = args[:unreachable] if args.key?(:unreachable)
1357
- @vpc_flow_logs_configs = args[:vpc_flow_logs_configs] if args.key?(:vpc_flow_logs_configs)
1358
- end
1359
- end
1360
-
1361
1367
  # For display only. Metadata associated with a specific load balancer backend.
1362
1368
  class LoadBalancerBackend
1363
1369
  include Google::Apis::Core::Hashable
@@ -2234,6 +2240,26 @@ module Google
2234
2240
  end
2235
2241
  end
2236
2242
 
2243
+ # For display only. Metadata associated with the serverless network endpoint
2244
+ # group backend.
2245
+ class ServerlessNegInfo
2246
+ include Google::Apis::Core::Hashable
2247
+
2248
+ # URI of the serverless network endpoint group.
2249
+ # Corresponds to the JSON property `negUri`
2250
+ # @return [String]
2251
+ attr_accessor :neg_uri
2252
+
2253
+ def initialize(**args)
2254
+ update!(**args)
2255
+ end
2256
+
2257
+ # Update properties of this object
2258
+ def update!(**args)
2259
+ @neg_uri = args[:neg_uri] if args.key?(:neg_uri)
2260
+ end
2261
+ end
2262
+
2237
2263
  # Request message for `SetIamPolicy` method.
2238
2264
  class SetIamPolicyRequest
2239
2265
  include Google::Apis::Core::Hashable
@@ -2455,6 +2481,12 @@ module Google
2455
2481
  # @return [Google::Apis::NetworkmanagementV1beta1::RouteInfo]
2456
2482
  attr_accessor :route
2457
2483
 
2484
+ # For display only. Metadata associated with the serverless network endpoint
2485
+ # group backend.
2486
+ # Corresponds to the JSON property `serverlessNeg`
2487
+ # @return [Google::Apis::NetworkmanagementV1beta1::ServerlessNegInfo]
2488
+ attr_accessor :serverless_neg
2489
+
2458
2490
  # Each step is in one of the pre-defined states.
2459
2491
  # Corresponds to the JSON property `state`
2460
2492
  # @return [String]
@@ -2509,6 +2541,7 @@ module Google
2509
2541
  @project_id = args[:project_id] if args.key?(:project_id)
2510
2542
  @proxy_connection = args[:proxy_connection] if args.key?(:proxy_connection)
2511
2543
  @route = args[:route] if args.key?(:route)
2544
+ @serverless_neg = args[:serverless_neg] if args.key?(:serverless_neg)
2512
2545
  @state = args[:state] if args.key?(:state)
2513
2546
  @storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket)
2514
2547
  @vpc_connector = args[:vpc_connector] if args.key?(:vpc_connector)
@@ -2651,120 +2684,6 @@ module Google
2651
2684
  end
2652
2685
  end
2653
2686
 
2654
- # A configuration to generate VPC Flow Logs.
2655
- class VpcFlowLogsConfig
2656
- include Google::Apis::Core::Hashable
2657
-
2658
- # Optional. The aggregation interval for the logs. Default value is
2659
- # INTERVAL_5_SEC.
2660
- # Corresponds to the JSON property `aggregationInterval`
2661
- # @return [String]
2662
- attr_accessor :aggregation_interval
2663
-
2664
- # Output only. The time the config was created.
2665
- # Corresponds to the JSON property `createTime`
2666
- # @return [String]
2667
- attr_accessor :create_time
2668
-
2669
- # Optional. The user-supplied description of the VPC Flow Logs configuration.
2670
- # Maximum of 512 characters.
2671
- # Corresponds to the JSON property `description`
2672
- # @return [String]
2673
- attr_accessor :description
2674
-
2675
- # Export filter used to define which VPC flow logs should be logged.
2676
- # Corresponds to the JSON property `filterExpr`
2677
- # @return [String]
2678
- attr_accessor :filter_expr
2679
-
2680
- # Optional. The value of the field must be in [0, 1]. The sampling rate of VPC
2681
- # flow logs within the subnetwork where 1.0 means all collected logs are
2682
- # reported and 0.0 means no logs are reported. Default value is 1.0.
2683
- # Corresponds to the JSON property `flowSampling`
2684
- # @return [Float]
2685
- attr_accessor :flow_sampling
2686
-
2687
- # Traffic will be logged from the Interconnect Attachment. Format: projects/`
2688
- # project_id`/locations/`region`/interconnectAttachments/`name`
2689
- # Corresponds to the JSON property `interconnectAttachment`
2690
- # @return [String]
2691
- attr_accessor :interconnect_attachment
2692
-
2693
- # Optional. Resource labels to represent user-provided metadata.
2694
- # Corresponds to the JSON property `labels`
2695
- # @return [Hash<String,String>]
2696
- attr_accessor :labels
2697
-
2698
- # Optional. Configures whether all, none or a subset of metadata fields should
2699
- # be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.
2700
- # Corresponds to the JSON property `metadata`
2701
- # @return [String]
2702
- attr_accessor :metadata
2703
-
2704
- # Optional. Custom metadata fields to include in the reported VPC flow logs. Can
2705
- # only be specified if "metadata" was set to CUSTOM_METADATA.
2706
- # Corresponds to the JSON property `metadataFields`
2707
- # @return [Array<String>]
2708
- attr_accessor :metadata_fields
2709
-
2710
- # Identifier. Unique name of the configuration using the form: `projects/`
2711
- # project_id`/locations/global/vpcFlowLogs/`vpc_flow_log``
2712
- # Corresponds to the JSON property `name`
2713
- # @return [String]
2714
- attr_accessor :name
2715
-
2716
- # Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments
2717
- # within the network. Format: projects/`project_id`/networks/`name`
2718
- # Corresponds to the JSON property `network`
2719
- # @return [String]
2720
- attr_accessor :network
2721
-
2722
- # Optional. The state of the VPC Flow Log. Default value is ENABLED.
2723
- # Corresponds to the JSON property `state`
2724
- # @return [String]
2725
- attr_accessor :state
2726
-
2727
- # Traffic will be logged from VMs within the subnetwork. Format: projects/`
2728
- # project_id`/locations/`region`/subnetworks/`name`
2729
- # Corresponds to the JSON property `subnet`
2730
- # @return [String]
2731
- attr_accessor :subnet
2732
-
2733
- # Output only. The time the config was updated.
2734
- # Corresponds to the JSON property `updateTime`
2735
- # @return [String]
2736
- attr_accessor :update_time
2737
-
2738
- # Traffic will be logged from the VPN Tunnel. Format: projects/`project_id`/
2739
- # locations/`region`/vpnTunnels/`name`
2740
- # Corresponds to the JSON property `vpnTunnel`
2741
- # @return [String]
2742
- attr_accessor :vpn_tunnel
2743
-
2744
- def initialize(**args)
2745
- update!(**args)
2746
- end
2747
-
2748
- # Update properties of this object
2749
- def update!(**args)
2750
- @aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
2751
- @create_time = args[:create_time] if args.key?(:create_time)
2752
- @description = args[:description] if args.key?(:description)
2753
- @filter_expr = args[:filter_expr] if args.key?(:filter_expr)
2754
- @flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
2755
- @interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
2756
- @labels = args[:labels] if args.key?(:labels)
2757
- @metadata = args[:metadata] if args.key?(:metadata)
2758
- @metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
2759
- @name = args[:name] if args.key?(:name)
2760
- @network = args[:network] if args.key?(:network)
2761
- @state = args[:state] if args.key?(:state)
2762
- @subnet = args[:subnet] if args.key?(:subnet)
2763
- @update_time = args[:update_time] if args.key?(:update_time)
2764
- @vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)
2765
- end
2766
- end
2767
-
2768
2687
  # For display only. Metadata associated with a Compute Engine VPN gateway.
2769
2688
  class VpnGatewayInfo
2770
2689
  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.46.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240417"
25
+ REVISION = "20240515"
26
26
  end
27
27
  end
28
28
  end
@@ -208,12 +208,6 @@ 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
-
217
211
  class LoadBalancerBackend
218
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
213
 
@@ -298,6 +292,12 @@ module Google
298
292
  include Google::Apis::Core::JsonObjectSupport
299
293
  end
300
294
 
295
+ class ServerlessNegInfo
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
301
  class SetIamPolicyRequest
302
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
303
 
@@ -346,12 +346,6 @@ module Google
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
- class VpcFlowLogsConfig
350
- class Representation < Google::Apis::Core::JsonRepresentation; end
351
-
352
- include Google::Apis::Core::JsonObjectSupport
353
- end
354
-
355
349
  class VpnGatewayInfo
356
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
351
 
@@ -497,7 +491,9 @@ module Google
497
491
  # @private
498
492
  class Representation < Google::Apis::Core::JsonRepresentation
499
493
  property :ip_address, as: 'ipAddress'
494
+ property :psc_google_api_target, as: 'pscGoogleApiTarget'
500
495
  property :resource_uri, as: 'resourceUri'
496
+ property :storage_bucket, as: 'storageBucket'
501
497
  property :target, as: 'target'
502
498
  end
503
499
  end
@@ -603,9 +599,13 @@ module Google
603
599
  # @private
604
600
  class Representation < Google::Apis::Core::JsonRepresentation
605
601
  property :display_name, as: 'displayName'
602
+ property :load_balancer_name, as: 'loadBalancerName'
606
603
  property :matched_port_range, as: 'matchedPortRange'
607
604
  property :matched_protocol, as: 'matchedProtocol'
608
605
  property :network_uri, as: 'networkUri'
606
+ property :psc_google_api_target, as: 'pscGoogleApiTarget'
607
+ property :psc_service_attachment_uri, as: 'pscServiceAttachmentUri'
608
+ property :region, as: 'region'
609
609
  property :target, as: 'target'
610
610
  property :uri, as: 'uri'
611
611
  property :vip, as: 'vip'
@@ -688,16 +688,6 @@ module Google
688
688
  end
689
689
  end
690
690
 
691
- class ListVpcFlowLogsConfigsResponse
692
- # @private
693
- class Representation < Google::Apis::Core::JsonRepresentation
694
- property :next_page_token, as: 'nextPageToken'
695
- collection :unreachable, as: 'unreachable'
696
- collection :vpc_flow_logs_configs, as: 'vpcFlowLogsConfigs', class: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig, decorator: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
697
-
698
- end
699
- end
700
-
701
691
  class LoadBalancerBackend
702
692
  # @private
703
693
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -889,6 +879,13 @@ module Google
889
879
  end
890
880
  end
891
881
 
882
+ class ServerlessNegInfo
883
+ # @private
884
+ class Representation < Google::Apis::Core::JsonRepresentation
885
+ property :neg_uri, as: 'negUri'
886
+ end
887
+ end
888
+
892
889
  class SetIamPolicyRequest
893
890
  # @private
894
891
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -953,6 +950,8 @@ module Google
953
950
 
954
951
  property :route, as: 'route', class: Google::Apis::NetworkmanagementV1beta1::RouteInfo, decorator: Google::Apis::NetworkmanagementV1beta1::RouteInfo::Representation
955
952
 
953
+ property :serverless_neg, as: 'serverlessNeg', class: Google::Apis::NetworkmanagementV1beta1::ServerlessNegInfo, decorator: Google::Apis::NetworkmanagementV1beta1::ServerlessNegInfo::Representation
954
+
956
955
  property :state, as: 'state'
957
956
  property :storage_bucket, as: 'storageBucket', class: Google::Apis::NetworkmanagementV1beta1::StorageBucketInfo, decorator: Google::Apis::NetworkmanagementV1beta1::StorageBucketInfo::Representation
958
957
 
@@ -1006,27 +1005,6 @@ module Google
1006
1005
  end
1007
1006
  end
1008
1007
 
1009
- class VpcFlowLogsConfig
1010
- # @private
1011
- class Representation < Google::Apis::Core::JsonRepresentation
1012
- property :aggregation_interval, as: 'aggregationInterval'
1013
- property :create_time, as: 'createTime'
1014
- property :description, as: 'description'
1015
- property :filter_expr, as: 'filterExpr'
1016
- property :flow_sampling, as: 'flowSampling'
1017
- property :interconnect_attachment, as: 'interconnectAttachment'
1018
- hash :labels, as: 'labels'
1019
- property :metadata, as: 'metadata'
1020
- collection :metadata_fields, as: 'metadataFields'
1021
- property :name, as: 'name'
1022
- property :network, as: 'network'
1023
- property :state, as: 'state'
1024
- property :subnet, as: 'subnet'
1025
- property :update_time, as: 'updateTime'
1026
- property :vpn_tunnel, as: 'vpnTunnel'
1027
- end
1028
- end
1029
-
1030
1008
  class VpnGatewayInfo
1031
1009
  # @private
1032
1010
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -638,197 +638,6 @@ 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 VPC Flow Logs configuration. If a configuration with the exact
643
- # same settings already exists, the creation fails.
644
- # @param [String] parent
645
- # Required. The parent resource of the VPC Flow Logs configuration to create: `
646
- # projects/`project_id`/locations/global`
647
- # @param [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig] vpc_flow_logs_config_object
648
- # @param [String] vpc_flow_logs_config_id
649
- # Required. ID of the VpcFlowLogsConfig.
650
- # @param [String] fields
651
- # Selector specifying which fields to include in a partial response.
652
- # @param [String] quota_user
653
- # Available to use for quota purposes for server-side applications. Can be any
654
- # arbitrary string assigned to a user, but should not exceed 40 characters.
655
- # @param [Google::Apis::RequestOptions] options
656
- # Request-specific options
657
- #
658
- # @yield [result, err] Result & error if block supplied
659
- # @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Operation] parsed result object
660
- # @yieldparam err [StandardError] error object if request failed
661
- #
662
- # @return [Google::Apis::NetworkmanagementV1beta1::Operation]
663
- #
664
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
665
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
666
- # @raise [Google::Apis::AuthorizationError] Authorization is required
667
- 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)
668
- command = make_simple_command(:post, 'v1beta1/{+parent}/vpcFlowLogsConfigs', options)
669
- command.request_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
670
- command.request_object = vpc_flow_logs_config_object
671
- command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
672
- command.response_class = Google::Apis::NetworkmanagementV1beta1::Operation
673
- command.params['parent'] = parent unless parent.nil?
674
- command.query['vpcFlowLogsConfigId'] = vpc_flow_logs_config_id unless vpc_flow_logs_config_id.nil?
675
- command.query['fields'] = fields unless fields.nil?
676
- command.query['quotaUser'] = quota_user unless quota_user.nil?
677
- execute_or_queue_command(command, &block)
678
- end
679
-
680
- # Deletes a specific VpcFlowLog configuration.
681
- # @param [String] name
682
- # Required. VpcFlowLogsConfig name using the form: `projects/`project_id`/
683
- # locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config``
684
- # @param [String] fields
685
- # Selector specifying which fields to include in a partial response.
686
- # @param [String] quota_user
687
- # Available to use for quota purposes for server-side applications. Can be any
688
- # arbitrary string assigned to a user, but should not exceed 40 characters.
689
- # @param [Google::Apis::RequestOptions] options
690
- # Request-specific options
691
- #
692
- # @yield [result, err] Result & error if block supplied
693
- # @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Operation] parsed result object
694
- # @yieldparam err [StandardError] error object if request failed
695
- #
696
- # @return [Google::Apis::NetworkmanagementV1beta1::Operation]
697
- #
698
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
699
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
700
- # @raise [Google::Apis::AuthorizationError] Authorization is required
701
- def delete_project_location_vpc_flow_logs_config(name, fields: nil, quota_user: nil, options: nil, &block)
702
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
703
- command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
704
- command.response_class = Google::Apis::NetworkmanagementV1beta1::Operation
705
- command.params['name'] = name unless name.nil?
706
- command.query['fields'] = fields unless fields.nil?
707
- command.query['quotaUser'] = quota_user unless quota_user.nil?
708
- execute_or_queue_command(command, &block)
709
- end
710
-
711
- # Gets the details of a specific VPC Flow Log configuration.
712
- # @param [String] name
713
- # Required. `VpcFlowLog` resource name using the form: `projects/`project_id`/
714
- # locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config``
715
- # @param [String] fields
716
- # Selector specifying which fields to include in a partial response.
717
- # @param [String] quota_user
718
- # Available to use for quota purposes for server-side applications. Can be any
719
- # arbitrary string assigned to a user, but should not exceed 40 characters.
720
- # @param [Google::Apis::RequestOptions] options
721
- # Request-specific options
722
- #
723
- # @yield [result, err] Result & error if block supplied
724
- # @yieldparam result [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig] parsed result object
725
- # @yieldparam err [StandardError] error object if request failed
726
- #
727
- # @return [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig]
728
- #
729
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
730
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
731
- # @raise [Google::Apis::AuthorizationError] Authorization is required
732
- def get_project_location_vpc_flow_logs_config(name, fields: nil, quota_user: nil, options: nil, &block)
733
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
734
- command.response_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
735
- command.response_class = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig
736
- command.params['name'] = name unless name.nil?
737
- command.query['fields'] = fields unless fields.nil?
738
- command.query['quotaUser'] = quota_user unless quota_user.nil?
739
- execute_or_queue_command(command, &block)
740
- end
741
-
742
- # Lists all VPC Flow Logs configurations in a given project.
743
- # @param [String] parent
744
- # Required. The parent resource of the VpcFlowLogsConfig: `projects/`project_id`/
745
- # locations/global`
746
- # @param [String] filter
747
- # Optional. Lists the `VpcFlowLogsConfig`s that match the filter expression. A
748
- # filter expression filters the resources listed in the response. The expression
749
- # must be of the form ` ` where operators: `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`
750
- # are supported (colon `:` represents a HAS operator which is roughly synonymous
751
- # with equality). can refer to a proto or JSON field, or a synthetic field.
752
- # Field names can be camelCase or snake_case. Examples: - Filter by name: name =
753
- # "projects/proj-1/locations/global/vpcFlowLogsConfigs/config-1 - Filter by
754
- # target resource: - Configurations at the VPC network level target_resource.
755
- # network:* - Configurations for a VPC network called `vpc-1` target_resource.
756
- # network = vpc-1
757
- # @param [String] order_by
758
- # Optional. Field to use to sort the list.
759
- # @param [Fixnum] page_size
760
- # Optional. Number of `VpcFlowLogsConfig`s to return.
761
- # @param [String] page_token
762
- # Optional. Page token from an earlier query, as returned in `next_page_token`.
763
- # @param [String] fields
764
- # Selector specifying which fields to include in a partial response.
765
- # @param [String] quota_user
766
- # Available to use for quota purposes for server-side applications. Can be any
767
- # arbitrary string assigned to a user, but should not exceed 40 characters.
768
- # @param [Google::Apis::RequestOptions] options
769
- # Request-specific options
770
- #
771
- # @yield [result, err] Result & error if block supplied
772
- # @yieldparam result [Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse] parsed result object
773
- # @yieldparam err [StandardError] error object if request failed
774
- #
775
- # @return [Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse]
776
- #
777
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
778
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
779
- # @raise [Google::Apis::AuthorizationError] Authorization is required
780
- 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)
781
- command = make_simple_command(:get, 'v1beta1/{+parent}/vpcFlowLogsConfigs', options)
782
- command.response_representation = Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse::Representation
783
- command.response_class = Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse
784
- command.params['parent'] = parent unless parent.nil?
785
- command.query['filter'] = filter unless filter.nil?
786
- command.query['orderBy'] = order_by unless order_by.nil?
787
- command.query['pageSize'] = page_size unless page_size.nil?
788
- command.query['pageToken'] = page_token unless page_token.nil?
789
- command.query['fields'] = fields unless fields.nil?
790
- command.query['quotaUser'] = quota_user unless quota_user.nil?
791
- execute_or_queue_command(command, &block)
792
- end
793
-
794
- # Updates an existing VpcFlowLogsConfig. If a configuration with the exact same
795
- # settings already exists, the creation fails.
796
- # @param [String] name
797
- # Identifier. Unique name of the configuration using the form: `projects/`
798
- # project_id`/locations/global/vpcFlowLogs/`vpc_flow_log``
799
- # @param [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig] vpc_flow_logs_config_object
800
- # @param [String] update_mask
801
- # Required. Mask of fields to update. At least one path must be supplied in this
802
- # field.
803
- # @param [String] fields
804
- # Selector specifying which fields to include in a partial response.
805
- # @param [String] quota_user
806
- # Available to use for quota purposes for server-side applications. Can be any
807
- # arbitrary string assigned to a user, but should not exceed 40 characters.
808
- # @param [Google::Apis::RequestOptions] options
809
- # Request-specific options
810
- #
811
- # @yield [result, err] Result & error if block supplied
812
- # @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Operation] parsed result object
813
- # @yieldparam err [StandardError] error object if request failed
814
- #
815
- # @return [Google::Apis::NetworkmanagementV1beta1::Operation]
816
- #
817
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
818
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
819
- # @raise [Google::Apis::AuthorizationError] Authorization is required
820
- 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)
821
- command = make_simple_command(:patch, 'v1beta1/{+name}', options)
822
- command.request_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
823
- command.request_object = vpc_flow_logs_config_object
824
- command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
825
- command.response_class = Google::Apis::NetworkmanagementV1beta1::Operation
826
- command.params['name'] = name unless name.nil?
827
- command.query['updateMask'] = update_mask unless update_mask.nil?
828
- command.query['fields'] = fields unless fields.nil?
829
- command.query['quotaUser'] = quota_user unless quota_user.nil?
830
- execute_or_queue_command(command, &block)
831
- end
832
641
 
833
642
  protected
834
643
 
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.46.0
4
+ version: 0.48.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-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.48.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: []