
    
                     J    S 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(Flag utils for networkservices commands.    )base)util)concept_parsers)presentation_specsc                     [         R                  R                  U 5        [         R                  R	                  U 5        [         R
                  R	                  U 5        [         R                  R	                  U 5        g)z@Adds ListCommand args, but filters a few currently unused flags.N)r   ListCommandArgsURI_FLAGRemoveFromParserFILTER_FLAGSORT_BY_FLAGparsers    8lib/googlecloudsdk/command_lib/network_services/flags.pyAddFilteredListFlagsr      sP    --  (##F+$$V,    c                 |   U R                  SSSS9n[        R                  " [        R                  " S[
        R                  " 5       S5      [        R                  " S[
        R                  " 5       SSS	0US
9[        R                  " S[
        R                  " 5       SSS	0US
9/S/S/S.S9R                  U 5        g)z0Adds gateway and mesh flags to the given parser.zParent of the Route ViewT)mutexrequiredz
--locationzLocation of the parentz	--gatewayzParent Gatewaylocation )flag_name_overridesgroupz--meshzParent Mesh)z--gateway.locationz--mesh.location)specscommand_level_fallthroughsN)
	add_groupr   ConceptParserr   ResourcePresentationSpecr   LocationResourceSpecGatewayResourceSpecMeshResourceSpecAddToParser)r   r   s     r   AddGatewayAndMeshFlagsr#      s    


 t  % 

5
5'')&
 
5
5&&(#-r"2 
5
5##%#-r"20 ".*^"18 Kr   c           	          [         R                  " [        R                  " S[        R
                  " 5       SSS9/S9R                  U 5        g)z)Adds routeview flags to the given parser.z--route-viewzRouteView to describeT)r   )r   N)r   r   r   !MultitypeResourcePresentationSpecr   "MeshOrGatewayRouteViewResourceSpecr"   r   s    r   AddRouteViewFlagsr'   B   sD    

>
>557%		 Kr   N)__doc__googlecloudsdk.callioper   +googlecloudsdk.command_lib.network_servicesr   (googlecloudsdk.command_lib.util.conceptsr   r   r   r#   r'    r   r   <module>r-      s&    / ( < D G-!Hr   