
    g	                         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                   " S
 S\R                  5      5       rg)zDescribe build command.    )absolute_import)division)unicode_literals)cloudbuild_util)base)flags)
properties)	resourcesc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g)	Describe   z)Get information about a particular build.zg
            To describe a build `123-456-789`:

                $ {command} '123-456-789'
            )DESCRIPTIONEXAMPLESc                 Z    [         R                  " U 5        [         R                  " U SS9  g )NzThe build to describe.)intro)r   AddRegionFlagAddBuildArg)parsers    lib/surface/builds/describe.pyArgsDescribe.Args)   s!    		f$<=    c                 *   UR                   =(       dI    [        R                  R                  R                   R	                  5       =(       d    [
        R                  n[
        R                  " 5       n[        R                  R                  UR                  [        R                  R                  R                  R                  UUR                  S.SS9nUR                  R	                  UR                   R#                  UR%                  5       S95      $ )zThis is what gets called when the user runs this command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  Some value that we want to have printed later.
)
projectsIdlocationsIdbuildsIdz$cloudbuild.projects.locations.builds)params
collection)name)regionr	   VALUESbuildsGetr   DEFAULT_REGIONGetClientInstancer
   REGISTRYParsebuildcoreproject	GetOrFailprojects_locations_buildsMESSAGES_MODULE+CloudbuildProjectsLocationsBuildsGetRequestRelativeName)selfargsbuild_regionclient	build_refs        r   RunDescribe.Run.   s     	 	*##**..0	*))  ..0F""((

$++0088BB'



 : ) ;I ++//JJ'') 	K 	+, ,r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r5   __static_attributes__r7   r   r   r   r      s0    1 A- > >,r   r   N)r<   
__future__r   r   r   !googlecloudsdk.api_lib.cloudbuildr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.buildsr   googlecloudsdk.corer	   r
   UniverseCompatibleDescribeCommandr   r7   r   r   <module>rG      sI     &  ' = ( 3 * ) -,t## -, -,r   