akeyless 5.0.8 → 5.0.10
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 +9 -1
 - data/docs/CreateESM.md +2 -0
 - data/docs/CreateUSC.md +2 -0
 - data/docs/DSProducerDetails.md +12 -0
 - data/docs/DynamicSecretCreateGcp.md +2 -0
 - data/docs/DynamicSecretCreateOpenAI.md +40 -0
 - data/docs/DynamicSecretUpdateGcp.md +2 -0
 - data/docs/DynamicSecretUpdateOpenAI.md +42 -0
 - data/docs/EsmGetSecretOutput.md +2 -0
 - data/docs/EventForwarderCreateTeams.md +44 -0
 - data/docs/EventForwarderUpdateTeams.md +46 -0
 - data/docs/GatewayCreateMigration.md +1 -11
 - data/docs/GatewayCreateProducerGcp.md +2 -0
 - data/docs/GatewayUpdateMigration.md +0 -10
 - data/docs/GatewayUpdateProducerGcp.md +2 -0
 - data/docs/NotiForwarder.md +2 -0
 - data/docs/OpenAITargetDetails.md +3 -3
 - data/docs/SecretInfo.md +2 -0
 - data/docs/UscCreate.md +2 -0
 - data/docs/UscGetSecretOutput.md +2 -0
 - data/docs/UscUpdate.md +2 -0
 - data/docs/V2Api.md +252 -0
 - data/lib/akeyless/api/v2_api.rb +256 -0
 - data/lib/akeyless/models/create_esm.rb +11 -1
 - data/lib/akeyless/models/create_usc.rb +11 -1
 - data/lib/akeyless/models/ds_producer_details.rb +55 -1
 - data/lib/akeyless/models/dynamic_secret_create_gcp.rb +11 -1
 - data/lib/akeyless/models/dynamic_secret_create_open_ai.rb +339 -0
 - data/lib/akeyless/models/dynamic_secret_update_gcp.rb +11 -1
 - data/lib/akeyless/models/dynamic_secret_update_open_ai.rb +349 -0
 - data/lib/akeyless/models/esm_get_secret_output.rb +10 -1
 - data/lib/akeyless/models/event_forwarder_create_teams.rb +385 -0
 - data/lib/akeyless/models/event_forwarder_update_teams.rb +391 -0
 - data/lib/akeyless/models/gateway_create_migration.rb +2 -54
 - data/lib/akeyless/models/gateway_create_producer_gcp.rb +11 -1
 - data/lib/akeyless/models/gateway_update_migration.rb +1 -53
 - data/lib/akeyless/models/gateway_update_producer_gcp.rb +11 -1
 - data/lib/akeyless/models/noti_forwarder.rb +10 -1
 - data/lib/akeyless/models/open_ai_target_details.rb +13 -13
 - data/lib/akeyless/models/secret_info.rb +10 -1
 - data/lib/akeyless/models/usc_create.rb +11 -1
 - data/lib/akeyless/models/usc_get_secret_output.rb +10 -1
 - data/lib/akeyless/models/usc_update.rb +11 -1
 - data/lib/akeyless/version.rb +1 -1
 - data/lib/akeyless.rb +4 -0
 - data/spec/models/dynamic_secret_create_open_ai_spec.rb +102 -0
 - data/spec/models/dynamic_secret_update_open_ai_spec.rb +108 -0
 - data/spec/models/event_forwarder_create_teams_spec.rb +114 -0
 - data/spec/models/event_forwarder_update_teams_spec.rb +120 -0
 - metadata +17 -1
 
| 
         @@ -0,0 +1,391 @@ 
     | 
|
| 
      
 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 
     | 
    
         
            +
              # eventForwarderUpdateTeams is a command that updates teams event forwarder
         
     | 
| 
      
 18 
     | 
    
         
            +
              class EventForwarderUpdateTeams
         
     | 
| 
      
 19 
     | 
    
         
            +
                # Auth Method Event sources
         
     | 
| 
      
 20 
     | 
    
         
            +
                attr_accessor :auth_methods_event_source_locations
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
                # Description of the object
         
     | 
| 
      
 23 
     | 
    
         
            +
                attr_accessor :description
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
                # Enable/Disable Event Forwarder [true/false]
         
     | 
| 
      
 26 
     | 
    
         
            +
                attr_accessor :enable
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
                # List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, next-automatic-rotation, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated, rate-limiting, usage-report, secret-sync]
         
     | 
| 
      
 29 
     | 
    
         
            +
                attr_accessor :event_types
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
                # Event sources
         
     | 
| 
      
 32 
     | 
    
         
            +
                attr_accessor :gateways_event_source_locations
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
                # Items Event sources
         
     | 
| 
      
 35 
     | 
    
         
            +
                attr_accessor :items_event_source_locations
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
                # Set output format to JSON
         
     | 
| 
      
 38 
     | 
    
         
            +
                attr_accessor :json
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
                # Whether to keep previous version [true/false]. If not set, use default according to account settings
         
     | 
| 
      
 41 
     | 
    
         
            +
                attr_accessor :keep_prev_version
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
                # The name of a key that used to encrypt the EventForwarder secret value (if empty, the account default protectionKey key will be used)
         
     | 
| 
      
 44 
     | 
    
         
            +
                attr_accessor :key
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
                # EventForwarder name
         
     | 
| 
      
 47 
     | 
    
         
            +
                attr_accessor :name
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
                # New EventForwarder name
         
     | 
| 
      
 50 
     | 
    
         
            +
                attr_accessor :new_name
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
                # Targets Event sources
         
     | 
| 
      
 53 
     | 
    
         
            +
                attr_accessor :targets_event_source_locations
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
                # Authentication token (see `/auth` and `/configure`)
         
     | 
| 
      
 56 
     | 
    
         
            +
                attr_accessor :token
         
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
      
 58 
     | 
    
         
            +
                # The universal identity token, Required only for universal_identity authentication
         
     | 
| 
      
 59 
     | 
    
         
            +
                attr_accessor :uid_token
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
                # Teams Webhook URL
         
     | 
| 
      
 62 
     | 
    
         
            +
                attr_accessor :url
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
      
 65 
     | 
    
         
            +
                def self.attribute_map
         
     | 
| 
      
 66 
     | 
    
         
            +
                  {
         
     | 
| 
      
 67 
     | 
    
         
            +
                    :'auth_methods_event_source_locations' => :'auth-methods-event-source-locations',
         
     | 
| 
      
 68 
     | 
    
         
            +
                    :'description' => :'description',
         
     | 
| 
      
 69 
     | 
    
         
            +
                    :'enable' => :'enable',
         
     | 
| 
      
 70 
     | 
    
         
            +
                    :'event_types' => :'event-types',
         
     | 
| 
      
 71 
     | 
    
         
            +
                    :'gateways_event_source_locations' => :'gateways-event-source-locations',
         
     | 
| 
      
 72 
     | 
    
         
            +
                    :'items_event_source_locations' => :'items-event-source-locations',
         
     | 
| 
      
 73 
     | 
    
         
            +
                    :'json' => :'json',
         
     | 
| 
      
 74 
     | 
    
         
            +
                    :'keep_prev_version' => :'keep-prev-version',
         
     | 
| 
      
 75 
     | 
    
         
            +
                    :'key' => :'key',
         
     | 
| 
      
 76 
     | 
    
         
            +
                    :'name' => :'name',
         
     | 
| 
      
 77 
     | 
    
         
            +
                    :'new_name' => :'new-name',
         
     | 
| 
      
 78 
     | 
    
         
            +
                    :'targets_event_source_locations' => :'targets-event-source-locations',
         
     | 
| 
      
 79 
     | 
    
         
            +
                    :'token' => :'token',
         
     | 
| 
      
 80 
     | 
    
         
            +
                    :'uid_token' => :'uid-token',
         
     | 
| 
      
 81 
     | 
    
         
            +
                    :'url' => :'url'
         
     | 
| 
      
 82 
     | 
    
         
            +
                  }
         
     | 
| 
      
 83 
     | 
    
         
            +
                end
         
     | 
| 
      
 84 
     | 
    
         
            +
             
     | 
| 
      
 85 
     | 
    
         
            +
                # Returns all the JSON keys this model knows about
         
     | 
| 
      
 86 
     | 
    
         
            +
                def self.acceptable_attributes
         
     | 
| 
      
 87 
     | 
    
         
            +
                  attribute_map.values
         
     | 
| 
      
 88 
     | 
    
         
            +
                end
         
     | 
| 
      
 89 
     | 
    
         
            +
             
     | 
| 
      
 90 
     | 
    
         
            +
                # Attribute type mapping.
         
     | 
| 
      
 91 
     | 
    
         
            +
                def self.openapi_types
         
     | 
| 
      
 92 
     | 
    
         
            +
                  {
         
     | 
| 
      
 93 
     | 
    
         
            +
                    :'auth_methods_event_source_locations' => :'Array<String>',
         
     | 
| 
      
 94 
     | 
    
         
            +
                    :'description' => :'String',
         
     | 
| 
      
 95 
     | 
    
         
            +
                    :'enable' => :'String',
         
     | 
| 
      
 96 
     | 
    
         
            +
                    :'event_types' => :'Array<String>',
         
     | 
| 
      
 97 
     | 
    
         
            +
                    :'gateways_event_source_locations' => :'Array<String>',
         
     | 
| 
      
 98 
     | 
    
         
            +
                    :'items_event_source_locations' => :'Array<String>',
         
     | 
| 
      
 99 
     | 
    
         
            +
                    :'json' => :'Boolean',
         
     | 
| 
      
 100 
     | 
    
         
            +
                    :'keep_prev_version' => :'String',
         
     | 
| 
      
 101 
     | 
    
         
            +
                    :'key' => :'String',
         
     | 
| 
      
 102 
     | 
    
         
            +
                    :'name' => :'String',
         
     | 
| 
      
 103 
     | 
    
         
            +
                    :'new_name' => :'String',
         
     | 
| 
      
 104 
     | 
    
         
            +
                    :'targets_event_source_locations' => :'Array<String>',
         
     | 
| 
      
 105 
     | 
    
         
            +
                    :'token' => :'String',
         
     | 
| 
      
 106 
     | 
    
         
            +
                    :'uid_token' => :'String',
         
     | 
| 
      
 107 
     | 
    
         
            +
                    :'url' => :'String'
         
     | 
| 
      
 108 
     | 
    
         
            +
                  }
         
     | 
| 
      
 109 
     | 
    
         
            +
                end
         
     | 
| 
      
 110 
     | 
    
         
            +
             
     | 
| 
      
 111 
     | 
    
         
            +
                # List of attributes with nullable: true
         
     | 
| 
      
 112 
     | 
    
         
            +
                def self.openapi_nullable
         
     | 
| 
      
 113 
     | 
    
         
            +
                  Set.new([
         
     | 
| 
      
 114 
     | 
    
         
            +
                  ])
         
     | 
| 
      
 115 
     | 
    
         
            +
                end
         
     | 
| 
      
 116 
     | 
    
         
            +
             
     | 
| 
      
 117 
     | 
    
         
            +
                # Initializes the object
         
     | 
| 
      
 118 
     | 
    
         
            +
                # @param [Hash] attributes Model attributes in the form of hash
         
     | 
| 
      
 119 
     | 
    
         
            +
                def initialize(attributes = {})
         
     | 
| 
      
 120 
     | 
    
         
            +
                  if (!attributes.is_a?(Hash))
         
     | 
| 
      
 121 
     | 
    
         
            +
                    fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::EventForwarderUpdateTeams` initialize method"
         
     | 
| 
      
 122 
     | 
    
         
            +
                  end
         
     | 
| 
      
 123 
     | 
    
         
            +
             
     | 
| 
      
 124 
     | 
    
         
            +
                  # check to see if the attribute exists and convert string to symbol for hash key
         
     | 
| 
      
 125 
     | 
    
         
            +
                  attributes = attributes.each_with_object({}) { |(k, v), h|
         
     | 
| 
      
 126 
     | 
    
         
            +
                    if (!self.class.attribute_map.key?(k.to_sym))
         
     | 
| 
      
 127 
     | 
    
         
            +
                      fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::EventForwarderUpdateTeams`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
         
     | 
| 
      
 128 
     | 
    
         
            +
                    end
         
     | 
| 
      
 129 
     | 
    
         
            +
                    h[k.to_sym] = v
         
     | 
| 
      
 130 
     | 
    
         
            +
                  }
         
     | 
| 
      
 131 
     | 
    
         
            +
             
     | 
| 
      
 132 
     | 
    
         
            +
                  if attributes.key?(:'auth_methods_event_source_locations')
         
     | 
| 
      
 133 
     | 
    
         
            +
                    if (value = attributes[:'auth_methods_event_source_locations']).is_a?(Array)
         
     | 
| 
      
 134 
     | 
    
         
            +
                      self.auth_methods_event_source_locations = value
         
     | 
| 
      
 135 
     | 
    
         
            +
                    end
         
     | 
| 
      
 136 
     | 
    
         
            +
                  end
         
     | 
| 
      
 137 
     | 
    
         
            +
             
     | 
| 
      
 138 
     | 
    
         
            +
                  if attributes.key?(:'description')
         
     | 
| 
      
 139 
     | 
    
         
            +
                    self.description = attributes[:'description']
         
     | 
| 
      
 140 
     | 
    
         
            +
                  end
         
     | 
| 
      
 141 
     | 
    
         
            +
             
     | 
| 
      
 142 
     | 
    
         
            +
                  if attributes.key?(:'enable')
         
     | 
| 
      
 143 
     | 
    
         
            +
                    self.enable = attributes[:'enable']
         
     | 
| 
      
 144 
     | 
    
         
            +
                  else
         
     | 
| 
      
 145 
     | 
    
         
            +
                    self.enable = 'true'
         
     | 
| 
      
 146 
     | 
    
         
            +
                  end
         
     | 
| 
      
 147 
     | 
    
         
            +
             
     | 
| 
      
 148 
     | 
    
         
            +
                  if attributes.key?(:'event_types')
         
     | 
| 
      
 149 
     | 
    
         
            +
                    if (value = attributes[:'event_types']).is_a?(Array)
         
     | 
| 
      
 150 
     | 
    
         
            +
                      self.event_types = value
         
     | 
| 
      
 151 
     | 
    
         
            +
                    end
         
     | 
| 
      
 152 
     | 
    
         
            +
                  end
         
     | 
| 
      
 153 
     | 
    
         
            +
             
     | 
| 
      
 154 
     | 
    
         
            +
                  if attributes.key?(:'gateways_event_source_locations')
         
     | 
| 
      
 155 
     | 
    
         
            +
                    if (value = attributes[:'gateways_event_source_locations']).is_a?(Array)
         
     | 
| 
      
 156 
     | 
    
         
            +
                      self.gateways_event_source_locations = value
         
     | 
| 
      
 157 
     | 
    
         
            +
                    end
         
     | 
| 
      
 158 
     | 
    
         
            +
                  else
         
     | 
| 
      
 159 
     | 
    
         
            +
                    self.gateways_event_source_locations = nil
         
     | 
| 
      
 160 
     | 
    
         
            +
                  end
         
     | 
| 
      
 161 
     | 
    
         
            +
             
     | 
| 
      
 162 
     | 
    
         
            +
                  if attributes.key?(:'items_event_source_locations')
         
     | 
| 
      
 163 
     | 
    
         
            +
                    if (value = attributes[:'items_event_source_locations']).is_a?(Array)
         
     | 
| 
      
 164 
     | 
    
         
            +
                      self.items_event_source_locations = value
         
     | 
| 
      
 165 
     | 
    
         
            +
                    end
         
     | 
| 
      
 166 
     | 
    
         
            +
                  end
         
     | 
| 
      
 167 
     | 
    
         
            +
             
     | 
| 
      
 168 
     | 
    
         
            +
                  if attributes.key?(:'json')
         
     | 
| 
      
 169 
     | 
    
         
            +
                    self.json = attributes[:'json']
         
     | 
| 
      
 170 
     | 
    
         
            +
                  else
         
     | 
| 
      
 171 
     | 
    
         
            +
                    self.json = false
         
     | 
| 
      
 172 
     | 
    
         
            +
                  end
         
     | 
| 
      
 173 
     | 
    
         
            +
             
     | 
| 
      
 174 
     | 
    
         
            +
                  if attributes.key?(:'keep_prev_version')
         
     | 
| 
      
 175 
     | 
    
         
            +
                    self.keep_prev_version = attributes[:'keep_prev_version']
         
     | 
| 
      
 176 
     | 
    
         
            +
                  end
         
     | 
| 
      
 177 
     | 
    
         
            +
             
     | 
| 
      
 178 
     | 
    
         
            +
                  if attributes.key?(:'key')
         
     | 
| 
      
 179 
     | 
    
         
            +
                    self.key = attributes[:'key']
         
     | 
| 
      
 180 
     | 
    
         
            +
                  end
         
     | 
| 
      
 181 
     | 
    
         
            +
             
     | 
| 
      
 182 
     | 
    
         
            +
                  if attributes.key?(:'name')
         
     | 
| 
      
 183 
     | 
    
         
            +
                    self.name = attributes[:'name']
         
     | 
| 
      
 184 
     | 
    
         
            +
                  else
         
     | 
| 
      
 185 
     | 
    
         
            +
                    self.name = nil
         
     | 
| 
      
 186 
     | 
    
         
            +
                  end
         
     | 
| 
      
 187 
     | 
    
         
            +
             
     | 
| 
      
 188 
     | 
    
         
            +
                  if attributes.key?(:'new_name')
         
     | 
| 
      
 189 
     | 
    
         
            +
                    self.new_name = attributes[:'new_name']
         
     | 
| 
      
 190 
     | 
    
         
            +
                  end
         
     | 
| 
      
 191 
     | 
    
         
            +
             
     | 
| 
      
 192 
     | 
    
         
            +
                  if attributes.key?(:'targets_event_source_locations')
         
     | 
| 
      
 193 
     | 
    
         
            +
                    if (value = attributes[:'targets_event_source_locations']).is_a?(Array)
         
     | 
| 
      
 194 
     | 
    
         
            +
                      self.targets_event_source_locations = value
         
     | 
| 
      
 195 
     | 
    
         
            +
                    end
         
     | 
| 
      
 196 
     | 
    
         
            +
                  end
         
     | 
| 
      
 197 
     | 
    
         
            +
             
     | 
| 
      
 198 
     | 
    
         
            +
                  if attributes.key?(:'token')
         
     | 
| 
      
 199 
     | 
    
         
            +
                    self.token = attributes[:'token']
         
     | 
| 
      
 200 
     | 
    
         
            +
                  end
         
     | 
| 
      
 201 
     | 
    
         
            +
             
     | 
| 
      
 202 
     | 
    
         
            +
                  if attributes.key?(:'uid_token')
         
     | 
| 
      
 203 
     | 
    
         
            +
                    self.uid_token = attributes[:'uid_token']
         
     | 
| 
      
 204 
     | 
    
         
            +
                  end
         
     | 
| 
      
 205 
     | 
    
         
            +
             
     | 
| 
      
 206 
     | 
    
         
            +
                  if attributes.key?(:'url')
         
     | 
| 
      
 207 
     | 
    
         
            +
                    self.url = attributes[:'url']
         
     | 
| 
      
 208 
     | 
    
         
            +
                  else
         
     | 
| 
      
 209 
     | 
    
         
            +
                    self.url = nil
         
     | 
| 
      
 210 
     | 
    
         
            +
                  end
         
     | 
| 
      
 211 
     | 
    
         
            +
                end
         
     | 
| 
      
 212 
     | 
    
         
            +
             
     | 
| 
      
 213 
     | 
    
         
            +
                # Show invalid properties with the reasons. Usually used together with valid?
         
     | 
| 
      
 214 
     | 
    
         
            +
                # @return Array for valid properties with the reasons
         
     | 
| 
      
 215 
     | 
    
         
            +
                def list_invalid_properties
         
     | 
| 
      
 216 
     | 
    
         
            +
                  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
         
     | 
| 
      
 217 
     | 
    
         
            +
                  invalid_properties = Array.new
         
     | 
| 
      
 218 
     | 
    
         
            +
                  if @gateways_event_source_locations.nil?
         
     | 
| 
      
 219 
     | 
    
         
            +
                    invalid_properties.push('invalid value for "gateways_event_source_locations", gateways_event_source_locations cannot be nil.')
         
     | 
| 
      
 220 
     | 
    
         
            +
                  end
         
     | 
| 
      
 221 
     | 
    
         
            +
             
     | 
| 
      
 222 
     | 
    
         
            +
                  if @name.nil?
         
     | 
| 
      
 223 
     | 
    
         
            +
                    invalid_properties.push('invalid value for "name", name cannot be nil.')
         
     | 
| 
      
 224 
     | 
    
         
            +
                  end
         
     | 
| 
      
 225 
     | 
    
         
            +
             
     | 
| 
      
 226 
     | 
    
         
            +
                  if @url.nil?
         
     | 
| 
      
 227 
     | 
    
         
            +
                    invalid_properties.push('invalid value for "url", url cannot be nil.')
         
     | 
| 
      
 228 
     | 
    
         
            +
                  end
         
     | 
| 
      
 229 
     | 
    
         
            +
             
     | 
| 
      
 230 
     | 
    
         
            +
                  invalid_properties
         
     | 
| 
      
 231 
     | 
    
         
            +
                end
         
     | 
| 
      
 232 
     | 
    
         
            +
             
     | 
| 
      
 233 
     | 
    
         
            +
                # Check to see if the all the properties in the model are valid
         
     | 
| 
      
 234 
     | 
    
         
            +
                # @return true if the model is valid
         
     | 
| 
      
 235 
     | 
    
         
            +
                def valid?
         
     | 
| 
      
 236 
     | 
    
         
            +
                  warn '[DEPRECATED] the `valid?` method is obsolete'
         
     | 
| 
      
 237 
     | 
    
         
            +
                  return false if @gateways_event_source_locations.nil?
         
     | 
| 
      
 238 
     | 
    
         
            +
                  return false if @name.nil?
         
     | 
| 
      
 239 
     | 
    
         
            +
                  return false if @url.nil?
         
     | 
| 
      
 240 
     | 
    
         
            +
                  true
         
     | 
| 
      
 241 
     | 
    
         
            +
                end
         
     | 
| 
      
 242 
     | 
    
         
            +
             
     | 
| 
      
 243 
     | 
    
         
            +
                # Checks equality by comparing each attribute.
         
     | 
| 
      
 244 
     | 
    
         
            +
                # @param [Object] Object to be compared
         
     | 
| 
      
 245 
     | 
    
         
            +
                def ==(o)
         
     | 
| 
      
 246 
     | 
    
         
            +
                  return true if self.equal?(o)
         
     | 
| 
      
 247 
     | 
    
         
            +
                  self.class == o.class &&
         
     | 
| 
      
 248 
     | 
    
         
            +
                      auth_methods_event_source_locations == o.auth_methods_event_source_locations &&
         
     | 
| 
      
 249 
     | 
    
         
            +
                      description == o.description &&
         
     | 
| 
      
 250 
     | 
    
         
            +
                      enable == o.enable &&
         
     | 
| 
      
 251 
     | 
    
         
            +
                      event_types == o.event_types &&
         
     | 
| 
      
 252 
     | 
    
         
            +
                      gateways_event_source_locations == o.gateways_event_source_locations &&
         
     | 
| 
      
 253 
     | 
    
         
            +
                      items_event_source_locations == o.items_event_source_locations &&
         
     | 
| 
      
 254 
     | 
    
         
            +
                      json == o.json &&
         
     | 
| 
      
 255 
     | 
    
         
            +
                      keep_prev_version == o.keep_prev_version &&
         
     | 
| 
      
 256 
     | 
    
         
            +
                      key == o.key &&
         
     | 
| 
      
 257 
     | 
    
         
            +
                      name == o.name &&
         
     | 
| 
      
 258 
     | 
    
         
            +
                      new_name == o.new_name &&
         
     | 
| 
      
 259 
     | 
    
         
            +
                      targets_event_source_locations == o.targets_event_source_locations &&
         
     | 
| 
      
 260 
     | 
    
         
            +
                      token == o.token &&
         
     | 
| 
      
 261 
     | 
    
         
            +
                      uid_token == o.uid_token &&
         
     | 
| 
      
 262 
     | 
    
         
            +
                      url == o.url
         
     | 
| 
      
 263 
     | 
    
         
            +
                end
         
     | 
| 
      
 264 
     | 
    
         
            +
             
     | 
| 
      
 265 
     | 
    
         
            +
                # @see the `==` method
         
     | 
| 
      
 266 
     | 
    
         
            +
                # @param [Object] Object to be compared
         
     | 
| 
      
 267 
     | 
    
         
            +
                def eql?(o)
         
     | 
| 
      
 268 
     | 
    
         
            +
                  self == o
         
     | 
| 
      
 269 
     | 
    
         
            +
                end
         
     | 
| 
      
 270 
     | 
    
         
            +
             
     | 
| 
      
 271 
     | 
    
         
            +
                # Calculates hash code according to all attributes.
         
     | 
| 
      
 272 
     | 
    
         
            +
                # @return [Integer] Hash code
         
     | 
| 
      
 273 
     | 
    
         
            +
                def hash
         
     | 
| 
      
 274 
     | 
    
         
            +
                  [auth_methods_event_source_locations, description, enable, event_types, gateways_event_source_locations, items_event_source_locations, json, keep_prev_version, key, name, new_name, targets_event_source_locations, token, uid_token, url].hash
         
     | 
| 
      
 275 
     | 
    
         
            +
                end
         
     | 
| 
      
 276 
     | 
    
         
            +
             
     | 
| 
      
 277 
     | 
    
         
            +
                # Builds the object from hash
         
     | 
| 
      
 278 
     | 
    
         
            +
                # @param [Hash] attributes Model attributes in the form of hash
         
     | 
| 
      
 279 
     | 
    
         
            +
                # @return [Object] Returns the model itself
         
     | 
| 
      
 280 
     | 
    
         
            +
                def self.build_from_hash(attributes)
         
     | 
| 
      
 281 
     | 
    
         
            +
                  return nil unless attributes.is_a?(Hash)
         
     | 
| 
      
 282 
     | 
    
         
            +
                  attributes = attributes.transform_keys(&:to_sym)
         
     | 
| 
      
 283 
     | 
    
         
            +
                  transformed_hash = {}
         
     | 
| 
      
 284 
     | 
    
         
            +
                  openapi_types.each_pair do |key, type|
         
     | 
| 
      
 285 
     | 
    
         
            +
                    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
         
     | 
| 
      
 286 
     | 
    
         
            +
                      transformed_hash["#{key}"] = nil
         
     | 
| 
      
 287 
     | 
    
         
            +
                    elsif type =~ /\AArray<(.*)>/i
         
     | 
| 
      
 288 
     | 
    
         
            +
                      # check to ensure the input is an array given that the attribute
         
     | 
| 
      
 289 
     | 
    
         
            +
                      # is documented as an array but the input is not
         
     | 
| 
      
 290 
     | 
    
         
            +
                      if attributes[attribute_map[key]].is_a?(Array)
         
     | 
| 
      
 291 
     | 
    
         
            +
                        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
         
     | 
| 
      
 292 
     | 
    
         
            +
                      end
         
     | 
| 
      
 293 
     | 
    
         
            +
                    elsif !attributes[attribute_map[key]].nil?
         
     | 
| 
      
 294 
     | 
    
         
            +
                      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
         
     | 
| 
      
 295 
     | 
    
         
            +
                    end
         
     | 
| 
      
 296 
     | 
    
         
            +
                  end
         
     | 
| 
      
 297 
     | 
    
         
            +
                  new(transformed_hash)
         
     | 
| 
      
 298 
     | 
    
         
            +
                end
         
     | 
| 
      
 299 
     | 
    
         
            +
             
     | 
| 
      
 300 
     | 
    
         
            +
                # Deserializes the data based on type
         
     | 
| 
      
 301 
     | 
    
         
            +
                # @param string type Data type
         
     | 
| 
      
 302 
     | 
    
         
            +
                # @param string value Value to be deserialized
         
     | 
| 
      
 303 
     | 
    
         
            +
                # @return [Object] Deserialized data
         
     | 
| 
      
 304 
     | 
    
         
            +
                def self._deserialize(type, value)
         
     | 
| 
      
 305 
     | 
    
         
            +
                  case type.to_sym
         
     | 
| 
      
 306 
     | 
    
         
            +
                  when :Time
         
     | 
| 
      
 307 
     | 
    
         
            +
                    Time.parse(value)
         
     | 
| 
      
 308 
     | 
    
         
            +
                  when :Date
         
     | 
| 
      
 309 
     | 
    
         
            +
                    Date.parse(value)
         
     | 
| 
      
 310 
     | 
    
         
            +
                  when :String
         
     | 
| 
      
 311 
     | 
    
         
            +
                    value.to_s
         
     | 
| 
      
 312 
     | 
    
         
            +
                  when :Integer
         
     | 
| 
      
 313 
     | 
    
         
            +
                    value.to_i
         
     | 
| 
      
 314 
     | 
    
         
            +
                  when :Float
         
     | 
| 
      
 315 
     | 
    
         
            +
                    value.to_f
         
     | 
| 
      
 316 
     | 
    
         
            +
                  when :Boolean
         
     | 
| 
      
 317 
     | 
    
         
            +
                    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
         
     | 
| 
      
 318 
     | 
    
         
            +
                      true
         
     | 
| 
      
 319 
     | 
    
         
            +
                    else
         
     | 
| 
      
 320 
     | 
    
         
            +
                      false
         
     | 
| 
      
 321 
     | 
    
         
            +
                    end
         
     | 
| 
      
 322 
     | 
    
         
            +
                  when :Object
         
     | 
| 
      
 323 
     | 
    
         
            +
                    # generic object (usually a Hash), return directly
         
     | 
| 
      
 324 
     | 
    
         
            +
                    value
         
     | 
| 
      
 325 
     | 
    
         
            +
                  when /\AArray<(?<inner_type>.+)>\z/
         
     | 
| 
      
 326 
     | 
    
         
            +
                    inner_type = Regexp.last_match[:inner_type]
         
     | 
| 
      
 327 
     | 
    
         
            +
                    value.map { |v| _deserialize(inner_type, v) }
         
     | 
| 
      
 328 
     | 
    
         
            +
                  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
         
     | 
| 
      
 329 
     | 
    
         
            +
                    k_type = Regexp.last_match[:k_type]
         
     | 
| 
      
 330 
     | 
    
         
            +
                    v_type = Regexp.last_match[:v_type]
         
     | 
| 
      
 331 
     | 
    
         
            +
                    {}.tap do |hash|
         
     | 
| 
      
 332 
     | 
    
         
            +
                      value.each do |k, v|
         
     | 
| 
      
 333 
     | 
    
         
            +
                        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
         
     | 
| 
      
 334 
     | 
    
         
            +
                      end
         
     | 
| 
      
 335 
     | 
    
         
            +
                    end
         
     | 
| 
      
 336 
     | 
    
         
            +
                  else # model
         
     | 
| 
      
 337 
     | 
    
         
            +
                    # models (e.g. Pet) or oneOf
         
     | 
| 
      
 338 
     | 
    
         
            +
                    klass = Akeyless.const_get(type)
         
     | 
| 
      
 339 
     | 
    
         
            +
                    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
         
     | 
| 
      
 340 
     | 
    
         
            +
                  end
         
     | 
| 
      
 341 
     | 
    
         
            +
                end
         
     | 
| 
      
 342 
     | 
    
         
            +
             
     | 
| 
      
 343 
     | 
    
         
            +
                # Returns the string representation of the object
         
     | 
| 
      
 344 
     | 
    
         
            +
                # @return [String] String presentation of the object
         
     | 
| 
      
 345 
     | 
    
         
            +
                def to_s
         
     | 
| 
      
 346 
     | 
    
         
            +
                  to_hash.to_s
         
     | 
| 
      
 347 
     | 
    
         
            +
                end
         
     | 
| 
      
 348 
     | 
    
         
            +
             
     | 
| 
      
 349 
     | 
    
         
            +
                # to_body is an alias to to_hash (backward compatibility)
         
     | 
| 
      
 350 
     | 
    
         
            +
                # @return [Hash] Returns the object in the form of hash
         
     | 
| 
      
 351 
     | 
    
         
            +
                def to_body
         
     | 
| 
      
 352 
     | 
    
         
            +
                  to_hash
         
     | 
| 
      
 353 
     | 
    
         
            +
                end
         
     | 
| 
      
 354 
     | 
    
         
            +
             
     | 
| 
      
 355 
     | 
    
         
            +
                # Returns the object in the form of hash
         
     | 
| 
      
 356 
     | 
    
         
            +
                # @return [Hash] Returns the object in the form of hash
         
     | 
| 
      
 357 
     | 
    
         
            +
                def to_hash
         
     | 
| 
      
 358 
     | 
    
         
            +
                  hash = {}
         
     | 
| 
      
 359 
     | 
    
         
            +
                  self.class.attribute_map.each_pair do |attr, param|
         
     | 
| 
      
 360 
     | 
    
         
            +
                    value = self.send(attr)
         
     | 
| 
      
 361 
     | 
    
         
            +
                    if value.nil?
         
     | 
| 
      
 362 
     | 
    
         
            +
                      is_nullable = self.class.openapi_nullable.include?(attr)
         
     | 
| 
      
 363 
     | 
    
         
            +
                      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
         
     | 
| 
      
 364 
     | 
    
         
            +
                    end
         
     | 
| 
      
 365 
     | 
    
         
            +
             
     | 
| 
      
 366 
     | 
    
         
            +
                    hash[param] = _to_hash(value)
         
     | 
| 
      
 367 
     | 
    
         
            +
                  end
         
     | 
| 
      
 368 
     | 
    
         
            +
                  hash
         
     | 
| 
      
 369 
     | 
    
         
            +
                end
         
     | 
| 
      
 370 
     | 
    
         
            +
             
     | 
| 
      
 371 
     | 
    
         
            +
                # Outputs non-array value in the form of hash
         
     | 
| 
      
 372 
     | 
    
         
            +
                # For object, use to_hash. Otherwise, just return the value
         
     | 
| 
      
 373 
     | 
    
         
            +
                # @param [Object] value Any valid value
         
     | 
| 
      
 374 
     | 
    
         
            +
                # @return [Hash] Returns the value in the form of hash
         
     | 
| 
      
 375 
     | 
    
         
            +
                def _to_hash(value)
         
     | 
| 
      
 376 
     | 
    
         
            +
                  if value.is_a?(Array)
         
     | 
| 
      
 377 
     | 
    
         
            +
                    value.compact.map { |v| _to_hash(v) }
         
     | 
| 
      
 378 
     | 
    
         
            +
                  elsif value.is_a?(Hash)
         
     | 
| 
      
 379 
     | 
    
         
            +
                    {}.tap do |hash|
         
     | 
| 
      
 380 
     | 
    
         
            +
                      value.each { |k, v| hash[k] = _to_hash(v) }
         
     | 
| 
      
 381 
     | 
    
         
            +
                    end
         
     | 
| 
      
 382 
     | 
    
         
            +
                  elsif value.respond_to? :to_hash
         
     | 
| 
      
 383 
     | 
    
         
            +
                    value.to_hash
         
     | 
| 
      
 384 
     | 
    
         
            +
                  else
         
     | 
| 
      
 385 
     | 
    
         
            +
                    value
         
     | 
| 
      
 386 
     | 
    
         
            +
                  end
         
     | 
| 
      
 387 
     | 
    
         
            +
                end
         
     | 
| 
      
 388 
     | 
    
         
            +
             
     | 
| 
      
 389 
     | 
    
         
            +
              end
         
     | 
| 
      
 390 
     | 
    
         
            +
             
     | 
| 
      
 391 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -16,21 +16,6 @@ require 'time' 
     | 
|
| 
       16 
16 
     | 
    
         
             
            module Akeyless
         
     | 
| 
       17 
17 
     | 
    
         
             
              # gatewayCreateMigration is a command that create migration
         
     | 
| 
       18 
18 
     | 
    
         
             
              class GatewayCreateMigration
         
     | 
| 
       19 
     | 
    
         
            -
                # 1Password user email to connect to the API
         
     | 
| 
       20 
     | 
    
         
            -
                attr_accessor :_1password_email
         
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
                # 1Password user password to connect to the API
         
     | 
| 
       23 
     | 
    
         
            -
                attr_accessor :_1password_password
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
                # 1Password user secret key to connect to the API
         
     | 
| 
       26 
     | 
    
         
            -
                attr_accessor :_1password_secret_key
         
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
                # 1Password api container url
         
     | 
| 
       29 
     | 
    
         
            -
                attr_accessor :_1password_url
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
                # 1Password list of vault to get the items from
         
     | 
| 
       32 
     | 
    
         
            -
                attr_accessor :_1password_vaults
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
19 
     | 
    
         
             
                attr_accessor :service_account_key_decoded
         
     | 
| 
       35 
20 
     | 
    
         | 
| 
       36 
21 
     | 
    
         
             
                # Enable/Disable automatic/recurrent rotation for migrated secrets. Default is false: only manual rotation is allowed for migrated secrets. If set to true, this command should be combined with --ad-rotation-interval and --ad-rotation-hour parameters (Relevant only for Active Directory migration)
         
     | 
| 
         @@ -201,7 +186,7 @@ module Akeyless 
     | 
|
| 
       201 
186 
     | 
    
         
             
                # Authentication token (see `/auth` and `/configure`)
         
     | 
| 
       202 
187 
     | 
    
         
             
                attr_accessor :token
         
     | 
| 
       203 
188 
     | 
    
         | 
| 
       204 
     | 
    
         
            -
                # Migration type (hashi/aws/gcp/k8s/azure_kv/ 
     | 
| 
      
 189 
     | 
    
         
            +
                # Migration type (hashi/aws/gcp/k8s/azure_kv/active_directory)
         
     | 
| 
       205 
190 
     | 
    
         
             
                attr_accessor :type
         
     | 
| 
       206 
191 
     | 
    
         | 
| 
       207 
192 
     | 
    
         
             
                # The universal identity token, Required only for universal_identity authentication
         
     | 
| 
         @@ -210,11 +195,6 @@ module Akeyless 
     | 
|
| 
       210 
195 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       211 
196 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       212 
197 
     | 
    
         
             
                  {
         
     | 
| 
       213 
     | 
    
         
            -
                    :'_1password_email' => :'1password-email',
         
     | 
| 
       214 
     | 
    
         
            -
                    :'_1password_password' => :'1password-password',
         
     | 
| 
       215 
     | 
    
         
            -
                    :'_1password_secret_key' => :'1password-secret-key',
         
     | 
| 
       216 
     | 
    
         
            -
                    :'_1password_url' => :'1password-url',
         
     | 
| 
       217 
     | 
    
         
            -
                    :'_1password_vaults' => :'1password-vaults',
         
     | 
| 
       218 
198 
     | 
    
         
             
                    :'service_account_key_decoded' => :'ServiceAccountKeyDecoded',
         
     | 
| 
       219 
199 
     | 
    
         
             
                    :'ad_auto_rotate' => :'ad-auto-rotate',
         
     | 
| 
       220 
200 
     | 
    
         
             
                    :'ad_computer_base_dn' => :'ad-computer-base-dn',
         
     | 
| 
         @@ -285,11 +265,6 @@ module Akeyless 
     | 
|
| 
       285 
265 
     | 
    
         
             
                # Attribute type mapping.
         
     | 
| 
       286 
266 
     | 
    
         
             
                def self.openapi_types
         
     | 
| 
       287 
267 
     | 
    
         
             
                  {
         
     | 
| 
       288 
     | 
    
         
            -
                    :'_1password_email' => :'String',
         
     | 
| 
       289 
     | 
    
         
            -
                    :'_1password_password' => :'String',
         
     | 
| 
       290 
     | 
    
         
            -
                    :'_1password_secret_key' => :'String',
         
     | 
| 
       291 
     | 
    
         
            -
                    :'_1password_url' => :'String',
         
     | 
| 
       292 
     | 
    
         
            -
                    :'_1password_vaults' => :'Array<String>',
         
     | 
| 
       293 
268 
     | 
    
         
             
                    :'service_account_key_decoded' => :'String',
         
     | 
| 
       294 
269 
     | 
    
         
             
                    :'ad_auto_rotate' => :'String',
         
     | 
| 
       295 
270 
     | 
    
         
             
                    :'ad_computer_base_dn' => :'String',
         
     | 
| 
         @@ -373,28 +348,6 @@ module Akeyless 
     | 
|
| 
       373 
348 
     | 
    
         
             
                    h[k.to_sym] = v
         
     | 
| 
       374 
349 
     | 
    
         
             
                  }
         
     | 
| 
       375 
350 
     | 
    
         | 
| 
       376 
     | 
    
         
            -
                  if attributes.key?(:'_1password_email')
         
     | 
| 
       377 
     | 
    
         
            -
                    self._1password_email = attributes[:'_1password_email']
         
     | 
| 
       378 
     | 
    
         
            -
                  end
         
     | 
| 
       379 
     | 
    
         
            -
             
     | 
| 
       380 
     | 
    
         
            -
                  if attributes.key?(:'_1password_password')
         
     | 
| 
       381 
     | 
    
         
            -
                    self._1password_password = attributes[:'_1password_password']
         
     | 
| 
       382 
     | 
    
         
            -
                  end
         
     | 
| 
       383 
     | 
    
         
            -
             
     | 
| 
       384 
     | 
    
         
            -
                  if attributes.key?(:'_1password_secret_key')
         
     | 
| 
       385 
     | 
    
         
            -
                    self._1password_secret_key = attributes[:'_1password_secret_key']
         
     | 
| 
       386 
     | 
    
         
            -
                  end
         
     | 
| 
       387 
     | 
    
         
            -
             
     | 
| 
       388 
     | 
    
         
            -
                  if attributes.key?(:'_1password_url')
         
     | 
| 
       389 
     | 
    
         
            -
                    self._1password_url = attributes[:'_1password_url']
         
     | 
| 
       390 
     | 
    
         
            -
                  end
         
     | 
| 
       391 
     | 
    
         
            -
             
     | 
| 
       392 
     | 
    
         
            -
                  if attributes.key?(:'_1password_vaults')
         
     | 
| 
       393 
     | 
    
         
            -
                    if (value = attributes[:'_1password_vaults']).is_a?(Array)
         
     | 
| 
       394 
     | 
    
         
            -
                      self._1password_vaults = value
         
     | 
| 
       395 
     | 
    
         
            -
                    end
         
     | 
| 
       396 
     | 
    
         
            -
                  end
         
     | 
| 
       397 
     | 
    
         
            -
             
     | 
| 
       398 
351 
     | 
    
         
             
                  if attributes.key?(:'service_account_key_decoded')
         
     | 
| 
       399 
352 
     | 
    
         
             
                    self.service_account_key_decoded = attributes[:'service_account_key_decoded']
         
     | 
| 
       400 
353 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -710,11 +663,6 @@ module Akeyless 
     | 
|
| 
       710 
663 
     | 
    
         
             
                def ==(o)
         
     | 
| 
       711 
664 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       712 
665 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       713 
     | 
    
         
            -
                      _1password_email == o._1password_email &&
         
     | 
| 
       714 
     | 
    
         
            -
                      _1password_password == o._1password_password &&
         
     | 
| 
       715 
     | 
    
         
            -
                      _1password_secret_key == o._1password_secret_key &&
         
     | 
| 
       716 
     | 
    
         
            -
                      _1password_url == o._1password_url &&
         
     | 
| 
       717 
     | 
    
         
            -
                      _1password_vaults == o._1password_vaults &&
         
     | 
| 
       718 
666 
     | 
    
         
             
                      service_account_key_decoded == o.service_account_key_decoded &&
         
     | 
| 
       719 
667 
     | 
    
         
             
                      ad_auto_rotate == o.ad_auto_rotate &&
         
     | 
| 
       720 
668 
     | 
    
         
             
                      ad_computer_base_dn == o.ad_computer_base_dn &&
         
     | 
| 
         @@ -785,7 +733,7 @@ module Akeyless 
     | 
|
| 
       785 
733 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       786 
734 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       787 
735 
     | 
    
         
             
                def hash
         
     | 
| 
       788 
     | 
    
         
            -
                  [ 
     | 
| 
      
 736 
     | 
    
         
            +
                  [service_account_key_decoded, ad_auto_rotate, ad_computer_base_dn, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, type, uid_token].hash
         
     | 
| 
       789 
737 
     | 
    
         
             
                end
         
     | 
| 
       790 
738 
     | 
    
         | 
| 
       791 
739 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -30,6 +30,9 @@ module Akeyless 
     | 
|
| 
       30 
30 
     | 
    
         
             
                # Service account key algorithm, e.g. KEY_ALG_RSA_1024
         
     | 
| 
       31 
31 
     | 
    
         
             
                attr_accessor :gcp_key_algo
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
      
 33 
     | 
    
         
            +
                # GCP Project ID override for dynamic secret operations (tmp service accounts)
         
     | 
| 
      
 34 
     | 
    
         
            +
                attr_accessor :gcp_project_id
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
       33 
36 
     | 
    
         
             
                # The email of the fixed service acocunt to generate keys or tokens for. (revelant for service-account-type=fixed)
         
     | 
| 
       34 
37 
     | 
    
         
             
                attr_accessor :gcp_sa_email
         
     | 
| 
       35 
38 
     | 
    
         | 
| 
         @@ -74,6 +77,7 @@ module Akeyless 
     | 
|
| 
       74 
77 
     | 
    
         
             
                    :'gcp_cred_type' => :'gcp-cred-type',
         
     | 
| 
       75 
78 
     | 
    
         
             
                    :'gcp_key' => :'gcp-key',
         
     | 
| 
       76 
79 
     | 
    
         
             
                    :'gcp_key_algo' => :'gcp-key-algo',
         
     | 
| 
      
 80 
     | 
    
         
            +
                    :'gcp_project_id' => :'gcp-project-id',
         
     | 
| 
       77 
81 
     | 
    
         
             
                    :'gcp_sa_email' => :'gcp-sa-email',
         
     | 
| 
       78 
82 
     | 
    
         
             
                    :'gcp_token_scopes' => :'gcp-token-scopes',
         
     | 
| 
       79 
83 
     | 
    
         
             
                    :'json' => :'json',
         
     | 
| 
         @@ -102,6 +106,7 @@ module Akeyless 
     | 
|
| 
       102 
106 
     | 
    
         
             
                    :'gcp_cred_type' => :'String',
         
     | 
| 
       103 
107 
     | 
    
         
             
                    :'gcp_key' => :'String',
         
     | 
| 
       104 
108 
     | 
    
         
             
                    :'gcp_key_algo' => :'String',
         
     | 
| 
      
 109 
     | 
    
         
            +
                    :'gcp_project_id' => :'String',
         
     | 
| 
       105 
110 
     | 
    
         
             
                    :'gcp_sa_email' => :'String',
         
     | 
| 
       106 
111 
     | 
    
         
             
                    :'gcp_token_scopes' => :'String',
         
     | 
| 
       107 
112 
     | 
    
         
             
                    :'json' => :'Boolean',
         
     | 
| 
         @@ -158,6 +163,10 @@ module Akeyless 
     | 
|
| 
       158 
163 
     | 
    
         
             
                    self.gcp_key_algo = attributes[:'gcp_key_algo']
         
     | 
| 
       159 
164 
     | 
    
         
             
                  end
         
     | 
| 
       160 
165 
     | 
    
         | 
| 
      
 166 
     | 
    
         
            +
                  if attributes.key?(:'gcp_project_id')
         
     | 
| 
      
 167 
     | 
    
         
            +
                    self.gcp_project_id = attributes[:'gcp_project_id']
         
     | 
| 
      
 168 
     | 
    
         
            +
                  end
         
     | 
| 
      
 169 
     | 
    
         
            +
             
     | 
| 
       161 
170 
     | 
    
         
             
                  if attributes.key?(:'gcp_sa_email')
         
     | 
| 
       162 
171 
     | 
    
         
             
                    self.gcp_sa_email = attributes[:'gcp_sa_email']
         
     | 
| 
       163 
172 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -252,6 +261,7 @@ module Akeyless 
     | 
|
| 
       252 
261 
     | 
    
         
             
                      gcp_cred_type == o.gcp_cred_type &&
         
     | 
| 
       253 
262 
     | 
    
         
             
                      gcp_key == o.gcp_key &&
         
     | 
| 
       254 
263 
     | 
    
         
             
                      gcp_key_algo == o.gcp_key_algo &&
         
     | 
| 
      
 264 
     | 
    
         
            +
                      gcp_project_id == o.gcp_project_id &&
         
     | 
| 
       255 
265 
     | 
    
         
             
                      gcp_sa_email == o.gcp_sa_email &&
         
     | 
| 
       256 
266 
     | 
    
         
             
                      gcp_token_scopes == o.gcp_token_scopes &&
         
     | 
| 
       257 
267 
     | 
    
         
             
                      json == o.json &&
         
     | 
| 
         @@ -275,7 +285,7 @@ module Akeyless 
     | 
|
| 
       275 
285 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       276 
286 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       277 
287 
     | 
    
         
             
                def hash
         
     | 
| 
       278 
     | 
    
         
            -
                  [custom_username_template, delete_protection, gcp_cred_type, gcp_key, gcp_key_algo, gcp_sa_email, gcp_token_scopes, json, name, producer_encryption_key_name, role_binding, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
         
     | 
| 
      
 288 
     | 
    
         
            +
                  [custom_username_template, delete_protection, gcp_cred_type, gcp_key, gcp_key_algo, gcp_project_id, gcp_sa_email, gcp_token_scopes, json, name, producer_encryption_key_name, role_binding, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
         
     | 
| 
       279 
289 
     | 
    
         
             
                end
         
     | 
| 
       280 
290 
     | 
    
         | 
| 
       281 
291 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -16,21 +16,6 @@ require 'time' 
     | 
|
| 
       16 
16 
     | 
    
         
             
            module Akeyless
         
     | 
| 
       17 
17 
     | 
    
         
             
              # gatewayUpdateMigration is a command that update migration
         
     | 
| 
       18 
18 
     | 
    
         
             
              class GatewayUpdateMigration
         
     | 
| 
       19 
     | 
    
         
            -
                # 1Password user email to connect to the API
         
     | 
| 
       20 
     | 
    
         
            -
                attr_accessor :_1password_email
         
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
                # 1Password user password to connect to the API
         
     | 
| 
       23 
     | 
    
         
            -
                attr_accessor :_1password_password
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
                # 1Password user secret key to connect to the API
         
     | 
| 
       26 
     | 
    
         
            -
                attr_accessor :_1password_secret_key
         
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
                # 1Password api container url
         
     | 
| 
       29 
     | 
    
         
            -
                attr_accessor :_1password_url
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
                # 1Password list of vault to get the items from
         
     | 
| 
       32 
     | 
    
         
            -
                attr_accessor :_1password_vaults
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
19 
     | 
    
         
             
                attr_accessor :service_account_key_decoded
         
     | 
| 
       35 
20 
     | 
    
         | 
| 
       36 
21 
     | 
    
         
             
                # Enable/Disable automatic/recurrent rotation for migrated secrets. Default is false: only manual rotation is allowed for migrated secrets. If set to true, this command should be combined with --ad-rotation-interval and --ad-rotation-hour parameters (Relevant only for Active Directory migration)
         
     | 
| 
         @@ -213,11 +198,6 @@ module Akeyless 
     | 
|
| 
       213 
198 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       214 
199 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       215 
200 
     | 
    
         
             
                  {
         
     | 
| 
       216 
     | 
    
         
            -
                    :'_1password_email' => :'1password-email',
         
     | 
| 
       217 
     | 
    
         
            -
                    :'_1password_password' => :'1password-password',
         
     | 
| 
       218 
     | 
    
         
            -
                    :'_1password_secret_key' => :'1password-secret-key',
         
     | 
| 
       219 
     | 
    
         
            -
                    :'_1password_url' => :'1password-url',
         
     | 
| 
       220 
     | 
    
         
            -
                    :'_1password_vaults' => :'1password-vaults',
         
     | 
| 
       221 
201 
     | 
    
         
             
                    :'service_account_key_decoded' => :'ServiceAccountKeyDecoded',
         
     | 
| 
       222 
202 
     | 
    
         
             
                    :'ad_auto_rotate' => :'ad-auto-rotate',
         
     | 
| 
       223 
203 
     | 
    
         
             
                    :'ad_computer_base_dn' => :'ad-computer-base-dn',
         
     | 
| 
         @@ -289,11 +269,6 @@ module Akeyless 
     | 
|
| 
       289 
269 
     | 
    
         
             
                # Attribute type mapping.
         
     | 
| 
       290 
270 
     | 
    
         
             
                def self.openapi_types
         
     | 
| 
       291 
271 
     | 
    
         
             
                  {
         
     | 
| 
       292 
     | 
    
         
            -
                    :'_1password_email' => :'String',
         
     | 
| 
       293 
     | 
    
         
            -
                    :'_1password_password' => :'String',
         
     | 
| 
       294 
     | 
    
         
            -
                    :'_1password_secret_key' => :'String',
         
     | 
| 
       295 
     | 
    
         
            -
                    :'_1password_url' => :'String',
         
     | 
| 
       296 
     | 
    
         
            -
                    :'_1password_vaults' => :'Array<String>',
         
     | 
| 
       297 
272 
     | 
    
         
             
                    :'service_account_key_decoded' => :'String',
         
     | 
| 
       298 
273 
     | 
    
         
             
                    :'ad_auto_rotate' => :'String',
         
     | 
| 
       299 
274 
     | 
    
         
             
                    :'ad_computer_base_dn' => :'String',
         
     | 
| 
         @@ -378,28 +353,6 @@ module Akeyless 
     | 
|
| 
       378 
353 
     | 
    
         
             
                    h[k.to_sym] = v
         
     | 
| 
       379 
354 
     | 
    
         
             
                  }
         
     | 
| 
       380 
355 
     | 
    
         | 
| 
       381 
     | 
    
         
            -
                  if attributes.key?(:'_1password_email')
         
     | 
| 
       382 
     | 
    
         
            -
                    self._1password_email = attributes[:'_1password_email']
         
     | 
| 
       383 
     | 
    
         
            -
                  end
         
     | 
| 
       384 
     | 
    
         
            -
             
     | 
| 
       385 
     | 
    
         
            -
                  if attributes.key?(:'_1password_password')
         
     | 
| 
       386 
     | 
    
         
            -
                    self._1password_password = attributes[:'_1password_password']
         
     | 
| 
       387 
     | 
    
         
            -
                  end
         
     | 
| 
       388 
     | 
    
         
            -
             
     | 
| 
       389 
     | 
    
         
            -
                  if attributes.key?(:'_1password_secret_key')
         
     | 
| 
       390 
     | 
    
         
            -
                    self._1password_secret_key = attributes[:'_1password_secret_key']
         
     | 
| 
       391 
     | 
    
         
            -
                  end
         
     | 
| 
       392 
     | 
    
         
            -
             
     | 
| 
       393 
     | 
    
         
            -
                  if attributes.key?(:'_1password_url')
         
     | 
| 
       394 
     | 
    
         
            -
                    self._1password_url = attributes[:'_1password_url']
         
     | 
| 
       395 
     | 
    
         
            -
                  end
         
     | 
| 
       396 
     | 
    
         
            -
             
     | 
| 
       397 
     | 
    
         
            -
                  if attributes.key?(:'_1password_vaults')
         
     | 
| 
       398 
     | 
    
         
            -
                    if (value = attributes[:'_1password_vaults']).is_a?(Array)
         
     | 
| 
       399 
     | 
    
         
            -
                      self._1password_vaults = value
         
     | 
| 
       400 
     | 
    
         
            -
                    end
         
     | 
| 
       401 
     | 
    
         
            -
                  end
         
     | 
| 
       402 
     | 
    
         
            -
             
     | 
| 
       403 
356 
     | 
    
         
             
                  if attributes.key?(:'service_account_key_decoded')
         
     | 
| 
       404 
357 
     | 
    
         
             
                    self.service_account_key_decoded = attributes[:'service_account_key_decoded']
         
     | 
| 
       405 
358 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -712,11 +665,6 @@ module Akeyless 
     | 
|
| 
       712 
665 
     | 
    
         
             
                def ==(o)
         
     | 
| 
       713 
666 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       714 
667 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       715 
     | 
    
         
            -
                      _1password_email == o._1password_email &&
         
     | 
| 
       716 
     | 
    
         
            -
                      _1password_password == o._1password_password &&
         
     | 
| 
       717 
     | 
    
         
            -
                      _1password_secret_key == o._1password_secret_key &&
         
     | 
| 
       718 
     | 
    
         
            -
                      _1password_url == o._1password_url &&
         
     | 
| 
       719 
     | 
    
         
            -
                      _1password_vaults == o._1password_vaults &&
         
     | 
| 
       720 
668 
     | 
    
         
             
                      service_account_key_decoded == o.service_account_key_decoded &&
         
     | 
| 
       721 
669 
     | 
    
         
             
                      ad_auto_rotate == o.ad_auto_rotate &&
         
     | 
| 
       722 
670 
     | 
    
         
             
                      ad_computer_base_dn == o.ad_computer_base_dn &&
         
     | 
| 
         @@ -788,7 +736,7 @@ module Akeyless 
     | 
|
| 
       788 
736 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       789 
737 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       790 
738 
     | 
    
         
             
                def hash
         
     | 
| 
       791 
     | 
    
         
            -
                  [ 
     | 
| 
      
 739 
     | 
    
         
            +
                  [service_account_key_decoded, ad_auto_rotate, ad_computer_base_dn, ad_discover_services, ad_discovery_types, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_os_filter, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_ssh_port, ad_target_format, ad_target_name, ad_targets_path_template, ad_targets_type, ad_user_base_dn, ad_user_groups, ad_winrm_over_http, ad_winrm_port, ad_discover_local_users, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, id, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, new_name, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, uid_token].hash
         
     | 
| 
       792 
740 
     | 
    
         
             
                end
         
     | 
| 
       793 
741 
     | 
    
         | 
| 
       794 
742 
     | 
    
         
             
                # Builds the object from hash
         
     |