Ë
    €Ï  ã                   ób   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z
 d„ Zd	„ Zd
„ Zy)z=Flags and helpers for the compute snapshot-settings commands.é    )Úabsolute_import)Údivision)Úunicode_literals)Úarg_parsers)Úbase)Ú
completersc                 óH   — | j                  ddt        j                  ¬«       y )Nz--regionz%region for regional snapshot settings)ÚhelpÚ	completer)Úadd_argumentÚcompute_completersÚRegionsCompleter©Úparsers    úAlib/googlecloudsdk/command_lib/compute/snapshot_settings/flags.pyÚAddSnapshotSettingArgr      s$   € Ø×ÑØØ2Ü"×3Ñ3ð õ ó    c                 óÎ   — | j                  ddd¬«       | j                  dddt        j                  «       ¬«       t        j                  d	d
dd¬«      }|j                  | «       y)zkAdd flags for updating snapshot settings storage location.

  Args:
    parser: argparse.ArgumentParser.
  z--storage-location-policya!  The storage location policy. For more information, refer to the
        snapshot settings documentation at
        https://cloud.google.com/compute/docs/disks/snapshot-settings.
        STORAGE_LOCATION_POLICY must be one of: local-region,
        nearest-multi-region, specific-locations.ÚSTORAGE_LOCATION_POLICY©r
   Úmetavarz--storage-location-namesa…  The custom storage location that you specify for the project's
        snapshots. You can specify only a single location. Use this flag only
        when you use the specific-locations value for the
        `--storage-location-policy` flag. For more information, refer to the
        snapshot settings documentation at
        https://cloud.google.com/compute/docs/disks/snapshot-settings.ÚSTORAGE_LOCATION_NAMES©r
   r   Útypez--asyncÚ
store_trueÚasync_zNReturn immediately, without waiting for the operation in progress to complete.)ÚactionÚdestr
   N)r   r   ÚArgListr   ÚArgumentÚAddToParser)r   Úmodified_async_flags     r   Ú-AddUpdateSnapshotSettingsStorageLocationFlagsr#   "   s‚   € ð 	×ÑØ!ð5ð
 (ð ô ð 	×ÑØ ðJð 'Ü×ÑÓ ð ô 
ô Ÿ™ØØØðôÐð ×!Ñ! &Õ)r   c                 óÈ   — | j                  dddt        j                  «       ¬«       | j                  dddt        j                  «       ¬«       | j                  dd	d
¬«       y)zjAdd flags for updating snapshot settings access location.

  Args:
    parser: argparse.ArgumentParser.
  z--add-access-locationsz,Access locations to add to snapshot settingsÚADD_ACCESS_LOCATIONSr   z--remove-access-locationsz1Access locations to remove from snapshot settingsÚREMOVE_ACCESS_LOCATIONSz--access-location-policyzaThe access location policy. ACCESS_LOCATION_POLICY must be one of: all-regions, specific-regions.ÚACCESS_LOCATION_POLICYr   N)r   r   r   r   s    r   Ú,AddUpdateSnapshotSettingsAccessLocationFlagsr(   J   st   € ð 	×ÑØØ9Ø$Ü×ÑÓ ð	 ô ð 	×ÑØ!Ø>Ø'Ü×ÑÓ ð	 ô ð 	×ÑØ ØrØ&ð õ r   N)Ú__doc__Ú
__future__r   r   r   Úgooglecloudsdk.callioper   r   Ú"googlecloudsdk.command_lib.computer   r   r   r#   r(   © r   r   Ú<module>r.      s-   ðñ  Då &Ý Ý 'Ý /Ý (Ý Oòò%*óPr   