akeyless 5.0.23 → 5.0.25
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 +4 -4
- data/README.md +12 -6
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/AgenticRule.md +20 -0
- data/docs/AgenticRules.md +20 -0
- data/docs/CreateDBTarget.md +8 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateUSC.md +5 -1
- data/docs/DSProducerDetails.md +10 -0
- data/docs/DbTargetDetails.md +8 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/EsmListSecretsOutput.md +2 -0
- data/docs/GatewayMigrationCreateOutput.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ListItems.md +2 -0
- data/docs/RuntimeAuthorityCommand.md +28 -0
- data/docs/SetDefaultProfile.md +20 -0
- data/docs/SetDefaultProfileOutput.md +18 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SystemAccessCredentialsReplyObj.md +2 -0
- data/docs/Target.md +2 -0
- data/docs/TargetCreateArtifactory.md +2 -0
- data/docs/TargetCreateAws.md +2 -0
- data/docs/TargetCreateAzure.md +2 -0
- data/docs/TargetCreateDB.md +10 -0
- data/docs/TargetCreateDigiCert.md +2 -0
- data/docs/TargetCreateDockerhub.md +2 -0
- data/docs/TargetCreateEks.md +2 -0
- data/docs/TargetCreateGcp.md +2 -0
- data/docs/TargetCreateGemini.md +2 -0
- data/docs/TargetCreateGithub.md +2 -0
- data/docs/TargetCreateGitlab.md +2 -0
- data/docs/TargetCreateGke.md +2 -0
- data/docs/TargetCreateGlobalSign.md +2 -0
- data/docs/TargetCreateGlobalSignAtlas.md +2 -0
- data/docs/TargetCreateGodaddy.md +2 -0
- data/docs/TargetCreateGoogleTrust.md +2 -0
- data/docs/TargetCreateHashiVault.md +2 -0
- data/docs/TargetCreateK8s.md +2 -0
- data/docs/TargetCreateLdap.md +2 -0
- data/docs/TargetCreateLetsEncrypt.md +2 -0
- data/docs/TargetCreateLinked.md +2 -0
- data/docs/TargetCreateOpenAI.md +2 -0
- data/docs/TargetCreatePing.md +2 -0
- data/docs/TargetCreateRabbitMq.md +2 -0
- data/docs/TargetCreateSalesforce.md +2 -0
- data/docs/TargetCreateSectigo.md +2 -0
- data/docs/TargetCreateSplunk.md +2 -0
- data/docs/TargetCreateSsh.md +2 -0
- data/docs/TargetCreateWeb.md +2 -0
- data/docs/TargetCreateWindows.md +2 -0
- data/docs/TargetCreateZeroSSL.md +2 -0
- data/docs/TargetUpdateArtifactory.md +2 -0
- data/docs/TargetUpdateAws.md +2 -0
- data/docs/TargetUpdateAzure.md +2 -0
- data/docs/TargetUpdateDB.md +10 -0
- data/docs/TargetUpdateDockerhub.md +2 -0
- data/docs/TargetUpdateEks.md +2 -0
- data/docs/TargetUpdateGcp.md +2 -0
- data/docs/TargetUpdateGemini.md +2 -0
- data/docs/TargetUpdateGithub.md +2 -0
- data/docs/TargetUpdateGitlab.md +2 -0
- data/docs/TargetUpdateGke.md +2 -0
- data/docs/TargetUpdateGlobalSign.md +2 -0
- data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
- data/docs/TargetUpdateGodaddy.md +2 -0
- data/docs/TargetUpdateGoogleTrust.md +2 -0
- data/docs/TargetUpdateHashiVault.md +2 -0
- data/docs/TargetUpdateK8s.md +2 -0
- data/docs/TargetUpdateLdap.md +2 -0
- data/docs/TargetUpdateLetsEncrypt.md +2 -0
- data/docs/TargetUpdateOpenAI.md +2 -0
- data/docs/TargetUpdatePing.md +2 -0
- data/docs/TargetUpdateRabbitMq.md +2 -0
- data/docs/TargetUpdateSalesforce.md +2 -0
- data/docs/TargetUpdateSectigo.md +2 -0
- data/docs/TargetUpdateSsh.md +2 -0
- data/docs/TargetUpdateWeb.md +2 -0
- data/docs/TargetUpdateWindows.md +2 -0
- data/docs/TargetUpdateZeroSSL.md +2 -0
- data/docs/UpdateDBTarget.md +8 -0
- data/docs/UpdateItem.md +5 -1
- data/docs/UpdateRole.md +2 -0
- data/docs/UpdateTarget.md +2 -0
- data/docs/UscList.md +4 -0
- data/docs/UscListSecretsOutput.md +2 -0
- data/docs/V2Api.md +67 -5
- data/lib/akeyless/api/v2_api.rb +69 -5
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/agentic_rule.rb +223 -0
- data/lib/akeyless/models/agentic_rules.rb +227 -0
- data/lib/akeyless/models/create_db_target.rb +41 -1
- data/lib/akeyless/models/create_role.rb +11 -1
- data/lib/akeyless/models/create_usc.rb +24 -4
- data/lib/akeyless/models/db_target_details.rb +41 -1
- data/lib/akeyless/models/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/ds_producer_details.rb +50 -1
- data/lib/akeyless/models/esm_list_secrets_output.rb +10 -1
- data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/list_items.rb +13 -1
- data/lib/akeyless/models/runtime_authority_command.rb +288 -0
- data/lib/akeyless/models/set_default_profile.rb +234 -0
- data/lib/akeyless/models/set_default_profile_output.rb +214 -0
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
- data/lib/akeyless/models/target.rb +10 -1
- data/lib/akeyless/models/target_create_artifactory.rb +11 -1
- data/lib/akeyless/models/target_create_aws.rb +11 -1
- data/lib/akeyless/models/target_create_azure.rb +11 -1
- data/lib/akeyless/models/target_create_db.rb +51 -1
- data/lib/akeyless/models/target_create_digi_cert.rb +11 -1
- data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_create_eks.rb +11 -1
- data/lib/akeyless/models/target_create_gcp.rb +11 -1
- data/lib/akeyless/models/target_create_gemini.rb +11 -1
- data/lib/akeyless/models/target_create_github.rb +11 -1
- data/lib/akeyless/models/target_create_gitlab.rb +11 -1
- data/lib/akeyless/models/target_create_gke.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_create_godaddy.rb +11 -1
- data/lib/akeyless/models/target_create_google_trust.rb +11 -1
- data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_create_k8s.rb +11 -1
- data/lib/akeyless/models/target_create_ldap.rb +11 -1
- data/lib/akeyless/models/target_create_lets_encrypt.rb +11 -1
- data/lib/akeyless/models/target_create_linked.rb +11 -1
- data/lib/akeyless/models/target_create_open_ai.rb +11 -1
- data/lib/akeyless/models/target_create_ping.rb +11 -1
- data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_create_salesforce.rb +11 -1
- data/lib/akeyless/models/target_create_sectigo.rb +11 -1
- data/lib/akeyless/models/target_create_splunk.rb +11 -1
- data/lib/akeyless/models/target_create_ssh.rb +11 -1
- data/lib/akeyless/models/target_create_web.rb +11 -1
- data/lib/akeyless/models/target_create_windows.rb +11 -1
- data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
- data/lib/akeyless/models/target_update_artifactory.rb +11 -1
- data/lib/akeyless/models/target_update_aws.rb +11 -1
- data/lib/akeyless/models/target_update_azure.rb +11 -1
- data/lib/akeyless/models/target_update_db.rb +51 -1
- data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_update_eks.rb +11 -1
- data/lib/akeyless/models/target_update_gcp.rb +11 -1
- data/lib/akeyless/models/target_update_gemini.rb +11 -1
- data/lib/akeyless/models/target_update_github.rb +11 -1
- data/lib/akeyless/models/target_update_gitlab.rb +11 -1
- data/lib/akeyless/models/target_update_gke.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_update_godaddy.rb +11 -1
- data/lib/akeyless/models/target_update_google_trust.rb +11 -1
- data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_update_k8s.rb +11 -1
- data/lib/akeyless/models/target_update_ldap.rb +11 -1
- data/lib/akeyless/models/target_update_lets_encrypt.rb +11 -1
- data/lib/akeyless/models/target_update_open_ai.rb +11 -1
- data/lib/akeyless/models/target_update_ping.rb +11 -1
- data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_update_salesforce.rb +11 -1
- data/lib/akeyless/models/target_update_sectigo.rb +11 -1
- data/lib/akeyless/models/target_update_ssh.rb +11 -1
- data/lib/akeyless/models/target_update_web.rb +11 -1
- data/lib/akeyless/models/target_update_windows.rb +11 -1
- data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
- data/lib/akeyless/models/update_db_target.rb +41 -1
- data/lib/akeyless/models/update_item.rb +24 -4
- data/lib/akeyless/models/update_role.rb +11 -1
- data/lib/akeyless/models/update_target.rb +11 -1
- data/lib/akeyless/models/usc_list.rb +21 -1
- data/lib/akeyless/models/usc_list_secrets_output.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +5 -0
- data/spec/models/agentic_rule_spec.rb +42 -0
- data/spec/models/agentic_rules_spec.rb +42 -0
- data/spec/models/runtime_authority_command_spec.rb +66 -0
- data/spec/models/set_default_profile_output_spec.rb +36 -0
- data/spec/models/set_default_profile_spec.rb +42 -0
- metadata +22 -2
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class AgenticRule
|
|
18
|
+
attr_accessor :name
|
|
19
|
+
|
|
20
|
+
attr_accessor :rule
|
|
21
|
+
|
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
+
def self.attribute_map
|
|
24
|
+
{
|
|
25
|
+
:'name' => :'name',
|
|
26
|
+
:'rule' => :'rule'
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Returns all the JSON keys this model knows about
|
|
31
|
+
def self.acceptable_attributes
|
|
32
|
+
attribute_map.values
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Attribute type mapping.
|
|
36
|
+
def self.openapi_types
|
|
37
|
+
{
|
|
38
|
+
:'name' => :'String',
|
|
39
|
+
:'rule' => :'String'
|
|
40
|
+
}
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# List of attributes with nullable: true
|
|
44
|
+
def self.openapi_nullable
|
|
45
|
+
Set.new([
|
|
46
|
+
])
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Initializes the object
|
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
51
|
+
def initialize(attributes = {})
|
|
52
|
+
if (!attributes.is_a?(Hash))
|
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::AgenticRule` initialize method"
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
58
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::AgenticRule`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
60
|
+
end
|
|
61
|
+
h[k.to_sym] = v
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if attributes.key?(:'name')
|
|
65
|
+
self.name = attributes[:'name']
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
if attributes.key?(:'rule')
|
|
69
|
+
self.rule = attributes[:'rule']
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
74
|
+
# @return Array for valid properties with the reasons
|
|
75
|
+
def list_invalid_properties
|
|
76
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
77
|
+
invalid_properties = Array.new
|
|
78
|
+
invalid_properties
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Check to see if the all the properties in the model are valid
|
|
82
|
+
# @return true if the model is valid
|
|
83
|
+
def valid?
|
|
84
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
85
|
+
true
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Checks equality by comparing each attribute.
|
|
89
|
+
# @param [Object] Object to be compared
|
|
90
|
+
def ==(o)
|
|
91
|
+
return true if self.equal?(o)
|
|
92
|
+
self.class == o.class &&
|
|
93
|
+
name == o.name &&
|
|
94
|
+
rule == o.rule
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# @see the `==` method
|
|
98
|
+
# @param [Object] Object to be compared
|
|
99
|
+
def eql?(o)
|
|
100
|
+
self == o
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Calculates hash code according to all attributes.
|
|
104
|
+
# @return [Integer] Hash code
|
|
105
|
+
def hash
|
|
106
|
+
[name, rule].hash
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Builds the object from hash
|
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
111
|
+
# @return [Object] Returns the model itself
|
|
112
|
+
def self.build_from_hash(attributes)
|
|
113
|
+
return nil unless attributes.is_a?(Hash)
|
|
114
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
115
|
+
transformed_hash = {}
|
|
116
|
+
openapi_types.each_pair do |key, type|
|
|
117
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
118
|
+
transformed_hash["#{key}"] = nil
|
|
119
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
120
|
+
# check to ensure the input is an array given that the attribute
|
|
121
|
+
# is documented as an array but the input is not
|
|
122
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
123
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
124
|
+
end
|
|
125
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
126
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
new(transformed_hash)
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Deserializes the data based on type
|
|
133
|
+
# @param string type Data type
|
|
134
|
+
# @param string value Value to be deserialized
|
|
135
|
+
# @return [Object] Deserialized data
|
|
136
|
+
def self._deserialize(type, value)
|
|
137
|
+
case type.to_sym
|
|
138
|
+
when :Time
|
|
139
|
+
Time.parse(value)
|
|
140
|
+
when :Date
|
|
141
|
+
Date.parse(value)
|
|
142
|
+
when :String
|
|
143
|
+
value.to_s
|
|
144
|
+
when :Integer
|
|
145
|
+
value.to_i
|
|
146
|
+
when :Float
|
|
147
|
+
value.to_f
|
|
148
|
+
when :Boolean
|
|
149
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
150
|
+
true
|
|
151
|
+
else
|
|
152
|
+
false
|
|
153
|
+
end
|
|
154
|
+
when :Object
|
|
155
|
+
# generic object (usually a Hash), return directly
|
|
156
|
+
value
|
|
157
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
158
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
159
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
160
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
161
|
+
k_type = Regexp.last_match[:k_type]
|
|
162
|
+
v_type = Regexp.last_match[:v_type]
|
|
163
|
+
{}.tap do |hash|
|
|
164
|
+
value.each do |k, v|
|
|
165
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
else # model
|
|
169
|
+
# models (e.g. Pet) or oneOf
|
|
170
|
+
klass = Akeyless.const_get(type)
|
|
171
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
172
|
+
end
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
# Returns the string representation of the object
|
|
176
|
+
# @return [String] String presentation of the object
|
|
177
|
+
def to_s
|
|
178
|
+
to_hash.to_s
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
|
183
|
+
def to_body
|
|
184
|
+
to_hash
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# Returns the object in the form of hash
|
|
188
|
+
# @return [Hash] Returns the object in the form of hash
|
|
189
|
+
def to_hash
|
|
190
|
+
hash = {}
|
|
191
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
192
|
+
value = self.send(attr)
|
|
193
|
+
if value.nil?
|
|
194
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
195
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
hash[param] = _to_hash(value)
|
|
199
|
+
end
|
|
200
|
+
hash
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# Outputs non-array value in the form of hash
|
|
204
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
205
|
+
# @param [Object] value Any valid value
|
|
206
|
+
# @return [Hash] Returns the value in the form of hash
|
|
207
|
+
def _to_hash(value)
|
|
208
|
+
if value.is_a?(Array)
|
|
209
|
+
value.compact.map { |v| _to_hash(v) }
|
|
210
|
+
elsif value.is_a?(Hash)
|
|
211
|
+
{}.tap do |hash|
|
|
212
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
213
|
+
end
|
|
214
|
+
elsif value.respond_to? :to_hash
|
|
215
|
+
value.to_hash
|
|
216
|
+
else
|
|
217
|
+
value
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
end
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class AgenticRules
|
|
18
|
+
attr_accessor :input_rules
|
|
19
|
+
|
|
20
|
+
attr_accessor :output_rules
|
|
21
|
+
|
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
+
def self.attribute_map
|
|
24
|
+
{
|
|
25
|
+
:'input_rules' => :'input_rules',
|
|
26
|
+
:'output_rules' => :'output_rules'
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Returns all the JSON keys this model knows about
|
|
31
|
+
def self.acceptable_attributes
|
|
32
|
+
attribute_map.values
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Attribute type mapping.
|
|
36
|
+
def self.openapi_types
|
|
37
|
+
{
|
|
38
|
+
:'input_rules' => :'Array<AgenticRule>',
|
|
39
|
+
:'output_rules' => :'Array<AgenticRule>'
|
|
40
|
+
}
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# List of attributes with nullable: true
|
|
44
|
+
def self.openapi_nullable
|
|
45
|
+
Set.new([
|
|
46
|
+
])
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Initializes the object
|
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
51
|
+
def initialize(attributes = {})
|
|
52
|
+
if (!attributes.is_a?(Hash))
|
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::AgenticRules` initialize method"
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
58
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::AgenticRules`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
60
|
+
end
|
|
61
|
+
h[k.to_sym] = v
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if attributes.key?(:'input_rules')
|
|
65
|
+
if (value = attributes[:'input_rules']).is_a?(Array)
|
|
66
|
+
self.input_rules = value
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
if attributes.key?(:'output_rules')
|
|
71
|
+
if (value = attributes[:'output_rules']).is_a?(Array)
|
|
72
|
+
self.output_rules = value
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
78
|
+
# @return Array for valid properties with the reasons
|
|
79
|
+
def list_invalid_properties
|
|
80
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
81
|
+
invalid_properties = Array.new
|
|
82
|
+
invalid_properties
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Check to see if the all the properties in the model are valid
|
|
86
|
+
# @return true if the model is valid
|
|
87
|
+
def valid?
|
|
88
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
89
|
+
true
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Checks equality by comparing each attribute.
|
|
93
|
+
# @param [Object] Object to be compared
|
|
94
|
+
def ==(o)
|
|
95
|
+
return true if self.equal?(o)
|
|
96
|
+
self.class == o.class &&
|
|
97
|
+
input_rules == o.input_rules &&
|
|
98
|
+
output_rules == o.output_rules
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# @see the `==` method
|
|
102
|
+
# @param [Object] Object to be compared
|
|
103
|
+
def eql?(o)
|
|
104
|
+
self == o
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Calculates hash code according to all attributes.
|
|
108
|
+
# @return [Integer] Hash code
|
|
109
|
+
def hash
|
|
110
|
+
[input_rules, output_rules].hash
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Builds the object from hash
|
|
114
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
115
|
+
# @return [Object] Returns the model itself
|
|
116
|
+
def self.build_from_hash(attributes)
|
|
117
|
+
return nil unless attributes.is_a?(Hash)
|
|
118
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
119
|
+
transformed_hash = {}
|
|
120
|
+
openapi_types.each_pair do |key, type|
|
|
121
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
122
|
+
transformed_hash["#{key}"] = nil
|
|
123
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
124
|
+
# check to ensure the input is an array given that the attribute
|
|
125
|
+
# is documented as an array but the input is not
|
|
126
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
127
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
128
|
+
end
|
|
129
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
130
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
new(transformed_hash)
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# Deserializes the data based on type
|
|
137
|
+
# @param string type Data type
|
|
138
|
+
# @param string value Value to be deserialized
|
|
139
|
+
# @return [Object] Deserialized data
|
|
140
|
+
def self._deserialize(type, value)
|
|
141
|
+
case type.to_sym
|
|
142
|
+
when :Time
|
|
143
|
+
Time.parse(value)
|
|
144
|
+
when :Date
|
|
145
|
+
Date.parse(value)
|
|
146
|
+
when :String
|
|
147
|
+
value.to_s
|
|
148
|
+
when :Integer
|
|
149
|
+
value.to_i
|
|
150
|
+
when :Float
|
|
151
|
+
value.to_f
|
|
152
|
+
when :Boolean
|
|
153
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
154
|
+
true
|
|
155
|
+
else
|
|
156
|
+
false
|
|
157
|
+
end
|
|
158
|
+
when :Object
|
|
159
|
+
# generic object (usually a Hash), return directly
|
|
160
|
+
value
|
|
161
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
162
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
163
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
164
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
165
|
+
k_type = Regexp.last_match[:k_type]
|
|
166
|
+
v_type = Regexp.last_match[:v_type]
|
|
167
|
+
{}.tap do |hash|
|
|
168
|
+
value.each do |k, v|
|
|
169
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
else # model
|
|
173
|
+
# models (e.g. Pet) or oneOf
|
|
174
|
+
klass = Akeyless.const_get(type)
|
|
175
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Returns the string representation of the object
|
|
180
|
+
# @return [String] String presentation of the object
|
|
181
|
+
def to_s
|
|
182
|
+
to_hash.to_s
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
186
|
+
# @return [Hash] Returns the object in the form of hash
|
|
187
|
+
def to_body
|
|
188
|
+
to_hash
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# Returns the object in the form of hash
|
|
192
|
+
# @return [Hash] Returns the object in the form of hash
|
|
193
|
+
def to_hash
|
|
194
|
+
hash = {}
|
|
195
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
196
|
+
value = self.send(attr)
|
|
197
|
+
if value.nil?
|
|
198
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
199
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
hash[param] = _to_hash(value)
|
|
203
|
+
end
|
|
204
|
+
hash
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# Outputs non-array value in the form of hash
|
|
208
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
209
|
+
# @param [Object] value Any valid value
|
|
210
|
+
# @return [Hash] Returns the value in the form of hash
|
|
211
|
+
def _to_hash(value)
|
|
212
|
+
if value.is_a?(Array)
|
|
213
|
+
value.compact.map { |v| _to_hash(v) }
|
|
214
|
+
elsif value.is_a?(Hash)
|
|
215
|
+
{}.tap do |hash|
|
|
216
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
217
|
+
end
|
|
218
|
+
elsif value.respond_to? :to_hash
|
|
219
|
+
value.to_hash
|
|
220
|
+
else
|
|
221
|
+
value
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
end
|
|
@@ -25,6 +25,15 @@ module Akeyless
|
|
|
25
25
|
# (Optional) Tenant id (relevant for \"cloud-service-provider\" only)
|
|
26
26
|
attr_accessor :azure_tenant_id
|
|
27
27
|
|
|
28
|
+
# Client certificate for mutual TLS
|
|
29
|
+
attr_accessor :client_certificate
|
|
30
|
+
|
|
31
|
+
# Client private key passphrase for mutual TLS
|
|
32
|
+
attr_accessor :client_key_passphrase
|
|
33
|
+
|
|
34
|
+
# Client private key for mutual TLS
|
|
35
|
+
attr_accessor :client_private_key
|
|
36
|
+
|
|
28
37
|
# (Optional) Cloud service provider (currently only supports Azure)
|
|
29
38
|
attr_accessor :cloud_service_provider
|
|
30
39
|
|
|
@@ -50,6 +59,9 @@ module Akeyless
|
|
|
50
59
|
# Description of the object
|
|
51
60
|
attr_accessor :description
|
|
52
61
|
|
|
62
|
+
# Enable mutual TLS
|
|
63
|
+
attr_accessor :enable_mtls
|
|
64
|
+
|
|
53
65
|
attr_accessor :host
|
|
54
66
|
|
|
55
67
|
# Set output format to JSON
|
|
@@ -128,6 +140,9 @@ module Akeyless
|
|
|
128
140
|
:'azure_client_id' => :'azure-client-id',
|
|
129
141
|
:'azure_client_secret' => :'azure-client-secret',
|
|
130
142
|
:'azure_tenant_id' => :'azure-tenant-id',
|
|
143
|
+
:'client_certificate' => :'client-certificate',
|
|
144
|
+
:'client_key_passphrase' => :'client-key-passphrase',
|
|
145
|
+
:'client_private_key' => :'client-private-key',
|
|
131
146
|
:'cloud_service_provider' => :'cloud-service-provider',
|
|
132
147
|
:'cluster_mode' => :'cluster-mode',
|
|
133
148
|
:'comment' => :'comment',
|
|
@@ -137,6 +152,7 @@ module Akeyless
|
|
|
137
152
|
:'db_server_name' => :'db-server-name',
|
|
138
153
|
:'db_type' => :'db-type',
|
|
139
154
|
:'description' => :'description',
|
|
155
|
+
:'enable_mtls' => :'enable-mtls',
|
|
140
156
|
:'host' => :'host',
|
|
141
157
|
:'json' => :'json',
|
|
142
158
|
:'key' => :'key',
|
|
@@ -177,6 +193,9 @@ module Akeyless
|
|
|
177
193
|
:'azure_client_id' => :'String',
|
|
178
194
|
:'azure_client_secret' => :'String',
|
|
179
195
|
:'azure_tenant_id' => :'String',
|
|
196
|
+
:'client_certificate' => :'String',
|
|
197
|
+
:'client_key_passphrase' => :'String',
|
|
198
|
+
:'client_private_key' => :'String',
|
|
180
199
|
:'cloud_service_provider' => :'String',
|
|
181
200
|
:'cluster_mode' => :'Boolean',
|
|
182
201
|
:'comment' => :'String',
|
|
@@ -186,6 +205,7 @@ module Akeyless
|
|
|
186
205
|
:'db_server_name' => :'String',
|
|
187
206
|
:'db_type' => :'String',
|
|
188
207
|
:'description' => :'String',
|
|
208
|
+
:'enable_mtls' => :'Boolean',
|
|
189
209
|
:'host' => :'String',
|
|
190
210
|
:'json' => :'Boolean',
|
|
191
211
|
:'key' => :'String',
|
|
@@ -248,6 +268,18 @@ module Akeyless
|
|
|
248
268
|
self.azure_tenant_id = attributes[:'azure_tenant_id']
|
|
249
269
|
end
|
|
250
270
|
|
|
271
|
+
if attributes.key?(:'client_certificate')
|
|
272
|
+
self.client_certificate = attributes[:'client_certificate']
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
if attributes.key?(:'client_key_passphrase')
|
|
276
|
+
self.client_key_passphrase = attributes[:'client_key_passphrase']
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
if attributes.key?(:'client_private_key')
|
|
280
|
+
self.client_private_key = attributes[:'client_private_key']
|
|
281
|
+
end
|
|
282
|
+
|
|
251
283
|
if attributes.key?(:'cloud_service_provider')
|
|
252
284
|
self.cloud_service_provider = attributes[:'cloud_service_provider']
|
|
253
285
|
end
|
|
@@ -288,6 +320,10 @@ module Akeyless
|
|
|
288
320
|
self.description = attributes[:'description']
|
|
289
321
|
end
|
|
290
322
|
|
|
323
|
+
if attributes.key?(:'enable_mtls')
|
|
324
|
+
self.enable_mtls = attributes[:'enable_mtls']
|
|
325
|
+
end
|
|
326
|
+
|
|
291
327
|
if attributes.key?(:'host')
|
|
292
328
|
self.host = attributes[:'host']
|
|
293
329
|
end
|
|
@@ -437,6 +473,9 @@ module Akeyless
|
|
|
437
473
|
azure_client_id == o.azure_client_id &&
|
|
438
474
|
azure_client_secret == o.azure_client_secret &&
|
|
439
475
|
azure_tenant_id == o.azure_tenant_id &&
|
|
476
|
+
client_certificate == o.client_certificate &&
|
|
477
|
+
client_key_passphrase == o.client_key_passphrase &&
|
|
478
|
+
client_private_key == o.client_private_key &&
|
|
440
479
|
cloud_service_provider == o.cloud_service_provider &&
|
|
441
480
|
cluster_mode == o.cluster_mode &&
|
|
442
481
|
comment == o.comment &&
|
|
@@ -446,6 +485,7 @@ module Akeyless
|
|
|
446
485
|
db_server_name == o.db_server_name &&
|
|
447
486
|
db_type == o.db_type &&
|
|
448
487
|
description == o.description &&
|
|
488
|
+
enable_mtls == o.enable_mtls &&
|
|
449
489
|
host == o.host &&
|
|
450
490
|
json == o.json &&
|
|
451
491
|
key == o.key &&
|
|
@@ -483,7 +523,7 @@ module Akeyless
|
|
|
483
523
|
# Calculates hash code according to all attributes.
|
|
484
524
|
# @return [Integer] Hash code
|
|
485
525
|
def hash
|
|
486
|
-
[azure_client_id, azure_client_secret, azure_tenant_id, cloud_service_provider, cluster_mode, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, description, host, json, key, max_versions, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, oracle_service_name, oracle_wallet_login_type, oracle_wallet_p12_file_data, oracle_wallet_sso_file_data, parent_target_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
|
|
526
|
+
[azure_client_id, azure_client_secret, azure_tenant_id, client_certificate, client_key_passphrase, client_private_key, cloud_service_provider, cluster_mode, comment, connection_type, db_name, db_server_certificates, db_server_name, db_type, description, enable_mtls, host, json, key, max_versions, mongodb_atlas, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_default_auth_db, mongodb_uri_options, name, oracle_service_name, oracle_wallet_login_type, oracle_wallet_p12_file_data, oracle_wallet_sso_file_data, parent_target_name, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
|
|
487
527
|
end
|
|
488
528
|
|
|
489
529
|
# Builds the object from hash
|
|
@@ -18,6 +18,9 @@ module Akeyless
|
|
|
18
18
|
# Allow this role to view analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods.
|
|
19
19
|
attr_accessor :analytics_access
|
|
20
20
|
|
|
21
|
+
# Allow this role to view Agentic Runtime Authority Dashboard. Currently only 'none', 'scoped', 'all' values are supported.
|
|
22
|
+
attr_accessor :ara_reports_access
|
|
23
|
+
|
|
21
24
|
# Allow this role to view audit logs. Currently only 'none', 'own', 'scoped' and 'all' values are supported, allowing associated auth methods to view audit logs produced by the same auth methods.
|
|
22
25
|
attr_accessor :audit_access
|
|
23
26
|
|
|
@@ -67,6 +70,7 @@ module Akeyless
|
|
|
67
70
|
def self.attribute_map
|
|
68
71
|
{
|
|
69
72
|
:'analytics_access' => :'analytics-access',
|
|
73
|
+
:'ara_reports_access' => :'ara-reports-access',
|
|
70
74
|
:'audit_access' => :'audit-access',
|
|
71
75
|
:'comment' => :'comment',
|
|
72
76
|
:'delete_protection' => :'delete_protection',
|
|
@@ -94,6 +98,7 @@ module Akeyless
|
|
|
94
98
|
def self.openapi_types
|
|
95
99
|
{
|
|
96
100
|
:'analytics_access' => :'String',
|
|
101
|
+
:'ara_reports_access' => :'String',
|
|
97
102
|
:'audit_access' => :'String',
|
|
98
103
|
:'comment' => :'String',
|
|
99
104
|
:'delete_protection' => :'String',
|
|
@@ -137,6 +142,10 @@ module Akeyless
|
|
|
137
142
|
self.analytics_access = attributes[:'analytics_access']
|
|
138
143
|
end
|
|
139
144
|
|
|
145
|
+
if attributes.key?(:'ara_reports_access')
|
|
146
|
+
self.ara_reports_access = attributes[:'ara_reports_access']
|
|
147
|
+
end
|
|
148
|
+
|
|
140
149
|
if attributes.key?(:'audit_access')
|
|
141
150
|
self.audit_access = attributes[:'audit_access']
|
|
142
151
|
end
|
|
@@ -230,6 +239,7 @@ module Akeyless
|
|
|
230
239
|
return true if self.equal?(o)
|
|
231
240
|
self.class == o.class &&
|
|
232
241
|
analytics_access == o.analytics_access &&
|
|
242
|
+
ara_reports_access == o.ara_reports_access &&
|
|
233
243
|
audit_access == o.audit_access &&
|
|
234
244
|
comment == o.comment &&
|
|
235
245
|
delete_protection == o.delete_protection &&
|
|
@@ -256,7 +266,7 @@ module Akeyless
|
|
|
256
266
|
# Calculates hash code according to all attributes.
|
|
257
267
|
# @return [Integer] Hash code
|
|
258
268
|
def hash
|
|
259
|
-
[analytics_access, audit_access, comment, delete_protection, description, event_center_access, event_forwarders_access, event_forwarders_name, gw_analytics_access, json, name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
|
|
269
|
+
[analytics_access, ara_reports_access, audit_access, comment, delete_protection, description, event_center_access, event_forwarders_access, event_forwarders_name, gw_analytics_access, json, name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
|
|
260
270
|
end
|
|
261
271
|
|
|
262
272
|
# Builds the object from hash
|
|
@@ -72,9 +72,15 @@ module Akeyless
|
|
|
72
72
|
# Prefix for all secrets created in AWS Secrets Manager
|
|
73
73
|
attr_accessor :usc_prefix
|
|
74
74
|
|
|
75
|
+
# Comma-separated list of tags to apply to all secrets created on the remote USC
|
|
76
|
+
attr_accessor :usc_tags
|
|
77
|
+
|
|
75
78
|
# Whether to filter the USC secret list using the specified usc-prefix [true/false]
|
|
76
79
|
attr_accessor :use_prefix_as_filter
|
|
77
80
|
|
|
81
|
+
# Filter the USC secret list by the value(s) of --usc-tags. [true|false]
|
|
82
|
+
attr_accessor :use_tags_as_filter
|
|
83
|
+
|
|
78
84
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
79
85
|
def self.attribute_map
|
|
80
86
|
{
|
|
@@ -97,7 +103,9 @@ module Akeyless
|
|
|
97
103
|
:'token' => :'token',
|
|
98
104
|
:'uid_token' => :'uid-token',
|
|
99
105
|
:'usc_prefix' => :'usc-prefix',
|
|
100
|
-
:'
|
|
106
|
+
:'usc_tags' => :'usc-tags',
|
|
107
|
+
:'use_prefix_as_filter' => :'use-prefix-as-filter',
|
|
108
|
+
:'use_tags_as_filter' => :'use-tags-as-filter'
|
|
101
109
|
}
|
|
102
110
|
end
|
|
103
111
|
|
|
@@ -128,7 +136,9 @@ module Akeyless
|
|
|
128
136
|
:'token' => :'String',
|
|
129
137
|
:'uid_token' => :'String',
|
|
130
138
|
:'usc_prefix' => :'String',
|
|
131
|
-
:'
|
|
139
|
+
:'usc_tags' => :'String',
|
|
140
|
+
:'use_prefix_as_filter' => :'String',
|
|
141
|
+
:'use_tags_as_filter' => :'Boolean'
|
|
132
142
|
}
|
|
133
143
|
end
|
|
134
144
|
|
|
@@ -243,11 +253,19 @@ module Akeyless
|
|
|
243
253
|
self.usc_prefix = attributes[:'usc_prefix']
|
|
244
254
|
end
|
|
245
255
|
|
|
256
|
+
if attributes.key?(:'usc_tags')
|
|
257
|
+
self.usc_tags = attributes[:'usc_tags']
|
|
258
|
+
end
|
|
259
|
+
|
|
246
260
|
if attributes.key?(:'use_prefix_as_filter')
|
|
247
261
|
self.use_prefix_as_filter = attributes[:'use_prefix_as_filter']
|
|
248
262
|
else
|
|
249
263
|
self.use_prefix_as_filter = 'false'
|
|
250
264
|
end
|
|
265
|
+
|
|
266
|
+
if attributes.key?(:'use_tags_as_filter')
|
|
267
|
+
self.use_tags_as_filter = attributes[:'use_tags_as_filter']
|
|
268
|
+
end
|
|
251
269
|
end
|
|
252
270
|
|
|
253
271
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -299,7 +317,9 @@ module Akeyless
|
|
|
299
317
|
token == o.token &&
|
|
300
318
|
uid_token == o.uid_token &&
|
|
301
319
|
usc_prefix == o.usc_prefix &&
|
|
302
|
-
|
|
320
|
+
usc_tags == o.usc_tags &&
|
|
321
|
+
use_prefix_as_filter == o.use_prefix_as_filter &&
|
|
322
|
+
use_tags_as_filter == o.use_tags_as_filter
|
|
303
323
|
end
|
|
304
324
|
|
|
305
325
|
# @see the `==` method
|
|
@@ -311,7 +331,7 @@ module Akeyless
|
|
|
311
331
|
# Calculates hash code according to all attributes.
|
|
312
332
|
# @return [Integer] Hash code
|
|
313
333
|
def hash
|
|
314
|
-
[azure_kv_name, delete_protection, description, environment_names, gcp_project_id, gcp_sm_regions, github_scope, item_custom_fields, json, k8s_namespace, name, organization_name, repository_access, repository_names, tags, target_to_associate, token, uid_token, usc_prefix, use_prefix_as_filter].hash
|
|
334
|
+
[azure_kv_name, delete_protection, description, environment_names, gcp_project_id, gcp_sm_regions, github_scope, item_custom_fields, json, k8s_namespace, name, organization_name, repository_access, repository_names, tags, target_to_associate, token, uid_token, usc_prefix, usc_tags, use_prefix_as_filter, use_tags_as_filter].hash
|
|
315
335
|
end
|
|
316
336
|
|
|
317
337
|
# Builds the object from hash
|