
    :                     >   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  \
R                   " \
R"                  R$                  \
R"                  R&                  \
R"                  R(                  5       " S
 S\
R*                  5      5       rS rg)z+services peered-dns-domains delete command.    )absolute_import)division)unicode_literals)projects_api)peering)base)util)
propertiesc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
List   z=List the peered DNS domains for a private service connection.zj          This command lists the peered DNS domains for a private service
          connection.
          a            To list the peered DNS domains for a private service connection
          between service ``peering-service'' and the consumer network
          ``my-network'' in the current project, run:

            $ {command} --network=my-network --service=peering-service
          )DESCRIPTIONEXAMPLESc                     U R                  SSSSS9  U R                  SSSS	S
9  U R                  R                  S5        g)zArgs is called by calliope to gather arguments for this command.

Args:
  parser: An argparse parser that you can use to add arguments that go on
    the command line after this command. Positional arguments are allowed.
z	--networkNETWORKTz8Network in the consumer project peered with the service.)metavarrequiredhelpz	--serviceSERVICEz servicenetworking.googleapis.comz7Name of the service to list the peered DNS domains for.)r   defaultr   zM
        table(
            name:sort=1,
            dnsSuffix
        )
    N)add_argumentdisplay_info	AddFormat)parsers    /lib/surface/services/peered_dns_domains/list.pyArgs	List.Args4   sa     G	  I
 2F	  H
 !! # 	    c                     [         R                  R                  R                  R	                  SS9n[        U5      n[        R                  " UUR                  UR                  5      nU$ )zRun 'services peered-dns-domains list'.

Args:
  args: argparse.Namespace, The arguments that this command was invoked
    with.

Returns:
  The list of peered DNS domains.
T)r   )
r
   VALUEScoreprojectGet_GetProjectNumberr   ListPeeredDnsDomainsservicenetwork)selfargsr"   project_numberdomainss        r   RunList.RunM   s[     $$,,00$0?G&w/N**G
 Nr    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r,   __static_attributes__r.   r   r   r   r      s2     F
-  	 	0r   r   c                 j    [         R                  " [        R                  " U 5      5      R                  $ )N)r   r#   projects_utilParseProjectprojectNumber)
project_ids    r   r$   r$   a   s$    			-44Z@	A	O	OOr   N)r3   
__future__r   r   r   +googlecloudsdk.api_lib.cloudresourcemanagerr   googlecloudsdk.api_lib.servicesr   googlecloudsdk.callioper   #googlecloudsdk.command_lib.projectsr	   r8   googlecloudsdk.corer
   ReleaseTracksReleaseTrackALPHABETAGADescribeCommandr   r$   r.   r   r   <module>rH      s    2 &  ' D 3 ( E * 
=4 =
=@Pr   