google-apis-networkmanagement_v1beta1 0.45.0 → 0.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/networkmanagement_v1beta1/classes.rb +1 -140
- data/lib/google/apis/networkmanagement_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/networkmanagement_v1beta1/representations.rb +0 -42
- data/lib/google/apis/networkmanagement_v1beta1/service.rb +1 -192
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5db709432c9a00d65f9304119d38beded7903cbe3733a7efeff537a56aae355f
|
4
|
+
data.tar.gz: e33cf9218eb41f9e0e93b52685df0891b448067347a082e350eb8fd10dd8c20e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7944e7ead02b49bed93dcdf8eb631a71050c3321fff6b420ccfacfdd057f7bdbaaacaf2f0226688ee4243608ac5158bfaf630a345cc7154b0cb6eb4dc615ff01
|
7
|
+
data.tar.gz: c0ff5a14b805cae293d7eb2436d062d021c8f0e21ff220259688f055b2591583c3a5677235c9f366b8bb6de7140f01e188f0b055f155a505ec84b043071336e4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-networkmanagement_v1beta1
|
2
2
|
|
3
|
+
### v0.47.0 (2024-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240501
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
8
|
+
### v0.46.0 (2024-04-28)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240417
|
11
|
+
|
3
12
|
### v0.45.0 (2024-04-21)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240410
|
@@ -504,7 +504,7 @@ module Google
|
|
504
504
|
# @return [Hash<String,String>]
|
505
505
|
attr_accessor :labels
|
506
506
|
|
507
|
-
#
|
507
|
+
# Identifier. Unique name of the resource using the form: `projects/`project_id`/
|
508
508
|
# locations/global/connectivityTests/`test``
|
509
509
|
# Corresponds to the JSON property `name`
|
510
510
|
# @return [String]
|
@@ -1327,37 +1327,6 @@ module Google
|
|
1327
1327
|
end
|
1328
1328
|
end
|
1329
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
|
-
|
1361
1330
|
# For display only. Metadata associated with a specific load balancer backend.
|
1362
1331
|
class LoadBalancerBackend
|
1363
1332
|
include Google::Apis::Core::Hashable
|
@@ -2651,114 +2620,6 @@ module Google
|
|
2651
2620
|
end
|
2652
2621
|
end
|
2653
2622
|
|
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
|
-
|
2762
2623
|
# For display only. Metadata associated with a Compute Engine VPN gateway.
|
2763
2624
|
class VpnGatewayInfo
|
2764
2625
|
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.
|
19
|
+
GEM_VERSION = "0.47.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240501"
|
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
|
|
@@ -346,12 +340,6 @@ module Google
|
|
346
340
|
include Google::Apis::Core::JsonObjectSupport
|
347
341
|
end
|
348
342
|
|
349
|
-
class VpcFlowLogsConfig
|
350
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
-
|
352
|
-
include Google::Apis::Core::JsonObjectSupport
|
353
|
-
end
|
354
|
-
|
355
343
|
class VpnGatewayInfo
|
356
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
345
|
|
@@ -688,16 +676,6 @@ module Google
|
|
688
676
|
end
|
689
677
|
end
|
690
678
|
|
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
679
|
class LoadBalancerBackend
|
702
680
|
# @private
|
703
681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1006,26 +984,6 @@ module Google
|
|
1006
984
|
end
|
1007
985
|
end
|
1008
986
|
|
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
|
-
|
1029
987
|
class VpnGatewayInfo
|
1030
988
|
# @private
|
1031
989
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -342,7 +342,7 @@ module Google
|
|
342
342
|
# in `ConnectivityTest` are incomplete, the reachability result returns a value
|
343
343
|
# of `AMBIGUOUS`. See the documentation in `ConnectivityTest` for more details.
|
344
344
|
# @param [String] name
|
345
|
-
#
|
345
|
+
# Identifier. Unique name of the resource using the form: `projects/`project_id`/
|
346
346
|
# locations/global/connectivityTests/`test``
|
347
347
|
# @param [Google::Apis::NetworkmanagementV1beta1::ConnectivityTest] connectivity_test_object
|
348
348
|
# @param [String] update_mask
|
@@ -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.
|
4
|
+
version: 0.47.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-
|
11
|
+
date: 2024-05-19 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.
|
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.
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.47.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: []
|