google-apis-networksecurity_v1 0.45.0 → 0.47.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: 6099d0704fba4b5d80c757bc829c8eb41032fc39189cb849f649d96d392a364e
4
- data.tar.gz: 30133c46fe61e9981e88fffae1c4548a2b9893eb3770a5811b51169ab0e82080
3
+ metadata.gz: 10adc8d0e43f649e6548a929b9b2f1c528a8363a0fc24a8ae86336d19aa8265a
4
+ data.tar.gz: 57572d9dec34ea3d2217405f4852f6f23ef45962198e13bf1b3423eab0ea0b24
5
5
  SHA512:
6
- metadata.gz: e3747bb336a3181e01f5fa03c528223fa7f9102cb4fd86b58f2bfd5e7d9ef5558505475234b8adbb37a340c9921dcfd886822e1700a293d2a667f5854e449e54
7
- data.tar.gz: ae73e04ee1801324b162003cb47c385468d504582228f27426af1dec8fe95ac32ef9aff73e705001a3b05c39ede426e1c46472de8867314e01f1b27fcc8df8d5
6
+ metadata.gz: 487f3083a01c664651b0234df41ded9e4ad71d581941f0d20eb2f9b622f75892e1a30804b986b95c06100fa89edfa1236b1968ccfb6251f9791096bbaf0469d9
7
+ data.tar.gz: 353a3b8cb873094be34c8b08a7e977139196b17d9afd642e8476195b9e342aa3a9cc3876466cd116202f5d9873cd77eb23db17e5d0ea2f3a187fc356bb69b2a6
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Release history for google-apis-networksecurity_v1
2
2
 
3
- ### v0.45.0 (2025-10-05)
3
+ ### v0.47.0 (2026-02-01)
4
4
 
5
- * Regenerated from discovery document revision 20250925
5
+ * Regenerated from discovery document revision 20260125
6
+
7
+ ### v0.46.0 (2025-12-14)
8
+
9
+ * Regenerated from discovery document revision 20251203
10
+
11
+ ### v0.45.0 (2025-10-12)
12
+
13
+ * Regenerated from discovery document revision 20251001
6
14
 
7
15
  ### v0.44.0 (2025-09-28)
8
16
 
@@ -1048,9 +1048,9 @@ module Google
1048
1048
  class CustomMirroringProfile
1049
1049
  include Google::Apis::Core::Hashable
1050
1050
 
1051
- # Required. The target MirroringEndpointGroup. When a mirroring rule with this
1052
- # security profile attached matches a packet, a replica will be mirrored to the
1053
- # location-local target in this group.
1051
+ # Required. Immutable. The target MirroringEndpointGroup. When a mirroring rule
1052
+ # with this security profile attached matches a packet, a replica will be
1053
+ # mirrored to the location-local target in this group.
1054
1054
  # Corresponds to the JSON property `mirroringEndpointGroup`
1055
1055
  # @return [String]
1056
1056
  attr_accessor :mirroring_endpoint_group
@@ -1106,6 +1106,60 @@ module Google
1106
1106
  end
1107
1107
  end
1108
1108
 
1109
+ # A DNS threat detector sends DNS query logs to a _provider_ that then analyzes
1110
+ # the logs to identify threat events in the DNS queries. By default, all VPC
1111
+ # networks in your projects are included. You can exclude specific networks by
1112
+ # supplying `excluded_networks`.
1113
+ class DnsThreatDetector
1114
+ include Google::Apis::Core::Hashable
1115
+
1116
+ # Output only. Create time stamp.
1117
+ # Corresponds to the JSON property `createTime`
1118
+ # @return [String]
1119
+ attr_accessor :create_time
1120
+
1121
+ # Optional. A list of network resource names which aren't monitored by this
1122
+ # DnsThreatDetector. Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
1123
+ # Corresponds to the JSON property `excludedNetworks`
1124
+ # @return [Array<String>]
1125
+ attr_accessor :excluded_networks
1126
+
1127
+ # Optional. Any labels associated with the DnsThreatDetector, listed as key
1128
+ # value pairs.
1129
+ # Corresponds to the JSON property `labels`
1130
+ # @return [Hash<String,String>]
1131
+ attr_accessor :labels
1132
+
1133
+ # Immutable. Identifier. Name of the DnsThreatDetector resource.
1134
+ # Corresponds to the JSON property `name`
1135
+ # @return [String]
1136
+ attr_accessor :name
1137
+
1138
+ # Required. The provider used for DNS threat analysis.
1139
+ # Corresponds to the JSON property `provider`
1140
+ # @return [String]
1141
+ attr_accessor :provider
1142
+
1143
+ # Output only. Update time stamp.
1144
+ # Corresponds to the JSON property `updateTime`
1145
+ # @return [String]
1146
+ attr_accessor :update_time
1147
+
1148
+ def initialize(**args)
1149
+ update!(**args)
1150
+ end
1151
+
1152
+ # Update properties of this object
1153
+ def update!(**args)
1154
+ @create_time = args[:create_time] if args.key?(:create_time)
1155
+ @excluded_networks = args[:excluded_networks] if args.key?(:excluded_networks)
1156
+ @labels = args[:labels] if args.key?(:labels)
1157
+ @name = args[:name] if args.key?(:name)
1158
+ @provider = args[:provider] if args.key?(:provider)
1159
+ @update_time = args[:update_time] if args.key?(:update_time)
1160
+ end
1161
+ end
1162
+
1109
1163
  # A generic empty message that you can re-use to avoid defining duplicated empty
1110
1164
  # messages in your APIs. A typical example is to use it as the request or the
1111
1165
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1385,12 +1439,20 @@ module Google
1385
1439
  class FirewallEndpointEndpointSettings
1386
1440
  include Google::Apis::Core::Hashable
1387
1441
 
1442
+ # Optional. Immutable. Indicates whether Jumbo Frames are enabled. Default value
1443
+ # is false.
1444
+ # Corresponds to the JSON property `jumboFramesEnabled`
1445
+ # @return [Boolean]
1446
+ attr_accessor :jumbo_frames_enabled
1447
+ alias_method :jumbo_frames_enabled?, :jumbo_frames_enabled
1448
+
1388
1449
  def initialize(**args)
1389
1450
  update!(**args)
1390
1451
  end
1391
1452
 
1392
1453
  # Update properties of this object
1393
1454
  def update!(**args)
1455
+ @jumbo_frames_enabled = args[:jumbo_frames_enabled] if args.key?(:jumbo_frames_enabled)
1394
1456
  end
1395
1457
  end
1396
1458
 
@@ -2694,6 +2756,37 @@ module Google
2694
2756
  end
2695
2757
  end
2696
2758
 
2759
+ # The response message to requesting a list of DnsThreatDetectors.
2760
+ class ListDnsThreatDetectorsResponse
2761
+ include Google::Apis::Core::Hashable
2762
+
2763
+ # The list of DnsThreatDetector resources.
2764
+ # Corresponds to the JSON property `dnsThreatDetectors`
2765
+ # @return [Array<Google::Apis::NetworksecurityV1::DnsThreatDetector>]
2766
+ attr_accessor :dns_threat_detectors
2767
+
2768
+ # A token, which can be sent as `page_token`, to retrieve the next page.
2769
+ # Corresponds to the JSON property `nextPageToken`
2770
+ # @return [String]
2771
+ attr_accessor :next_page_token
2772
+
2773
+ # Unordered list. Unreachable `DnsThreatDetector` resources.
2774
+ # Corresponds to the JSON property `unreachable`
2775
+ # @return [Array<String>]
2776
+ attr_accessor :unreachable
2777
+
2778
+ def initialize(**args)
2779
+ update!(**args)
2780
+ end
2781
+
2782
+ # Update properties of this object
2783
+ def update!(**args)
2784
+ @dns_threat_detectors = args[:dns_threat_detectors] if args.key?(:dns_threat_detectors)
2785
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2786
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2787
+ end
2788
+ end
2789
+
2697
2790
  # Message for response to listing Associations
2698
2791
  class ListFirewallEndpointAssociationsResponse
2699
2792
  include Google::Apis::Core::Hashable
@@ -3090,8 +3183,9 @@ module Google
3090
3183
  attr_accessor :operations
3091
3184
 
3092
3185
  # Unordered list. Unreachable resources. Populated when the request sets `
3093
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
3094
- # when attempting to list all resources across all supported locations.
3186
+ # ListOperationsRequest.return_partial_success` and reads across collections.
3187
+ # For example, when attempting to list all resources across all supported
3188
+ # locations.
3095
3189
  # Corresponds to the JSON property `unreachable`
3096
3190
  # @return [Array<String>]
3097
3191
  attr_accessor :unreachable
@@ -3641,6 +3735,12 @@ module Google
3641
3735
  # @return [String]
3642
3736
  attr_accessor :state
3643
3737
 
3738
+ # Immutable. The type of the endpoint group. If left unspecified, defaults to
3739
+ # DIRECT.
3740
+ # Corresponds to the JSON property `type`
3741
+ # @return [String]
3742
+ attr_accessor :type
3743
+
3644
3744
  # Output only. The timestamp when the resource was most recently updated. See
3645
3745
  # https://google.aip.dev/148#timestamps.
3646
3746
  # Corresponds to the JSON property `updateTime`
@@ -3662,6 +3762,7 @@ module Google
3662
3762
  @name = args[:name] if args.key?(:name)
3663
3763
  @reconciling = args[:reconciling] if args.key?(:reconciling)
3664
3764
  @state = args[:state] if args.key?(:state)
3765
+ @type = args[:type] if args.key?(:type)
3665
3766
  @update_time = args[:update_time] if args.key?(:update_time)
3666
3767
  end
3667
3768
  end
@@ -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.45.0"
19
+ GEM_VERSION = "0.47.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 = "20250925"
25
+ REVISION = "20260125"
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
 
@@ -406,6 +412,12 @@ module Google
406
412
  include Google::Apis::Core::JsonObjectSupport
407
413
  end
408
414
 
415
+ class ListDnsThreatDetectorsResponse
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
409
421
  class ListFirewallEndpointAssociationsResponse
410
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
423
 
@@ -972,6 +984,18 @@ module Google
972
984
  end
973
985
  end
974
986
 
987
+ class DnsThreatDetector
988
+ # @private
989
+ class Representation < Google::Apis::Core::JsonRepresentation
990
+ property :create_time, as: 'createTime'
991
+ collection :excluded_networks, as: 'excludedNetworks'
992
+ hash :labels, as: 'labels'
993
+ property :name, as: 'name'
994
+ property :provider, as: 'provider'
995
+ property :update_time, as: 'updateTime'
996
+ end
997
+ end
998
+
975
999
  class Empty
976
1000
  # @private
977
1001
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1036,6 +1060,7 @@ module Google
1036
1060
  class FirewallEndpointEndpointSettings
1037
1061
  # @private
1038
1062
  class Representation < Google::Apis::Core::JsonRepresentation
1063
+ property :jumbo_frames_enabled, as: 'jumboFramesEnabled'
1039
1064
  end
1040
1065
  end
1041
1066
 
@@ -1339,6 +1364,16 @@ module Google
1339
1364
  end
1340
1365
  end
1341
1366
 
1367
+ class ListDnsThreatDetectorsResponse
1368
+ # @private
1369
+ class Representation < Google::Apis::Core::JsonRepresentation
1370
+ collection :dns_threat_detectors, as: 'dnsThreatDetectors', class: Google::Apis::NetworksecurityV1::DnsThreatDetector, decorator: Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation
1371
+
1372
+ property :next_page_token, as: 'nextPageToken'
1373
+ collection :unreachable, as: 'unreachable'
1374
+ end
1375
+ end
1376
+
1342
1377
  class ListFirewallEndpointAssociationsResponse
1343
1378
  # @private
1344
1379
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1605,6 +1640,7 @@ module Google
1605
1640
  property :name, as: 'name'
1606
1641
  property :reconciling, as: 'reconciling'
1607
1642
  property :state, as: 'state'
1643
+ property :type, as: 'type'
1608
1644
  property :update_time, as: 'updateTime'
1609
1645
  end
1610
1646
  end
@@ -747,11 +747,12 @@ module Google
747
747
  # The standard list page token.
748
748
  # @param [Boolean] return_partial_success
749
749
  # When set to `true`, operations that are reachable are returned as normal, and
750
- # those that are unreachable are returned in the [ListOperationsResponse.
751
- # unreachable] field. This can only be `true` when reading across collections e.
752
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
753
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
754
- # explicitly documented otherwise in service or product specific documentation.
750
+ # those that are unreachable are returned in the ListOperationsResponse.
751
+ # unreachable field. This can only be `true` when reading across collections.
752
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
753
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
754
+ # if set unless explicitly documented otherwise in service or product specific
755
+ # documentation.
755
756
  # @param [String] fields
756
757
  # Selector specifying which fields to include in a partial response.
757
758
  # @param [String] quota_user
@@ -897,11 +898,11 @@ module Google
897
898
  # SecurityProfileGroups should be listed, specified in the format `projects|
898
899
  # organizations/*/locations/`location``.
899
900
  # @param [Fixnum] page_size
900
- # Maximum number of SecurityProfileGroups to return per call.
901
+ # Optional. Maximum number of SecurityProfileGroups to return per call.
901
902
  # @param [String] page_token
902
- # The value returned by the last `ListSecurityProfileGroupsResponse` Indicates
903
- # that this is a continuation of a prior `ListSecurityProfileGroups` call, and
904
- # that the system should return the next page of data.
903
+ # Optional. The value returned by the last `ListSecurityProfileGroupsResponse`
904
+ # Indicates that this is a continuation of a prior `ListSecurityProfileGroups`
905
+ # call, and that the system should return the next page of data.
905
906
  # @param [String] fields
906
907
  # Selector specifying which fields to include in a partial response.
907
908
  # @param [String] quota_user
@@ -1085,11 +1086,11 @@ module Google
1085
1086
  # SecurityProfiles should be listed, specified in the format `projects|
1086
1087
  # organizations/*/locations/`location``.
1087
1088
  # @param [Fixnum] page_size
1088
- # Maximum number of SecurityProfiles to return per call.
1089
+ # Optional. Maximum number of SecurityProfiles to return per call.
1089
1090
  # @param [String] page_token
1090
- # The value returned by the last `ListSecurityProfilesResponse` Indicates that
1091
- # this is a continuation of a prior `ListSecurityProfiles` call, and that the
1092
- # system should return the next page of data.
1091
+ # Optional. The value returned by the last `ListSecurityProfilesResponse`
1092
+ # Indicates that this is a continuation of a prior `ListSecurityProfiles` call,
1093
+ # and that the system should return the next page of data.
1093
1094
  # @param [String] fields
1094
1095
  # Selector specifying which fields to include in a partial response.
1095
1096
  # @param [String] quota_user
@@ -1190,12 +1191,16 @@ module Google
1190
1191
  execute_or_queue_command(command, &block)
1191
1192
  end
1192
1193
 
1193
- # Lists information about the supported locations for this service.
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.
1194
1199
  # @param [String] name
1195
1200
  # The resource that owns the locations collection, if applicable.
1196
1201
  # @param [Array<String>, String] extra_location_types
1197
- # Optional. Unless explicitly documented otherwise, don't use this unsupported
1198
- # field which is primarily intended for internal usage.
1202
+ # Optional. Do not use this field. It is unsupported and is ignored unless
1203
+ # explicitly documented otherwise. This is primarily for internal usage.
1199
1204
  # @param [String] filter
1200
1205
  # A filter to narrow down results to a preferred subset. The filtering language
1201
1206
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -2857,6 +2862,181 @@ module Google
2857
2862
  execute_or_queue_command(command, &block)
2858
2863
  end
2859
2864
 
2865
+ # Creates a new DnsThreatDetector in a given project and location.
2866
+ # @param [String] parent
2867
+ # Required. The value for the parent of the DnsThreatDetector resource.
2868
+ # @param [Google::Apis::NetworksecurityV1::DnsThreatDetector] dns_threat_detector_object
2869
+ # @param [String] dns_threat_detector_id
2870
+ # Optional. The ID of the requesting DnsThreatDetector object. If this field is
2871
+ # not supplied, the service generates an identifier.
2872
+ # @param [String] fields
2873
+ # Selector specifying which fields to include in a partial response.
2874
+ # @param [String] quota_user
2875
+ # Available to use for quota purposes for server-side applications. Can be any
2876
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2877
+ # @param [Google::Apis::RequestOptions] options
2878
+ # Request-specific options
2879
+ #
2880
+ # @yield [result, err] Result & error if block supplied
2881
+ # @yieldparam result [Google::Apis::NetworksecurityV1::DnsThreatDetector] parsed result object
2882
+ # @yieldparam err [StandardError] error object if request failed
2883
+ #
2884
+ # @return [Google::Apis::NetworksecurityV1::DnsThreatDetector]
2885
+ #
2886
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2887
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2888
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2889
+ 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)
2890
+ command = make_simple_command(:post, 'v1/{+parent}/dnsThreatDetectors', options)
2891
+ command.request_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation
2892
+ command.request_object = dns_threat_detector_object
2893
+ command.response_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation
2894
+ command.response_class = Google::Apis::NetworksecurityV1::DnsThreatDetector
2895
+ command.params['parent'] = parent unless parent.nil?
2896
+ command.query['dnsThreatDetectorId'] = dns_threat_detector_id unless dns_threat_detector_id.nil?
2897
+ command.query['fields'] = fields unless fields.nil?
2898
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2899
+ execute_or_queue_command(command, &block)
2900
+ end
2901
+
2902
+ # Deletes a single DnsThreatDetector.
2903
+ # @param [String] name
2904
+ # Required. Name of the DnsThreatDetector resource.
2905
+ # @param [String] fields
2906
+ # Selector specifying which fields to include in a partial response.
2907
+ # @param [String] quota_user
2908
+ # Available to use for quota purposes for server-side applications. Can be any
2909
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2910
+ # @param [Google::Apis::RequestOptions] options
2911
+ # Request-specific options
2912
+ #
2913
+ # @yield [result, err] Result & error if block supplied
2914
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Empty] parsed result object
2915
+ # @yieldparam err [StandardError] error object if request failed
2916
+ #
2917
+ # @return [Google::Apis::NetworksecurityV1::Empty]
2918
+ #
2919
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2920
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2921
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2922
+ def delete_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil, &block)
2923
+ command = make_simple_command(:delete, 'v1/{+name}', options)
2924
+ command.response_representation = Google::Apis::NetworksecurityV1::Empty::Representation
2925
+ command.response_class = Google::Apis::NetworksecurityV1::Empty
2926
+ command.params['name'] = name unless name.nil?
2927
+ command.query['fields'] = fields unless fields.nil?
2928
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2929
+ execute_or_queue_command(command, &block)
2930
+ end
2931
+
2932
+ # Gets the details of a single DnsThreatDetector.
2933
+ # @param [String] name
2934
+ # Required. Name of the DnsThreatDetector resource.
2935
+ # @param [String] fields
2936
+ # Selector specifying which fields to include in a partial response.
2937
+ # @param [String] quota_user
2938
+ # Available to use for quota purposes for server-side applications. Can be any
2939
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2940
+ # @param [Google::Apis::RequestOptions] options
2941
+ # Request-specific options
2942
+ #
2943
+ # @yield [result, err] Result & error if block supplied
2944
+ # @yieldparam result [Google::Apis::NetworksecurityV1::DnsThreatDetector] parsed result object
2945
+ # @yieldparam err [StandardError] error object if request failed
2946
+ #
2947
+ # @return [Google::Apis::NetworksecurityV1::DnsThreatDetector]
2948
+ #
2949
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2950
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2951
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2952
+ def get_project_location_dns_threat_detector(name, fields: nil, quota_user: nil, options: nil, &block)
2953
+ command = make_simple_command(:get, 'v1/{+name}', options)
2954
+ command.response_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation
2955
+ command.response_class = Google::Apis::NetworksecurityV1::DnsThreatDetector
2956
+ command.params['name'] = name unless name.nil?
2957
+ command.query['fields'] = fields unless fields.nil?
2958
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2959
+ execute_or_queue_command(command, &block)
2960
+ end
2961
+
2962
+ # Lists DnsThreatDetectors in a given project and location.
2963
+ # @param [String] parent
2964
+ # Required. The parent value for `ListDnsThreatDetectorsRequest`.
2965
+ # @param [Fixnum] page_size
2966
+ # Optional. The requested page size. The server may return fewer items than
2967
+ # requested. If unspecified, the server picks an appropriate default.
2968
+ # @param [String] page_token
2969
+ # Optional. A page token received from a previous `ListDnsThreatDetectorsRequest`
2970
+ # call. Provide this to retrieve the subsequent page.
2971
+ # @param [String] fields
2972
+ # Selector specifying which fields to include in a partial response.
2973
+ # @param [String] quota_user
2974
+ # Available to use for quota purposes for server-side applications. Can be any
2975
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2976
+ # @param [Google::Apis::RequestOptions] options
2977
+ # Request-specific options
2978
+ #
2979
+ # @yield [result, err] Result & error if block supplied
2980
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse] parsed result object
2981
+ # @yieldparam err [StandardError] error object if request failed
2982
+ #
2983
+ # @return [Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse]
2984
+ #
2985
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2986
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2987
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2988
+ def list_project_location_dns_threat_detectors(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2989
+ command = make_simple_command(:get, 'v1/{+parent}/dnsThreatDetectors', options)
2990
+ command.response_representation = Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse::Representation
2991
+ command.response_class = Google::Apis::NetworksecurityV1::ListDnsThreatDetectorsResponse
2992
+ command.params['parent'] = parent unless parent.nil?
2993
+ command.query['pageSize'] = page_size unless page_size.nil?
2994
+ command.query['pageToken'] = page_token unless page_token.nil?
2995
+ command.query['fields'] = fields unless fields.nil?
2996
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2997
+ execute_or_queue_command(command, &block)
2998
+ end
2999
+
3000
+ # Updates a single DnsThreatDetector.
3001
+ # @param [String] name
3002
+ # Immutable. Identifier. Name of the DnsThreatDetector resource.
3003
+ # @param [Google::Apis::NetworksecurityV1::DnsThreatDetector] dns_threat_detector_object
3004
+ # @param [String] update_mask
3005
+ # Optional. The field mask is used to specify the fields to be overwritten in
3006
+ # the DnsThreatDetector resource by the update. The fields specified in the
3007
+ # update_mask are relative to the resource, not the full request. A field will
3008
+ # be overwritten if it is in the mask. If the mask is not provided then all
3009
+ # fields present in the request will be overwritten.
3010
+ # @param [String] fields
3011
+ # Selector specifying which fields to include in a partial response.
3012
+ # @param [String] quota_user
3013
+ # Available to use for quota purposes for server-side applications. Can be any
3014
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3015
+ # @param [Google::Apis::RequestOptions] options
3016
+ # Request-specific options
3017
+ #
3018
+ # @yield [result, err] Result & error if block supplied
3019
+ # @yieldparam result [Google::Apis::NetworksecurityV1::DnsThreatDetector] parsed result object
3020
+ # @yieldparam err [StandardError] error object if request failed
3021
+ #
3022
+ # @return [Google::Apis::NetworksecurityV1::DnsThreatDetector]
3023
+ #
3024
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3025
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3026
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3027
+ def patch_project_location_dns_threat_detector(name, dns_threat_detector_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3028
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3029
+ command.request_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation
3030
+ command.request_object = dns_threat_detector_object
3031
+ command.response_representation = Google::Apis::NetworksecurityV1::DnsThreatDetector::Representation
3032
+ command.response_class = Google::Apis::NetworksecurityV1::DnsThreatDetector
3033
+ command.params['name'] = name unless name.nil?
3034
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3035
+ command.query['fields'] = fields unless fields.nil?
3036
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3037
+ execute_or_queue_command(command, &block)
3038
+ end
3039
+
2860
3040
  # Creates a new FirewallEndpointAssociation in a given project and location.
2861
3041
  # @param [String] parent
2862
3042
  # Required. Value for parent.
@@ -3074,6 +3254,223 @@ module Google
3074
3254
  execute_or_queue_command(command, &block)
3075
3255
  end
3076
3256
 
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 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 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 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
+
3077
3474
  # Creates a new GatewaySecurityPolicy in a given project and location.
3078
3475
  # @param [String] parent
3079
3476
  # Required. The parent resource of the GatewaySecurityPolicy. Must be in the
@@ -5230,11 +5627,12 @@ module Google
5230
5627
  # The standard list page token.
5231
5628
  # @param [Boolean] return_partial_success
5232
5629
  # When set to `true`, operations that are reachable are returned as normal, and
5233
- # those that are unreachable are returned in the [ListOperationsResponse.
5234
- # unreachable] field. This can only be `true` when reading across collections e.
5235
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
5236
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
5237
- # explicitly documented otherwise in service or product specific documentation.
5630
+ # those that are unreachable are returned in the ListOperationsResponse.
5631
+ # unreachable field. This can only be `true` when reading across collections.
5632
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
5633
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
5634
+ # if set unless explicitly documented otherwise in service or product specific
5635
+ # documentation.
5238
5636
  # @param [String] fields
5239
5637
  # Selector specifying which fields to include in a partial response.
5240
5638
  # @param [String] quota_user
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.45.0
4
+ version: 0.47.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.45.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.47.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: