akeyless 5.0.13 → 5.0.14

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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -1
  3. data/docs/CreateESM.md +2 -0
  4. data/docs/CreateRole.md +2 -0
  5. data/docs/CreateUSC.md +2 -0
  6. data/docs/DecryptWithClassicKey.md +2 -0
  7. data/docs/DynamicSecretCreateGcp.md +2 -0
  8. data/docs/DynamicSecretUpdateGcp.md +2 -0
  9. data/docs/EncryptWithClassicKey.md +2 -0
  10. data/docs/FolderCreate.md +34 -0
  11. data/docs/FolderCreateOutput.md +18 -0
  12. data/docs/FolderDelete.md +28 -0
  13. data/docs/FolderGet.md +28 -0
  14. data/docs/FolderGetOutput.md +18 -0
  15. data/docs/FolderUpdate.md +36 -0
  16. data/docs/GatewayCreateProducerGcp.md +2 -0
  17. data/docs/GatewayUpdateProducerGcp.md +2 -0
  18. data/docs/GetFolderOutput.md +36 -0
  19. data/docs/V2Api.md +252 -0
  20. data/lib/akeyless/api/v2_api.rb +256 -0
  21. data/lib/akeyless/models/create_esm.rb +11 -1
  22. data/lib/akeyless/models/create_role.rb +13 -1
  23. data/lib/akeyless/models/create_usc.rb +11 -1
  24. data/lib/akeyless/models/decrypt_with_classic_key.rb +13 -1
  25. data/lib/akeyless/models/dynamic_secret_create_gcp.rb +11 -1
  26. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +11 -1
  27. data/lib/akeyless/models/encrypt_with_classic_key.rb +13 -1
  28. data/lib/akeyless/models/folder_create.rb +308 -0
  29. data/lib/akeyless/models/folder_create_output.rb +214 -0
  30. data/lib/akeyless/models/folder_delete.rb +276 -0
  31. data/lib/akeyless/models/folder_get.rb +276 -0
  32. data/lib/akeyless/models/folder_get_output.rb +214 -0
  33. data/lib/akeyless/models/folder_update.rb +320 -0
  34. data/lib/akeyless/models/gateway_create_producer_gcp.rb +11 -1
  35. data/lib/akeyless/models/gateway_update_producer_gcp.rb +11 -1
  36. data/lib/akeyless/models/get_folder_output.rb +298 -0
  37. data/lib/akeyless/version.rb +1 -1
  38. data/lib/akeyless.rb +7 -0
  39. data/spec/models/folder_create_output_spec.rb +36 -0
  40. data/spec/models/folder_create_spec.rb +84 -0
  41. data/spec/models/folder_delete_spec.rb +66 -0
  42. data/spec/models/folder_get_output_spec.rb +36 -0
  43. data/spec/models/folder_get_spec.rb +66 -0
  44. data/spec/models/folder_update_spec.rb +90 -0
  45. data/spec/models/get_folder_output_spec.rb +90 -0
  46. metadata +29 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a17ffafe781f88439d56d8c1c39d7e30a467d321f997c71d3c775947326b763a
4
- data.tar.gz: fd279c8cc27086800b37cf366798476d85ed9cce60c530d8c19f08abf9206df7
3
+ metadata.gz: d08c5cd13ab17d9ae6c0e1e476aa7641fca58db7bf411089aedce0d572fd477a
4
+ data.tar.gz: f0bae44060d9458a40192277adc31f7e768503564571bd3e95e65600199c368b
5
5
  SHA512:
6
- metadata.gz: a8c54845824fdef0941e9f065d85fea8cec478d3eb2dd71882329cdfb0241d3365fbad742dac324580b37ecc878fac3701cfa33a3fefc6ed791096fae02bf32c
7
- data.tar.gz: fd7404d60adef9cb4a0898b10f31c81c45da8b5deab5f2ad282d95b50edc2ee6651244a783c6be799a8f495c38bf88227dff7bafdd5994ea1ffb78c35888ed7e
6
+ metadata.gz: 9bdf2ea270575ee0de0abcc70cb5e67c06fb02afd1f6e03eaeea7484c9b2e51674507b00f79e159fa2647b33fd490714e7406d0b5ba3afe3b8ebf15b8d9ec3f3
7
+ data.tar.gz: 07e438a3a424e46dafabd954e6e21563e2735f9435e521af2bc5ef21edab2c002e9177cbb6b8224a8dc7f9bd40194ac8e3a5bf700e8f9916f9a055bf9976cc22
data/README.md CHANGED
@@ -7,7 +7,7 @@ The purpose of this application is to provide access to Akeyless API.
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 3.0
10
- - Package version: 5.0.13
10
+ - Package version: 5.0.14
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [http://akeyless.io](http://akeyless.io)
@@ -274,6 +274,10 @@ Class | Method | HTTP request | Description
274
274
  *Akeyless::V2Api* | [**event_forwarder_update_teams**](docs/V2Api.md#event_forwarder_update_teams) | **POST** /event-forwarder-update-teams |
275
275
  *Akeyless::V2Api* | [**event_forwarder_update_webhook**](docs/V2Api.md#event_forwarder_update_webhook) | **POST** /event-forwarder-update-webhook |
276
276
  *Akeyless::V2Api* | [**export_classic_key**](docs/V2Api.md#export_classic_key) | **POST** /export-classic-key |
277
+ *Akeyless::V2Api* | [**folder_create**](docs/V2Api.md#folder_create) | **POST** /folder-create |
278
+ *Akeyless::V2Api* | [**folder_delete**](docs/V2Api.md#folder_delete) | **POST** /folder-delete |
279
+ *Akeyless::V2Api* | [**folder_get**](docs/V2Api.md#folder_get) | **POST** /folder-get |
280
+ *Akeyless::V2Api* | [**folder_update**](docs/V2Api.md#folder_update) | **POST** /folder-update |
277
281
  *Akeyless::V2Api* | [**gateway_create_allowed_access**](docs/V2Api.md#gateway_create_allowed_access) | **POST** /gateway-create-allowed-access |
278
282
  *Akeyless::V2Api* | [**gateway_create_k8_s_auth_config**](docs/V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config |
279
283
  *Akeyless::V2Api* | [**gateway_create_migration**](docs/V2Api.md#gateway_create_migration) | **POST** /gateway-create-migration |
@@ -1049,6 +1053,12 @@ Class | Method | HTTP request | Description
1049
1053
  - [Akeyless::ExportClassicKeyOutput](docs/ExportClassicKeyOutput.md)
1050
1054
  - [Akeyless::Extension](docs/Extension.md)
1051
1055
  - [Akeyless::ExternalKMSKeyId](docs/ExternalKMSKeyId.md)
1056
+ - [Akeyless::FolderCreate](docs/FolderCreate.md)
1057
+ - [Akeyless::FolderCreateOutput](docs/FolderCreateOutput.md)
1058
+ - [Akeyless::FolderDelete](docs/FolderDelete.md)
1059
+ - [Akeyless::FolderGet](docs/FolderGet.md)
1060
+ - [Akeyless::FolderGetOutput](docs/FolderGetOutput.md)
1061
+ - [Akeyless::FolderUpdate](docs/FolderUpdate.md)
1052
1062
  - [Akeyless::GCPAccessRules](docs/GCPAccessRules.md)
1053
1063
  - [Akeyless::GCPPayload](docs/GCPPayload.md)
1054
1064
  - [Akeyless::GCPSecretsMigration](docs/GCPSecretsMigration.md)
@@ -1260,6 +1270,7 @@ Class | Method | HTTP request | Description
1260
1270
  - [Akeyless::GetDynamicSecretValue](docs/GetDynamicSecretValue.md)
1261
1271
  - [Akeyless::GetEventForwarder](docs/GetEventForwarder.md)
1262
1272
  - [Akeyless::GetEventForwarderOutput](docs/GetEventForwarderOutput.md)
1273
+ - [Akeyless::GetFolderOutput](docs/GetFolderOutput.md)
1263
1274
  - [Akeyless::GetGroup](docs/GetGroup.md)
1264
1275
  - [Akeyless::GetGroupOutput](docs/GetGroupOutput.md)
1265
1276
  - [Akeyless::GetKubeExecCreds](docs/GetKubeExecCreds.md)
data/docs/CreateESM.md CHANGED
@@ -7,6 +7,7 @@
7
7
  | **azure_kv_name** | **String** | Azure Key Vault name (Relevant only for Azure targets) | [optional] |
8
8
  | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
9
9
  | **description** | **String** | Description of the External Secrets Manager | [optional] |
10
+ | **gcp_project_id** | **String** | GCP Project ID (Relevant only for GCP targets) | [optional] |
10
11
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
11
12
  | **k8s_namespace** | **String** | K8s namespace (Relevant to Kubernetes targets) | [optional] |
12
13
  | **name** | **String** | External Secrets Manager name | |
@@ -24,6 +25,7 @@ instance = Akeyless::CreateESM.new(
24
25
  azure_kv_name: null,
25
26
  delete_protection: null,
26
27
  description: null,
28
+ gcp_project_id: null,
27
29
  json: null,
28
30
  k8s_namespace: null,
29
31
  name: null,
data/docs/CreateRole.md CHANGED
@@ -11,6 +11,7 @@
11
11
  | **description** | **String** | Description of the object | [optional] |
12
12
  | **event_center_access** | **String** | Allow this role to view Event Center. Currently only 'none', 'own' and 'all' values are supported | [optional] |
13
13
  | **event_forwarders_access** | **String** | Allow this role to manage Event Forwarders. Currently only 'none' and 'all' values are supported. | [optional] |
14
+ | **event_forwarders_name** | **Array<String>** | Allow this role to manage the following Event Forwarders. | [optional] |
14
15
  | **gw_analytics_access** | **String** | Allow this role to view gw analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods. | [optional] |
15
16
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
16
17
  | **name** | **String** | Role name | |
@@ -33,6 +34,7 @@ instance = Akeyless::CreateRole.new(
33
34
  description: null,
34
35
  event_center_access: null,
35
36
  event_forwarders_access: null,
37
+ event_forwarders_name: null,
36
38
  gw_analytics_access: null,
37
39
  json: null,
38
40
  name: null,
data/docs/CreateUSC.md CHANGED
@@ -7,6 +7,7 @@
7
7
  | **azure_kv_name** | **String** | Azure Key Vault name (Relevant only for Azure targets) | [optional] |
8
8
  | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
9
9
  | **description** | **String** | Description of the Universal Secrets Connector | [optional] |
10
+ | **gcp_project_id** | **String** | GCP Project ID (Relevant only for GCP targets) | [optional] |
10
11
  | **item_custom_fields** | **Hash<String, String>** | Additional custom fields to associate with the item | [optional] |
11
12
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
12
13
  | **k8s_namespace** | **String** | K8s namespace (Relevant to Kubernetes targets) | [optional] |
@@ -27,6 +28,7 @@ instance = Akeyless::CreateUSC.new(
27
28
  azure_kv_name: null,
28
29
  delete_protection: null,
29
30
  description: null,
31
+ gcp_project_id: null,
30
32
  item_custom_fields: null,
31
33
  json: null,
32
34
  k8s_namespace: null,
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **ciphertext** | **String** | Ciphertext to be decrypted in base64 encoded format | |
8
8
  | **display_id** | **String** | The name of the key to use in the encryption process | |
9
+ | **ignore_cache** | **String** | Retrieve the Secret value without checking the Gateway's cache [true/false]. This flag is only relevant when using the RestAPI | [optional][default to 'false'] |
9
10
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
10
11
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
11
12
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -19,6 +20,7 @@ require 'akeyless'
19
20
  instance = Akeyless::DecryptWithClassicKey.new(
20
21
  ciphertext: null,
21
22
  display_id: null,
23
+ ignore_cache: null,
22
24
  json: null,
23
25
  token: null,
24
26
  uid_token: null,
@@ -10,6 +10,7 @@
10
10
  | **gcp_cred_type** | **String** | | [optional] |
11
11
  | **gcp_key** | **String** | Base64-encoded service account private key text | [optional] |
12
12
  | **gcp_key_algo** | **String** | Service account key algorithm, e.g. KEY_ALG_RSA_1024 | [optional] |
13
+ | **gcp_project_id** | **String** | GCP Project ID override for dynamic secret operations (tmp service accounts) | [optional] |
13
14
  | **gcp_sa_email** | **String** | The email of the fixed service acocunt to generate keys or tokens for. (revelant for service-account-type=fixed) | [optional] |
14
15
  | **gcp_token_scopes** | **String** | Access token scopes list, e.g. scope1,scope2 | [optional] |
15
16
  | **item_custom_fields** | **Hash<String, String>** | Additional custom fields to associate with the item | [optional] |
@@ -36,6 +37,7 @@ instance = Akeyless::DynamicSecretCreateGcp.new(
36
37
  gcp_cred_type: null,
37
38
  gcp_key: null,
38
39
  gcp_key_algo: null,
40
+ gcp_project_id: null,
39
41
  gcp_sa_email: null,
40
42
  gcp_token_scopes: null,
41
43
  item_custom_fields: null,
@@ -10,6 +10,7 @@
10
10
  | **gcp_cred_type** | **String** | | [optional] |
11
11
  | **gcp_key** | **String** | Base64-encoded service account private key text | [optional] |
12
12
  | **gcp_key_algo** | **String** | Service account key algorithm, e.g. KEY_ALG_RSA_1024 | [optional] |
13
+ | **gcp_project_id** | **String** | GCP Project ID override for dynamic secret operations (tmp service accounts) | [optional] |
13
14
  | **gcp_sa_email** | **String** | The email of the fixed service acocunt to generate keys or tokens for. (revelant for service-account-type=fixed) | [optional] |
14
15
  | **gcp_token_scopes** | **String** | Access token scopes list, e.g. scope1,scope2 | [optional] |
15
16
  | **item_custom_fields** | **Hash<String, String>** | Additional custom fields to associate with the item | [optional] |
@@ -37,6 +38,7 @@ instance = Akeyless::DynamicSecretUpdateGcp.new(
37
38
  gcp_cred_type: null,
38
39
  gcp_key: null,
39
40
  gcp_key_algo: null,
41
+ gcp_project_id: null,
40
42
  gcp_sa_email: null,
41
43
  gcp_token_scopes: null,
42
44
  item_custom_fields: null,
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **display_id** | **String** | The name of the key to use in the encryption process | |
8
+ | **ignore_cache** | **String** | Retrieve the Secret value without checking the Gateway's cache [true/false]. This flag is only relevant when using the RestAPI | [optional][default to 'false'] |
8
9
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
9
10
  | **plaintext** | **String** | Data to be encrypted | |
10
11
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
@@ -18,6 +19,7 @@ require 'akeyless'
18
19
 
19
20
  instance = Akeyless::EncryptWithClassicKey.new(
20
21
  display_id: null,
22
+ ignore_cache: null,
21
23
  json: null,
22
24
  plaintext: null,
23
25
  token: null,
@@ -0,0 +1,34 @@
1
+ # Akeyless::FolderCreate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **accessibility** | **String** | for personal password manager | [optional][default to 'regular'] |
8
+ | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
9
+ | **description** | **String** | Description of the object | [optional] |
10
+ | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
11
+ | **name** | **String** | Folder name | |
12
+ | **tags** | **Array<String>** | Add tags attached to this object | [optional] |
13
+ | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
14
+ | **type** | **String** | | [optional] |
15
+ | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'akeyless'
21
+
22
+ instance = Akeyless::FolderCreate.new(
23
+ accessibility: null,
24
+ delete_protection: null,
25
+ description: null,
26
+ json: null,
27
+ name: null,
28
+ tags: null,
29
+ token: null,
30
+ type: null,
31
+ uid_token: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,18 @@
1
+ # Akeyless::FolderCreateOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **folder_id** | **Integer** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'akeyless'
13
+
14
+ instance = Akeyless::FolderCreateOutput.new(
15
+ folder_id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,28 @@
1
+ # Akeyless::FolderDelete
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **accessibility** | **String** | for personal password manager | [optional][default to 'regular'] |
8
+ | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
9
+ | **name** | **String** | Folder name | |
10
+ | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
11
+ | **type** | **String** | | [optional] |
12
+ | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'akeyless'
18
+
19
+ instance = Akeyless::FolderDelete.new(
20
+ accessibility: null,
21
+ json: null,
22
+ name: null,
23
+ token: null,
24
+ type: null,
25
+ uid_token: null
26
+ )
27
+ ```
28
+
data/docs/FolderGet.md ADDED
@@ -0,0 +1,28 @@
1
+ # Akeyless::FolderGet
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **accessibility** | **String** | for personal password manager | [optional][default to 'regular'] |
8
+ | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
9
+ | **name** | **String** | Folder name | |
10
+ | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
11
+ | **type** | **String** | | [optional] |
12
+ | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'akeyless'
18
+
19
+ instance = Akeyless::FolderGet.new(
20
+ accessibility: null,
21
+ json: null,
22
+ name: null,
23
+ token: null,
24
+ type: null,
25
+ uid_token: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,18 @@
1
+ # Akeyless::FolderGetOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **folder** | [**GetFolderOutput**](GetFolderOutput.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'akeyless'
13
+
14
+ instance = Akeyless::FolderGetOutput.new(
15
+ folder: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,36 @@
1
+ # Akeyless::FolderUpdate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **accessibility** | **String** | for personal password manager | [optional][default to 'regular'] |
8
+ | **add_tag** | **Array<String>** | List of the new tags that will be attached to this folder | [optional] |
9
+ | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
10
+ | **description** | **String** | Description of the object | [optional] |
11
+ | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
12
+ | **name** | **String** | Folder name | |
13
+ | **rm_tag** | **Array<String>** | List of the existent tags that will be removed from this folder | [optional] |
14
+ | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
15
+ | **type** | **String** | | [optional] |
16
+ | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'akeyless'
22
+
23
+ instance = Akeyless::FolderUpdate.new(
24
+ accessibility: null,
25
+ add_tag: null,
26
+ delete_protection: null,
27
+ description: null,
28
+ json: null,
29
+ name: null,
30
+ rm_tag: null,
31
+ token: null,
32
+ type: null,
33
+ uid_token: null
34
+ )
35
+ ```
36
+
@@ -9,6 +9,7 @@
9
9
  | **gcp_cred_type** | **String** | | [optional] |
10
10
  | **gcp_key** | **String** | Base64-encoded service account private key text | [optional] |
11
11
  | **gcp_key_algo** | **String** | Service account key algorithm, e.g. KEY_ALG_RSA_1024 | [optional] |
12
+ | **gcp_project_id** | **String** | GCP Project ID override for dynamic secret operations (tmp service accounts) | [optional] |
12
13
  | **gcp_sa_email** | **String** | The email of the fixed service acocunt to generate keys or tokens for. (revelant for service-account-type=fixed) | [optional] |
13
14
  | **gcp_token_scopes** | **String** | Access token scopes list, e.g. scope1,scope2 | [optional] |
14
15
  | **item_custom_fields** | **Hash<String, String>** | Additional custom fields to associate with the item | [optional] |
@@ -34,6 +35,7 @@ instance = Akeyless::GatewayCreateProducerGcp.new(
34
35
  gcp_cred_type: null,
35
36
  gcp_key: null,
36
37
  gcp_key_algo: null,
38
+ gcp_project_id: null,
37
39
  gcp_sa_email: null,
38
40
  gcp_token_scopes: null,
39
41
  item_custom_fields: null,
@@ -9,6 +9,7 @@
9
9
  | **gcp_cred_type** | **String** | | [optional] |
10
10
  | **gcp_key** | **String** | Base64-encoded service account private key text | [optional] |
11
11
  | **gcp_key_algo** | **String** | Service account key algorithm, e.g. KEY_ALG_RSA_1024 | [optional] |
12
+ | **gcp_project_id** | **String** | GCP Project ID override for dynamic secret operations (tmp service accounts) | [optional] |
12
13
  | **gcp_sa_email** | **String** | The email of the fixed service acocunt to generate keys or tokens for. (revelant for service-account-type=fixed) | [optional] |
13
14
  | **gcp_token_scopes** | **String** | Access token scopes list, e.g. scope1,scope2 | [optional] |
14
15
  | **item_custom_fields** | **Hash<String, String>** | Additional custom fields to associate with the item | [optional] |
@@ -35,6 +36,7 @@ instance = Akeyless::GatewayUpdateProducerGcp.new(
35
36
  gcp_cred_type: null,
36
37
  gcp_key: null,
37
38
  gcp_key_algo: null,
39
+ gcp_project_id: null,
38
40
  gcp_sa_email: null,
39
41
  gcp_token_scopes: null,
40
42
  item_custom_fields: null,
@@ -0,0 +1,36 @@
1
+ # Akeyless::GetFolderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **access_date** | **Time** | | [optional] |
8
+ | **access_date_display** | **String** | | [optional] |
9
+ | **accessibility** | **Integer** | | [optional] |
10
+ | **creation_date** | **Time** | | [optional] |
11
+ | **delete_protection** | **Boolean** | | [optional] |
12
+ | **folder_id** | **Integer** | | [optional] |
13
+ | **folder_name** | **String** | | [optional] |
14
+ | **metadata** | **String** | | [optional] |
15
+ | **modification_date** | **Time** | | [optional] |
16
+ | **tags** | **Array<String>** | | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'akeyless'
22
+
23
+ instance = Akeyless::GetFolderOutput.new(
24
+ access_date: null,
25
+ access_date_display: null,
26
+ accessibility: null,
27
+ creation_date: null,
28
+ delete_protection: null,
29
+ folder_id: null,
30
+ folder_name: null,
31
+ metadata: null,
32
+ modification_date: null,
33
+ tags: null
34
+ )
35
+ ```
36
+
data/docs/V2Api.md CHANGED
@@ -218,6 +218,10 @@ All URIs are relative to *https://api.akeyless.io*
218
218
  | [**event_forwarder_update_teams**](V2Api.md#event_forwarder_update_teams) | **POST** /event-forwarder-update-teams | |
219
219
  | [**event_forwarder_update_webhook**](V2Api.md#event_forwarder_update_webhook) | **POST** /event-forwarder-update-webhook | |
220
220
  | [**export_classic_key**](V2Api.md#export_classic_key) | **POST** /export-classic-key | |
221
+ | [**folder_create**](V2Api.md#folder_create) | **POST** /folder-create | |
222
+ | [**folder_delete**](V2Api.md#folder_delete) | **POST** /folder-delete | |
223
+ | [**folder_get**](V2Api.md#folder_get) | **POST** /folder-get | |
224
+ | [**folder_update**](V2Api.md#folder_update) | **POST** /folder-update | |
221
225
  | [**gateway_create_allowed_access**](V2Api.md#gateway_create_allowed_access) | **POST** /gateway-create-allowed-access | |
222
226
  | [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
223
227
  | [**gateway_create_migration**](V2Api.md#gateway_create_migration) | **POST** /gateway-create-migration | |
@@ -13863,6 +13867,254 @@ No authorization required
13863
13867
  - **Accept**: application/json
13864
13868
 
13865
13869
 
13870
+ ## folder_create
13871
+
13872
+ > <FolderCreateOutput> folder_create(folder_create)
13873
+
13874
+
13875
+
13876
+ ### Examples
13877
+
13878
+ ```ruby
13879
+ require 'time'
13880
+ require 'akeyless'
13881
+
13882
+ api_instance = Akeyless::V2Api.new
13883
+ folder_create = Akeyless::FolderCreate.new({name: 'name_example'}) # FolderCreate |
13884
+
13885
+ begin
13886
+
13887
+ result = api_instance.folder_create(folder_create)
13888
+ p result
13889
+ rescue Akeyless::ApiError => e
13890
+ puts "Error when calling V2Api->folder_create: #{e}"
13891
+ end
13892
+ ```
13893
+
13894
+ #### Using the folder_create_with_http_info variant
13895
+
13896
+ This returns an Array which contains the response data, status code and headers.
13897
+
13898
+ > <Array(<FolderCreateOutput>, Integer, Hash)> folder_create_with_http_info(folder_create)
13899
+
13900
+ ```ruby
13901
+ begin
13902
+
13903
+ data, status_code, headers = api_instance.folder_create_with_http_info(folder_create)
13904
+ p status_code # => 2xx
13905
+ p headers # => { ... }
13906
+ p data # => <FolderCreateOutput>
13907
+ rescue Akeyless::ApiError => e
13908
+ puts "Error when calling V2Api->folder_create_with_http_info: #{e}"
13909
+ end
13910
+ ```
13911
+
13912
+ ### Parameters
13913
+
13914
+ | Name | Type | Description | Notes |
13915
+ | ---- | ---- | ----------- | ----- |
13916
+ | **folder_create** | [**FolderCreate**](FolderCreate.md) | | |
13917
+
13918
+ ### Return type
13919
+
13920
+ [**FolderCreateOutput**](FolderCreateOutput.md)
13921
+
13922
+ ### Authorization
13923
+
13924
+ No authorization required
13925
+
13926
+ ### HTTP request headers
13927
+
13928
+ - **Content-Type**: application/json
13929
+ - **Accept**: application/json
13930
+
13931
+
13932
+ ## folder_delete
13933
+
13934
+ > Object folder_delete(folder_delete)
13935
+
13936
+
13937
+
13938
+ ### Examples
13939
+
13940
+ ```ruby
13941
+ require 'time'
13942
+ require 'akeyless'
13943
+
13944
+ api_instance = Akeyless::V2Api.new
13945
+ folder_delete = Akeyless::FolderDelete.new({name: 'name_example'}) # FolderDelete |
13946
+
13947
+ begin
13948
+
13949
+ result = api_instance.folder_delete(folder_delete)
13950
+ p result
13951
+ rescue Akeyless::ApiError => e
13952
+ puts "Error when calling V2Api->folder_delete: #{e}"
13953
+ end
13954
+ ```
13955
+
13956
+ #### Using the folder_delete_with_http_info variant
13957
+
13958
+ This returns an Array which contains the response data, status code and headers.
13959
+
13960
+ > <Array(Object, Integer, Hash)> folder_delete_with_http_info(folder_delete)
13961
+
13962
+ ```ruby
13963
+ begin
13964
+
13965
+ data, status_code, headers = api_instance.folder_delete_with_http_info(folder_delete)
13966
+ p status_code # => 2xx
13967
+ p headers # => { ... }
13968
+ p data # => Object
13969
+ rescue Akeyless::ApiError => e
13970
+ puts "Error when calling V2Api->folder_delete_with_http_info: #{e}"
13971
+ end
13972
+ ```
13973
+
13974
+ ### Parameters
13975
+
13976
+ | Name | Type | Description | Notes |
13977
+ | ---- | ---- | ----------- | ----- |
13978
+ | **folder_delete** | [**FolderDelete**](FolderDelete.md) | | |
13979
+
13980
+ ### Return type
13981
+
13982
+ **Object**
13983
+
13984
+ ### Authorization
13985
+
13986
+ No authorization required
13987
+
13988
+ ### HTTP request headers
13989
+
13990
+ - **Content-Type**: application/json
13991
+ - **Accept**: application/json
13992
+
13993
+
13994
+ ## folder_get
13995
+
13996
+ > <FolderGetOutput> folder_get(folder_get)
13997
+
13998
+
13999
+
14000
+ ### Examples
14001
+
14002
+ ```ruby
14003
+ require 'time'
14004
+ require 'akeyless'
14005
+
14006
+ api_instance = Akeyless::V2Api.new
14007
+ folder_get = Akeyless::FolderGet.new({name: 'name_example'}) # FolderGet |
14008
+
14009
+ begin
14010
+
14011
+ result = api_instance.folder_get(folder_get)
14012
+ p result
14013
+ rescue Akeyless::ApiError => e
14014
+ puts "Error when calling V2Api->folder_get: #{e}"
14015
+ end
14016
+ ```
14017
+
14018
+ #### Using the folder_get_with_http_info variant
14019
+
14020
+ This returns an Array which contains the response data, status code and headers.
14021
+
14022
+ > <Array(<FolderGetOutput>, Integer, Hash)> folder_get_with_http_info(folder_get)
14023
+
14024
+ ```ruby
14025
+ begin
14026
+
14027
+ data, status_code, headers = api_instance.folder_get_with_http_info(folder_get)
14028
+ p status_code # => 2xx
14029
+ p headers # => { ... }
14030
+ p data # => <FolderGetOutput>
14031
+ rescue Akeyless::ApiError => e
14032
+ puts "Error when calling V2Api->folder_get_with_http_info: #{e}"
14033
+ end
14034
+ ```
14035
+
14036
+ ### Parameters
14037
+
14038
+ | Name | Type | Description | Notes |
14039
+ | ---- | ---- | ----------- | ----- |
14040
+ | **folder_get** | [**FolderGet**](FolderGet.md) | | |
14041
+
14042
+ ### Return type
14043
+
14044
+ [**FolderGetOutput**](FolderGetOutput.md)
14045
+
14046
+ ### Authorization
14047
+
14048
+ No authorization required
14049
+
14050
+ ### HTTP request headers
14051
+
14052
+ - **Content-Type**: application/json
14053
+ - **Accept**: application/json
14054
+
14055
+
14056
+ ## folder_update
14057
+
14058
+ > Object folder_update(folder_update)
14059
+
14060
+
14061
+
14062
+ ### Examples
14063
+
14064
+ ```ruby
14065
+ require 'time'
14066
+ require 'akeyless'
14067
+
14068
+ api_instance = Akeyless::V2Api.new
14069
+ folder_update = Akeyless::FolderUpdate.new({name: 'name_example'}) # FolderUpdate |
14070
+
14071
+ begin
14072
+
14073
+ result = api_instance.folder_update(folder_update)
14074
+ p result
14075
+ rescue Akeyless::ApiError => e
14076
+ puts "Error when calling V2Api->folder_update: #{e}"
14077
+ end
14078
+ ```
14079
+
14080
+ #### Using the folder_update_with_http_info variant
14081
+
14082
+ This returns an Array which contains the response data, status code and headers.
14083
+
14084
+ > <Array(Object, Integer, Hash)> folder_update_with_http_info(folder_update)
14085
+
14086
+ ```ruby
14087
+ begin
14088
+
14089
+ data, status_code, headers = api_instance.folder_update_with_http_info(folder_update)
14090
+ p status_code # => 2xx
14091
+ p headers # => { ... }
14092
+ p data # => Object
14093
+ rescue Akeyless::ApiError => e
14094
+ puts "Error when calling V2Api->folder_update_with_http_info: #{e}"
14095
+ end
14096
+ ```
14097
+
14098
+ ### Parameters
14099
+
14100
+ | Name | Type | Description | Notes |
14101
+ | ---- | ---- | ----------- | ----- |
14102
+ | **folder_update** | [**FolderUpdate**](FolderUpdate.md) | | |
14103
+
14104
+ ### Return type
14105
+
14106
+ **Object**
14107
+
14108
+ ### Authorization
14109
+
14110
+ No authorization required
14111
+
14112
+ ### HTTP request headers
14113
+
14114
+ - **Content-Type**: application/json
14115
+ - **Accept**: application/json
14116
+
14117
+
13866
14118
  ## gateway_create_allowed_access
13867
14119
 
13868
14120
  > <AllowedAccess> gateway_create_allowed_access(gateway_create_allowed_access)