google-apis-networksecurity_v1beta1 0.51.0 → 0.53.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: 8a632ff06b209f402185adfdea96f424b9c75dc649b79979aedb9bc463997b77
4
- data.tar.gz: e7b9cba77035a10058d2c2a7cf7596519e58e8d13dbd7a300c11f0ad59e4b002
3
+ metadata.gz: '0158e2ba6f66a3aa73c8c5d689d56ab31d9c10ee9e2488ffe25ea02f9e0aea5a'
4
+ data.tar.gz: 1489a6b47f102eb1defd0eb791c56c3f87eec43c8d7b41900aa6b1dbad60d75b
5
5
  SHA512:
6
- metadata.gz: 8f4c9e407411267e4e70d2da82879e64f6a0b6558f4de02b9b4995904eccd6e903b13ae717429bd1e467a22b8e67332e0989f203f883bb1495d36e693d60b3cd
7
- data.tar.gz: 5ea133a595d9d59089aedec192bab1f1d8a9120e079cb3b53207ef044a44629e0d17550cd0d713f6d70234e6305d48914e1f3f471310ba18ea8fd0ff6f270b3b
6
+ metadata.gz: 598edbc381c3734a5d53c3d72235a296cfb7b11dcd32ab864295a4ded0ee59af23d42bd2b25ec3bb65d9312020d53ae5cb4d08e7a1bc6c3b4cd21debe8eb23f2
7
+ data.tar.gz: f687915ef2b15e98ff006b335b48c77f305b88d868bdd2748079eb56bb5dd7853c6ec0767537f6be0d20f3076a759229257a1a8e306831ac3da5da2f148481b5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networksecurity_v1beta1
2
2
 
3
+ ### v0.53.0 (2025-08-10)
4
+
5
+ * Regenerated from discovery document revision 20250804
6
+
7
+ ### v0.52.0 (2025-08-03)
8
+
9
+ * Regenerated from discovery document revision 20250721
10
+
3
11
  ### v0.51.0 (2025-07-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20250714
@@ -376,7 +376,8 @@ module Google
376
376
  include Google::Apis::Core::Hashable
377
377
 
378
378
  # Optional. A list of IP addresses or IP address ranges to match against the
379
- # source IP address of the request. Limited to 5 ip_blocks.
379
+ # source IP address of the request. Limited to 10 ip_blocks per Authorization
380
+ # Policy
380
381
  # Corresponds to the JSON property `ipBlocks`
381
382
  # @return [Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleIpBlock>]
382
383
  attr_accessor :ip_blocks
@@ -387,13 +388,17 @@ module Google
387
388
  # successfully validated by mTLS. Each identity is a string whose value is
388
389
  # matched against a list of URI SANs, DNS Name SANs, or the common name in the
389
390
  # client's certificate. A match happens when any principal matches with the rule.
390
- # Limited to 5 principals.
391
+ # Limited to 50 principals per Authorization Policy for Regional Internal
392
+ # Application Load Balancer, Regional External Application Load Balancer, Cross-
393
+ # region Internal Application Load Balancer, and Cloud Service Mesh. Limited to
394
+ # 25 principals per Authorization Policy for Global External Application Load
395
+ # Balancer.
391
396
  # Corresponds to the JSON property `principals`
392
397
  # @return [Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRulePrincipal>]
393
398
  attr_accessor :principals
394
399
 
395
400
  # Optional. A list of resources to match against the resource of the source VM
396
- # of a request. Limited to 5 resources.
401
+ # of a request. Limited to 10 resources per Authorization Policy.
397
402
  # Corresponds to the JSON property `resources`
398
403
  # @return [Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleRequestResource>]
399
404
  attr_accessor :resources
@@ -521,7 +526,7 @@ module Google
521
526
  # Required. A list of resource tag value permanent IDs to match against the
522
527
  # resource manager tags value associated with the source VM of a request. The
523
528
  # match follows AND semantics which means all the ids must match. Limited to 5
524
- # matches.
529
+ # ids in the Tag value id set.
525
530
  # Corresponds to the JSON property `ids`
526
531
  # @return [Array<Fixnum>]
527
532
  attr_accessor :ids
@@ -632,23 +637,26 @@ module Google
632
637
 
633
638
  # Optional. A list of HTTP Hosts to match against. The match can be one of exact,
634
639
  # prefix, suffix, or contains (substring match). Matches are always case
635
- # sensitive unless the ignoreCase is set. Limited to 5 matches.
640
+ # sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization
641
+ # Policy.
636
642
  # Corresponds to the JSON property `hosts`
637
643
  # @return [Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleStringMatch>]
638
644
  attr_accessor :hosts
639
645
 
640
646
  # Optional. A list of HTTP methods to match against. Each entry must be a valid
641
647
  # HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only
642
- # allows exact match and is always case sensitive.
648
+ # allows exact match and is always case sensitive. Limited to 10 methods per
649
+ # Authorization Policy.
643
650
  # Corresponds to the JSON property `methods`
644
651
  # @return [Array<String>]
645
652
  attr_accessor :methods_prop
646
653
 
647
654
  # Optional. A list of paths to match against. The match can be one of exact,
648
655
  # prefix, suffix, or contains (substring match). Matches are always case
649
- # sensitive unless the ignoreCase is set. Limited to 5 matches. Note that this
650
- # path match includes the query parameters. For gRPC services, this should be a
651
- # fully-qualified name of the form /package.service/method.
656
+ # sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization
657
+ # Policy. Note that this path match includes the query parameters. For gRPC
658
+ # services, this should be a fully-qualified name of the form /package.service/
659
+ # method.
652
660
  # Corresponds to the JSON property `paths`
653
661
  # @return [Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleStringMatch>]
654
662
  attr_accessor :paths
@@ -673,7 +681,8 @@ module Google
673
681
  # Required. A list of headers to match against in http header. The match can be
674
682
  # one of exact, prefix, suffix, or contains (substring match). The match follows
675
683
  # AND semantics which means all the headers must match. Matches are always case
676
- # sensitive unless the ignoreCase is set. Limited to 5 matches.
684
+ # sensitive unless the ignoreCase is set. Limited to 10 headers per
685
+ # Authorization Policy.
677
686
  # Corresponds to the JSON property `headers`
678
687
  # @return [Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleHeaderMatch>]
679
688
  attr_accessor :headers
@@ -1098,6 +1107,57 @@ module Google
1098
1107
  end
1099
1108
  end
1100
1109
 
1110
+ # Message describing DnsThreatDetector object.
1111
+ class DnsThreatDetector
1112
+ include Google::Apis::Core::Hashable
1113
+
1114
+ # Output only. [Output only] Create time stamp
1115
+ # Corresponds to the JSON property `createTime`
1116
+ # @return [String]
1117
+ attr_accessor :create_time
1118
+
1119
+ # Optional. A list of Network resource names which are exempt from the
1120
+ # configuration in this DnsThreatDetector. Example: `projects/PROJECT_ID/global/
1121
+ # networks/NETWORK_NAME`.
1122
+ # Corresponds to the JSON property `excludedNetworks`
1123
+ # @return [Array<String>]
1124
+ attr_accessor :excluded_networks
1125
+
1126
+ # Optional. Labels as key value pairs
1127
+ # Corresponds to the JSON property `labels`
1128
+ # @return [Hash<String,String>]
1129
+ attr_accessor :labels
1130
+
1131
+ # Immutable. Identifier. Name of the DnsThreatDetector resource.
1132
+ # Corresponds to the JSON property `name`
1133
+ # @return [String]
1134
+ attr_accessor :name
1135
+
1136
+ # Required. The provider used for DNS threat analysis.
1137
+ # Corresponds to the JSON property `provider`
1138
+ # @return [String]
1139
+ attr_accessor :provider
1140
+
1141
+ # Output only. [Output only] Update time stamp
1142
+ # Corresponds to the JSON property `updateTime`
1143
+ # @return [String]
1144
+ attr_accessor :update_time
1145
+
1146
+ def initialize(**args)
1147
+ update!(**args)
1148
+ end
1149
+
1150
+ # Update properties of this object
1151
+ def update!(**args)
1152
+ @create_time = args[:create_time] if args.key?(:create_time)
1153
+ @excluded_networks = args[:excluded_networks] if args.key?(:excluded_networks)
1154
+ @labels = args[:labels] if args.key?(:labels)
1155
+ @name = args[:name] if args.key?(:name)
1156
+ @provider = args[:provider] if args.key?(:provider)
1157
+ @update_time = args[:update_time] if args.key?(:update_time)
1158
+ end
1159
+ end
1160
+
1101
1161
  # A generic empty message that you can re-use to avoid defining duplicated empty
1102
1162
  # messages in your APIs. A typical example is to use it as the request or the
1103
1163
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -2667,6 +2727,37 @@ module Google
2667
2727
  end
2668
2728
  end
2669
2729
 
2730
+ # Message for response to listing DnsThreatDetectors.
2731
+ class ListDnsThreatDetectorsResponse
2732
+ include Google::Apis::Core::Hashable
2733
+
2734
+ # The list of DnsThreatDetector resources.
2735
+ # Corresponds to the JSON property `dnsThreatDetectors`
2736
+ # @return [Array<Google::Apis::NetworksecurityV1beta1::DnsThreatDetector>]
2737
+ attr_accessor :dns_threat_detectors
2738
+
2739
+ # A token, which can be sent as `page_token` to retrieve the next page.
2740
+ # Corresponds to the JSON property `nextPageToken`
2741
+ # @return [String]
2742
+ attr_accessor :next_page_token
2743
+
2744
+ # Unordered list. Unreachable `DnsThreatDetector` resources.
2745
+ # Corresponds to the JSON property `unreachable`
2746
+ # @return [Array<String>]
2747
+ attr_accessor :unreachable
2748
+
2749
+ def initialize(**args)
2750
+ update!(**args)
2751
+ end
2752
+
2753
+ # Update properties of this object
2754
+ def update!(**args)
2755
+ @dns_threat_detectors = args[:dns_threat_detectors] if args.key?(:dns_threat_detectors)
2756
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2757
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2758
+ end
2759
+ end
2760
+
2670
2761
  # Message for response to listing Associations
2671
2762
  class ListFirewallEndpointAssociationsResponse
2672
2763
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworksecurityV1beta1
18
18
  # Version of the google-apis-networksecurity_v1beta1 gem
19
- GEM_VERSION = "0.51.0"
19
+ GEM_VERSION = "0.53.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 = "20250714"
25
+ REVISION = "20250804"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class DnsThreatDetector
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class Empty
200
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
207
 
@@ -400,6 +406,12 @@ module Google
400
406
  include Google::Apis::Core::JsonObjectSupport
401
407
  end
402
408
 
409
+ class ListDnsThreatDetectorsResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
403
415
  class ListFirewallEndpointAssociationsResponse
404
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
417
 
@@ -1008,6 +1020,18 @@ module Google
1008
1020
  end
1009
1021
  end
1010
1022
 
1023
+ class DnsThreatDetector
1024
+ # @private
1025
+ class Representation < Google::Apis::Core::JsonRepresentation
1026
+ property :create_time, as: 'createTime'
1027
+ collection :excluded_networks, as: 'excludedNetworks'
1028
+ hash :labels, as: 'labels'
1029
+ property :name, as: 'name'
1030
+ property :provider, as: 'provider'
1031
+ property :update_time, as: 'updateTime'
1032
+ end
1033
+ end
1034
+
1011
1035
  class Empty
1012
1036
  # @private
1013
1037
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1367,6 +1391,16 @@ module Google
1367
1391
  end
1368
1392
  end
1369
1393
 
1394
+ class ListDnsThreatDetectorsResponse
1395
+ # @private
1396
+ class Representation < Google::Apis::Core::JsonRepresentation
1397
+ collection :dns_threat_detectors, as: 'dnsThreatDetectors', class: Google::Apis::NetworksecurityV1beta1::DnsThreatDetector, decorator: Google::Apis::NetworksecurityV1beta1::DnsThreatDetector::Representation
1398
+
1399
+ property :next_page_token, as: 'nextPageToken'
1400
+ collection :unreachable, as: 'unreachable'
1401
+ end
1402
+ end
1403
+
1370
1404
  class ListFirewallEndpointAssociationsResponse
1371
1405
  # @private
1372
1406
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2849,6 +2849,182 @@ module Google
2849
2849
  execute_or_queue_command(command, &block)
2850
2850
  end
2851
2851
 
2852
+ # Creates a new DnsThreatDetector in a given project and location.
2853
+ # @param [String] parent
2854
+ # Required. Value for parent of the DnsThreatDetector resource.
2855
+ # @param [Google::Apis::NetworksecurityV1beta1::DnsThreatDetector] dns_threat_detector_object
2856
+ # @param [String] dns_threat_detector_id
2857
+ # Optional. Id of the requesting DnsThreatDetector object. If this field is not
2858
+ # supplied, the service will generate an identifier.
2859
+ # @param [String] fields
2860
+ # Selector specifying which fields to include in a partial response.
2861
+ # @param [String] quota_user
2862
+ # Available to use for quota purposes for server-side applications. Can be any
2863
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2864
+ # @param [Google::Apis::RequestOptions] options
2865
+ # Request-specific options
2866
+ #
2867
+ # @yield [result, err] Result & error if block supplied
2868
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::DnsThreatDetector] parsed result object
2869
+ # @yieldparam err [StandardError] error object if request failed
2870
+ #
2871
+ # @return [Google::Apis::NetworksecurityV1beta1::DnsThreatDetector]
2872
+ #
2873
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2874
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2875
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2876
+ def create_project_location_dns_threat_detector(parent, dns_threat_detector_object = nil, dns_threat_detector_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2877
+ command = make_simple_command(:post, 'v1beta1/{+parent}/dnsThreatDetectors', options)
2878
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::DnsThreatDetector::Representation
2879
+ command.request_object = dns_threat_detector_object
2880
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::DnsThreatDetector::Representation
2881
+ command.response_class = Google::Apis::NetworksecurityV1beta1::DnsThreatDetector
2882
+ command.params['parent'] = parent unless parent.nil?
2883
+ command.query['dnsThreatDetectorId'] = dns_threat_detector_id unless dns_threat_detector_id.nil?
2884
+ command.query['fields'] = fields unless fields.nil?
2885
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2886
+ execute_or_queue_command(command, &block)
2887
+ end
2888
+
2889
+ # Deletes a single DnsThreatDetector.
2890
+ # @param [String] name
2891
+ # Required. Name of the DnsThreatDetector resource.
2892
+ # @param [String] fields
2893
+ # Selector specifying which fields to include in a partial response.
2894
+ # @param [String] quota_user
2895
+ # Available to use for quota purposes for server-side applications. Can be any
2896
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2897
+ # @param [Google::Apis::RequestOptions] options
2898
+ # Request-specific options
2899
+ #
2900
+ # @yield [result, err] Result & error if block supplied
2901
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Empty] parsed result object
2902
+ # @yieldparam err [StandardError] error object if request failed
2903
+ #
2904
+ # @return [Google::Apis::NetworksecurityV1beta1::Empty]
2905
+ #
2906
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2907
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2908
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2909
+ def delete_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil, &block)
2910
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
2911
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Empty::Representation
2912
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Empty
2913
+ command.params['name'] = name unless name.nil?
2914
+ command.query['fields'] = fields unless fields.nil?
2915
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2916
+ execute_or_queue_command(command, &block)
2917
+ end
2918
+
2919
+ # Gets details of a single DnsThreatDetector.
2920
+ # @param [String] name
2921
+ # Required. Name of the DnsThreatDetector resource
2922
+ # @param [String] fields
2923
+ # Selector specifying which fields to include in a partial response.
2924
+ # @param [String] quota_user
2925
+ # Available to use for quota purposes for server-side applications. Can be any
2926
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2927
+ # @param [Google::Apis::RequestOptions] options
2928
+ # Request-specific options
2929
+ #
2930
+ # @yield [result, err] Result & error if block supplied
2931
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::DnsThreatDetector] parsed result object
2932
+ # @yieldparam err [StandardError] error object if request failed
2933
+ #
2934
+ # @return [Google::Apis::NetworksecurityV1beta1::DnsThreatDetector]
2935
+ #
2936
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2937
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2938
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2939
+ def get_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil, &block)
2940
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
2941
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::DnsThreatDetector::Representation
2942
+ command.response_class = Google::Apis::NetworksecurityV1beta1::DnsThreatDetector
2943
+ command.params['name'] = name unless name.nil?
2944
+ command.query['fields'] = fields unless fields.nil?
2945
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2946
+ execute_or_queue_command(command, &block)
2947
+ end
2948
+
2949
+ # Lists DnsThreatDetectors in a given project and location.
2950
+ # @param [String] parent
2951
+ # Required. Parent value for ListDnsThreatDetectorsRequest
2952
+ # @param [Fixnum] page_size
2953
+ # Optional. Requested page size. Server may return fewer items than requested.
2954
+ # If unspecified, server will pick an appropriate default.
2955
+ # @param [String] page_token
2956
+ # Optional. A page token, received from a previous `
2957
+ # ListDnsThreatDetectorsRequest` call. Provide this to retrieve the subsequent
2958
+ # page.
2959
+ # @param [String] fields
2960
+ # Selector specifying which fields to include in a partial response.
2961
+ # @param [String] quota_user
2962
+ # Available to use for quota purposes for server-side applications. Can be any
2963
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2964
+ # @param [Google::Apis::RequestOptions] options
2965
+ # Request-specific options
2966
+ #
2967
+ # @yield [result, err] Result & error if block supplied
2968
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListDnsThreatDetectorsResponse] parsed result object
2969
+ # @yieldparam err [StandardError] error object if request failed
2970
+ #
2971
+ # @return [Google::Apis::NetworksecurityV1beta1::ListDnsThreatDetectorsResponse]
2972
+ #
2973
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2974
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2975
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2976
+ def list_project_location_dns_threat_detectors(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2977
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dnsThreatDetectors', options)
2978
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::ListDnsThreatDetectorsResponse::Representation
2979
+ command.response_class = Google::Apis::NetworksecurityV1beta1::ListDnsThreatDetectorsResponse
2980
+ command.params['parent'] = parent unless parent.nil?
2981
+ command.query['pageSize'] = page_size unless page_size.nil?
2982
+ command.query['pageToken'] = page_token unless page_token.nil?
2983
+ command.query['fields'] = fields unless fields.nil?
2984
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2985
+ execute_or_queue_command(command, &block)
2986
+ end
2987
+
2988
+ # Updates the parameters of a single DnsThreatDetector.
2989
+ # @param [String] name
2990
+ # Immutable. Identifier. Name of the DnsThreatDetector resource.
2991
+ # @param [Google::Apis::NetworksecurityV1beta1::DnsThreatDetector] dns_threat_detector_object
2992
+ # @param [String] update_mask
2993
+ # Optional. Field mask is used to specify the fields to be overwritten in the
2994
+ # DnsThreatDetector resource by the update. The fields specified in the
2995
+ # update_mask are relative to the resource, not the full request. A field will
2996
+ # be overwritten if it is in the mask. If the mask is not provided then all
2997
+ # fields present in the request will be overwritten.
2998
+ # @param [String] fields
2999
+ # Selector specifying which fields to include in a partial response.
3000
+ # @param [String] quota_user
3001
+ # Available to use for quota purposes for server-side applications. Can be any
3002
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3003
+ # @param [Google::Apis::RequestOptions] options
3004
+ # Request-specific options
3005
+ #
3006
+ # @yield [result, err] Result & error if block supplied
3007
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::DnsThreatDetector] parsed result object
3008
+ # @yieldparam err [StandardError] error object if request failed
3009
+ #
3010
+ # @return [Google::Apis::NetworksecurityV1beta1::DnsThreatDetector]
3011
+ #
3012
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3013
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3014
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3015
+ def patch_project_location_dns_threat_detector(name, dns_threat_detector_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3016
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
3017
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::DnsThreatDetector::Representation
3018
+ command.request_object = dns_threat_detector_object
3019
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::DnsThreatDetector::Representation
3020
+ command.response_class = Google::Apis::NetworksecurityV1beta1::DnsThreatDetector
3021
+ command.params['name'] = name unless name.nil?
3022
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3023
+ command.query['fields'] = fields unless fields.nil?
3024
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3025
+ execute_or_queue_command(command, &block)
3026
+ end
3027
+
2852
3028
  # Creates a new FirewallEndpointAssociation in a given project and location.
2853
3029
  # @param [String] parent
2854
3030
  # Required. Value for parent.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networksecurity_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.53.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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.51.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.53.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: