
    
                     V    S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr	  S r
S rS	 rg
)z<Flags for the `compute public-advertised-prefixes` commands.    )absolute_import)division)unicode_literals)base)flagsc                  ,    [         R                  " SSS9$ )Nzpublic advertised prefixz compute.publicAdvertisedPrefixes)resource_nameglobal_collection)compute_flagsResourceArgument     Jlib/googlecloudsdk/command_lib/compute/public_advertised_prefixes/flags.pyMakePublicAdvertisedPrefixesArgr      s    		'	'.:
< <r   c                     U R                  SSSS9  U R                  SSS9  U R                  SS	S9  S
S/nU R                  SUSS9  SS/n[        R                  " SUSS9R                  U 5        g)z?Adds public advertised prefixes create related flags to parser.z--rangeTzDIP range allocated to this public advertised prefix, in CIDR format.)requiredhelpz--dns-verification-ipzXIP address to use for verification. It must be within the IP range specified in --range.)r   z--descriptionz-Description of this public advertised prefix.GLOBALREGIONALz--pdp-scopez;Specifies how child public delegated prefix will be scoped.)choicesr   internalexternalz--ipv6-access-typez?Specifies the IPv6 access type of the public advertised prefix.r   help_strN)add_argumentr   ChoiceArgumentAddToParser)parserr   ipv6_access_type_choicess      r   AddCreatePapArgsToParserr       s     	
P	   	#   	K   z"'H  
 )*5&
K	 Kr   c                     [         R                  " SS/SS9R                  U 5        U R                  SSSSS	9  U R                  S
SSSS	9  g)z?Adds public advertised prefixes update related flags to parser.z--statuszptr-configuredz'The status of public advertised prefix.r   z--announce-prefix
store_trueFz:Specify if the prefix will be announced. Default is false.)actiondefaultr   z--withdraw-prefixz:Specify if the prefix will be withdrawn. Default is false.N)r   r   r   r   )r   s    r   AddUpdatePapArgsToParserr%   C   sk     8: ;F+f:MG	  I
 	G	  Ir   N)__doc__
__future__r   r   r   googlecloudsdk.callioper   "googlecloudsdk.command_lib.computer   r   r   r    r%   r   r   r   <module>r*      s+    C &  ' ( E<!HIr   