akeyless 3.1.2 → 3.2.1

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.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -1
  3. data/docs/CreateAWSTarget.md +3 -1
  4. data/docs/CreateArtifactoryTarget.md +3 -1
  5. data/docs/CreateAzureTarget.md +3 -1
  6. data/docs/CreateDBTarget.md +3 -1
  7. data/docs/CreateDockerhubTarget.md +3 -1
  8. data/docs/CreateEKSTarget.md +3 -1
  9. data/docs/CreateEventForwarder.md +3 -1
  10. data/docs/CreateGKETarget.md +3 -1
  11. data/docs/CreateGcpTarget.md +3 -1
  12. data/docs/CreateGithubTarget.md +3 -1
  13. data/docs/CreateLdapTarget.md +3 -1
  14. data/docs/CreateNativeK8STarget.md +3 -1
  15. data/docs/CreatePingTarget.md +40 -0
  16. data/docs/CreatePingTargetOutput.md +18 -0
  17. data/docs/CreateRabbitMQTarget.md +3 -1
  18. data/docs/CreateRole.md +3 -1
  19. data/docs/CreateRotatedSecret.md +2 -0
  20. data/docs/CreateSSHTarget.md +3 -1
  21. data/docs/CreateSalesforceTarget.md +3 -1
  22. data/docs/CreateWebTarget.md +3 -1
  23. data/docs/DSProducerDetails.md +40 -0
  24. data/docs/GatewayCreateProducerEks.md +1 -1
  25. data/docs/GatewayCreateProducerPing.md +66 -0
  26. data/docs/GatewayCreateProducerPingOutput.md +18 -0
  27. data/docs/GatewayUpdateProducerEks.md +1 -1
  28. data/docs/GatewayUpdateProducerPing.md +68 -0
  29. data/docs/GatewayUpdateProducerPingOutput.md +18 -0
  30. data/docs/GetKubeExecCreds.md +5 -3
  31. data/docs/GetPKICertificate.md +5 -3
  32. data/docs/ImporterInfo.md +20 -0
  33. data/docs/ItemGeneralInfo.md +2 -0
  34. data/docs/RequestAccess.md +3 -1
  35. data/docs/SecureRemoteAccess.md +2 -0
  36. data/docs/TargetTypeDetailsInput.md +10 -0
  37. data/docs/UidCreateChildToken.md +3 -1
  38. data/docs/UpdateAWSTarget.md +3 -1
  39. data/docs/UpdateArtifactoryTarget.md +3 -1
  40. data/docs/UpdateAzureTarget.md +3 -1
  41. data/docs/UpdateDBTarget.md +3 -1
  42. data/docs/UpdateDockerhubTarget.md +3 -1
  43. data/docs/UpdateEKSTarget.md +3 -1
  44. data/docs/UpdateEventForwarder.md +3 -1
  45. data/docs/UpdateGKETarget.md +3 -1
  46. data/docs/UpdateGcpTarget.md +3 -1
  47. data/docs/UpdateGithubTarget.md +3 -1
  48. data/docs/UpdateLdapTarget.md +3 -1
  49. data/docs/UpdateNativeK8STarget.md +3 -1
  50. data/docs/UpdatePingTarget.md +46 -0
  51. data/docs/UpdateRabbitMQTarget.md +3 -1
  52. data/docs/UpdateRole.md +3 -1
  53. data/docs/UpdateRotatedSecret.md +2 -0
  54. data/docs/UpdateSSHTarget.md +3 -1
  55. data/docs/UpdateSalesforceTarget.md +3 -1
  56. data/docs/UpdateTarget.md +3 -1
  57. data/docs/UpdateWebTarget.md +3 -1
  58. data/docs/V2Api.md +252 -0
  59. data/lib/akeyless/api/v2_api.rb +256 -0
  60. data/lib/akeyless/models/create_artifactory_target.rb +12 -2
  61. data/lib/akeyless/models/create_aws_target.rb +12 -2
  62. data/lib/akeyless/models/create_azure_target.rb +12 -2
  63. data/lib/akeyless/models/create_db_target.rb +12 -2
  64. data/lib/akeyless/models/create_dockerhub_target.rb +12 -2
  65. data/lib/akeyless/models/create_eks_target.rb +12 -2
  66. data/lib/akeyless/models/create_event_forwarder.rb +12 -2
  67. data/lib/akeyless/models/create_gcp_target.rb +12 -2
  68. data/lib/akeyless/models/create_github_target.rb +12 -2
  69. data/lib/akeyless/models/create_gke_target.rb +12 -2
  70. data/lib/akeyless/models/create_ldap_target.rb +12 -2
  71. data/lib/akeyless/models/create_native_k8_s_target.rb +12 -2
  72. data/lib/akeyless/models/create_ping_target.rb +339 -0
  73. data/lib/akeyless/models/create_ping_target_output.rb +219 -0
  74. data/lib/akeyless/models/create_rabbit_mq_target.rb +12 -2
  75. data/lib/akeyless/models/create_role.rb +12 -2
  76. data/lib/akeyless/models/create_rotated_secret.rb +13 -1
  77. data/lib/akeyless/models/create_salesforce_target.rb +12 -2
  78. data/lib/akeyless/models/create_ssh_target.rb +12 -2
  79. data/lib/akeyless/models/create_web_target.rb +12 -2
  80. data/lib/akeyless/models/ds_producer_details.rb +196 -1
  81. data/lib/akeyless/models/gateway_create_producer_eks.rb +1 -1
  82. data/lib/akeyless/models/gateway_create_producer_ping.rb +482 -0
  83. data/lib/akeyless/models/gateway_create_producer_ping_output.rb +219 -0
  84. data/lib/akeyless/models/gateway_update_producer_eks.rb +1 -1
  85. data/lib/akeyless/models/gateway_update_producer_ping.rb +492 -0
  86. data/lib/akeyless/models/gateway_update_producer_ping_output.rb +219 -0
  87. data/lib/akeyless/models/get_kube_exec_creds.rb +14 -4
  88. data/lib/akeyless/models/get_pki_certificate.rb +14 -4
  89. data/lib/akeyless/models/importer_info.rb +228 -0
  90. data/lib/akeyless/models/item_general_info.rb +10 -1
  91. data/lib/akeyless/models/request_access.rb +12 -2
  92. data/lib/akeyless/models/secure_remote_access.rb +10 -1
  93. data/lib/akeyless/models/target_type_details_input.rb +46 -1
  94. data/lib/akeyless/models/uid_create_child_token.rb +12 -2
  95. data/lib/akeyless/models/update_artifactory_target.rb +12 -2
  96. data/lib/akeyless/models/update_aws_target.rb +12 -2
  97. data/lib/akeyless/models/update_azure_target.rb +12 -2
  98. data/lib/akeyless/models/update_db_target.rb +12 -2
  99. data/lib/akeyless/models/update_dockerhub_target.rb +12 -2
  100. data/lib/akeyless/models/update_eks_target.rb +12 -2
  101. data/lib/akeyless/models/update_event_forwarder.rb +14 -2
  102. data/lib/akeyless/models/update_gcp_target.rb +12 -2
  103. data/lib/akeyless/models/update_github_target.rb +12 -2
  104. data/lib/akeyless/models/update_gke_target.rb +12 -2
  105. data/lib/akeyless/models/update_ldap_target.rb +12 -2
  106. data/lib/akeyless/models/update_native_k8_s_target.rb +12 -2
  107. data/lib/akeyless/models/update_ping_target.rb +368 -0
  108. data/lib/akeyless/models/update_rabbit_mq_target.rb +12 -2
  109. data/lib/akeyless/models/update_role.rb +14 -2
  110. data/lib/akeyless/models/update_rotated_secret.rb +13 -1
  111. data/lib/akeyless/models/update_salesforce_target.rb +12 -2
  112. data/lib/akeyless/models/update_ssh_target.rb +12 -2
  113. data/lib/akeyless/models/update_target.rb +14 -2
  114. data/lib/akeyless/models/update_web_target.rb +12 -2
  115. data/lib/akeyless/version.rb +1 -1
  116. data/lib/akeyless.rb +8 -0
  117. data/spec/models/create_ping_target_output_spec.rb +34 -0
  118. data/spec/models/create_ping_target_spec.rb +94 -0
  119. data/spec/models/gateway_create_producer_ping_output_spec.rb +34 -0
  120. data/spec/models/gateway_create_producer_ping_spec.rb +178 -0
  121. data/spec/models/gateway_update_producer_ping_output_spec.rb +34 -0
  122. data/spec/models/gateway_update_producer_ping_spec.rb +184 -0
  123. data/spec/models/importer_info_spec.rb +40 -0
  124. data/spec/models/update_ping_target_spec.rb +112 -0
  125. metadata +594 -562
@@ -19,9 +19,12 @@ module Akeyless
19
19
 
20
20
  attr_accessor :client_secret
21
21
 
22
- # Comment about the target
22
+ # Deprecated - use description
23
23
  attr_accessor :comment
24
24
 
25
+ # Description of the object
26
+ attr_accessor :description
27
+
25
28
  # Set output format to JSON
26
29
  attr_accessor :json
27
30
 
@@ -56,6 +59,7 @@ module Akeyless
56
59
  :'client_id' => :'client-id',
57
60
  :'client_secret' => :'client-secret',
58
61
  :'comment' => :'comment',
62
+ :'description' => :'description',
59
63
  :'json' => :'json',
60
64
  :'key' => :'key',
61
65
  :'name' => :'name',
@@ -80,6 +84,7 @@ module Akeyless
80
84
  :'client_id' => :'String',
81
85
  :'client_secret' => :'String',
82
86
  :'comment' => :'String',
87
+ :'description' => :'String',
83
88
  :'json' => :'Boolean',
84
89
  :'key' => :'String',
85
90
  :'name' => :'String',
@@ -126,6 +131,10 @@ module Akeyless
126
131
  self.comment = attributes[:'comment']
127
132
  end
128
133
 
134
+ if attributes.key?(:'description')
135
+ self.description = attributes[:'description']
136
+ end
137
+
129
138
  if attributes.key?(:'json')
130
139
  self.json = attributes[:'json']
131
140
  end
@@ -193,6 +202,7 @@ module Akeyless
193
202
  client_id == o.client_id &&
194
203
  client_secret == o.client_secret &&
195
204
  comment == o.comment &&
205
+ description == o.description &&
196
206
  json == o.json &&
197
207
  key == o.key &&
198
208
  name == o.name &&
@@ -214,7 +224,7 @@ module Akeyless
214
224
  # Calculates hash code according to all attributes.
215
225
  # @return [Integer] Hash code
216
226
  def hash
217
- [client_id, client_secret, comment, json, key, name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
227
+ [client_id, client_secret, comment, description, json, key, name, resource_group_name, resource_name, subscription_id, tenant_id, token, uid_token, use_gw_cloud_identity].hash
218
228
  end
219
229
 
220
230
  # Builds the object from hash
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateDBTarget
18
- # Comment about the target
18
+ # Deprecated - use description
19
19
  attr_accessor :comment
20
20
 
21
21
  attr_accessor :db_name
@@ -28,6 +28,9 @@ module Akeyless
28
28
 
29
29
  attr_accessor :db_type
30
30
 
31
+ # Description of the object
32
+ attr_accessor :description
33
+
31
34
  attr_accessor :host
32
35
 
33
36
  # Set output format to JSON
@@ -92,6 +95,7 @@ module Akeyless
92
95
  :'db_server_certificates' => :'db-server-certificates',
93
96
  :'db_server_name' => :'db-server-name',
94
97
  :'db_type' => :'db-type',
98
+ :'description' => :'description',
95
99
  :'host' => :'host',
96
100
  :'json' => :'json',
97
101
  :'key' => :'key',
@@ -129,6 +133,7 @@ module Akeyless
129
133
  :'db_server_certificates' => :'String',
130
134
  :'db_server_name' => :'String',
131
135
  :'db_type' => :'String',
136
+ :'description' => :'String',
132
137
  :'host' => :'String',
133
138
  :'json' => :'Boolean',
134
139
  :'key' => :'String',
@@ -194,6 +199,10 @@ module Akeyless
194
199
  self.db_type = attributes[:'db_type']
195
200
  end
196
201
 
202
+ if attributes.key?(:'description')
203
+ self.description = attributes[:'description']
204
+ end
205
+
197
206
  if attributes.key?(:'host')
198
207
  self.host = attributes[:'host']
199
208
  end
@@ -312,6 +321,7 @@ module Akeyless
312
321
  db_server_certificates == o.db_server_certificates &&
313
322
  db_server_name == o.db_server_name &&
314
323
  db_type == o.db_type &&
324
+ description == o.description &&
315
325
  host == o.host &&
316
326
  json == o.json &&
317
327
  key == o.key &&
@@ -344,7 +354,7 @@ module Akeyless
344
354
  # Calculates hash code according to all attributes.
345
355
  # @return [Integer] Hash code
346
356
  def hash
347
- [comment, db_name, db_server_certificates, db_server_name, db_type, host, json, key, 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, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
357
+ [comment, db_name, db_server_certificates, db_server_name, db_type, description, host, json, key, 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, port, pwd, snowflake_account, snowflake_api_private_key, snowflake_api_private_key_password, ssl, ssl_certificate, token, uid_token, user_name].hash
348
358
  end
349
359
 
350
360
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateDockerhubTarget
18
- # Comment about the target
18
+ # Deprecated - use description
19
19
  attr_accessor :comment
20
20
 
21
+ # Description of the object
22
+ attr_accessor :description
23
+
21
24
  # DockerhubPassword is either the user's password to manage the repository
22
25
  attr_accessor :dockerhub_password
23
26
 
@@ -43,6 +46,7 @@ module Akeyless
43
46
  def self.attribute_map
44
47
  {
45
48
  :'comment' => :'comment',
49
+ :'description' => :'description',
46
50
  :'dockerhub_password' => :'dockerhub-password',
47
51
  :'dockerhub_username' => :'dockerhub-username',
48
52
  :'json' => :'json',
@@ -62,6 +66,7 @@ module Akeyless
62
66
  def self.openapi_types
63
67
  {
64
68
  :'comment' => :'String',
69
+ :'description' => :'String',
65
70
  :'dockerhub_password' => :'String',
66
71
  :'dockerhub_username' => :'String',
67
72
  :'json' => :'Boolean',
@@ -97,6 +102,10 @@ module Akeyless
97
102
  self.comment = attributes[:'comment']
98
103
  end
99
104
 
105
+ if attributes.key?(:'description')
106
+ self.description = attributes[:'description']
107
+ end
108
+
100
109
  if attributes.key?(:'dockerhub_password')
101
110
  self.dockerhub_password = attributes[:'dockerhub_password']
102
111
  end
@@ -150,6 +159,7 @@ module Akeyless
150
159
  return true if self.equal?(o)
151
160
  self.class == o.class &&
152
161
  comment == o.comment &&
162
+ description == o.description &&
153
163
  dockerhub_password == o.dockerhub_password &&
154
164
  dockerhub_username == o.dockerhub_username &&
155
165
  json == o.json &&
@@ -168,7 +178,7 @@ module Akeyless
168
178
  # Calculates hash code according to all attributes.
169
179
  # @return [Integer] Hash code
170
180
  def hash
171
- [comment, dockerhub_password, dockerhub_username, json, key, name, token, uid_token].hash
181
+ [comment, description, dockerhub_password, dockerhub_username, json, key, name, token, uid_token].hash
172
182
  end
173
183
 
174
184
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateEKSTarget
18
- # Comment about the target
18
+ # Deprecated - use description
19
19
  attr_accessor :comment
20
20
 
21
+ # Description of the object
22
+ attr_accessor :description
23
+
21
24
  # Access Key ID
22
25
  attr_accessor :eks_access_key_id
23
26
 
@@ -57,6 +60,7 @@ module Akeyless
57
60
  def self.attribute_map
58
61
  {
59
62
  :'comment' => :'comment',
63
+ :'description' => :'description',
60
64
  :'eks_access_key_id' => :'eks-access-key-id',
61
65
  :'eks_cluster_ca_cert' => :'eks-cluster-ca-cert',
62
66
  :'eks_cluster_endpoint' => :'eks-cluster-endpoint',
@@ -81,6 +85,7 @@ module Akeyless
81
85
  def self.openapi_types
82
86
  {
83
87
  :'comment' => :'String',
88
+ :'description' => :'String',
84
89
  :'eks_access_key_id' => :'String',
85
90
  :'eks_cluster_ca_cert' => :'String',
86
91
  :'eks_cluster_endpoint' => :'String',
@@ -121,6 +126,10 @@ module Akeyless
121
126
  self.comment = attributes[:'comment']
122
127
  end
123
128
 
129
+ if attributes.key?(:'description')
130
+ self.description = attributes[:'description']
131
+ end
132
+
124
133
  if attributes.key?(:'eks_access_key_id')
125
134
  self.eks_access_key_id = attributes[:'eks_access_key_id']
126
135
  end
@@ -221,6 +230,7 @@ module Akeyless
221
230
  return true if self.equal?(o)
222
231
  self.class == o.class &&
223
232
  comment == o.comment &&
233
+ description == o.description &&
224
234
  eks_access_key_id == o.eks_access_key_id &&
225
235
  eks_cluster_ca_cert == o.eks_cluster_ca_cert &&
226
236
  eks_cluster_endpoint == o.eks_cluster_endpoint &&
@@ -244,7 +254,7 @@ module Akeyless
244
254
  # Calculates hash code according to all attributes.
245
255
  # @return [Integer] Hash code
246
256
  def hash
247
- [comment, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, key, name, token, uid_token, use_gw_cloud_identity].hash
257
+ [comment, description, eks_access_key_id, eks_cluster_ca_cert, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, json, key, name, token, uid_token, use_gw_cloud_identity].hash
248
258
  end
249
259
 
250
260
  # Builds the object from hash
@@ -21,9 +21,12 @@ module Akeyless
21
21
  # Workstation Admin password
22
22
  attr_accessor :admin_pwd
23
23
 
24
- # Comment about the EventForwarder
24
+ # Deprecated - use description
25
25
  attr_accessor :comment
26
26
 
27
+ # Description of the object
28
+ attr_accessor :description
29
+
27
30
  # A comma seperated list of email addresses to send event to (relevant only for \\\"email\\\" Event Forwarder)
28
31
  attr_accessor :email_to
29
32
 
@@ -67,6 +70,7 @@ module Akeyless
67
70
  :'admin_name' => :'admin-name',
68
71
  :'admin_pwd' => :'admin-pwd',
69
72
  :'comment' => :'comment',
73
+ :'description' => :'description',
70
74
  :'email_to' => :'email-to',
71
75
  :'event_source_locations' => :'event-source-locations',
72
76
  :'event_source_type' => :'event-source-type',
@@ -94,6 +98,7 @@ module Akeyless
94
98
  :'admin_name' => :'String',
95
99
  :'admin_pwd' => :'String',
96
100
  :'comment' => :'String',
101
+ :'description' => :'String',
97
102
  :'email_to' => :'String',
98
103
  :'event_source_locations' => :'Array<String>',
99
104
  :'event_source_type' => :'String',
@@ -143,6 +148,10 @@ module Akeyless
143
148
  self.comment = attributes[:'comment']
144
149
  end
145
150
 
151
+ if attributes.key?(:'description')
152
+ self.description = attributes[:'description']
153
+ end
154
+
146
155
  if attributes.key?(:'email_to')
147
156
  self.email_to = attributes[:'email_to']
148
157
  end
@@ -243,6 +252,7 @@ module Akeyless
243
252
  admin_name == o.admin_name &&
244
253
  admin_pwd == o.admin_pwd &&
245
254
  comment == o.comment &&
255
+ description == o.description &&
246
256
  email_to == o.email_to &&
247
257
  event_source_locations == o.event_source_locations &&
248
258
  event_source_type == o.event_source_type &&
@@ -267,7 +277,7 @@ module Akeyless
267
277
  # Calculates hash code according to all attributes.
268
278
  # @return [Integer] Hash code
269
279
  def hash
270
- [admin_name, admin_pwd, comment, email_to, event_source_locations, event_source_type, event_types, every, forwarder_type, host, json, key, name, runner_type, token, uid_token].hash
280
+ [admin_name, admin_pwd, comment, description, email_to, event_source_locations, event_source_type, event_types, every, forwarder_type, host, json, key, name, runner_type, token, uid_token].hash
271
281
  end
272
282
 
273
283
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateGcpTarget
18
- # Comment about the target
18
+ # Deprecated - use description
19
19
  attr_accessor :comment
20
20
 
21
+ # Description of the object
22
+ attr_accessor :description
23
+
21
24
  # Base64-encoded service account private key text
22
25
  attr_accessor :gcp_key
23
26
 
@@ -42,6 +45,7 @@ module Akeyless
42
45
  def self.attribute_map
43
46
  {
44
47
  :'comment' => :'comment',
48
+ :'description' => :'description',
45
49
  :'gcp_key' => :'gcp-key',
46
50
  :'json' => :'json',
47
51
  :'key' => :'key',
@@ -61,6 +65,7 @@ module Akeyless
61
65
  def self.openapi_types
62
66
  {
63
67
  :'comment' => :'String',
68
+ :'description' => :'String',
64
69
  :'gcp_key' => :'String',
65
70
  :'json' => :'Boolean',
66
71
  :'key' => :'String',
@@ -96,6 +101,10 @@ module Akeyless
96
101
  self.comment = attributes[:'comment']
97
102
  end
98
103
 
104
+ if attributes.key?(:'description')
105
+ self.description = attributes[:'description']
106
+ end
107
+
99
108
  if attributes.key?(:'gcp_key')
100
109
  self.gcp_key = attributes[:'gcp_key']
101
110
  end
@@ -149,6 +158,7 @@ module Akeyless
149
158
  return true if self.equal?(o)
150
159
  self.class == o.class &&
151
160
  comment == o.comment &&
161
+ description == o.description &&
152
162
  gcp_key == o.gcp_key &&
153
163
  json == o.json &&
154
164
  key == o.key &&
@@ -167,7 +177,7 @@ module Akeyless
167
177
  # Calculates hash code according to all attributes.
168
178
  # @return [Integer] Hash code
169
179
  def hash
170
- [comment, gcp_key, json, key, name, token, uid_token, use_gw_cloud_identity].hash
180
+ [comment, description, gcp_key, json, key, name, token, uid_token, use_gw_cloud_identity].hash
171
181
  end
172
182
 
173
183
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateGithubTarget
18
- # Comment about the target
18
+ # Deprecated - use description
19
19
  attr_accessor :comment
20
20
 
21
+ # Description of the object
22
+ attr_accessor :description
23
+
21
24
  # Github app id
22
25
  attr_accessor :github_app_id
23
26
 
@@ -46,6 +49,7 @@ module Akeyless
46
49
  def self.attribute_map
47
50
  {
48
51
  :'comment' => :'comment',
52
+ :'description' => :'description',
49
53
  :'github_app_id' => :'github-app-id',
50
54
  :'github_app_private_key' => :'github-app-private-key',
51
55
  :'github_base_url' => :'github-base-url',
@@ -66,6 +70,7 @@ module Akeyless
66
70
  def self.openapi_types
67
71
  {
68
72
  :'comment' => :'String',
73
+ :'description' => :'String',
69
74
  :'github_app_id' => :'Integer',
70
75
  :'github_app_private_key' => :'String',
71
76
  :'github_base_url' => :'String',
@@ -102,6 +107,10 @@ module Akeyless
102
107
  self.comment = attributes[:'comment']
103
108
  end
104
109
 
110
+ if attributes.key?(:'description')
111
+ self.description = attributes[:'description']
112
+ end
113
+
105
114
  if attributes.key?(:'github_app_id')
106
115
  self.github_app_id = attributes[:'github_app_id']
107
116
  end
@@ -159,6 +168,7 @@ module Akeyless
159
168
  return true if self.equal?(o)
160
169
  self.class == o.class &&
161
170
  comment == o.comment &&
171
+ description == o.description &&
162
172
  github_app_id == o.github_app_id &&
163
173
  github_app_private_key == o.github_app_private_key &&
164
174
  github_base_url == o.github_base_url &&
@@ -178,7 +188,7 @@ module Akeyless
178
188
  # Calculates hash code according to all attributes.
179
189
  # @return [Integer] Hash code
180
190
  def hash
181
- [comment, github_app_id, github_app_private_key, github_base_url, json, key, name, token, uid_token].hash
191
+ [comment, description, github_app_id, github_app_private_key, github_base_url, json, key, name, token, uid_token].hash
182
192
  end
183
193
 
184
194
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateGKETarget
18
- # Comment about the target
18
+ # Deprecated - use description
19
19
  attr_accessor :comment
20
20
 
21
+ # Description of the object
22
+ attr_accessor :description
23
+
21
24
  # GKE Service Account key file path
22
25
  attr_accessor :gke_account_key
23
26
 
@@ -54,6 +57,7 @@ module Akeyless
54
57
  def self.attribute_map
55
58
  {
56
59
  :'comment' => :'comment',
60
+ :'description' => :'description',
57
61
  :'gke_account_key' => :'gke-account-key',
58
62
  :'gke_cluster_cert' => :'gke-cluster-cert',
59
63
  :'gke_cluster_endpoint' => :'gke-cluster-endpoint',
@@ -77,6 +81,7 @@ module Akeyless
77
81
  def self.openapi_types
78
82
  {
79
83
  :'comment' => :'String',
84
+ :'description' => :'String',
80
85
  :'gke_account_key' => :'String',
81
86
  :'gke_cluster_cert' => :'String',
82
87
  :'gke_cluster_endpoint' => :'String',
@@ -116,6 +121,10 @@ module Akeyless
116
121
  self.comment = attributes[:'comment']
117
122
  end
118
123
 
124
+ if attributes.key?(:'description')
125
+ self.description = attributes[:'description']
126
+ end
127
+
119
128
  if attributes.key?(:'gke_account_key')
120
129
  self.gke_account_key = attributes[:'gke_account_key']
121
130
  end
@@ -185,6 +194,7 @@ module Akeyless
185
194
  return true if self.equal?(o)
186
195
  self.class == o.class &&
187
196
  comment == o.comment &&
197
+ description == o.description &&
188
198
  gke_account_key == o.gke_account_key &&
189
199
  gke_cluster_cert == o.gke_cluster_cert &&
190
200
  gke_cluster_endpoint == o.gke_cluster_endpoint &&
@@ -207,7 +217,7 @@ module Akeyless
207
217
  # Calculates hash code according to all attributes.
208
218
  # @return [Integer] Hash code
209
219
  def hash
210
- [comment, gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, json, key, name, token, uid_token, use_gw_cloud_identity].hash
220
+ [comment, description, gke_account_key, gke_cluster_cert, gke_cluster_endpoint, gke_cluster_name, gke_service_account_email, json, key, name, token, uid_token, use_gw_cloud_identity].hash
211
221
  end
212
222
 
213
223
  # Builds the object from hash
@@ -21,9 +21,12 @@ module Akeyless
21
21
  # Bind DN Password
22
22
  attr_accessor :bind_dn_password
23
23
 
24
- # Comment about the target
24
+ # Deprecated - use description
25
25
  attr_accessor :comment
26
26
 
27
+ # Description of the object
28
+ attr_accessor :description
29
+
27
30
  # Set output format to JSON
28
31
  attr_accessor :json
29
32
 
@@ -57,6 +60,7 @@ module Akeyless
57
60
  :'bind_dn' => :'bind-dn',
58
61
  :'bind_dn_password' => :'bind-dn-password',
59
62
  :'comment' => :'comment',
63
+ :'description' => :'description',
60
64
  :'json' => :'json',
61
65
  :'key' => :'key',
62
66
  :'ldap_ca_cert' => :'ldap-ca-cert',
@@ -80,6 +84,7 @@ module Akeyless
80
84
  :'bind_dn' => :'String',
81
85
  :'bind_dn_password' => :'String',
82
86
  :'comment' => :'String',
87
+ :'description' => :'String',
83
88
  :'json' => :'Boolean',
84
89
  :'key' => :'String',
85
90
  :'ldap_ca_cert' => :'String',
@@ -125,6 +130,10 @@ module Akeyless
125
130
  self.comment = attributes[:'comment']
126
131
  end
127
132
 
133
+ if attributes.key?(:'description')
134
+ self.description = attributes[:'description']
135
+ end
136
+
128
137
  if attributes.key?(:'json')
129
138
  self.json = attributes[:'json']
130
139
  end
@@ -205,6 +214,7 @@ module Akeyless
205
214
  bind_dn == o.bind_dn &&
206
215
  bind_dn_password == o.bind_dn_password &&
207
216
  comment == o.comment &&
217
+ description == o.description &&
208
218
  json == o.json &&
209
219
  key == o.key &&
210
220
  ldap_ca_cert == o.ldap_ca_cert &&
@@ -225,7 +235,7 @@ module Akeyless
225
235
  # Calculates hash code according to all attributes.
226
236
  # @return [Integer] Hash code
227
237
  def hash
228
- [bind_dn, bind_dn_password, comment, json, key, ldap_ca_cert, ldap_url, name, server_type, token, token_expiration, uid_token].hash
238
+ [bind_dn, bind_dn_password, comment, description, json, key, ldap_ca_cert, ldap_url, name, server_type, token, token_expiration, uid_token].hash
229
239
  end
230
240
 
231
241
  # Builds the object from hash
@@ -15,9 +15,12 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class CreateNativeK8STarget
18
- # Comment about the target
18
+ # Deprecated - use description
19
19
  attr_accessor :comment
20
20
 
21
+ # Description of the object
22
+ attr_accessor :description
23
+
21
24
  # Set output format to JSON
22
25
  attr_accessor :json
23
26
 
@@ -46,6 +49,7 @@ module Akeyless
46
49
  def self.attribute_map
47
50
  {
48
51
  :'comment' => :'comment',
52
+ :'description' => :'description',
49
53
  :'json' => :'json',
50
54
  :'k8s_cluster_ca_cert' => :'k8s-cluster-ca-cert',
51
55
  :'k8s_cluster_endpoint' => :'k8s-cluster-endpoint',
@@ -66,6 +70,7 @@ module Akeyless
66
70
  def self.openapi_types
67
71
  {
68
72
  :'comment' => :'String',
73
+ :'description' => :'String',
69
74
  :'json' => :'Boolean',
70
75
  :'k8s_cluster_ca_cert' => :'String',
71
76
  :'k8s_cluster_endpoint' => :'String',
@@ -102,6 +107,10 @@ module Akeyless
102
107
  self.comment = attributes[:'comment']
103
108
  end
104
109
 
110
+ if attributes.key?(:'description')
111
+ self.description = attributes[:'description']
112
+ end
113
+
105
114
  if attributes.key?(:'json')
106
115
  self.json = attributes[:'json']
107
116
  end
@@ -174,6 +183,7 @@ module Akeyless
174
183
  return true if self.equal?(o)
175
184
  self.class == o.class &&
176
185
  comment == o.comment &&
186
+ description == o.description &&
177
187
  json == o.json &&
178
188
  k8s_cluster_ca_cert == o.k8s_cluster_ca_cert &&
179
189
  k8s_cluster_endpoint == o.k8s_cluster_endpoint &&
@@ -193,7 +203,7 @@ module Akeyless
193
203
  # Calculates hash code according to all attributes.
194
204
  # @return [Integer] Hash code
195
205
  def hash
196
- [comment, json, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_token, key, name, token, uid_token].hash
206
+ [comment, description, json, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_token, key, name, token, uid_token].hash
197
207
  end
198
208
 
199
209
  # Builds the object from hash