
    
                         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
KJr   " S S\R                   5      rg)zDescribe trigger command.    )absolute_import)division)unicode_literals)cloudbuild_util)base)resource_args)concept_parsers)
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 trigger.z2Get information about the specified build trigger.zU
         To describe a build trigger, run:

           $ {command} MY-TRIGGER
      )DESCRIPTIONEXAMPLESc                     [         R                  R                  S[        R                  " 5       SSS9R                  U 5        g )NTRIGGERzBuild Trigger.Trequired)r	   ConceptParserForResourcer   GetTriggerResourceSpecAddToParser)parsers    'lib/surface/builds/triggers/describe.pyArgsDescribe.Args*   s<    !!--,,.	 .  #{6*    c                 (   [         R                  " 5       n[        R                  R                  R
                  R                  SS9n[        R                  R                  R                  R                  5       nUR                  =(       d    U=(       d    [         R                  nUR                  n[        R                  R                  UUUUS.SS9R                  5       nUR                  R                  UR                   R#                  XvS95      $ )zDescribes a build trigger..

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.
Tr   )
projectsIdlocationsId
triggersIdz&cloudbuild.projects.locations.triggers)params
collection)name	triggerId)r   GetClientInstancer
   VALUEScoreprojectGetbuildsregionDEFAULT_REGIONr   r   REGISTRYParseRelativeNameprojects_locations_triggersMESSAGES_MODULE-CloudbuildProjectsLocationsTriggersGetRequest)selfargsclientr)   
regionproplocationtriggerr$   s           r   RunDescribe.Run2   s     ..0F$$,,00$0?G""))00446J{{JjJO,J,JHllG##!#!

 < $ = >J\^ 	 --11LL 	M 	*+ +r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r:   __static_attributes__r<   r   r   r   r      s/    3 ?
- + ++r   r   N)rA   
__future__r   r   r   !googlecloudsdk.api_lib.cloudbuildr   googlecloudsdk.callioper   %googlecloudsdk.command_lib.cloudbuildr   (googlecloudsdk.command_lib.util.conceptsr	   googlecloudsdk.corer
   r   DescribeCommandr   r<   r   r   <module>rL      s7      &  ' = ( ? D * )2+t## 2+r   