
                             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SK	J
r
  SSKJr  SSKJr   " S	 S
\
R                  5      rg)z4Command for creating network edge security services.    )absolute_import)division)unicode_literals)base_classes)client)base)flagsc                   6    \ rS rSrSrSrSr\S 5       rS r	Sr
g)Create   a  Create a Compute Engine network edge security service.

*{command}* is used to create network edge security services.

## EXAMPLES

To create a network edge security service with the name 'my-service' in region
'us-central1', run:

  $ {command} my-service \
    --region=us-central1

To create a network edge security service with the name 'my-service' with
security policy 'my-policy' attached in region 'us-central1', run:

  $ {command} my-service \
    --security-policy=my-policy \
    --region=us-central1
Nc                 F   [         R                  " 5       U l        U R                  R                  USS9  [        R
                  " SS9U l        U R                  R                  U5        UR                  SSS9  UR                  R                  [         R                  5        g )Ncreate)operation_typeznetwork edge security service)resourcez--descriptionzGAn optional, textual description for the network edge security service.)help)r	   "NetworkEdgeSecurityServiceArgument!NETWORK_EDGE_SECURITY_SERVICE_ARGAddArgumentsecurity_policy_flags/SecurityPolicyRegionalArgumentForTargetResourceSECURITY_POLICY_ARGadd_argumentdisplay_infoAddCacheUpdater$NetworkEdgeSecurityServicesCompleter)clsparsers     <lib/surface/compute/network_edge_security_services/create.pyArgsCreate.Args5   s     	002 )))55x 6 ) 	MM4	6  ''/
  
 ''224    c                    [         R                  " U R                  5       5      nU R                  R	                  XR
                  5      n[        R                  " X2R                  S9nUR                  R                  R                  UR                  5       UR                  S9nUR                  S5      (       a9  U R                  R	                  XR
                  5      R                  5       nXel        UR                  U5      $ )N)compute_client)namedescriptionsecurity_policy)r   ComputeApiHolderReleaseTrackr   ResolveAsResource	resourcesr   NetworkEdgeSecurityServicemessagesNamer%   IsSpecifiedr   SelfLinksecurityPolicyr   )selfargsholderrefnetwork_edge_security_servicer   security_policy_refs          r   Run
Create.RunH   s    **4+<+<+>?F

0
0
B
B C$*$E$EMM%+! }}%%@@XXZT%5%5 A 7H)** 44FF
  ""*(*  3(//99r!    )__name__
__module____qualname____firstlineno____doc__r   r   classmethodr   r7   __static_attributes__r9   r!   r   r   r      s,    ( '+#4 4$:r!   r   N)r>   
__future__r   r   r   googlecloudsdk.api_lib.computer   =googlecloudsdk.api_lib.compute.network_edge_security_servicesr   googlecloudsdk.callioper   Agooglecloudsdk.command_lib.compute.network_edge_security_servicesr	   4googlecloudsdk.command_lib.compute.security_policiesr   CreateCommandr   r9   r!   r   <module>rH      s6    ; &  ' 7 P ( S$9:T 9:r!   