google-apis-networkmanagement_v1beta1 0.58.0 → 0.60.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: f54f7357df3c83ad59587fa98c79b1237107a53777c4d03d5f0502b8a79effcf
4
- data.tar.gz: 00f83ccb2dcd22edf996d123f459a002d5ea4cc5d273d526ccc5b77af3384aca
3
+ metadata.gz: 2b773a43fc028476dc69bc11021aa861d5265dfafb0b730d31f55560e0373336
4
+ data.tar.gz: cb8004a44e7656c4cd7a34c4a49dfc94260232da04c200e05ad2763b4150d97f
5
5
  SHA512:
6
- metadata.gz: 717c32bcc91bc1612167a18220a9ab29e76105edf33f68f9082fd9ebb5fbfc885782edd857dab6afa1f80385665c6f5bc6cbd2212dadab974512871522bf5556
7
- data.tar.gz: a5a8f1a73fcd54b3adef2de9f49d409c866844e8a40024d9cade1a1bc9efa9d9669025aa7ac730f71adc5a7d00f645005cf9dee928b70dfccb88cb7706bc9844
6
+ metadata.gz: 3f4b06e52f33a68122e9629c6606656fdce567b174dfbb6d9b277f2d0898dd2145abaa3db3d918fc64ddd3e241310dc6724c7df80f7467dd1bebaddd84186ad9
7
+ data.tar.gz: '08100946d53fb9c4ac8f15525025df50a412204df9a7f5f5956ae0f8e7a0770c06b7cab4001f194a307091168d1c4348c8cf7ad885fbde61da04c3efedb14f5a'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-networkmanagement_v1beta1
2
2
 
3
+ ### v0.60.0 (2025-06-01)
4
+
5
+ * Regenerated from discovery document revision 20250527
6
+
7
+ ### v0.59.0 (2025-05-25)
8
+
9
+ * Regenerated from discovery document revision 20250521
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.58.0 (2025-05-04)
4
13
 
5
14
  * Regenerated from discovery document revision 20250423
@@ -580,6 +580,11 @@ module Google
580
580
  class DeliverInfo
581
581
  include Google::Apis::Core::Hashable
582
582
 
583
+ # Recognized type of a Google Service the packet is delivered to (if applicable).
584
+ # Corresponds to the JSON property `googleServiceType`
585
+ # @return [String]
586
+ attr_accessor :google_service_type
587
+
583
588
  # IP address of the target (if applicable).
584
589
  # Corresponds to the JSON property `ipAddress`
585
590
  # @return [String]
@@ -611,6 +616,7 @@ module Google
611
616
 
612
617
  # Update properties of this object
613
618
  def update!(**args)
619
+ @google_service_type = args[:google_service_type] if args.key?(:google_service_type)
614
620
  @ip_address = args[:ip_address] if args.key?(:ip_address)
615
621
  @psc_google_api_target = args[:psc_google_api_target] if args.key?(:psc_google_api_target)
616
622
  @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
@@ -1044,6 +1050,12 @@ module Google
1044
1050
  # @return [String]
1045
1051
  attr_accessor :policy
1046
1052
 
1053
+ # The priority of the firewall policy that this rule is associated with. This
1054
+ # field is not applicable to VPC firewall rules and implied VPC firewall rules.
1055
+ # Corresponds to the JSON property `policyPriority`
1056
+ # @return [Fixnum]
1057
+ attr_accessor :policy_priority
1058
+
1047
1059
  # The URI of the firewall policy that this rule is associated with. This field
1048
1060
  # is not applicable to VPC firewall rules and implied VPC firewall rules.
1049
1061
  # Corresponds to the JSON property `policyUri`
@@ -1084,6 +1096,7 @@ module Google
1084
1096
  @firewall_rule_type = args[:firewall_rule_type] if args.key?(:firewall_rule_type)
1085
1097
  @network_uri = args[:network_uri] if args.key?(:network_uri)
1086
1098
  @policy = args[:policy] if args.key?(:policy)
1099
+ @policy_priority = args[:policy_priority] if args.key?(:policy_priority)
1087
1100
  @policy_uri = args[:policy_uri] if args.key?(:policy_uri)
1088
1101
  @priority = args[:priority] if args.key?(:priority)
1089
1102
  @target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
@@ -1815,8 +1828,7 @@ module Google
1815
1828
  end
1816
1829
  end
1817
1830
 
1818
- # For display only. Metadata associated with a Compute Engine network. Next ID:
1819
- # 7
1831
+ # For display only. Metadata associated with a Compute Engine network.
1820
1832
  class NetworkInfo
1821
1833
  include Google::Apis::Core::Hashable
1822
1834
 
@@ -2241,6 +2253,37 @@ module Google
2241
2253
  end
2242
2254
  end
2243
2255
 
2256
+ # Response for the `QueryVpcFlowLogsConfigs` method.
2257
+ class QueryOrgVpcFlowLogsConfigsResponse
2258
+ include Google::Apis::Core::Hashable
2259
+
2260
+ # Page token to fetch the next set of configurations.
2261
+ # Corresponds to the JSON property `nextPageToken`
2262
+ # @return [String]
2263
+ attr_accessor :next_page_token
2264
+
2265
+ # Locations that could not be reached (when querying all locations with `-`).
2266
+ # Corresponds to the JSON property `unreachable`
2267
+ # @return [Array<String>]
2268
+ attr_accessor :unreachable
2269
+
2270
+ # List of VPC Flow Log configurations.
2271
+ # Corresponds to the JSON property `vpcFlowLogsConfigs`
2272
+ # @return [Array<Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig>]
2273
+ attr_accessor :vpc_flow_logs_configs
2274
+
2275
+ def initialize(**args)
2276
+ update!(**args)
2277
+ end
2278
+
2279
+ # Update properties of this object
2280
+ def update!(**args)
2281
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2282
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2283
+ @vpc_flow_logs_configs = args[:vpc_flow_logs_configs] if args.key?(:vpc_flow_logs_configs)
2284
+ end
2285
+ end
2286
+
2244
2287
  # Results of the configuration analysis from the last run of the test.
2245
2288
  class ReachabilityDetails
2246
2289
  include Google::Apis::Core::Hashable
@@ -2868,8 +2911,7 @@ module Google
2868
2911
  # @return [Google::Apis::NetworkmanagementV1beta1::NatInfo]
2869
2912
  attr_accessor :nat
2870
2913
 
2871
- # For display only. Metadata associated with a Compute Engine network. Next ID:
2872
- # 7
2914
+ # For display only. Metadata associated with a Compute Engine network.
2873
2915
  # Corresponds to the JSON property `network`
2874
2916
  # @return [Google::Apis::NetworkmanagementV1beta1::NetworkInfo]
2875
2917
  attr_accessor :network
@@ -3126,6 +3168,13 @@ module Google
3126
3168
  # @return [String]
3127
3169
  attr_accessor :create_time
3128
3170
 
3171
+ # Optional. Determines whether to include cross project annotations in the logs.
3172
+ # This field is available only for organization configurations. If not specified
3173
+ # in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
3174
+ # Corresponds to the JSON property `crossProjectMetadata`
3175
+ # @return [String]
3176
+ attr_accessor :cross_project_metadata
3177
+
3129
3178
  # Optional. The user-supplied description of the VPC Flow Logs configuration.
3130
3179
  # Maximum of 512 characters.
3131
3180
  # Corresponds to the JSON property `description`
@@ -3176,6 +3225,12 @@ module Google
3176
3225
  # @return [String]
3177
3226
  attr_accessor :name
3178
3227
 
3228
+ # Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments
3229
+ # within the network. Format: projects/`project_id`/global/networks/`name`
3230
+ # Corresponds to the JSON property `network`
3231
+ # @return [String]
3232
+ attr_accessor :network
3233
+
3179
3234
  # Optional. The state of the VPC Flow Log configuration. Default value is
3180
3235
  # ENABLED. When creating a new configuration, it must be enabled. Setting state=
3181
3236
  # DISABLED will pause the log generation for this config.
@@ -3183,6 +3238,12 @@ module Google
3183
3238
  # @return [String]
3184
3239
  attr_accessor :state
3185
3240
 
3241
+ # Traffic will be logged from VMs within the subnetwork. Format: projects/`
3242
+ # project_id`/regions/`region`/subnetworks/`name`
3243
+ # Corresponds to the JSON property `subnet`
3244
+ # @return [String]
3245
+ attr_accessor :subnet
3246
+
3186
3247
  # Output only. A diagnostic bit - describes the state of the configured target
3187
3248
  # resource for diagnostic purposes.
3188
3249
  # Corresponds to the JSON property `targetResourceState`
@@ -3208,6 +3269,7 @@ module Google
3208
3269
  def update!(**args)
3209
3270
  @aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
3210
3271
  @create_time = args[:create_time] if args.key?(:create_time)
3272
+ @cross_project_metadata = args[:cross_project_metadata] if args.key?(:cross_project_metadata)
3211
3273
  @description = args[:description] if args.key?(:description)
3212
3274
  @filter_expr = args[:filter_expr] if args.key?(:filter_expr)
3213
3275
  @flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
@@ -3216,7 +3278,9 @@ module Google
3216
3278
  @metadata = args[:metadata] if args.key?(:metadata)
3217
3279
  @metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
3218
3280
  @name = args[:name] if args.key?(:name)
3281
+ @network = args[:network] if args.key?(:network)
3219
3282
  @state = args[:state] if args.key?(:state)
3283
+ @subnet = args[:subnet] if args.key?(:subnet)
3220
3284
  @target_resource_state = args[:target_resource_state] if args.key?(:target_resource_state)
3221
3285
  @update_time = args[:update_time] if args.key?(:update_time)
3222
3286
  @vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)
@@ -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.58.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250423"
25
+ REVISION = "20250527"
26
26
  end
27
27
  end
28
28
  end
@@ -286,6 +286,12 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
+ class QueryOrgVpcFlowLogsConfigsResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
289
295
  class ReachabilityDetails
290
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
297
 
@@ -535,6 +541,7 @@ module Google
535
541
  class DeliverInfo
536
542
  # @private
537
543
  class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :google_service_type, as: 'googleServiceType'
538
545
  property :ip_address, as: 'ipAddress'
539
546
  property :psc_google_api_target, as: 'pscGoogleApiTarget'
540
547
  property :resource_uri, as: 'resourceUri'
@@ -639,6 +646,7 @@ module Google
639
646
  property :firewall_rule_type, as: 'firewallRuleType'
640
647
  property :network_uri, as: 'networkUri'
641
648
  property :policy, as: 'policy'
649
+ property :policy_priority, as: 'policyPriority'
642
650
  property :policy_uri, as: 'policyUri'
643
651
  property :priority, as: 'priority'
644
652
  collection :target_service_accounts, as: 'targetServiceAccounts'
@@ -918,6 +926,16 @@ module Google
918
926
  end
919
927
  end
920
928
 
929
+ class QueryOrgVpcFlowLogsConfigsResponse
930
+ # @private
931
+ class Representation < Google::Apis::Core::JsonRepresentation
932
+ property :next_page_token, as: 'nextPageToken'
933
+ collection :unreachable, as: 'unreachable'
934
+ collection :vpc_flow_logs_configs, as: 'vpcFlowLogsConfigs', class: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig, decorator: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
935
+
936
+ end
937
+ end
938
+
921
939
  class ReachabilityDetails
922
940
  # @private
923
941
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1150,6 +1168,7 @@ module Google
1150
1168
  class Representation < Google::Apis::Core::JsonRepresentation
1151
1169
  property :aggregation_interval, as: 'aggregationInterval'
1152
1170
  property :create_time, as: 'createTime'
1171
+ property :cross_project_metadata, as: 'crossProjectMetadata'
1153
1172
  property :description, as: 'description'
1154
1173
  property :filter_expr, as: 'filterExpr'
1155
1174
  property :flow_sampling, as: 'flowSampling'
@@ -1158,7 +1177,9 @@ module Google
1158
1177
  property :metadata, as: 'metadata'
1159
1178
  collection :metadata_fields, as: 'metadataFields'
1160
1179
  property :name, as: 'name'
1180
+ property :network, as: 'network'
1161
1181
  property :state, as: 'state'
1182
+ property :subnet, as: 'subnet'
1162
1183
  property :target_resource_state, as: 'targetResourceState'
1163
1184
  property :update_time, as: 'updateTime'
1164
1185
  property :vpn_tunnel, as: 'vpnTunnel'
@@ -273,6 +273,207 @@ module Google
273
273
  execute_or_queue_command(command, &block)
274
274
  end
275
275
 
276
+ # Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same
277
+ # settings already exists (even if the ID is different), the creation fails.
278
+ # Notes: 1. Creating a configuration with state=DISABLED will fail 2. The
279
+ # following fields are not considered as `settings` for the purpose of the check
280
+ # mentioned above, therefore - creating another configuration with the same
281
+ # fields but different values for the following fields will fail as well: * name
282
+ # * create_time * update_time * labels * description
283
+ # @param [String] parent
284
+ # Required. The parent resource of the VPC Flow Logs configuration to create: `
285
+ # projects/`project_id`/locations/global` `organizations/`organization_id`/
286
+ # locations/global`
287
+ # @param [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig] vpc_flow_logs_config_object
288
+ # @param [String] vpc_flow_logs_config_id
289
+ # Required. ID of the `VpcFlowLogsConfig`.
290
+ # @param [String] fields
291
+ # Selector specifying which fields to include in a partial response.
292
+ # @param [String] quota_user
293
+ # Available to use for quota purposes for server-side applications. Can be any
294
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
295
+ # @param [Google::Apis::RequestOptions] options
296
+ # Request-specific options
297
+ #
298
+ # @yield [result, err] Result & error if block supplied
299
+ # @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Operation] parsed result object
300
+ # @yieldparam err [StandardError] error object if request failed
301
+ #
302
+ # @return [Google::Apis::NetworkmanagementV1beta1::Operation]
303
+ #
304
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
305
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
306
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
307
+ def create_organization_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)
308
+ command = make_simple_command(:post, 'v1beta1/{+parent}/vpcFlowLogsConfigs', options)
309
+ command.request_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
310
+ command.request_object = vpc_flow_logs_config_object
311
+ command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
312
+ command.response_class = Google::Apis::NetworkmanagementV1beta1::Operation
313
+ command.params['parent'] = parent unless parent.nil?
314
+ command.query['vpcFlowLogsConfigId'] = vpc_flow_logs_config_id unless vpc_flow_logs_config_id.nil?
315
+ command.query['fields'] = fields unless fields.nil?
316
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
317
+ execute_or_queue_command(command, &block)
318
+ end
319
+
320
+ # Deletes a specific `VpcFlowLogsConfig`.
321
+ # @param [String] name
322
+ # Required. `VpcFlowLogsConfig` resource name using one of the form: `projects/`
323
+ # project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config`` `
324
+ # organizations/`organization_id`/locations/global/vpcFlowLogsConfigs/`
325
+ # vpc_flow_logs_config``
326
+ # @param [String] fields
327
+ # Selector specifying which fields to include in a partial response.
328
+ # @param [String] quota_user
329
+ # Available to use for quota purposes for server-side applications. Can be any
330
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
331
+ # @param [Google::Apis::RequestOptions] options
332
+ # Request-specific options
333
+ #
334
+ # @yield [result, err] Result & error if block supplied
335
+ # @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Operation] parsed result object
336
+ # @yieldparam err [StandardError] error object if request failed
337
+ #
338
+ # @return [Google::Apis::NetworkmanagementV1beta1::Operation]
339
+ #
340
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
341
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
342
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
343
+ def delete_organization_location_vpc_flow_logs_config(name, fields: nil, quota_user: nil, options: nil, &block)
344
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
345
+ command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
346
+ command.response_class = Google::Apis::NetworkmanagementV1beta1::Operation
347
+ command.params['name'] = name unless name.nil?
348
+ command.query['fields'] = fields unless fields.nil?
349
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
350
+ execute_or_queue_command(command, &block)
351
+ end
352
+
353
+ # Gets the details of a specific `VpcFlowLogsConfig`.
354
+ # @param [String] name
355
+ # Required. `VpcFlowLogsConfig` resource name using the form: `projects/`
356
+ # project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config`` `
357
+ # organizations/`organization_id`/locations/global/vpcFlowLogsConfigs/`
358
+ # vpc_flow_logs_config``
359
+ # @param [String] fields
360
+ # Selector specifying which fields to include in a partial response.
361
+ # @param [String] quota_user
362
+ # Available to use for quota purposes for server-side applications. Can be any
363
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
364
+ # @param [Google::Apis::RequestOptions] options
365
+ # Request-specific options
366
+ #
367
+ # @yield [result, err] Result & error if block supplied
368
+ # @yieldparam result [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig] parsed result object
369
+ # @yieldparam err [StandardError] error object if request failed
370
+ #
371
+ # @return [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig]
372
+ #
373
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
374
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
375
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
376
+ def get_organization_location_vpc_flow_logs_config(name, fields: nil, quota_user: nil, options: nil, &block)
377
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
378
+ command.response_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
379
+ command.response_class = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig
380
+ command.params['name'] = name unless name.nil?
381
+ command.query['fields'] = fields unless fields.nil?
382
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
383
+ execute_or_queue_command(command, &block)
384
+ end
385
+
386
+ # Lists all `VpcFlowLogsConfigs` in a given organization.
387
+ # @param [String] parent
388
+ # Required. The parent resource of the VpcFlowLogsConfig: `projects/`project_id`/
389
+ # locations/global` `organizations/`organization_id`/locations/global`
390
+ # @param [String] filter
391
+ # Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A
392
+ # filter expression must use the supported [CEL logic operators] (https://cloud.
393
+ # google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
394
+ # @param [String] order_by
395
+ # Optional. Field to use to sort the list.
396
+ # @param [Fixnum] page_size
397
+ # Optional. Number of `VpcFlowLogsConfigs` to return.
398
+ # @param [String] page_token
399
+ # Optional. Page token from an earlier query, as returned in `next_page_token`.
400
+ # @param [String] fields
401
+ # Selector specifying which fields to include in a partial response.
402
+ # @param [String] quota_user
403
+ # Available to use for quota purposes for server-side applications. Can be any
404
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
405
+ # @param [Google::Apis::RequestOptions] options
406
+ # Request-specific options
407
+ #
408
+ # @yield [result, err] Result & error if block supplied
409
+ # @yieldparam result [Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse] parsed result object
410
+ # @yieldparam err [StandardError] error object if request failed
411
+ #
412
+ # @return [Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse]
413
+ #
414
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
415
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
416
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
417
+ def list_organization_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)
418
+ command = make_simple_command(:get, 'v1beta1/{+parent}/vpcFlowLogsConfigs', options)
419
+ command.response_representation = Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse::Representation
420
+ command.response_class = Google::Apis::NetworkmanagementV1beta1::ListVpcFlowLogsConfigsResponse
421
+ command.params['parent'] = parent unless parent.nil?
422
+ command.query['filter'] = filter unless filter.nil?
423
+ command.query['orderBy'] = order_by unless order_by.nil?
424
+ command.query['pageSize'] = page_size unless page_size.nil?
425
+ command.query['pageToken'] = page_token unless page_token.nil?
426
+ command.query['fields'] = fields unless fields.nil?
427
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
428
+ execute_or_queue_command(command, &block)
429
+ end
430
+
431
+ # Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact
432
+ # same settings already exists (even if the ID is different), the creation fails.
433
+ # Notes: 1. Updating a configuration with state=DISABLED will fail 2. The
434
+ # following fields are not considered as `settings` for the purpose of the check
435
+ # mentioned above, therefore - updating another configuration with the same
436
+ # fields but different values for the following fields will fail as well: * name
437
+ # * create_time * update_time * labels * description
438
+ # @param [String] name
439
+ # Identifier. Unique name of the configuration using one of the forms: `projects/
440
+ # `project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id`` `
441
+ # organizations/`organization_id`/locations/global/vpcFlowLogsConfigs/`
442
+ # vpc_flow_logs_config_id``
443
+ # @param [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig] vpc_flow_logs_config_object
444
+ # @param [String] update_mask
445
+ # Required. Mask of fields to update. At least one path must be supplied in this
446
+ # field.
447
+ # @param [String] fields
448
+ # Selector specifying which fields to include in a partial response.
449
+ # @param [String] quota_user
450
+ # Available to use for quota purposes for server-side applications. Can be any
451
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
452
+ # @param [Google::Apis::RequestOptions] options
453
+ # Request-specific options
454
+ #
455
+ # @yield [result, err] Result & error if block supplied
456
+ # @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Operation] parsed result object
457
+ # @yieldparam err [StandardError] error object if request failed
458
+ #
459
+ # @return [Google::Apis::NetworkmanagementV1beta1::Operation]
460
+ #
461
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
462
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
463
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
464
+ def patch_organization_location_vpc_flow_logs_config(name, vpc_flow_logs_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
465
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
466
+ command.request_representation = Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
467
+ command.request_object = vpc_flow_logs_config_object
468
+ command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
469
+ command.response_class = Google::Apis::NetworkmanagementV1beta1::Operation
470
+ command.params['name'] = name unless name.nil?
471
+ command.query['updateMask'] = update_mask unless update_mask.nil?
472
+ command.query['fields'] = fields unless fields.nil?
473
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
474
+ execute_or_queue_command(command, &block)
475
+ end
476
+
276
477
  # Gets information about a location.
277
478
  # @param [String] name
278
479
  # Resource name for the location.
@@ -1064,6 +1265,48 @@ module Google
1064
1265
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1065
1266
  execute_or_queue_command(command, &block)
1066
1267
  end
1268
+
1269
+ # QueryOrgVpcFlowLogsConfigs lists Organization resources for a given project.
1270
+ # @param [String] parent
1271
+ # Required. The parent resource of the VpcFlowLogsConfig: `projects/`project_id`/
1272
+ # locations/global`
1273
+ # @param [String] filter
1274
+ # Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A
1275
+ # filter expression must use the supported [CEL logic operators] (https://cloud.
1276
+ # google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
1277
+ # @param [Fixnum] page_size
1278
+ # Optional. Number of `VpcFlowLogsConfigs` to return.
1279
+ # @param [String] page_token
1280
+ # Optional. Page token from an earlier query, as returned in `next_page_token`.
1281
+ # @param [String] fields
1282
+ # Selector specifying which fields to include in a partial response.
1283
+ # @param [String] quota_user
1284
+ # Available to use for quota purposes for server-side applications. Can be any
1285
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1286
+ # @param [Google::Apis::RequestOptions] options
1287
+ # Request-specific options
1288
+ #
1289
+ # @yield [result, err] Result & error if block supplied
1290
+ # @yieldparam result [Google::Apis::NetworkmanagementV1beta1::QueryOrgVpcFlowLogsConfigsResponse] parsed result object
1291
+ # @yieldparam err [StandardError] error object if request failed
1292
+ #
1293
+ # @return [Google::Apis::NetworkmanagementV1beta1::QueryOrgVpcFlowLogsConfigsResponse]
1294
+ #
1295
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1296
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1297
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1298
+ def query_project_location_vpc_flow_logs_config_org_vpc_flow_logs_configs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1299
+ command = make_simple_command(:get, 'v1beta1/{+parent}:queryOrgVpcFlowLogsConfigs', options)
1300
+ command.response_representation = Google::Apis::NetworkmanagementV1beta1::QueryOrgVpcFlowLogsConfigsResponse::Representation
1301
+ command.response_class = Google::Apis::NetworkmanagementV1beta1::QueryOrgVpcFlowLogsConfigsResponse
1302
+ command.params['parent'] = parent unless parent.nil?
1303
+ command.query['filter'] = filter unless filter.nil?
1304
+ command.query['pageSize'] = page_size unless page_size.nil?
1305
+ command.query['pageToken'] = page_token unless page_token.nil?
1306
+ command.query['fields'] = fields unless fields.nil?
1307
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1308
+ execute_or_queue_command(command, &block)
1309
+ end
1067
1310
 
1068
1311
  protected
1069
1312
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkmanagement_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.60.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.58.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.60.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Network Management API V1beta1
79
79
  test_files: []