google-apis-networksecurity_v1 0.49.0 → 0.51.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: 607e746e43512cb5222ab0b0ad9aaa1a13ab7ae0cfed94149297aecaac6150b6
4
- data.tar.gz: 35e02294c2877a55d4ba7c30160a43a9e60c5fa2a2e84de7265fbee56e617870
3
+ metadata.gz: 77c2fc7e074987bc4eb0340cd253efa2241e4fc70e11ff52c01f18d195e8f603
4
+ data.tar.gz: f6d1b8c3ce89c306c27ebc6a3a3c71d7a3b82920009eca08acaa23633920ef5f
5
5
  SHA512:
6
- metadata.gz: 2a4e7f23a2fefb9fccc5301d483c7124ac71c4cb172cb231337c8e37db018d033616a3d83d5701d743f93d42abfc42c3e2c0f7f837a57a3b988a1b6cc7bff587
7
- data.tar.gz: ab300198e605851217940ae30b28051028218d3c7de45338c0b1895d7210ae53fb522f91a6163047b45f78b1240790ba082fc346bcdd5223f0a55cd79ec04f8c
6
+ metadata.gz: 26500c5a5c561c1bdd2a7108523e12dd12bc594c5888c0c558bbd5379907346afe971a22442761c80e0d293e6ff29b59a855530fdfe92e22728bc52e25d68ee3
7
+ data.tar.gz: 19c91c457f0141bb0a898b53e4a9be14c84c1b5a3f3e50c73fed3d625471a2684d3e4e12a9a5c879335954d79415c9569323dd2051780bf03e65aee9eba9b815
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networksecurity_v1
2
2
 
3
+ ### v0.51.0 (2026-04-19)
4
+
5
+ * Regenerated from discovery document revision 20260407
6
+
7
+ ### v0.50.0 (2026-03-08)
8
+
9
+ * Regenerated from discovery document revision 20260226
10
+
3
11
  ### v0.49.0 (2026-02-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20260204
@@ -278,6 +278,13 @@ module Google
278
278
  # @return [String]
279
279
  attr_accessor :name
280
280
 
281
+ # Optional. Immutable. Defines the type of authorization being performed. If not
282
+ # specified, `REQUEST_AUTHZ` is applied. This field cannot be changed once
283
+ # AuthzPolicy is created.
284
+ # Corresponds to the JSON property `policyProfile`
285
+ # @return [String]
286
+ attr_accessor :policy_profile
287
+
281
288
  # Specifies the set of targets to which this policy should be applied to.
282
289
  # Corresponds to the JSON property `target`
283
290
  # @return [Google::Apis::NetworksecurityV1::AuthzPolicyTarget]
@@ -301,6 +308,7 @@ module Google
301
308
  @http_rules = args[:http_rules] if args.key?(:http_rules)
302
309
  @labels = args[:labels] if args.key?(:labels)
303
310
  @name = args[:name] if args.key?(:name)
311
+ @policy_profile = args[:policy_profile] if args.key?(:policy_profile)
304
312
  @target = args[:target] if args.key?(:target)
305
313
  @update_time = args[:update_time] if args.key?(:update_time)
306
314
  end
@@ -642,6 +650,12 @@ module Google
642
650
  # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch>]
643
651
  attr_accessor :hosts
644
652
 
653
+ # Describes a set of MCP protocol attributes to match against for a given MCP
654
+ # request.
655
+ # Corresponds to the JSON property `mcp`
656
+ # @return [Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleToRequestOperationMcp]
657
+ attr_accessor :mcp
658
+
645
659
  # Optional. A list of HTTP methods to match against. Each entry must be a valid
646
660
  # HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only
647
661
  # allows exact match and is always case sensitive. Limited to 10 methods per
@@ -668,6 +682,7 @@ module Google
668
682
  def update!(**args)
669
683
  @header_set = args[:header_set] if args.key?(:header_set)
670
684
  @hosts = args[:hosts] if args.key?(:hosts)
685
+ @mcp = args[:mcp] if args.key?(:mcp)
671
686
  @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
672
687
  @paths = args[:paths] if args.key?(:paths)
673
688
  end
@@ -696,6 +711,71 @@ module Google
696
711
  end
697
712
  end
698
713
 
714
+ # Describes a set of MCP protocol attributes to match against for a given MCP
715
+ # request.
716
+ class AuthzPolicyAuthzRuleToRequestOperationMcp
717
+ include Google::Apis::Core::Hashable
718
+
719
+ # Optional. If specified, matches on the MCP protocol’s non-access specific
720
+ # methods namely: * initialize * completion/ * logging/ * notifications/ * ping
721
+ # Defaults to SKIP_BASE_PROTOCOL_METHODS if not specified.
722
+ # Corresponds to the JSON property `baseProtocolMethodsOption`
723
+ # @return [String]
724
+ attr_accessor :base_protocol_methods_option
725
+
726
+ # Optional. A list of MCP methods and associated parameters to match on. It is
727
+ # recommended to use this field to match on tools, prompts and resource accesses
728
+ # while setting the baseProtocolMethodsOption to MATCH_BASE_PROTOCOL_METHODS to
729
+ # match on all the other MCP protocol methods. Limited to 10 MCP methods per
730
+ # Authorization Policy.
731
+ # Corresponds to the JSON property `methods`
732
+ # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleToRequestOperationMcpMethod>]
733
+ attr_accessor :methods_prop
734
+
735
+ def initialize(**args)
736
+ update!(**args)
737
+ end
738
+
739
+ # Update properties of this object
740
+ def update!(**args)
741
+ @base_protocol_methods_option = args[:base_protocol_methods_option] if args.key?(:base_protocol_methods_option)
742
+ @methods_prop = args[:methods_prop] if args.key?(:methods_prop)
743
+ end
744
+ end
745
+
746
+ # Describes a set of MCP methods to match against.
747
+ class AuthzPolicyAuthzRuleToRequestOperationMcpMethod
748
+ include Google::Apis::Core::Hashable
749
+
750
+ # Required. The MCP method to match against. Allowed values are as follows: 1. `
751
+ # tools`, `prompts`, `resources` - these will match against all sub methods
752
+ # under the respective methods. 2. `prompts/list`, `tools/list`, `resources/list`
753
+ # , `resources/templates/list` 3. `prompts/get`, `tools/call`, `resources/
754
+ # subscribe`, `resources/unsubscribe`, `resources/read` Params cannot be
755
+ # specified for categories 1 and 2.
756
+ # Corresponds to the JSON property `name`
757
+ # @return [String]
758
+ attr_accessor :name
759
+
760
+ # Optional. A list of MCP method parameters to match against. The match can be
761
+ # one of exact, prefix, suffix, or contains (substring match). Matches are
762
+ # always case sensitive unless the ignoreCase is set. Limited to 10 MCP method
763
+ # parameters per Authorization Policy.
764
+ # Corresponds to the JSON property `params`
765
+ # @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch>]
766
+ attr_accessor :params
767
+
768
+ def initialize(**args)
769
+ update!(**args)
770
+ end
771
+
772
+ # Update properties of this object
773
+ def update!(**args)
774
+ @name = args[:name] if args.key?(:name)
775
+ @params = args[:params] if args.key?(:params)
776
+ end
777
+ end
778
+
699
779
  # Allows delegating authorization decisions to Cloud IAP or to Service
700
780
  # Extensions.
701
781
  class AuthzPolicyCustomProvider
@@ -769,17 +849,19 @@ module Google
769
849
  class AuthzPolicyTarget
770
850
  include Google::Apis::Core::Hashable
771
851
 
772
- # Required. All gateways and forwarding rules referenced by this policy and
773
- # extensions must share the same load balancing scheme. Supported values: `
774
- # INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to [
775
- # Backend services overview](https://cloud.google.com/load-balancing/docs/
776
- # backend-service).
852
+ # Optional. All gateways and forwarding rules referenced by this policy and
853
+ # extensions must share the same load balancing scheme. Required only when
854
+ # targeting forwarding rules. If targeting Secure Web Proxy, this field must be `
855
+ # INTERNAL_MANAGED` or not specified. Must not be specified when targeting Agent
856
+ # Gateway. Supported values: `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more
857
+ # information, refer to [Backend services overview](https://cloud.google.com/
858
+ # load-balancing/docs/backend-service).
777
859
  # Corresponds to the JSON property `loadBalancingScheme`
778
860
  # @return [String]
779
861
  attr_accessor :load_balancing_scheme
780
862
 
781
- # Required. A list of references to the Forwarding Rules on which this policy
782
- # will be applied.
863
+ # Required. A list of references to the Forwarding Rules, Secure Web Proxy
864
+ # Gateways, or Agent Gateways on which this policy will be applied.
783
865
  # Corresponds to the JSON property `resources`
784
866
  # @return [Array<String>]
785
867
  attr_accessor :resources
@@ -1249,7 +1331,9 @@ module Google
1249
1331
  # @return [Array<Google::Apis::NetworksecurityV1::FirewallEndpointAssociationReference>]
1250
1332
  attr_accessor :associations
1251
1333
 
1252
- # Required. Project to bill on endpoint uptime usage.
1334
+ # Optional. Project to charge for the deployed firewall endpoint. This field
1335
+ # must be specified when creating the endpoint in the organization scope, and
1336
+ # should be omitted otherwise.
1253
1337
  # Corresponds to the JSON property `billingProjectId`
1254
1338
  # @return [String]
1255
1339
  attr_accessor :billing_project_id
@@ -2396,6 +2480,13 @@ module Google
2396
2480
  # @return [String]
2397
2481
  attr_accessor :network
2398
2482
 
2483
+ # Output only. Identifier used by the data-path. See the NSI GENEVE format for
2484
+ # more details: https://docs.cloud.google.com/network-security-integration/docs/
2485
+ # understand-geneve#network_id
2486
+ # Corresponds to the JSON property `networkCookie`
2487
+ # @return [Fixnum]
2488
+ attr_accessor :network_cookie
2489
+
2399
2490
  # Output only. The current state of the resource does not match the user's
2400
2491
  # intended state, and the system is working to reconcile them. This part of the
2401
2492
  # normal operation (e.g. adding a new location to the target deployment group).
@@ -2429,6 +2520,7 @@ module Google
2429
2520
  @locations_details = args[:locations_details] if args.key?(:locations_details)
2430
2521
  @name = args[:name] if args.key?(:name)
2431
2522
  @network = args[:network] if args.key?(:network)
2523
+ @network_cookie = args[:network_cookie] if args.key?(:network_cookie)
2432
2524
  @reconciling = args[:reconciling] if args.key?(:reconciling)
2433
2525
  @state = args[:state] if args.key?(:state)
2434
2526
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworksecurityV1
18
18
  # Version of the google-apis-networksecurity_v1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.51.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 = "20260204"
25
+ REVISION = "20260407"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,18 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class AuthzPolicyAuthzRuleToRequestOperationMcp
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class AuthzPolicyAuthzRuleToRequestOperationMcpMethod
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class AuthzPolicyCustomProvider
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -764,6 +776,7 @@ module Google
764
776
 
765
777
  hash :labels, as: 'labels'
766
778
  property :name, as: 'name'
779
+ property :policy_profile, as: 'policyProfile'
767
780
  property :target, as: 'target', class: Google::Apis::NetworksecurityV1::AuthzPolicyTarget, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyTarget::Representation
768
781
 
769
782
  property :update_time, as: 'updateTime'
@@ -874,6 +887,8 @@ module Google
874
887
 
875
888
  collection :hosts, as: 'hosts', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch::Representation
876
889
 
890
+ property :mcp, as: 'mcp', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleToRequestOperationMcp, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleToRequestOperationMcp::Representation
891
+
877
892
  collection :methods_prop, as: 'methods'
878
893
  collection :paths, as: 'paths', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch::Representation
879
894
 
@@ -888,6 +903,24 @@ module Google
888
903
  end
889
904
  end
890
905
 
906
+ class AuthzPolicyAuthzRuleToRequestOperationMcp
907
+ # @private
908
+ class Representation < Google::Apis::Core::JsonRepresentation
909
+ property :base_protocol_methods_option, as: 'baseProtocolMethodsOption'
910
+ collection :methods_prop, as: 'methods', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleToRequestOperationMcpMethod, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleToRequestOperationMcpMethod::Representation
911
+
912
+ end
913
+ end
914
+
915
+ class AuthzPolicyAuthzRuleToRequestOperationMcpMethod
916
+ # @private
917
+ class Representation < Google::Apis::Core::JsonRepresentation
918
+ property :name, as: 'name'
919
+ collection :params, as: 'params', class: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch, decorator: Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch::Representation
920
+
921
+ end
922
+ end
923
+
891
924
  class AuthzPolicyCustomProvider
892
925
  # @private
893
926
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1270,6 +1303,7 @@ module Google
1270
1303
 
1271
1304
  property :name, as: 'name'
1272
1305
  property :network, as: 'network'
1306
+ property :network_cookie, as: 'networkCookie'
1273
1307
  property :reconciling, as: 'reconciling'
1274
1308
  property :state, as: 'state'
1275
1309
  property :update_time, as: 'updateTime'
@@ -1192,10 +1192,15 @@ module Google
1192
1192
  end
1193
1193
 
1194
1194
  # Lists information about the supported locations for this service. This method
1195
- # can be called in two ways: * **List all public locations:** Use the path `GET /
1196
- # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
1197
- # projects/`project_id`/locations`. This may include public locations as well as
1198
- # private or other locations specifically visible to the project.
1195
+ # lists locations based on the resource scope provided in the [
1196
+ # ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
1197
+ # the method lists the public locations available to all projects. * **Project-
1198
+ # specific locations**: If `name` follows the format `projects/`project``, the
1199
+ # method lists locations visible to that specific project. This includes public,
1200
+ # private, or other project-specific locations enabled for the project. For gRPC
1201
+ # and client library implementations, the resource name is passed as the `name`
1202
+ # field. For direct service calls, the resource name is incorporated into the
1203
+ # request path based on the specific service implementation and version.
1199
1204
  # @param [String] name
1200
1205
  # The resource that owns the locations collection, if applicable.
1201
1206
  # @param [Array<String>, String] extra_location_types
@@ -3254,223 +3259,6 @@ module Google
3254
3259
  execute_or_queue_command(command, &block)
3255
3260
  end
3256
3261
 
3257
- # Creates a new FirewallEndpoint in a given project and location.
3258
- # @param [String] parent
3259
- # Required. Value for parent.
3260
- # @param [Google::Apis::NetworksecurityV1::FirewallEndpoint] firewall_endpoint_object
3261
- # @param [String] firewall_endpoint_id
3262
- # Required. Id of the requesting object. If auto-generating Id server-side,
3263
- # remove this field and firewall_endpoint_id from the method_signature of Create
3264
- # RPC.
3265
- # @param [String] request_id
3266
- # Optional. An optional request ID to identify requests. Specify a unique
3267
- # request ID so that if you must retry your request, the server will know to
3268
- # ignore the request if it has already been completed. The server will guarantee
3269
- # that for at least 60 minutes since the first request. For example, consider a
3270
- # situation where you make an initial request and the request times out. If you
3271
- # make the request again with the same request ID, the server can check if
3272
- # original operation with the same request ID was received, and if so, will
3273
- # ignore the second request. This prevents clients from accidentally creating
3274
- # duplicate commitments. The request ID must be a valid UUID with the exception
3275
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3276
- # @param [String] fields
3277
- # Selector specifying which fields to include in a partial response.
3278
- # @param [String] quota_user
3279
- # Available to use for quota purposes for server-side applications. Can be any
3280
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3281
- # @param [Google::Apis::RequestOptions] options
3282
- # Request-specific options
3283
- #
3284
- # @yield [result, err] Result & error if block supplied
3285
- # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3286
- # @yieldparam err [StandardError] error object if request failed
3287
- #
3288
- # @return [Google::Apis::NetworksecurityV1::Operation]
3289
- #
3290
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3291
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3292
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3293
- def create_project_location_firewall_endpoint(parent, firewall_endpoint_object = nil, firewall_endpoint_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3294
- command = make_simple_command(:post, 'v1/{+parent}/firewallEndpoints', options)
3295
- command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation
3296
- command.request_object = firewall_endpoint_object
3297
- command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3298
- command.response_class = Google::Apis::NetworksecurityV1::Operation
3299
- command.params['parent'] = parent unless parent.nil?
3300
- command.query['firewallEndpointId'] = firewall_endpoint_id unless firewall_endpoint_id.nil?
3301
- command.query['requestId'] = request_id unless request_id.nil?
3302
- command.query['fields'] = fields unless fields.nil?
3303
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3304
- execute_or_queue_command(command, &block)
3305
- end
3306
-
3307
- # Deletes a single project Endpoint.
3308
- # @param [String] name
3309
- # Required. Name of the resource
3310
- # @param [String] request_id
3311
- # Optional. An optional request ID to identify requests. Specify a unique
3312
- # request ID so that if you must retry your request, the server will know to
3313
- # ignore the request if it has already been completed. The server will guarantee
3314
- # that for at least 60 minutes after the first request. For example, consider a
3315
- # situation where you make an initial request and the request times out. If you
3316
- # make the request again with the same request ID, the server can check if
3317
- # original operation with the same request ID was received, and if so, will
3318
- # ignore the second request. This prevents clients from accidentally creating
3319
- # duplicate commitments. The request ID must be a valid UUID with the exception
3320
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3321
- # @param [String] fields
3322
- # Selector specifying which fields to include in a partial response.
3323
- # @param [String] quota_user
3324
- # Available to use for quota purposes for server-side applications. Can be any
3325
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3326
- # @param [Google::Apis::RequestOptions] options
3327
- # Request-specific options
3328
- #
3329
- # @yield [result, err] Result & error if block supplied
3330
- # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3331
- # @yieldparam err [StandardError] error object if request failed
3332
- #
3333
- # @return [Google::Apis::NetworksecurityV1::Operation]
3334
- #
3335
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3336
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3337
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3338
- def delete_project_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3339
- command = make_simple_command(:delete, 'v1/{+name}', options)
3340
- command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3341
- command.response_class = Google::Apis::NetworksecurityV1::Operation
3342
- command.params['name'] = name unless name.nil?
3343
- command.query['requestId'] = request_id unless request_id.nil?
3344
- command.query['fields'] = fields unless fields.nil?
3345
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3346
- execute_or_queue_command(command, &block)
3347
- end
3348
-
3349
- # Gets details of a single project Endpoint.
3350
- # @param [String] name
3351
- # Required. Name of the resource
3352
- # @param [String] fields
3353
- # Selector specifying which fields to include in a partial response.
3354
- # @param [String] quota_user
3355
- # Available to use for quota purposes for server-side applications. Can be any
3356
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3357
- # @param [Google::Apis::RequestOptions] options
3358
- # Request-specific options
3359
- #
3360
- # @yield [result, err] Result & error if block supplied
3361
- # @yieldparam result [Google::Apis::NetworksecurityV1::FirewallEndpoint] parsed result object
3362
- # @yieldparam err [StandardError] error object if request failed
3363
- #
3364
- # @return [Google::Apis::NetworksecurityV1::FirewallEndpoint]
3365
- #
3366
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3367
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3368
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3369
- def get_project_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil, &block)
3370
- command = make_simple_command(:get, 'v1/{+name}', options)
3371
- command.response_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation
3372
- command.response_class = Google::Apis::NetworksecurityV1::FirewallEndpoint
3373
- command.params['name'] = name unless name.nil?
3374
- command.query['fields'] = fields unless fields.nil?
3375
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3376
- execute_or_queue_command(command, &block)
3377
- end
3378
-
3379
- # Lists FirewallEndpoints in a given project and location.
3380
- # @param [String] parent
3381
- # Required. Parent value for ListEndpointsRequest
3382
- # @param [String] filter
3383
- # Optional. Filtering results
3384
- # @param [String] order_by
3385
- # Hint for how to order the results
3386
- # @param [Fixnum] page_size
3387
- # Optional. Requested page size. Server may return fewer items than requested.
3388
- # If unspecified, server will pick an appropriate default.
3389
- # @param [String] page_token
3390
- # A token identifying a page of results the server should return.
3391
- # @param [String] fields
3392
- # Selector specifying which fields to include in a partial response.
3393
- # @param [String] quota_user
3394
- # Available to use for quota purposes for server-side applications. Can be any
3395
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3396
- # @param [Google::Apis::RequestOptions] options
3397
- # Request-specific options
3398
- #
3399
- # @yield [result, err] Result & error if block supplied
3400
- # @yieldparam result [Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse] parsed result object
3401
- # @yieldparam err [StandardError] error object if request failed
3402
- #
3403
- # @return [Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse]
3404
- #
3405
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3406
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3407
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3408
- def list_project_location_firewall_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3409
- command = make_simple_command(:get, 'v1/{+parent}/firewallEndpoints', options)
3410
- command.response_representation = Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse::Representation
3411
- command.response_class = Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse
3412
- command.params['parent'] = parent unless parent.nil?
3413
- command.query['filter'] = filter unless filter.nil?
3414
- command.query['orderBy'] = order_by unless order_by.nil?
3415
- command.query['pageSize'] = page_size unless page_size.nil?
3416
- command.query['pageToken'] = page_token unless page_token.nil?
3417
- command.query['fields'] = fields unless fields.nil?
3418
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3419
- execute_or_queue_command(command, &block)
3420
- end
3421
-
3422
- # Update a single project Endpoint.
3423
- # @param [String] name
3424
- # Immutable. Identifier. Name of resource.
3425
- # @param [Google::Apis::NetworksecurityV1::FirewallEndpoint] firewall_endpoint_object
3426
- # @param [String] request_id
3427
- # Optional. An optional request ID to identify requests. Specify a unique
3428
- # request ID so that if you must retry your request, the server will know to
3429
- # ignore the request if it has already been completed. The server will guarantee
3430
- # that for at least 60 minutes since the first request. For example, consider a
3431
- # situation where you make an initial request and the request times out. If you
3432
- # make the request again with the same request ID, the server can check if
3433
- # original operation with the same request ID was received, and if so, will
3434
- # ignore the second request. This prevents clients from accidentally creating
3435
- # duplicate commitments. The request ID must be a valid UUID with the exception
3436
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3437
- # @param [String] update_mask
3438
- # Required. Field mask is used to specify the fields to be overwritten in the
3439
- # Endpoint resource by the update. The fields specified in the update_mask are
3440
- # relative to the resource, not the full request. A field will be overwritten if
3441
- # it is in the mask. If the user does not provide a mask then all fields will be
3442
- # overwritten.
3443
- # @param [String] fields
3444
- # Selector specifying which fields to include in a partial response.
3445
- # @param [String] quota_user
3446
- # Available to use for quota purposes for server-side applications. Can be any
3447
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3448
- # @param [Google::Apis::RequestOptions] options
3449
- # Request-specific options
3450
- #
3451
- # @yield [result, err] Result & error if block supplied
3452
- # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3453
- # @yieldparam err [StandardError] error object if request failed
3454
- #
3455
- # @return [Google::Apis::NetworksecurityV1::Operation]
3456
- #
3457
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3458
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3459
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3460
- def patch_project_location_firewall_endpoint(name, firewall_endpoint_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3461
- command = make_simple_command(:patch, 'v1/{+name}', options)
3462
- command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation
3463
- command.request_object = firewall_endpoint_object
3464
- command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3465
- command.response_class = Google::Apis::NetworksecurityV1::Operation
3466
- command.params['name'] = name unless name.nil?
3467
- command.query['requestId'] = request_id unless request_id.nil?
3468
- command.query['updateMask'] = update_mask unless update_mask.nil?
3469
- command.query['fields'] = fields unless fields.nil?
3470
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3471
- execute_or_queue_command(command, &block)
3472
- end
3473
-
3474
3262
  # Creates a new GatewaySecurityPolicy in a given project and location.
3475
3263
  # @param [String] parent
3476
3264
  # Required. The parent resource of the GatewaySecurityPolicy. Must be in the
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networksecurity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.51.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-networksecurity_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.49.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.51.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1
62
62
  rdoc_options: []
63
63
  require_paths: