google-apis-threatintelligence_v1beta 0.11.0 → 0.13.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: 2acd62b3a6cce4dca35ed352af28f3544dbe285c0db39654e50a602f88073599
4
- data.tar.gz: 0cc44ae3f313fcca6df1c8ce8d19822c597060f0ade2ac7c888b5b8a6e589d8f
3
+ metadata.gz: 1854f4ca06e4f984ad8e50fe3667d4e093be1b14dfda2218072c2bdd035cdce4
4
+ data.tar.gz: 146d745fa8300dff472905b66aa55174cdca30c3153590f5aad778cfec8ecbcd
5
5
  SHA512:
6
- metadata.gz: 648829240747536d753d533b21c2f7b4f6fe405c43ad8fb58fe2d22f46d868b1c8316b04bd7cebeb763984c0d1f15534a34fa5ea615918096cc21b788eb64c91
7
- data.tar.gz: dafd1545a1874a9bb3aacfe09b7b89f15279a4994d2bcf996428f34bec0d6a299fa2321be9d1ae8e6ff4d54f41b5ea644f779560915a5655fa7d4727d2ceb4a9
6
+ metadata.gz: 9a63d20b2a026988be4a486723d5b23beee01a2fa6f57f23fff6ddef5a2df2970d8ffd6c188540a413a4b42cfb540bf4ac55caef6b5670bbffec6fe710466d75
7
+ data.tar.gz: 80c702adb13455be5a30b35bf7590dc2b76ba55ba09e16113f10da049b138b25ef37de8a3befcac4db6433c5718824d5803f6d1bffd674c0acb986ec47ec48b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-threatintelligence_v1beta
2
2
 
3
+ ### v0.13.0 (2026-08-09)
4
+
5
+ * Regenerated from discovery document revision 20260803
6
+
7
+ ### v0.12.0 (2026-08-02)
8
+
9
+ * Regenerated from discovery document revision 20260726
10
+
3
11
  ### v0.11.0 (2026-06-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20260607
@@ -442,6 +442,12 @@ module Google
442
442
  class ConfigurationDetail
443
443
  include Google::Apis::Core::Hashable
444
444
 
445
+ # CustomThreatScenarioConfig represents a user-defined threat scenario
446
+ # configuration.
447
+ # Corresponds to the JSON property `customThreatScenario`
448
+ # @return [Google::Apis::ThreatintelligenceV1beta::CustomThreatScenarioConfig]
449
+ attr_accessor :custom_threat_scenario
450
+
445
451
  # CustomerProfileConfig is the configuration for the customer profile.
446
452
  # Corresponds to the JSON property `customerProfile`
447
453
  # @return [Google::Apis::ThreatintelligenceV1beta::CustomerProfileConfig]
@@ -464,6 +470,7 @@ module Google
464
470
 
465
471
  # Update properties of this object
466
472
  def update!(**args)
473
+ @custom_threat_scenario = args[:custom_threat_scenario] if args.key?(:custom_threat_scenario)
467
474
  @customer_profile = args[:customer_profile] if args.key?(:customer_profile)
468
475
  @detail_type = args[:detail_type] if args.key?(:detail_type)
469
476
  @technology_watchlist = args[:technology_watchlist] if args.key?(:technology_watchlist)
@@ -504,6 +511,27 @@ module Google
504
511
  end
505
512
  end
506
513
 
514
+ # CustomThreatScenarioConfig represents a user-defined threat scenario
515
+ # configuration.
516
+ class CustomThreatScenarioConfig
517
+ include Google::Apis::Core::Hashable
518
+
519
+ # Required. The condition driving the scenario, stored as a stringified JSON.
520
+ # This is used to query/filter documents.
521
+ # Corresponds to the JSON property `documentCondition`
522
+ # @return [String]
523
+ attr_accessor :document_condition
524
+
525
+ def initialize(**args)
526
+ update!(**args)
527
+ end
528
+
529
+ # Update properties of this object
530
+ def update!(**args)
531
+ @document_condition = args[:document_condition] if args.key?(:document_condition)
532
+ end
533
+ end
534
+
507
535
  # Citation information for the customer profile.
508
536
  class CustomerProfileCitation
509
537
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ThreatintelligenceV1beta
18
18
  # Version of the google-apis-threatintelligence_v1beta gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260607"
25
+ REVISION = "20260803"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class CustomThreatScenarioConfig
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class CustomerProfileCitation
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -496,6 +502,8 @@ module Google
496
502
  class ConfigurationDetail
497
503
  # @private
498
504
  class Representation < Google::Apis::Core::JsonRepresentation
505
+ property :custom_threat_scenario, as: 'customThreatScenario', class: Google::Apis::ThreatintelligenceV1beta::CustomThreatScenarioConfig, decorator: Google::Apis::ThreatintelligenceV1beta::CustomThreatScenarioConfig::Representation
506
+
499
507
  property :customer_profile, as: 'customerProfile', class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileConfig, decorator: Google::Apis::ThreatintelligenceV1beta::CustomerProfileConfig::Representation
500
508
 
501
509
  property :detail_type, as: 'detailType'
@@ -514,6 +522,13 @@ module Google
514
522
  end
515
523
  end
516
524
 
525
+ class CustomThreatScenarioConfig
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :document_condition, as: 'documentCondition'
529
+ end
530
+ end
531
+
517
532
  class CustomerProfileCitation
518
533
  # @private
519
534
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -285,6 +285,36 @@ module Google
285
285
  execute_or_queue_command(command, &block)
286
286
  end
287
287
 
288
+ # Get the decrypted password of an alert.
289
+ # @param [String] name
290
+ # Required. Name of the alert to get. Format: projects/`project`/alerts/`alert`
291
+ # @param [String] fields
292
+ # Selector specifying which fields to include in a partial response.
293
+ # @param [String] quota_user
294
+ # Available to use for quota purposes for server-side applications. Can be any
295
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
296
+ # @param [Google::Apis::RequestOptions] options
297
+ # Request-specific options
298
+ #
299
+ # @yield [result, err] Result & error if block supplied
300
+ # @yieldparam result [Google::Apis::ThreatintelligenceV1beta::Alert] parsed result object
301
+ # @yieldparam err [StandardError] error object if request failed
302
+ #
303
+ # @return [Google::Apis::ThreatintelligenceV1beta::Alert]
304
+ #
305
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
306
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
307
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
308
+ def get_project_alert_password(name, fields: nil, quota_user: nil, options: nil, &block)
309
+ command = make_simple_command(:get, 'v1beta/{+name}:getPassword', options)
310
+ command.response_representation = Google::Apis::ThreatintelligenceV1beta::Alert::Representation
311
+ command.response_class = Google::Apis::ThreatintelligenceV1beta::Alert
312
+ command.params['name'] = name unless name.nil?
313
+ command.query['fields'] = fields unless fields.nil?
314
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
315
+ execute_or_queue_command(command, &block)
316
+ end
317
+
288
318
  # Get a list of alerts that meet the filter criteria.
289
319
  # @param [String] parent
290
320
  # Required. Parent of the alerts. Format: projects/`project`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-threatintelligence_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.13.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-threatintelligence_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-threatintelligence_v1beta/v0.11.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-threatintelligence_v1beta/v0.13.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-threatintelligence_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: