google-apis-networkmanagement_v1beta1 0.59.0 → 0.61.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: 7b8fa22f6815b119d9973df56363a9e69aa1e69390c0d323416bf0fcbb31bf27
4
- data.tar.gz: 12333cd067cefbd5c9d48cd057e43235cbf0349cf52737e7b9d3443b1f10e320
3
+ metadata.gz: a15a8c5c290e92004b9ab620464fc02febe8e960eeead95e50d22cd77e5c4377
4
+ data.tar.gz: 6982f6ccf1e7419cdd3af70463cf7364a498553b2660c0658accb7b4d81a5c13
5
5
  SHA512:
6
- metadata.gz: 9530c48b7ccc7d57a950cc81beb34731b66fa418e731dac806526ac9c967c307155354db170c04b076ee8c86741ca8955ebc7f7b8ba03b0ecb82332b3b4f141a
7
- data.tar.gz: d0c71513ab28517a650793b1ccc29e83f1366787071d644ae63e00488f15970fbb01510479e99c7d7555d486a3eac3f383d214c2ee1863853d2ab43e3b07a792
6
+ metadata.gz: 7127e52cadc494d5b2b83240083caba7876671457d60f8c53cf094fa29fbb236a9369ffdd9ec45fde6852b80218aa153c4801be82052cf6cda75f9aa5e62704b
7
+ data.tar.gz: 3a46ce89fd5f8b0cf10a50d783d02e11b3dadaf923b97ebea3ec7446c5a14c7a46c7c9f7d2d9bad864498112abf4564ae36bf0f7e33cc3a611c6b88bc792aefe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networkmanagement_v1beta1
2
2
 
3
+ ### v0.61.0 (2025-06-15)
4
+
5
+ * Regenerated from discovery document revision 20250604
6
+
7
+ ### v0.60.0 (2025-06-01)
8
+
9
+ * Regenerated from discovery document revision 20250527
10
+
3
11
  ### v0.59.0 (2025-05-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20250521
@@ -363,6 +363,12 @@ module Google
363
363
  class CloudRunRevisionEndpoint
364
364
  include Google::Apis::Core::Hashable
365
365
 
366
+ # Output only. The URI of the Cloud Run service that the revision belongs to.
367
+ # The format is: projects/`project`/locations/`location`/services/`service`
368
+ # Corresponds to the JSON property `serviceUri`
369
+ # @return [String]
370
+ attr_accessor :service_uri
371
+
366
372
  # A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.
367
373
  # com/run/docs/reference/rest/v1/namespaces.revisions/get) URI. The format is:
368
374
  # projects/`project`/locations/`location`/revisions/`revision`
@@ -376,6 +382,7 @@ module Google
376
382
 
377
383
  # Update properties of this object
378
384
  def update!(**args)
385
+ @service_uri = args[:service_uri] if args.key?(:service_uri)
379
386
  @uri = args[:uri] if args.key?(:uri)
380
387
  end
381
388
  end
@@ -1050,6 +1057,12 @@ module Google
1050
1057
  # @return [String]
1051
1058
  attr_accessor :policy
1052
1059
 
1060
+ # The priority of the firewall policy that this rule is associated with. This
1061
+ # field is not applicable to VPC firewall rules and implied VPC firewall rules.
1062
+ # Corresponds to the JSON property `policyPriority`
1063
+ # @return [Fixnum]
1064
+ attr_accessor :policy_priority
1065
+
1053
1066
  # The URI of the firewall policy that this rule is associated with. This field
1054
1067
  # is not applicable to VPC firewall rules and implied VPC firewall rules.
1055
1068
  # Corresponds to the JSON property `policyUri`
@@ -1090,6 +1103,7 @@ module Google
1090
1103
  @firewall_rule_type = args[:firewall_rule_type] if args.key?(:firewall_rule_type)
1091
1104
  @network_uri = args[:network_uri] if args.key?(:network_uri)
1092
1105
  @policy = args[:policy] if args.key?(:policy)
1106
+ @policy_priority = args[:policy_priority] if args.key?(:policy_priority)
1093
1107
  @policy_uri = args[:policy_uri] if args.key?(:policy_uri)
1094
1108
  @priority = args[:priority] if args.key?(:priority)
1095
1109
  @target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
@@ -1321,7 +1335,8 @@ module Google
1321
1335
  # @return [String]
1322
1336
  attr_accessor :psc_network_attachment_uri
1323
1337
 
1324
- # Indicates whether the Compute Engine instance is running.
1338
+ # Indicates whether the Compute Engine instance is running. Deprecated: use the `
1339
+ # status` field instead.
1325
1340
  # Corresponds to the JSON property `running`
1326
1341
  # @return [Boolean]
1327
1342
  attr_accessor :running
@@ -1332,6 +1347,11 @@ module Google
1332
1347
  # @return [String]
1333
1348
  attr_accessor :service_account
1334
1349
 
1350
+ # The status of the instance.
1351
+ # Corresponds to the JSON property `status`
1352
+ # @return [String]
1353
+ attr_accessor :status
1354
+
1335
1355
  # URI of a Compute Engine instance.
1336
1356
  # Corresponds to the JSON property `uri`
1337
1357
  # @return [String]
@@ -1352,6 +1372,7 @@ module Google
1352
1372
  @psc_network_attachment_uri = args[:psc_network_attachment_uri] if args.key?(:psc_network_attachment_uri)
1353
1373
  @running = args[:running] if args.key?(:running)
1354
1374
  @service_account = args[:service_account] if args.key?(:service_account)
1375
+ @status = args[:status] if args.key?(:status)
1355
1376
  @uri = args[:uri] if args.key?(:uri)
1356
1377
  end
1357
1378
  end
@@ -2246,6 +2267,37 @@ module Google
2246
2267
  end
2247
2268
  end
2248
2269
 
2270
+ # Response for the `QueryVpcFlowLogsConfigs` method.
2271
+ class QueryOrgVpcFlowLogsConfigsResponse
2272
+ include Google::Apis::Core::Hashable
2273
+
2274
+ # Page token to fetch the next set of configurations.
2275
+ # Corresponds to the JSON property `nextPageToken`
2276
+ # @return [String]
2277
+ attr_accessor :next_page_token
2278
+
2279
+ # Locations that could not be reached (when querying all locations with `-`).
2280
+ # Corresponds to the JSON property `unreachable`
2281
+ # @return [Array<String>]
2282
+ attr_accessor :unreachable
2283
+
2284
+ # List of VPC Flow Log configurations.
2285
+ # Corresponds to the JSON property `vpcFlowLogsConfigs`
2286
+ # @return [Array<Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig>]
2287
+ attr_accessor :vpc_flow_logs_configs
2288
+
2289
+ def initialize(**args)
2290
+ update!(**args)
2291
+ end
2292
+
2293
+ # Update properties of this object
2294
+ def update!(**args)
2295
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2296
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2297
+ @vpc_flow_logs_configs = args[:vpc_flow_logs_configs] if args.key?(:vpc_flow_logs_configs)
2298
+ end
2299
+ end
2300
+
2249
2301
  # Results of the configuration analysis from the last run of the test.
2250
2302
  class ReachabilityDetails
2251
2303
  include Google::Apis::Core::Hashable
@@ -3130,6 +3182,13 @@ module Google
3130
3182
  # @return [String]
3131
3183
  attr_accessor :create_time
3132
3184
 
3185
+ # Optional. Determines whether to include cross project annotations in the logs.
3186
+ # This field is available only for organization configurations. If not specified
3187
+ # in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
3188
+ # Corresponds to the JSON property `crossProjectMetadata`
3189
+ # @return [String]
3190
+ attr_accessor :cross_project_metadata
3191
+
3133
3192
  # Optional. The user-supplied description of the VPC Flow Logs configuration.
3134
3193
  # Maximum of 512 characters.
3135
3194
  # Corresponds to the JSON property `description`
@@ -3180,6 +3239,12 @@ module Google
3180
3239
  # @return [String]
3181
3240
  attr_accessor :name
3182
3241
 
3242
+ # Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments
3243
+ # within the network. Format: projects/`project_id`/global/networks/`name`
3244
+ # Corresponds to the JSON property `network`
3245
+ # @return [String]
3246
+ attr_accessor :network
3247
+
3183
3248
  # Optional. The state of the VPC Flow Log configuration. Default value is
3184
3249
  # ENABLED. When creating a new configuration, it must be enabled. Setting state=
3185
3250
  # DISABLED will pause the log generation for this config.
@@ -3187,6 +3252,12 @@ module Google
3187
3252
  # @return [String]
3188
3253
  attr_accessor :state
3189
3254
 
3255
+ # Traffic will be logged from VMs within the subnetwork. Format: projects/`
3256
+ # project_id`/regions/`region`/subnetworks/`name`
3257
+ # Corresponds to the JSON property `subnet`
3258
+ # @return [String]
3259
+ attr_accessor :subnet
3260
+
3190
3261
  # Output only. A diagnostic bit - describes the state of the configured target
3191
3262
  # resource for diagnostic purposes.
3192
3263
  # Corresponds to the JSON property `targetResourceState`
@@ -3212,6 +3283,7 @@ module Google
3212
3283
  def update!(**args)
3213
3284
  @aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
3214
3285
  @create_time = args[:create_time] if args.key?(:create_time)
3286
+ @cross_project_metadata = args[:cross_project_metadata] if args.key?(:cross_project_metadata)
3215
3287
  @description = args[:description] if args.key?(:description)
3216
3288
  @filter_expr = args[:filter_expr] if args.key?(:filter_expr)
3217
3289
  @flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
@@ -3220,7 +3292,9 @@ module Google
3220
3292
  @metadata = args[:metadata] if args.key?(:metadata)
3221
3293
  @metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
3222
3294
  @name = args[:name] if args.key?(:name)
3295
+ @network = args[:network] if args.key?(:network)
3223
3296
  @state = args[:state] if args.key?(:state)
3297
+ @subnet = args[:subnet] if args.key?(:subnet)
3224
3298
  @target_resource_state = args[:target_resource_state] if args.key?(:target_resource_state)
3225
3299
  @update_time = args[:update_time] if args.key?(:update_time)
3226
3300
  @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.59.0"
19
+ GEM_VERSION = "0.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250521"
25
+ REVISION = "20250604"
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
 
@@ -480,6 +486,7 @@ module Google
480
486
  class CloudRunRevisionEndpoint
481
487
  # @private
482
488
  class Representation < Google::Apis::Core::JsonRepresentation
489
+ property :service_uri, as: 'serviceUri'
483
490
  property :uri, as: 'uri'
484
491
  end
485
492
  end
@@ -640,6 +647,7 @@ module Google
640
647
  property :firewall_rule_type, as: 'firewallRuleType'
641
648
  property :network_uri, as: 'networkUri'
642
649
  property :policy, as: 'policy'
650
+ property :policy_priority, as: 'policyPriority'
643
651
  property :policy_uri, as: 'policyUri'
644
652
  property :priority, as: 'priority'
645
653
  collection :target_service_accounts, as: 'targetServiceAccounts'
@@ -705,6 +713,7 @@ module Google
705
713
  property :psc_network_attachment_uri, as: 'pscNetworkAttachmentUri'
706
714
  property :running, as: 'running'
707
715
  property :service_account, as: 'serviceAccount'
716
+ property :status, as: 'status'
708
717
  property :uri, as: 'uri'
709
718
  end
710
719
  end
@@ -919,6 +928,16 @@ module Google
919
928
  end
920
929
  end
921
930
 
931
+ class QueryOrgVpcFlowLogsConfigsResponse
932
+ # @private
933
+ class Representation < Google::Apis::Core::JsonRepresentation
934
+ property :next_page_token, as: 'nextPageToken'
935
+ collection :unreachable, as: 'unreachable'
936
+ collection :vpc_flow_logs_configs, as: 'vpcFlowLogsConfigs', class: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig, decorator: Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig::Representation
937
+
938
+ end
939
+ end
940
+
922
941
  class ReachabilityDetails
923
942
  # @private
924
943
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1151,6 +1170,7 @@ module Google
1151
1170
  class Representation < Google::Apis::Core::JsonRepresentation
1152
1171
  property :aggregation_interval, as: 'aggregationInterval'
1153
1172
  property :create_time, as: 'createTime'
1173
+ property :cross_project_metadata, as: 'crossProjectMetadata'
1154
1174
  property :description, as: 'description'
1155
1175
  property :filter_expr, as: 'filterExpr'
1156
1176
  property :flow_sampling, as: 'flowSampling'
@@ -1159,7 +1179,9 @@ module Google
1159
1179
  property :metadata, as: 'metadata'
1160
1180
  collection :metadata_fields, as: 'metadataFields'
1161
1181
  property :name, as: 'name'
1182
+ property :network, as: 'network'
1162
1183
  property :state, as: 'state'
1184
+ property :subnet, as: 'subnet'
1163
1185
  property :target_resource_state, as: 'targetResourceState'
1164
1186
  property :update_time, as: 'updateTime'
1165
1187
  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}/vpcFlowLogsConfigs: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.59.0
4
+ version: 0.61.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.59.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.61.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: