google-apis-threatintelligence_v1beta 0.12.0 → 0.14.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: 6d5126416306105e25c0488c665e8e156cc18992bcaf35f664bd0374cfe45a44
4
- data.tar.gz: 2302e4c675a7fcb49577071ef0bc9a6f8ab3183d5c23aaad20587069e283c322
3
+ metadata.gz: b2a6cd623844ff84e744ab891e100572d949646ad2caafbdfb789d5f2aa19fdd
4
+ data.tar.gz: b3377edca04455cd8adc211736bde63ad16a57ecf6927e5334fef97e30fffd2d
5
5
  SHA512:
6
- metadata.gz: 5176263eab003579eab9107ed563bda88bcf702a21eb01e692b4876f75b4fda148184628edf7460a9e72567c3380985d5146bc84fac19bba44fedb9e6e67fcf5
7
- data.tar.gz: 7adb4540af94b9d42d180788d40e29d6d4f0de366961b71549acbc671c3511819962f71c70be71250f216dd9833174d289c23e52d8a573fe310bf7f240a7a04b
6
+ metadata.gz: f40abef4035789676654270dc274013f68a08a8cb6becb62986ad9faf152558c54e91242fb98713e22564f0cee69ad9f002a1012131e5b9d0aca413e61a77a7e
7
+ data.tar.gz: 83d5d5166ec015b36d74395e65fd35a957562d8065a3d7288367955a7a0645193942f129c65aa0cd97f85825eb7d9c3e00cd30aeb1066635ff288ee76fd80140
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-threatintelligence_v1beta
2
2
 
3
+ ### v0.14.0 (2026-08-23)
4
+
5
+ * Regenerated from discovery document revision 20260816
6
+
7
+ ### v0.13.0 (2026-08-09)
8
+
9
+ * Regenerated from discovery document revision 20260803
10
+
3
11
  ### v0.12.0 (2026-08-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20260726
@@ -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,39 @@ 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
+ # Output only. The compiled Lucene query string.
520
+ # Corresponds to the JSON property `compiledLuceneQuery`
521
+ # @return [String]
522
+ attr_accessor :compiled_lucene_query
523
+
524
+ # Required. The condition driving the scenario, stored as a stringified JSON.
525
+ # This is used to query/filter documents.
526
+ # Corresponds to the JSON property `documentCondition`
527
+ # @return [String]
528
+ attr_accessor :document_condition
529
+
530
+ # Legacy metadata associated with this scenario/monitor.
531
+ # Corresponds to the JSON property `legacyMonitorMetadata`
532
+ # @return [Google::Apis::ThreatintelligenceV1beta::LegacyMetadata]
533
+ attr_accessor :legacy_monitor_metadata
534
+
535
+ def initialize(**args)
536
+ update!(**args)
537
+ end
538
+
539
+ # Update properties of this object
540
+ def update!(**args)
541
+ @compiled_lucene_query = args[:compiled_lucene_query] if args.key?(:compiled_lucene_query)
542
+ @document_condition = args[:document_condition] if args.key?(:document_condition)
543
+ @legacy_monitor_metadata = args[:legacy_monitor_metadata] if args.key?(:legacy_monitor_metadata)
544
+ end
545
+ end
546
+
507
547
  # Citation information for the customer profile.
508
548
  class CustomerProfileCitation
509
549
  include Google::Apis::Core::Hashable
@@ -1349,6 +1389,25 @@ module Google
1349
1389
  end
1350
1390
  end
1351
1391
 
1392
+ # Response message for GetPassword.
1393
+ class GetPasswordResponse
1394
+ include Google::Apis::Core::Hashable
1395
+
1396
+ # The decrypted cleartext password for the compromised credential.
1397
+ # Corresponds to the JSON property `password`
1398
+ # @return [String]
1399
+ attr_accessor :password
1400
+
1401
+ def initialize(**args)
1402
+ update!(**args)
1403
+ end
1404
+
1405
+ # Update properties of this object
1406
+ def update!(**args)
1407
+ @password = args[:password] if args.key?(:password)
1408
+ end
1409
+ end
1410
+
1352
1411
  # Captures the specific details of InitialAccessBroker (IAB) alert.
1353
1412
  class InitialAccessBrokerAlertDetail
1354
1413
  include Google::Apis::Core::Hashable
@@ -1474,6 +1533,118 @@ module Google
1474
1533
  end
1475
1534
  end
1476
1535
 
1536
+ # Legacy metadata associated with this scenario/monitor.
1537
+ class LegacyMetadata
1538
+ include Google::Apis::Core::Hashable
1539
+
1540
+ # Optional. Whether aggregation is enabled for alerts from this monitor.
1541
+ # Corresponds to the JSON property `aggregationEnabled`
1542
+ # @return [Boolean]
1543
+ attr_accessor :aggregation_enabled
1544
+ alias_method :aggregation_enabled?, :aggregation_enabled
1545
+
1546
+ # Optional. Similarity threshold for aggregation.
1547
+ # Corresponds to the JSON property `aggregationSimilarity`
1548
+ # @return [Float]
1549
+ attr_accessor :aggregation_similarity
1550
+
1551
+ # Optional. Version of the condition schema.
1552
+ # Corresponds to the JSON property `conditionVersion`
1553
+ # @return [Fixnum]
1554
+ attr_accessor :condition_version
1555
+
1556
+ # Optional. User ID who created the monitor.
1557
+ # Corresponds to the JSON property `creatorUserId`
1558
+ # @return [String]
1559
+ attr_accessor :creator_user_id
1560
+
1561
+ # Optional. Description of the legacy monitor.
1562
+ # Corresponds to the JSON property `description`
1563
+ # @return [String]
1564
+ attr_accessor :description
1565
+
1566
+ # Optional. Code indicating why the monitor is disabled (if applicable).
1567
+ # Corresponds to the JSON property `disabledCode`
1568
+ # @return [String]
1569
+ attr_accessor :disabled_code
1570
+
1571
+ # Optional. Reason why the monitor is disabled (if applicable).
1572
+ # Corresponds to the JSON property `disabledReason`
1573
+ # @return [String]
1574
+ attr_accessor :disabled_reason
1575
+
1576
+ # Optional. Name of the legacy monitor.
1577
+ # Corresponds to the JSON property `displayName`
1578
+ # @return [String]
1579
+ attr_accessor :display_name
1580
+
1581
+ # Optional. Whether email notifications are enabled.
1582
+ # Corresponds to the JSON property `emailNotificationEnabled`
1583
+ # @return [Boolean]
1584
+ attr_accessor :email_notification_enabled
1585
+ alias_method :email_notification_enabled?, :email_notification_enabled
1586
+
1587
+ # Optional. Whether email notifications are intermediate/immediate.
1588
+ # Corresponds to the JSON property `emailNotificationImmediate`
1589
+ # @return [Boolean]
1590
+ attr_accessor :email_notification_immediate
1591
+ alias_method :email_notification_immediate?, :email_notification_immediate
1592
+
1593
+ # Optional. Unique identifier of the legacy monitor.
1594
+ # Corresponds to the JSON property `legacyMonitorId`
1595
+ # @return [String]
1596
+ attr_accessor :legacy_monitor_id
1597
+
1598
+ # Optional. Time the legacy monitor was considered stale.
1599
+ # Corresponds to the JSON property `staleTime`
1600
+ # @return [String]
1601
+ attr_accessor :stale_time
1602
+
1603
+ # Optional. ID of the template this monitor was created from.
1604
+ # Corresponds to the JSON property `templateId`
1605
+ # @return [String]
1606
+ attr_accessor :template_id
1607
+
1608
+ # Optional. ID of the tenant owning the monitor.
1609
+ # Corresponds to the JSON property `tenantId`
1610
+ # @return [String]
1611
+ attr_accessor :tenant_id
1612
+
1613
+ # Optional. User ID who last updated the monitor.
1614
+ # Corresponds to the JSON property `updaterUserId`
1615
+ # @return [String]
1616
+ attr_accessor :updater_user_id
1617
+
1618
+ # Optional. Version of the monitor configuration.
1619
+ # Corresponds to the JSON property `version`
1620
+ # @return [Fixnum]
1621
+ attr_accessor :version
1622
+
1623
+ def initialize(**args)
1624
+ update!(**args)
1625
+ end
1626
+
1627
+ # Update properties of this object
1628
+ def update!(**args)
1629
+ @aggregation_enabled = args[:aggregation_enabled] if args.key?(:aggregation_enabled)
1630
+ @aggregation_similarity = args[:aggregation_similarity] if args.key?(:aggregation_similarity)
1631
+ @condition_version = args[:condition_version] if args.key?(:condition_version)
1632
+ @creator_user_id = args[:creator_user_id] if args.key?(:creator_user_id)
1633
+ @description = args[:description] if args.key?(:description)
1634
+ @disabled_code = args[:disabled_code] if args.key?(:disabled_code)
1635
+ @disabled_reason = args[:disabled_reason] if args.key?(:disabled_reason)
1636
+ @display_name = args[:display_name] if args.key?(:display_name)
1637
+ @email_notification_enabled = args[:email_notification_enabled] if args.key?(:email_notification_enabled)
1638
+ @email_notification_immediate = args[:email_notification_immediate] if args.key?(:email_notification_immediate)
1639
+ @legacy_monitor_id = args[:legacy_monitor_id] if args.key?(:legacy_monitor_id)
1640
+ @stale_time = args[:stale_time] if args.key?(:stale_time)
1641
+ @template_id = args[:template_id] if args.key?(:template_id)
1642
+ @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
1643
+ @updater_user_id = args[:updater_user_id] if args.key?(:updater_user_id)
1644
+ @version = args[:version] if args.key?(:version)
1645
+ end
1646
+ end
1647
+
1477
1648
  # Response message for ListAlerts.
1478
1649
  class ListAlertsResponse
1479
1650
  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.12.0"
19
+ GEM_VERSION = "0.14.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 = "20260726"
25
+ REVISION = "20260816"
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
 
@@ -202,6 +208,12 @@ module Google
202
208
  include Google::Apis::Core::JsonObjectSupport
203
209
  end
204
210
 
211
+ class GetPasswordResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
205
217
  class InitialAccessBrokerAlertDetail
206
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
219
 
@@ -226,6 +238,12 @@ module Google
226
238
  include Google::Apis::Core::JsonObjectSupport
227
239
  end
228
240
 
241
+ class LegacyMetadata
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
229
247
  class ListAlertsResponse
230
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
249
 
@@ -496,6 +514,8 @@ module Google
496
514
  class ConfigurationDetail
497
515
  # @private
498
516
  class Representation < Google::Apis::Core::JsonRepresentation
517
+ property :custom_threat_scenario, as: 'customThreatScenario', class: Google::Apis::ThreatintelligenceV1beta::CustomThreatScenarioConfig, decorator: Google::Apis::ThreatintelligenceV1beta::CustomThreatScenarioConfig::Representation
518
+
499
519
  property :customer_profile, as: 'customerProfile', class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileConfig, decorator: Google::Apis::ThreatintelligenceV1beta::CustomerProfileConfig::Representation
500
520
 
501
521
  property :detail_type, as: 'detailType'
@@ -514,6 +534,16 @@ module Google
514
534
  end
515
535
  end
516
536
 
537
+ class CustomThreatScenarioConfig
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :compiled_lucene_query, as: 'compiledLuceneQuery'
541
+ property :document_condition, as: 'documentCondition'
542
+ property :legacy_monitor_metadata, as: 'legacyMonitorMetadata', class: Google::Apis::ThreatintelligenceV1beta::LegacyMetadata, decorator: Google::Apis::ThreatintelligenceV1beta::LegacyMetadata::Representation
543
+
544
+ end
545
+ end
546
+
517
547
  class CustomerProfileCitation
518
548
  # @private
519
549
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -763,6 +793,13 @@ module Google
763
793
  end
764
794
  end
765
795
 
796
+ class GetPasswordResponse
797
+ # @private
798
+ class Representation < Google::Apis::Core::JsonRepresentation
799
+ property :password, as: 'password'
800
+ end
801
+ end
802
+
766
803
  class InitialAccessBrokerAlertDetail
767
804
  # @private
768
805
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -797,6 +834,28 @@ module Google
797
834
  end
798
835
  end
799
836
 
837
+ class LegacyMetadata
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ property :aggregation_enabled, as: 'aggregationEnabled'
841
+ property :aggregation_similarity, as: 'aggregationSimilarity'
842
+ property :condition_version, as: 'conditionVersion'
843
+ property :creator_user_id, as: 'creatorUserId'
844
+ property :description, as: 'description'
845
+ property :disabled_code, as: 'disabledCode'
846
+ property :disabled_reason, as: 'disabledReason'
847
+ property :display_name, as: 'displayName'
848
+ property :email_notification_enabled, as: 'emailNotificationEnabled'
849
+ property :email_notification_immediate, as: 'emailNotificationImmediate'
850
+ property :legacy_monitor_id, as: 'legacyMonitorId'
851
+ property :stale_time, as: 'staleTime'
852
+ property :template_id, as: 'templateId'
853
+ property :tenant_id, as: 'tenantId'
854
+ property :updater_user_id, as: 'updaterUserId'
855
+ property :version, as: 'version'
856
+ end
857
+ end
858
+
800
859
  class ListAlertsResponse
801
860
  # @private
802
861
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -287,7 +287,8 @@ module Google
287
287
 
288
288
  # Get the decrypted password of an alert.
289
289
  # @param [String] name
290
- # Required. Name of the alert to get. Format: projects/`project`/alerts/`alert`
290
+ # Required. Name of the alert to get password for. Format: projects/`project`/
291
+ # alerts/`alert`
291
292
  # @param [String] fields
292
293
  # Selector specifying which fields to include in a partial response.
293
294
  # @param [String] quota_user
@@ -297,18 +298,18 @@ module Google
297
298
  # Request-specific options
298
299
  #
299
300
  # @yield [result, err] Result & error if block supplied
300
- # @yieldparam result [Google::Apis::ThreatintelligenceV1beta::Alert] parsed result object
301
+ # @yieldparam result [Google::Apis::ThreatintelligenceV1beta::GetPasswordResponse] parsed result object
301
302
  # @yieldparam err [StandardError] error object if request failed
302
303
  #
303
- # @return [Google::Apis::ThreatintelligenceV1beta::Alert]
304
+ # @return [Google::Apis::ThreatintelligenceV1beta::GetPasswordResponse]
304
305
  #
305
306
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
306
307
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
307
308
  # @raise [Google::Apis::AuthorizationError] Authorization is required
308
309
  def get_project_alert_password(name, fields: nil, quota_user: nil, options: nil, &block)
309
310
  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
311
+ command.response_representation = Google::Apis::ThreatintelligenceV1beta::GetPasswordResponse::Representation
312
+ command.response_class = Google::Apis::ThreatintelligenceV1beta::GetPasswordResponse
312
313
  command.params['name'] = name unless name.nil?
313
314
  command.query['fields'] = fields unless fields.nil?
314
315
  command.query['quotaUser'] = quota_user unless quota_user.nil?
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.12.0
4
+ version: 0.14.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.12.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-threatintelligence_v1beta/v0.14.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: