original_docstring: Update an encryption type for an existing volume type.
  
          For a full list of available parameters, please refer to the official
          API reference:
          https://docs.openstack.org/api-ref/block-storage/v3/index.html#update-an-encryption-type
          
docstring: Update an encryption type for an existing volume type.
docstring_tokens: Update an encryption type for an existing volume type .
code: def update_encryption_type(self, volume_type_id, **kwargs):
          """Update an encryption type for an existing volume type.
  
          For a full list of available parameters, please refer to the official
          API reference:
          https://docs.openstack.org/api-ref/block-storage/v3/index.html#update-an-encryption-type
          """
          url = "/types/%s/encryption/provider" % volume_type_id
          put_body = json.dumps({'encryption': kwargs})
          resp, body = self.put(url, put_body)
          body = json.loads(body)
          self.validate_response(schema.update_encryption_type, resp, body)
          return rest_client.ResponseBody(resp, body)
code_tokens: def update_encryption_type ( self , volume_type_id , ** kwargs ) : url = "/types/%s/encryption/provider" % volume_type_id put_body = json . dumps ( { 'encryption' : kwargs } ) resp , body = self . put ( url , put_body ) body = json . loads ( body ) self . validate_response ( schema . update_encryption_type , resp , body ) return rest_client . ResponseBody ( resp , body )
short_docstring: Update an encryption type for an existing volume type.
short_docstring_tokens: Update an encryption type for an existing volume type .
comment: """Update an encryption type for an existing volume type.
  
          For a full list of available parameters, please refer to the official
          API reference:
          https://docs.openstack.org/api-ref/block-storage/v3/index.html#update-an-encryption-type
          """