google-apis-networksecurity_v1beta1 0.23.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f3827fbdd98c2c740b520d07a983f99d50158aa8e7fbe79b537ecca4a4bfd67
4
- data.tar.gz: 012b3be8474c97a75cf460bb655511f8518f5ec3ab4469ec8b7e2d5f925d6ecd
3
+ metadata.gz: 2b1e8c8433c901bc88693eae1979a3a2b5a5da3204f21245cc04d179e73ceb89
4
+ data.tar.gz: f43470b9f77cc12b32a20f8062961f595915e384b7d59b8bd3b37fa6a121ebe6
5
5
  SHA512:
6
- metadata.gz: a657cefd43fc15d1253c06a9cc5e79c4299568fd47c254ede5031fe43bc2e6ec4bfb43937fed9a07deb2d42b4dc6553ec81035e842ddeafb6be436201b56b7f9
7
- data.tar.gz: 3edaeaff760972352ad19dc78136760c649390f37de62557b1b7f2217a2876ab22fe20c837b4b73436ba6539ddbac730a65da5cfd5a9d0bb1fb0369864dfdbe7
6
+ metadata.gz: 683901c6c9e6a9cd3205132a751c2c70ac26eafd6f7240140552c319175364b0d55c561cb8736300bc2db630d8e6f7f4ce0b755843ea8430c9c82a8b5a70b8e9
7
+ data.tar.gz: 4691a2126b2468ab2dcecca96ba4657e6bfce5fe4f5f1fa0b56c4f0a2cca42f4dfc2564f988928a0590bbe23fd42dad8bd56d1f73611e1d923d8ab983c9b4990
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networksecurity_v1beta1
2
2
 
3
+ ### v0.25.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230814
6
+
7
+ ### v0.24.0 (2023-08-03)
8
+
9
+ * Regenerated from discovery document revision 20230719
10
+
3
11
  ### v0.23.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230710
@@ -903,22 +903,22 @@ module Google
903
903
  # evaluates to `true`. A condition can add constraints based on attributes of
904
904
  # the request, the resource, or both. To learn which resources support
905
905
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
906
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
906
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
907
907
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
908
908
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
909
909
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
910
910
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
911
911
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
912
912
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
913
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
914
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
915
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
916
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
917
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
918
- # access description: Does not grant access after Sep 2020 expression: request.
919
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
920
- # a description of IAM and its features, see the [IAM documentation](https://
921
- # cloud.google.com/iam/docs/).
913
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
914
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
915
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
916
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
917
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
918
+ # title: expirable access description: Does not grant access after Sep 2020
919
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
920
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
921
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
922
922
  class GoogleIamV1Policy
923
923
  include Google::Apis::Core::Hashable
924
924
 
@@ -1002,22 +1002,22 @@ module Google
1002
1002
  # evaluates to `true`. A condition can add constraints based on attributes of
1003
1003
  # the request, the resource, or both. To learn which resources support
1004
1004
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1005
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1005
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1006
1006
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1007
1007
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1008
1008
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1009
1009
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1010
1010
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1011
1011
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1012
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1013
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1014
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1015
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1016
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1017
- # access description: Does not grant access after Sep 2020 expression: request.
1018
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1019
- # a description of IAM and its features, see the [IAM documentation](https://
1020
- # cloud.google.com/iam/docs/).
1012
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1013
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1014
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1015
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1016
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1017
+ # title: expirable access description: Does not grant access after Sep 2020
1018
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1019
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1020
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1021
1021
  # Corresponds to the JSON property `policy`
1022
1022
  # @return [Google::Apis::NetworksecurityV1beta1::GoogleIamV1Policy]
1023
1023
  attr_accessor :policy
@@ -1422,6 +1422,60 @@ module Google
1422
1422
  end
1423
1423
  end
1424
1424
 
1425
+ # Response returned by the ListSecurityProfileGroups method.
1426
+ class ListSecurityProfileGroupsResponse
1427
+ include Google::Apis::Core::Hashable
1428
+
1429
+ # If there might be more results than those appearing in this response, then `
1430
+ # next_page_token` is included. To get the next set of results, call this method
1431
+ # again using the value of `next_page_token` as `page_token`.
1432
+ # Corresponds to the JSON property `nextPageToken`
1433
+ # @return [String]
1434
+ attr_accessor :next_page_token
1435
+
1436
+ # List of SecurityProfileGroups resources.
1437
+ # Corresponds to the JSON property `securityProfileGroups`
1438
+ # @return [Array<Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup>]
1439
+ attr_accessor :security_profile_groups
1440
+
1441
+ def initialize(**args)
1442
+ update!(**args)
1443
+ end
1444
+
1445
+ # Update properties of this object
1446
+ def update!(**args)
1447
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1448
+ @security_profile_groups = args[:security_profile_groups] if args.key?(:security_profile_groups)
1449
+ end
1450
+ end
1451
+
1452
+ # Response returned by the ListSecurityProfiles method.
1453
+ class ListSecurityProfilesResponse
1454
+ include Google::Apis::Core::Hashable
1455
+
1456
+ # If there might be more results than those appearing in this response, then `
1457
+ # next_page_token` is included. To get the next set of results, call this method
1458
+ # again using the value of `next_page_token` as `page_token`.
1459
+ # Corresponds to the JSON property `nextPageToken`
1460
+ # @return [String]
1461
+ attr_accessor :next_page_token
1462
+
1463
+ # List of SecurityProfile resources.
1464
+ # Corresponds to the JSON property `securityProfiles`
1465
+ # @return [Array<Google::Apis::NetworksecurityV1beta1::SecurityProfile>]
1466
+ attr_accessor :security_profiles
1467
+
1468
+ def initialize(**args)
1469
+ update!(**args)
1470
+ end
1471
+
1472
+ # Update properties of this object
1473
+ def update!(**args)
1474
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1475
+ @security_profiles = args[:security_profiles] if args.key?(:security_profiles)
1476
+ end
1477
+ end
1478
+
1425
1479
  # Response returned by the ListServerTlsPolicies method.
1426
1480
  class ListServerTlsPoliciesResponse
1427
1481
  include Google::Apis::Core::Hashable
@@ -1638,13 +1692,13 @@ module Google
1638
1692
  # @return [String]
1639
1693
  attr_accessor :name
1640
1694
 
1641
- # The normal response of the operation in case of success. If the original
1642
- # method returns no data on success, such as `Delete`, the response is `google.
1643
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1644
- # the response should be the resource. For other methods, the response should
1645
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1646
- # example, if the original method name is `TakeSnapshot()`, the inferred
1647
- # response type is `TakeSnapshotResponse`.
1695
+ # The normal, successful response of the operation. If the original method
1696
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1697
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1698
+ # response should be the resource. For other methods, the response should have
1699
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1700
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1701
+ # `TakeSnapshotResponse`.
1648
1702
  # Corresponds to the JSON property `response`
1649
1703
  # @return [Hash<String,Object>]
1650
1704
  attr_accessor :response
@@ -1788,6 +1842,134 @@ module Google
1788
1842
  end
1789
1843
  end
1790
1844
 
1845
+ # SecurityProfile is a resource that defines the behavior for one of many
1846
+ # ProfileTypes. Next ID: 9
1847
+ class SecurityProfile
1848
+ include Google::Apis::Core::Hashable
1849
+
1850
+ # Output only. Resource creation timestamp.
1851
+ # Corresponds to the JSON property `createTime`
1852
+ # @return [String]
1853
+ attr_accessor :create_time
1854
+
1855
+ # Optional. An optional description of the profile. Max length 512 characters.
1856
+ # Corresponds to the JSON property `description`
1857
+ # @return [String]
1858
+ attr_accessor :description
1859
+
1860
+ # Output only. This checksum is computed by the server based on the value of
1861
+ # other fields, and may be sent on update and delete requests to ensure the
1862
+ # client has an up-to-date value before proceeding.
1863
+ # Corresponds to the JSON property `etag`
1864
+ # @return [String]
1865
+ attr_accessor :etag
1866
+
1867
+ # Optional. Labels as key value pairs.
1868
+ # Corresponds to the JSON property `labels`
1869
+ # @return [Hash<String,String>]
1870
+ attr_accessor :labels
1871
+
1872
+ # Immutable. Name of the SecurityProfile resource. It matches pattern `projects|
1873
+ # organizations/*/locations/`location`/securityProfiles/`security_profile``.
1874
+ # Corresponds to the JSON property `name`
1875
+ # @return [String]
1876
+ attr_accessor :name
1877
+
1878
+ # ThreatPreventionProfile defines an action for specific threat signatures or
1879
+ # severity levels.
1880
+ # Corresponds to the JSON property `threatPreventionProfile`
1881
+ # @return [Google::Apis::NetworksecurityV1beta1::ThreatPreventionProfile]
1882
+ attr_accessor :threat_prevention_profile
1883
+
1884
+ # Immutable. The single ProfileType that the SecurityProfile resource configures.
1885
+ # Corresponds to the JSON property `type`
1886
+ # @return [String]
1887
+ attr_accessor :type
1888
+
1889
+ # Output only. Last resource update timestamp.
1890
+ # Corresponds to the JSON property `updateTime`
1891
+ # @return [String]
1892
+ attr_accessor :update_time
1893
+
1894
+ def initialize(**args)
1895
+ update!(**args)
1896
+ end
1897
+
1898
+ # Update properties of this object
1899
+ def update!(**args)
1900
+ @create_time = args[:create_time] if args.key?(:create_time)
1901
+ @description = args[:description] if args.key?(:description)
1902
+ @etag = args[:etag] if args.key?(:etag)
1903
+ @labels = args[:labels] if args.key?(:labels)
1904
+ @name = args[:name] if args.key?(:name)
1905
+ @threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
1906
+ @type = args[:type] if args.key?(:type)
1907
+ @update_time = args[:update_time] if args.key?(:update_time)
1908
+ end
1909
+ end
1910
+
1911
+ # SecurityProfileGroup is a resource that defines the behavior for various
1912
+ # ProfileTypes. Next ID: 8
1913
+ class SecurityProfileGroup
1914
+ include Google::Apis::Core::Hashable
1915
+
1916
+ # Output only. Resource creation timestamp.
1917
+ # Corresponds to the JSON property `createTime`
1918
+ # @return [String]
1919
+ attr_accessor :create_time
1920
+
1921
+ # Optional. An optional description of the profile group. Max length 2048
1922
+ # characters.
1923
+ # Corresponds to the JSON property `description`
1924
+ # @return [String]
1925
+ attr_accessor :description
1926
+
1927
+ # Output only. This checksum is computed by the server based on the value of
1928
+ # other fields, and may be sent on update and delete requests to ensure the
1929
+ # client has an up-to-date value before proceeding.
1930
+ # Corresponds to the JSON property `etag`
1931
+ # @return [String]
1932
+ attr_accessor :etag
1933
+
1934
+ # Optional. Labels as key value pairs.
1935
+ # Corresponds to the JSON property `labels`
1936
+ # @return [Hash<String,String>]
1937
+ attr_accessor :labels
1938
+
1939
+ # Immutable. Name of the SecurityProfileGroup resource. It matches pattern `
1940
+ # projects|organizations/*/locations/`location`/securityProfileGroups/`
1941
+ # security_profile_group``.
1942
+ # Corresponds to the JSON property `name`
1943
+ # @return [String]
1944
+ attr_accessor :name
1945
+
1946
+ # Optional. Reference to a SecurityProfile with the threat prevention
1947
+ # configuration for the SecurityProfileGroup.
1948
+ # Corresponds to the JSON property `threatPreventionProfile`
1949
+ # @return [String]
1950
+ attr_accessor :threat_prevention_profile
1951
+
1952
+ # Output only. Last resource update timestamp.
1953
+ # Corresponds to the JSON property `updateTime`
1954
+ # @return [String]
1955
+ attr_accessor :update_time
1956
+
1957
+ def initialize(**args)
1958
+ update!(**args)
1959
+ end
1960
+
1961
+ # Update properties of this object
1962
+ def update!(**args)
1963
+ @create_time = args[:create_time] if args.key?(:create_time)
1964
+ @description = args[:description] if args.key?(:description)
1965
+ @etag = args[:etag] if args.key?(:etag)
1966
+ @labels = args[:labels] if args.key?(:labels)
1967
+ @name = args[:name] if args.key?(:name)
1968
+ @threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
1969
+ @update_time = args[:update_time] if args.key?(:update_time)
1970
+ end
1971
+ end
1972
+
1791
1973
  # ServerTlsPolicy is a resource that specifies how a server should authenticate
1792
1974
  # incoming requests. This resource itself does not affect configuration unless
1793
1975
  # it is attached to a target HTTPS proxy or endpoint config selector resource.
@@ -1867,6 +2049,31 @@ module Google
1867
2049
  end
1868
2050
  end
1869
2051
 
2052
+ # Defines what action to take for a specific severity match.
2053
+ class SeverityOverride
2054
+ include Google::Apis::Core::Hashable
2055
+
2056
+ # Required. Threat action override.
2057
+ # Corresponds to the JSON property `action`
2058
+ # @return [String]
2059
+ attr_accessor :action
2060
+
2061
+ # Required. Severity level to match.
2062
+ # Corresponds to the JSON property `severity`
2063
+ # @return [String]
2064
+ attr_accessor :severity
2065
+
2066
+ def initialize(**args)
2067
+ update!(**args)
2068
+ end
2069
+
2070
+ # Update properties of this object
2071
+ def update!(**args)
2072
+ @action = args[:action] if args.key?(:action)
2073
+ @severity = args[:severity] if args.key?(:severity)
2074
+ end
2075
+ end
2076
+
1870
2077
  # Specification of traffic source attributes.
1871
2078
  class Source
1872
2079
  include Google::Apis::Core::Hashable
@@ -1940,6 +2147,66 @@ module Google
1940
2147
  end
1941
2148
  end
1942
2149
 
2150
+ # Defines what action to take for a specific threat_id match.
2151
+ class ThreatOverride
2152
+ include Google::Apis::Core::Hashable
2153
+
2154
+ # Required. Threat action override. For some threat types, only a subset of
2155
+ # actions applies.
2156
+ # Corresponds to the JSON property `action`
2157
+ # @return [String]
2158
+ attr_accessor :action
2159
+
2160
+ # Required. Vendor-specific ID of a threat to override.
2161
+ # Corresponds to the JSON property `threatId`
2162
+ # @return [String]
2163
+ attr_accessor :threat_id
2164
+
2165
+ # Output only. Type of the threat (read only).
2166
+ # Corresponds to the JSON property `type`
2167
+ # @return [String]
2168
+ attr_accessor :type
2169
+
2170
+ def initialize(**args)
2171
+ update!(**args)
2172
+ end
2173
+
2174
+ # Update properties of this object
2175
+ def update!(**args)
2176
+ @action = args[:action] if args.key?(:action)
2177
+ @threat_id = args[:threat_id] if args.key?(:threat_id)
2178
+ @type = args[:type] if args.key?(:type)
2179
+ end
2180
+ end
2181
+
2182
+ # ThreatPreventionProfile defines an action for specific threat signatures or
2183
+ # severity levels.
2184
+ class ThreatPreventionProfile
2185
+ include Google::Apis::Core::Hashable
2186
+
2187
+ # Optional. Configuration for overriding threats actions by severity match.
2188
+ # Corresponds to the JSON property `severityOverrides`
2189
+ # @return [Array<Google::Apis::NetworksecurityV1beta1::SeverityOverride>]
2190
+ attr_accessor :severity_overrides
2191
+
2192
+ # Optional. Configuration for overriding threats actions by threat_id match. If
2193
+ # a threat is matched both by configuration provided in severity_overrides and
2194
+ # threat_overrides, the threat_overrides action is applied.
2195
+ # Corresponds to the JSON property `threatOverrides`
2196
+ # @return [Array<Google::Apis::NetworksecurityV1beta1::ThreatOverride>]
2197
+ attr_accessor :threat_overrides
2198
+
2199
+ def initialize(**args)
2200
+ update!(**args)
2201
+ end
2202
+
2203
+ # Update properties of this object
2204
+ def update!(**args)
2205
+ @severity_overrides = args[:severity_overrides] if args.key?(:severity_overrides)
2206
+ @threat_overrides = args[:threat_overrides] if args.key?(:threat_overrides)
2207
+ end
2208
+ end
2209
+
1943
2210
  # The TlsInspectionPolicy resource contains references to CA pools in
1944
2211
  # Certificate Authority Service and associated metadata.
1945
2212
  class TlsInspectionPolicy
@@ -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.23.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230710"
25
+ REVISION = "20230814"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,18 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class ListSecurityProfileGroupsResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ListSecurityProfilesResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
235
247
  class ListServerTlsPoliciesResponse
236
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
249
 
@@ -286,12 +298,30 @@ module Google
286
298
  include Google::Apis::Core::JsonObjectSupport
287
299
  end
288
300
 
301
+ class SecurityProfile
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class SecurityProfileGroup
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
289
313
  class ServerTlsPolicy
290
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
315
 
292
316
  include Google::Apis::Core::JsonObjectSupport
293
317
  end
294
318
 
319
+ class SeverityOverride
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
295
325
  class Source
296
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
327
 
@@ -304,6 +334,18 @@ module Google
304
334
  include Google::Apis::Core::JsonObjectSupport
305
335
  end
306
336
 
337
+ class ThreatOverride
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class ThreatPreventionProfile
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
307
349
  class TlsInspectionPolicy
308
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
351
 
@@ -667,6 +709,24 @@ module Google
667
709
  end
668
710
  end
669
711
 
712
+ class ListSecurityProfileGroupsResponse
713
+ # @private
714
+ class Representation < Google::Apis::Core::JsonRepresentation
715
+ property :next_page_token, as: 'nextPageToken'
716
+ collection :security_profile_groups, as: 'securityProfileGroups', class: Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup, decorator: Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup::Representation
717
+
718
+ end
719
+ end
720
+
721
+ class ListSecurityProfilesResponse
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :next_page_token, as: 'nextPageToken'
725
+ collection :security_profiles, as: 'securityProfiles', class: Google::Apis::NetworksecurityV1beta1::SecurityProfile, decorator: Google::Apis::NetworksecurityV1beta1::SecurityProfile::Representation
726
+
727
+ end
728
+ end
729
+
670
730
  class ListServerTlsPoliciesResponse
671
731
  # @private
672
732
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -760,6 +820,34 @@ module Google
760
820
  end
761
821
  end
762
822
 
823
+ class SecurityProfile
824
+ # @private
825
+ class Representation < Google::Apis::Core::JsonRepresentation
826
+ property :create_time, as: 'createTime'
827
+ property :description, as: 'description'
828
+ property :etag, as: 'etag'
829
+ hash :labels, as: 'labels'
830
+ property :name, as: 'name'
831
+ property :threat_prevention_profile, as: 'threatPreventionProfile', class: Google::Apis::NetworksecurityV1beta1::ThreatPreventionProfile, decorator: Google::Apis::NetworksecurityV1beta1::ThreatPreventionProfile::Representation
832
+
833
+ property :type, as: 'type'
834
+ property :update_time, as: 'updateTime'
835
+ end
836
+ end
837
+
838
+ class SecurityProfileGroup
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ property :create_time, as: 'createTime'
842
+ property :description, as: 'description'
843
+ property :etag, as: 'etag'
844
+ hash :labels, as: 'labels'
845
+ property :name, as: 'name'
846
+ property :threat_prevention_profile, as: 'threatPreventionProfile'
847
+ property :update_time, as: 'updateTime'
848
+ end
849
+ end
850
+
763
851
  class ServerTlsPolicy
764
852
  # @private
765
853
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -776,6 +864,14 @@ module Google
776
864
  end
777
865
  end
778
866
 
867
+ class SeverityOverride
868
+ # @private
869
+ class Representation < Google::Apis::Core::JsonRepresentation
870
+ property :action, as: 'action'
871
+ property :severity, as: 'severity'
872
+ end
873
+ end
874
+
779
875
  class Source
780
876
  # @private
781
877
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -793,6 +889,25 @@ module Google
793
889
  end
794
890
  end
795
891
 
892
+ class ThreatOverride
893
+ # @private
894
+ class Representation < Google::Apis::Core::JsonRepresentation
895
+ property :action, as: 'action'
896
+ property :threat_id, as: 'threatId'
897
+ property :type, as: 'type'
898
+ end
899
+ end
900
+
901
+ class ThreatPreventionProfile
902
+ # @private
903
+ class Representation < Google::Apis::Core::JsonRepresentation
904
+ collection :severity_overrides, as: 'severityOverrides', class: Google::Apis::NetworksecurityV1beta1::SeverityOverride, decorator: Google::Apis::NetworksecurityV1beta1::SeverityOverride::Representation
905
+
906
+ collection :threat_overrides, as: 'threatOverrides', class: Google::Apis::NetworksecurityV1beta1::ThreatOverride, decorator: Google::Apis::NetworksecurityV1beta1::ThreatOverride::Representation
907
+
908
+ end
909
+ end
910
+
796
911
  class TlsInspectionPolicy
797
912
  # @private
798
913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -769,6 +769,382 @@ module Google
769
769
  execute_or_queue_command(command, &block)
770
770
  end
771
771
 
772
+ # Creates a new SecurityProfileGroup in a given organization and location.
773
+ # @param [String] parent
774
+ # Required. The parent resource of the SecurityProfileGroup. Must be in the
775
+ # format `projects|organizations/*/locations/`location``.
776
+ # @param [Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup] security_profile_group_object
777
+ # @param [String] security_profile_group_id
778
+ # Required. Short name of the SecurityProfileGroup resource to be created. This
779
+ # value should be 1-63 characters long, containing only letters, numbers,
780
+ # hyphens, and underscores, and should not start with a number. E.g. "
781
+ # security_profile_group1".
782
+ # @param [String] fields
783
+ # Selector specifying which fields to include in a partial response.
784
+ # @param [String] quota_user
785
+ # Available to use for quota purposes for server-side applications. Can be any
786
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
787
+ # @param [Google::Apis::RequestOptions] options
788
+ # Request-specific options
789
+ #
790
+ # @yield [result, err] Result & error if block supplied
791
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
792
+ # @yieldparam err [StandardError] error object if request failed
793
+ #
794
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
795
+ #
796
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
797
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
798
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
799
+ def create_organization_location_security_profile_group(parent, security_profile_group_object = nil, security_profile_group_id: nil, fields: nil, quota_user: nil, options: nil, &block)
800
+ command = make_simple_command(:post, 'v1beta1/{+parent}/securityProfileGroups', options)
801
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup::Representation
802
+ command.request_object = security_profile_group_object
803
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
804
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
805
+ command.params['parent'] = parent unless parent.nil?
806
+ command.query['securityProfileGroupId'] = security_profile_group_id unless security_profile_group_id.nil?
807
+ command.query['fields'] = fields unless fields.nil?
808
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
809
+ execute_or_queue_command(command, &block)
810
+ end
811
+
812
+ # Deletes a single SecurityProfileGroup.
813
+ # @param [String] name
814
+ # Required. A name of the SecurityProfileGroup to delete. Must be in the format `
815
+ # projects|organizations/*/locations/`location`/securityProfileGroups/`
816
+ # security_profile_group``.
817
+ # @param [String] etag
818
+ # Optional. If client provided etag is out of date, delete will return
819
+ # FAILED_PRECONDITION error.
820
+ # @param [String] fields
821
+ # Selector specifying which fields to include in a partial response.
822
+ # @param [String] quota_user
823
+ # Available to use for quota purposes for server-side applications. Can be any
824
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
825
+ # @param [Google::Apis::RequestOptions] options
826
+ # Request-specific options
827
+ #
828
+ # @yield [result, err] Result & error if block supplied
829
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
830
+ # @yieldparam err [StandardError] error object if request failed
831
+ #
832
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
833
+ #
834
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
835
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
836
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
837
+ def delete_organization_location_security_profile_group(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
838
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
839
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
840
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
841
+ command.params['name'] = name unless name.nil?
842
+ command.query['etag'] = etag unless etag.nil?
843
+ command.query['fields'] = fields unless fields.nil?
844
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
845
+ execute_or_queue_command(command, &block)
846
+ end
847
+
848
+ # Gets details of a single SecurityProfileGroup.
849
+ # @param [String] name
850
+ # Required. A name of the SecurityProfileGroup to get. Must be in the format `
851
+ # projects|organizations/*/locations/`location`/securityProfileGroups/`
852
+ # security_profile_group``.
853
+ # @param [String] fields
854
+ # Selector specifying which fields to include in a partial response.
855
+ # @param [String] quota_user
856
+ # Available to use for quota purposes for server-side applications. Can be any
857
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
858
+ # @param [Google::Apis::RequestOptions] options
859
+ # Request-specific options
860
+ #
861
+ # @yield [result, err] Result & error if block supplied
862
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup] parsed result object
863
+ # @yieldparam err [StandardError] error object if request failed
864
+ #
865
+ # @return [Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup]
866
+ #
867
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
868
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
869
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
870
+ def get_organization_location_security_profile_group(name, fields: nil, quota_user: nil, options: nil, &block)
871
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
872
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup::Representation
873
+ command.response_class = Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup
874
+ command.params['name'] = name unless name.nil?
875
+ command.query['fields'] = fields unless fields.nil?
876
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
877
+ execute_or_queue_command(command, &block)
878
+ end
879
+
880
+ # Lists SecurityProfileGroups in a given organization and location.
881
+ # @param [String] parent
882
+ # Required. The project or organization and location from which the
883
+ # SecurityProfileGroups should be listed, specified in the format `projects|
884
+ # organizations/*/locations/`location``.
885
+ # @param [Fixnum] page_size
886
+ # Maximum number of SecurityProfileGroups to return per call.
887
+ # @param [String] page_token
888
+ # The value returned by the last `ListSecurityProfileGroupsResponse` Indicates
889
+ # that this is a continuation of a prior `ListSecurityProfileGroups` call, and
890
+ # that the system should return the next page of data.
891
+ # @param [String] fields
892
+ # Selector specifying which fields to include in a partial response.
893
+ # @param [String] quota_user
894
+ # Available to use for quota purposes for server-side applications. Can be any
895
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
896
+ # @param [Google::Apis::RequestOptions] options
897
+ # Request-specific options
898
+ #
899
+ # @yield [result, err] Result & error if block supplied
900
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListSecurityProfileGroupsResponse] parsed result object
901
+ # @yieldparam err [StandardError] error object if request failed
902
+ #
903
+ # @return [Google::Apis::NetworksecurityV1beta1::ListSecurityProfileGroupsResponse]
904
+ #
905
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
906
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
907
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
908
+ def list_organization_location_security_profile_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
909
+ command = make_simple_command(:get, 'v1beta1/{+parent}/securityProfileGroups', options)
910
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::ListSecurityProfileGroupsResponse::Representation
911
+ command.response_class = Google::Apis::NetworksecurityV1beta1::ListSecurityProfileGroupsResponse
912
+ command.params['parent'] = parent unless parent.nil?
913
+ command.query['pageSize'] = page_size unless page_size.nil?
914
+ command.query['pageToken'] = page_token unless page_token.nil?
915
+ command.query['fields'] = fields unless fields.nil?
916
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
917
+ execute_or_queue_command(command, &block)
918
+ end
919
+
920
+ # Updates the parameters of a single SecurityProfileGroup.
921
+ # @param [String] name
922
+ # Immutable. Name of the SecurityProfileGroup resource. It matches pattern `
923
+ # projects|organizations/*/locations/`location`/securityProfileGroups/`
924
+ # security_profile_group``.
925
+ # @param [Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup] security_profile_group_object
926
+ # @param [String] update_mask
927
+ # Required. Field mask is used to specify the fields to be overwritten in the
928
+ # SecurityProfileGroup resource by the update. The fields specified in the
929
+ # update_mask are relative to the resource, not the full request. A field will
930
+ # be overwritten if it is in the mask.
931
+ # @param [String] fields
932
+ # Selector specifying which fields to include in a partial response.
933
+ # @param [String] quota_user
934
+ # Available to use for quota purposes for server-side applications. Can be any
935
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
936
+ # @param [Google::Apis::RequestOptions] options
937
+ # Request-specific options
938
+ #
939
+ # @yield [result, err] Result & error if block supplied
940
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
941
+ # @yieldparam err [StandardError] error object if request failed
942
+ #
943
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
944
+ #
945
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
946
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
947
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
948
+ def patch_organization_location_security_profile_group(name, security_profile_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
949
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
950
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup::Representation
951
+ command.request_object = security_profile_group_object
952
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
953
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
954
+ command.params['name'] = name unless name.nil?
955
+ command.query['updateMask'] = update_mask unless update_mask.nil?
956
+ command.query['fields'] = fields unless fields.nil?
957
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
958
+ execute_or_queue_command(command, &block)
959
+ end
960
+
961
+ # Creates a new SecurityProfile in a given organization and location.
962
+ # @param [String] parent
963
+ # Required. The parent resource of the SecurityProfile. Must be in the format `
964
+ # projects|organizations/*/locations/`location``.
965
+ # @param [Google::Apis::NetworksecurityV1beta1::SecurityProfile] security_profile_object
966
+ # @param [String] security_profile_id
967
+ # Required. Short name of the SecurityProfile resource to be created. This value
968
+ # should be 1-63 characters long, containing only letters, numbers, hyphens, and
969
+ # underscores, and should not start with a number. E.g. "security_profile1".
970
+ # @param [String] fields
971
+ # Selector specifying which fields to include in a partial response.
972
+ # @param [String] quota_user
973
+ # Available to use for quota purposes for server-side applications. Can be any
974
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
975
+ # @param [Google::Apis::RequestOptions] options
976
+ # Request-specific options
977
+ #
978
+ # @yield [result, err] Result & error if block supplied
979
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
980
+ # @yieldparam err [StandardError] error object if request failed
981
+ #
982
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
983
+ #
984
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
985
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
986
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
987
+ def create_organization_location_security_profile(parent, security_profile_object = nil, security_profile_id: nil, fields: nil, quota_user: nil, options: nil, &block)
988
+ command = make_simple_command(:post, 'v1beta1/{+parent}/securityProfiles', options)
989
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfile::Representation
990
+ command.request_object = security_profile_object
991
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
992
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
993
+ command.params['parent'] = parent unless parent.nil?
994
+ command.query['securityProfileId'] = security_profile_id unless security_profile_id.nil?
995
+ command.query['fields'] = fields unless fields.nil?
996
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
997
+ execute_or_queue_command(command, &block)
998
+ end
999
+
1000
+ # Deletes a single SecurityProfile.
1001
+ # @param [String] name
1002
+ # Required. A name of the SecurityProfile to delete. Must be in the format `
1003
+ # projects|organizations/*/locations/`location`/securityProfiles/`
1004
+ # security_profile_id``.
1005
+ # @param [String] etag
1006
+ # Optional. If client provided etag is out of date, delete will return
1007
+ # FAILED_PRECONDITION error.
1008
+ # @param [String] fields
1009
+ # Selector specifying which fields to include in a partial response.
1010
+ # @param [String] quota_user
1011
+ # Available to use for quota purposes for server-side applications. Can be any
1012
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1013
+ # @param [Google::Apis::RequestOptions] options
1014
+ # Request-specific options
1015
+ #
1016
+ # @yield [result, err] Result & error if block supplied
1017
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
1018
+ # @yieldparam err [StandardError] error object if request failed
1019
+ #
1020
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
1021
+ #
1022
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1023
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1024
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1025
+ def delete_organization_location_security_profile(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
1026
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
1027
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
1028
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
1029
+ command.params['name'] = name unless name.nil?
1030
+ command.query['etag'] = etag unless etag.nil?
1031
+ command.query['fields'] = fields unless fields.nil?
1032
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1033
+ execute_or_queue_command(command, &block)
1034
+ end
1035
+
1036
+ # Gets details of a single SecurityProfile.
1037
+ # @param [String] name
1038
+ # Required. A name of the SecurityProfile to get. Must be in the format `
1039
+ # projects|organizations/*/locations/`location`/securityProfiles/`
1040
+ # security_profile_id``.
1041
+ # @param [String] fields
1042
+ # Selector specifying which fields to include in a partial response.
1043
+ # @param [String] quota_user
1044
+ # Available to use for quota purposes for server-side applications. Can be any
1045
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1046
+ # @param [Google::Apis::RequestOptions] options
1047
+ # Request-specific options
1048
+ #
1049
+ # @yield [result, err] Result & error if block supplied
1050
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::SecurityProfile] parsed result object
1051
+ # @yieldparam err [StandardError] error object if request failed
1052
+ #
1053
+ # @return [Google::Apis::NetworksecurityV1beta1::SecurityProfile]
1054
+ #
1055
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1056
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1057
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1058
+ def get_organization_location_security_profile(name, fields: nil, quota_user: nil, options: nil, &block)
1059
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
1060
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfile::Representation
1061
+ command.response_class = Google::Apis::NetworksecurityV1beta1::SecurityProfile
1062
+ command.params['name'] = name unless name.nil?
1063
+ command.query['fields'] = fields unless fields.nil?
1064
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1065
+ execute_or_queue_command(command, &block)
1066
+ end
1067
+
1068
+ # Lists SecurityProfiles in a given organization and location.
1069
+ # @param [String] parent
1070
+ # Required. The project or organization and location from which the
1071
+ # SecurityProfiles should be listed, specified in the format `projects|
1072
+ # organizations/*/locations/`location``.
1073
+ # @param [Fixnum] page_size
1074
+ # Maximum number of SecurityProfiles to return per call.
1075
+ # @param [String] page_token
1076
+ # The value returned by the last `ListSecurityProfilesResponse` Indicates that
1077
+ # this is a continuation of a prior `ListSecurityProfiles` call, and that the
1078
+ # system should return the next page of data.
1079
+ # @param [String] fields
1080
+ # Selector specifying which fields to include in a partial response.
1081
+ # @param [String] quota_user
1082
+ # Available to use for quota purposes for server-side applications. Can be any
1083
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1084
+ # @param [Google::Apis::RequestOptions] options
1085
+ # Request-specific options
1086
+ #
1087
+ # @yield [result, err] Result & error if block supplied
1088
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListSecurityProfilesResponse] parsed result object
1089
+ # @yieldparam err [StandardError] error object if request failed
1090
+ #
1091
+ # @return [Google::Apis::NetworksecurityV1beta1::ListSecurityProfilesResponse]
1092
+ #
1093
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1094
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1095
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1096
+ def list_organization_location_security_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1097
+ command = make_simple_command(:get, 'v1beta1/{+parent}/securityProfiles', options)
1098
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::ListSecurityProfilesResponse::Representation
1099
+ command.response_class = Google::Apis::NetworksecurityV1beta1::ListSecurityProfilesResponse
1100
+ command.params['parent'] = parent unless parent.nil?
1101
+ command.query['pageSize'] = page_size unless page_size.nil?
1102
+ command.query['pageToken'] = page_token unless page_token.nil?
1103
+ command.query['fields'] = fields unless fields.nil?
1104
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1105
+ execute_or_queue_command(command, &block)
1106
+ end
1107
+
1108
+ # Updates the parameters of a single SecurityProfile.
1109
+ # @param [String] name
1110
+ # Immutable. Name of the SecurityProfile resource. It matches pattern `projects|
1111
+ # organizations/*/locations/`location`/securityProfiles/`security_profile``.
1112
+ # @param [Google::Apis::NetworksecurityV1beta1::SecurityProfile] security_profile_object
1113
+ # @param [String] update_mask
1114
+ # Required. Field mask is used to specify the fields to be overwritten in the
1115
+ # SecurityProfile resource by the update. The fields specified in the
1116
+ # update_mask are relative to the resource, not the full request. A field will
1117
+ # be overwritten if it is in the mask.
1118
+ # @param [String] fields
1119
+ # Selector specifying which fields to include in a partial response.
1120
+ # @param [String] quota_user
1121
+ # Available to use for quota purposes for server-side applications. Can be any
1122
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1123
+ # @param [Google::Apis::RequestOptions] options
1124
+ # Request-specific options
1125
+ #
1126
+ # @yield [result, err] Result & error if block supplied
1127
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
1128
+ # @yieldparam err [StandardError] error object if request failed
1129
+ #
1130
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
1131
+ #
1132
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1133
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1134
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1135
+ def patch_organization_location_security_profile(name, security_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1136
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
1137
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfile::Representation
1138
+ command.request_object = security_profile_object
1139
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
1140
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
1141
+ command.params['name'] = name unless name.nil?
1142
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1143
+ command.query['fields'] = fields unless fields.nil?
1144
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1145
+ execute_or_queue_command(command, &block)
1146
+ end
1147
+
772
1148
  # Gets information about a location.
773
1149
  # @param [String] name
774
1150
  # Resource name for the location.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networksecurity_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-16 00:00:00.000000000 Z
11
+ date: 2023-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Network Security API V1beta1