google-apis-ids_v1 0.9.0 → 0.10.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: 7100f08fc3c408278974f778f1eec83f2a4d84461f3f83c1019e06c9c5483650
4
- data.tar.gz: d09caaf3f5ba116809a54e7921d3b6da585a44c95e3fe951f9ebd4adfb4e2308
3
+ metadata.gz: a063dd4288c5b743d5d125f822ae0ded1e708513bfee15ef86f78850b9583385
4
+ data.tar.gz: b5319aee26b5928e6ef314d6778468a8511d03c4ca51dd745d1d84b9044a6d77
5
5
  SHA512:
6
- metadata.gz: 895ab6df1064963287de4bd327be9f5fdaf283ed19430dff87d3b5e5b1b284dae2203905c4faf2ae639cd33a4622ae6b63b90e8fcee9d4b19dc81ea941d117fa
7
- data.tar.gz: c055c7a5738b7f189da658ddae670b7443d3e1d77dbc0a6474723f21d17952bb3137a8c92649438d1bc6d77b915e40179a5995302aba0fc6b9c57989a923ec94
6
+ metadata.gz: 9ae02dc1efcc114c411c297e822519ee45be9381ed913b0654752a73c48d1daa4255e01515526c2b2cc93e27e906066c60410f364d1c52888203042b74a03497
7
+ data.tar.gz: 6a814df64fea184bc25f818904890077ded62d5f9168e5366d7d03e5381f7595a82bda329536094469b8c6f667fc090b27a4c6e6bb58118b0ca2f4288fb8f9d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ids_v1
2
2
 
3
+ ### v0.10.0 (2022-12-11)
4
+
5
+ * Regenerated from discovery document revision 20221113
6
+
3
7
  ### v0.9.0 (2022-10-27)
4
8
 
5
9
  * Regenerated using generator version 0.11.0
@@ -249,6 +249,11 @@ module Google
249
249
  # @return [String]
250
250
  attr_accessor :state
251
251
 
252
+ # List of threat IDs to be excepted from generating alerts.
253
+ # Corresponds to the JSON property `threatExceptions`
254
+ # @return [Array<String>]
255
+ attr_accessor :threat_exceptions
256
+
252
257
  # Whether the endpoint should report traffic logs in addition to threat logs.
253
258
  # Corresponds to the JSON property `trafficLogs`
254
259
  # @return [Boolean]
@@ -275,6 +280,7 @@ module Google
275
280
  @network = args[:network] if args.key?(:network)
276
281
  @severity = args[:severity] if args.key?(:severity)
277
282
  @state = args[:state] if args.key?(:state)
283
+ @threat_exceptions = args[:threat_exceptions] if args.key?(:threat_exceptions)
278
284
  @traffic_logs = args[:traffic_logs] if args.key?(:traffic_logs)
279
285
  @update_time = args[:update_time] if args.key?(:update_time)
280
286
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IdsV1
18
18
  # Version of the google-apis-ids_v1 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220828"
25
+ REVISION = "20221113"
26
26
  end
27
27
  end
28
28
  end
@@ -181,6 +181,7 @@ module Google
181
181
  property :network, as: 'network'
182
182
  property :severity, as: 'severity'
183
183
  property :state, as: 'state'
184
+ collection :threat_exceptions, as: 'threatExceptions'
184
185
  property :traffic_logs, as: 'trafficLogs'
185
186
  property :update_time, as: 'updateTime'
186
187
  end
@@ -342,6 +342,58 @@ module Google
342
342
  execute_or_queue_command(command, &block)
343
343
  end
344
344
 
345
+ # Updates the parameters of a single Endpoint.
346
+ # @param [String] name
347
+ # Output only. The name of the endpoint.
348
+ # @param [Google::Apis::IdsV1::Endpoint] endpoint_object
349
+ # @param [String] request_id
350
+ # An optional request ID to identify requests. Specify a unique request ID so
351
+ # that if you must retry your request, the server will know to ignore the
352
+ # request if it has already been completed. The server will guarantee that for
353
+ # at least 60 minutes since the first request. For example, consider a situation
354
+ # where you make an initial request and t he request times out. If you make the
355
+ # request again with the same request ID, the server can check if original
356
+ # operation with the same request ID was received, and if so, will ignore the
357
+ # second request. This prevents clients from accidentally creating duplicate
358
+ # commitments. The request ID must be a valid UUID with the exception that zero
359
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
360
+ # @param [String] update_mask
361
+ # Field mask is used to specify the fields to be overwritten in the Endpoint
362
+ # resource by the update. The fields specified in the update_mask are relative
363
+ # to the resource, not the full request. A field will be overwritten if it is in
364
+ # the mask. If the user does not provide a mask then all fields will be
365
+ # overwritten.
366
+ # @param [String] fields
367
+ # Selector specifying which fields to include in a partial response.
368
+ # @param [String] quota_user
369
+ # Available to use for quota purposes for server-side applications. Can be any
370
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
371
+ # @param [Google::Apis::RequestOptions] options
372
+ # Request-specific options
373
+ #
374
+ # @yield [result, err] Result & error if block supplied
375
+ # @yieldparam result [Google::Apis::IdsV1::Operation] parsed result object
376
+ # @yieldparam err [StandardError] error object if request failed
377
+ #
378
+ # @return [Google::Apis::IdsV1::Operation]
379
+ #
380
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
381
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
382
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
383
+ def patch_project_location_endpoint(name, endpoint_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
384
+ command = make_simple_command(:patch, 'v1/{+name}', options)
385
+ command.request_representation = Google::Apis::IdsV1::Endpoint::Representation
386
+ command.request_object = endpoint_object
387
+ command.response_representation = Google::Apis::IdsV1::Operation::Representation
388
+ command.response_class = Google::Apis::IdsV1::Operation
389
+ command.params['name'] = name unless name.nil?
390
+ command.query['requestId'] = request_id unless request_id.nil?
391
+ command.query['updateMask'] = update_mask unless update_mask.nil?
392
+ command.query['fields'] = fields unless fields.nil?
393
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
394
+ execute_or_queue_command(command, &block)
395
+ end
396
+
345
397
  # Sets the access control policy on the specified resource. Replaces any
346
398
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
347
399
  # PERMISSION_DENIED` errors.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ids_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 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-ids_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ids_v1/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ids_v1/v0.10.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ids_v1
63
63
  post_install_message:
64
64
  rdoc_options: []