google-apis-networkmanagement_v1beta1 0.44.0 → 0.45.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: f6d7c72f4606f9e6c7a6ec94af78ffcd768750fa1c7d5b2059f6dae1d1a30048
4
- data.tar.gz: f9d509ca60640a487d1b1bad0670e50ed9b0ba957a5626c1462482473fafd1fd
3
+ metadata.gz: 81c6f3e45b5a80ac264ddf4f8f2eb24e1ce098b11854fcd5c7f0d6fab2b7120a
4
+ data.tar.gz: 5b2ed62843f30f87b5c3a48a08360ee2cd4ef7f83cab3aa3353ae260abeb4730
5
5
  SHA512:
6
- metadata.gz: 6b28dd9761fdbe526c7ecb3cd326dab6621c3d0e3feb31222eaef6db938da3a6176064fd7ddaadc7ec88c8c7a955b1711f7275b77e7a21c59c5274641eb04430
7
- data.tar.gz: c229a9b8e6334f60f8204722b6ec2a67bde0ff0458f0dfaabeb0767ae21d6b4df9d1ccb5f3884e1f4ccf1931ded24d77a0c8e3637bef33bf8014099cf8bc18e6
6
+ metadata.gz: e580b40b1e23f6482c77ca77ef90a4d50d465958576f34365cf061d5ee2f328a53f388d27e7411e1c400771792e398f7ed1e5619cff415a77781c3cadbad8235
7
+ data.tar.gz: 9e23a5f62a73be1299353943ee3d233e73d6ef6ec6d3ee6fc8ef2d9bb9668b34d16d1a26612602678999111bb1439f24e0fa4d6a727242cda9b2b87b139c93a2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkmanagement_v1beta1
2
2
 
3
+ ### v0.45.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240410
6
+
3
7
  ### v0.44.0 (2024-03-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20240306
@@ -394,11 +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.
398
- # Corresponds to the JSON property `serviceName`
399
- # @return [String]
400
- attr_accessor :service_name
401
-
402
397
  # URI of Cloud Run service this revision belongs to.
403
398
  # Corresponds to the JSON property `serviceUri`
404
399
  # @return [String]
@@ -417,7 +412,6 @@ module Google
417
412
  def update!(**args)
418
413
  @display_name = args[:display_name] if args.key?(:display_name)
419
414
  @location = args[:location] if args.key?(:location)
420
- @service_name = args[:service_name] if args.key?(:service_name)
421
415
  @service_uri = args[:service_uri] if args.key?(:service_uri)
422
416
  @uri = args[:uri] if args.key?(:uri)
423
417
  end
@@ -1333,6 +1327,37 @@ module Google
1333
1327
  end
1334
1328
  end
1335
1329
 
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
+
1336
1361
  # For display only. Metadata associated with a specific load balancer backend.
1337
1362
  class LoadBalancerBackend
1338
1363
  include Google::Apis::Core::Hashable
@@ -2626,6 +2651,114 @@ module Google
2626
2651
  end
2627
2652
  end
2628
2653
 
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. Configures whether all, none or a subset of metadata fields should
2694
+ # be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.
2695
+ # Corresponds to the JSON property `metadata`
2696
+ # @return [String]
2697
+ attr_accessor :metadata
2698
+
2699
+ # Optional. Custom metadata fields to include in the reported VPC flow logs. Can
2700
+ # only be specified if "metadata" was set to CUSTOM_METADATA.
2701
+ # Corresponds to the JSON property `metadataFields`
2702
+ # @return [Array<String>]
2703
+ attr_accessor :metadata_fields
2704
+
2705
+ # Identifier. Unique name of the configuration using the form: `projects/`
2706
+ # project_id`/locations/global/vpcFlowLogs/`vpc_flow_log``
2707
+ # Corresponds to the JSON property `name`
2708
+ # @return [String]
2709
+ attr_accessor :name
2710
+
2711
+ # Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments
2712
+ # within the network. Format: projects/`project_id`/networks/`name`
2713
+ # Corresponds to the JSON property `network`
2714
+ # @return [String]
2715
+ attr_accessor :network
2716
+
2717
+ # Optional. The state of the VPC Flow Log. Default value is ENABLED.
2718
+ # Corresponds to the JSON property `state`
2719
+ # @return [String]
2720
+ attr_accessor :state
2721
+
2722
+ # Traffic will be logged from VMs within the subnetwork. Format: projects/`
2723
+ # project_id`/locations/`region`/subnetworks/`name`
2724
+ # Corresponds to the JSON property `subnet`
2725
+ # @return [String]
2726
+ attr_accessor :subnet
2727
+
2728
+ # Output only. The time the config was updated.
2729
+ # Corresponds to the JSON property `updateTime`
2730
+ # @return [String]
2731
+ attr_accessor :update_time
2732
+
2733
+ # Traffic will be logged from the VPN Tunnel. Format: projects/`project_id`/
2734
+ # locations/`region`/vpnTunnels/`name`
2735
+ # Corresponds to the JSON property `vpnTunnel`
2736
+ # @return [String]
2737
+ attr_accessor :vpn_tunnel
2738
+
2739
+ def initialize(**args)
2740
+ update!(**args)
2741
+ end
2742
+
2743
+ # Update properties of this object
2744
+ def update!(**args)
2745
+ @aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
2746
+ @create_time = args[:create_time] if args.key?(:create_time)
2747
+ @description = args[:description] if args.key?(:description)
2748
+ @filter_expr = args[:filter_expr] if args.key?(:filter_expr)
2749
+ @flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
2750
+ @interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
2751
+ @metadata = args[:metadata] if args.key?(:metadata)
2752
+ @metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
2753
+ @name = args[:name] if args.key?(:name)
2754
+ @network = args[:network] if args.key?(:network)
2755
+ @state = args[:state] if args.key?(:state)
2756
+ @subnet = args[:subnet] if args.key?(:subnet)
2757
+ @update_time = args[:update_time] if args.key?(:update_time)
2758
+ @vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)
2759
+ end
2760
+ end
2761
+
2629
2762
  # For display only. Metadata associated with a Compute Engine VPN gateway.
2630
2763
  class VpnGatewayInfo
2631
2764
  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.44.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240306"
25
+ REVISION = "20240410"
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
 
@@ -340,6 +346,12 @@ module Google
340
346
  include Google::Apis::Core::JsonObjectSupport
341
347
  end
342
348
 
349
+ class VpcFlowLogsConfig
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
343
355
  class VpnGatewayInfo
344
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
357
 
@@ -441,7 +453,6 @@ module Google
441
453
  class Representation < Google::Apis::Core::JsonRepresentation
442
454
  property :display_name, as: 'displayName'
443
455
  property :location, as: 'location'
444
- property :service_name, as: 'serviceName'
445
456
  property :service_uri, as: 'serviceUri'
446
457
  property :uri, as: 'uri'
447
458
  end
@@ -677,6 +688,16 @@ module Google
677
688
  end
678
689
  end
679
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
+
680
701
  class LoadBalancerBackend
681
702
  # @private
682
703
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -985,6 +1006,26 @@ module Google
985
1006
  end
986
1007
  end
987
1008
 
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
+ property :metadata, as: 'metadata'
1019
+ collection :metadata_fields, as: 'metadataFields'
1020
+ property :name, as: 'name'
1021
+ property :network, as: 'network'
1022
+ property :state, as: 'state'
1023
+ property :subnet, as: 'subnet'
1024
+ property :update_time, as: 'updateTime'
1025
+ property :vpn_tunnel, as: 'vpnTunnel'
1026
+ end
1027
+ end
1028
+
988
1029
  class VpnGatewayInfo
989
1030
  # @private
990
1031
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -340,8 +340,7 @@ module Google
340
340
  # permissions to the network configurations of listed projects), then the
341
341
  # reachability result returns a value of UNKNOWN. If the endpoint specifications
342
342
  # in `ConnectivityTest` are incomplete, the reachability result returns a value
343
- # of `AMBIGUOUS`. See the documentation in `ConnectivityTest` for for more
344
- # details.
343
+ # of `AMBIGUOUS`. See the documentation in `ConnectivityTest` for more details.
345
344
  # @param [String] name
346
345
  # Required. Unique name of the resource using the form: `projects/`project_id`/
347
346
  # locations/global/connectivityTests/`test``
@@ -639,6 +638,197 @@ module Google
639
638
  command.query['quotaUser'] = quota_user unless quota_user.nil?
640
639
  execute_or_queue_command(command, &block)
641
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
642
832
 
643
833
  protected
644
834
 
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.44.0
4
+ version: 0.45.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-03-17 00:00:00.000000000 Z
11
+ date: 2024-04-21 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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.45.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: []