
                         &    S r SSKJr  S rS rS rg)z?Client for interaction with EncryptionConfig API CRUD DATAPLEX.    )utilc                     [         R                  " 5       nUR                  SR                  U R                  U R
                  U R                  5      U R                  S9nU$ )z Create EncryptionConfig Request.5organizations/{0}/locations/{1}/encryptionConfigs/{2})namekey)dataplex_apiGetMessageModule%GoogleCloudDataplexV1EncryptionConfigformatorganizationlocationencryption_configr   argsmodulerequests      8lib/googlecloudsdk/api_lib/dataplex/encryption_config.py(GenerateEncryptionConfigForCreateRequestr      sZ    ((*&88BII


T]]D,B,B ((	 9 ' 
.    c                 X    / nU R                  S5      (       a  UR                  S5        U$ )z+Generates update mask for EncryptionConfig.enable_metastore_encryptionenableMetastoreEncryption)IsSpecifiedappend)r   update_masks     r   GenerateUpdateMaskr   !   s.    +	34423	r   c                     [         R                  " 5       nUR                  SR                  U R                  U R
                  U R                  5      U R                  S9nU$ )z Update EncryptionConfig Request.r   )r   r   )r   r	   r
   r   r   r   r   r   r   s      r   (GenerateEncryptionConfigForUpdateRequestr   )   s\    ((*&88BII


T]]D,B,B !% @ @	 9 ' 
.r   N)__doc__googlecloudsdk.api_lib.dataplexr   r   r   r   r    r   r   <module>r"      s     F A		r   