Skip to content

Commit c7709e3

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit aef52fe9 of spec repo
1 parent 5faa3b6 commit c7709e3

File tree

3 files changed

+26
-8
lines changed

3 files changed

+26
-8
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-10-28 18:37:35.868660",
8-
"spec_repo_commit": "b4ad1786"
7+
"regenerated": "2024-10-29 08:33:12.970623",
8+
"spec_repo_commit": "aef52fe9"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-10-28 18:37:35.886513",
13-
"spec_repo_commit": "b4ad1786"
12+
"regenerated": "2024-10-29 08:33:12.997388",
13+
"spec_repo_commit": "aef52fe9"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21663,6 +21663,13 @@ components:
2166321663
items:
2166421664
type: string
2166521665
type: array
21666+
use_recommended_keywords:
21667+
description: 'Should the rule use the underlying standard pattern keyword
21668+
configuration. If set to `true`, the rule must be tied
21669+
21670+
to a standard pattern. If set to `false`, the specified keywords and `character_count`
21671+
are applied.'
21672+
type: boolean
2166621673
required:
2166721674
- keywords
2166821675
- character_count

lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,19 @@ class SensitiveDataScannerIncludedKeywordConfiguration
3232
# The number of keywords in the list must be less than or equal to 30.
3333
attr_reader :keywords
3434

35+
# Should the rule use the underlying standard pattern keyword configuration. If set to `true`, the rule must be tied
36+
# to a standard pattern. If set to `false`, the specified keywords and `character_count` are applied.
37+
attr_accessor :use_recommended_keywords
38+
3539
attr_accessor :additional_properties
3640

3741
# Attribute mapping from ruby-style variable name to JSON key.
3842
# @!visibility private
3943
def self.attribute_map
4044
{
4145
:'character_count' => :'character_count',
42-
:'keywords' => :'keywords'
46+
:'keywords' => :'keywords',
47+
:'use_recommended_keywords' => :'use_recommended_keywords'
4348
}
4449
end
4550

@@ -48,7 +53,8 @@ def self.attribute_map
4853
def self.openapi_types
4954
{
5055
:'character_count' => :'Integer',
51-
:'keywords' => :'Array<String>'
56+
:'keywords' => :'Array<String>',
57+
:'use_recommended_keywords' => :'Boolean'
5258
}
5359
end
5460

@@ -79,6 +85,10 @@ def initialize(attributes = {})
7985
self.keywords = value
8086
end
8187
end
88+
89+
if attributes.key?(:'use_recommended_keywords')
90+
self.use_recommended_keywords = attributes[:'use_recommended_keywords']
91+
end
8292
end
8393

8494
# Check to see if the all the properties in the model are valid
@@ -145,15 +155,16 @@ def ==(o)
145155
return true if self.equal?(o)
146156
self.class == o.class &&
147157
character_count == o.character_count &&
148-
keywords == o.keywords
158+
keywords == o.keywords &&
159+
use_recommended_keywords == o.use_recommended_keywords
149160
additional_properties == o.additional_properties
150161
end
151162

152163
# Calculates hash code according to all attributes.
153164
# @return [Integer] Hash code
154165
# @!visibility private
155166
def hash
156-
[character_count, keywords].hash
167+
[character_count, keywords, use_recommended_keywords].hash
157168
end
158169
end
159170
end

0 commit comments

Comments
 (0)