
    
                         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  \R                   " \R"                  R$                  5       " S S\R&                  5      5       rg)z*Describe GitLab Enterprise config command.    )absolute_import)division)unicode_literals)cloudbuild_util)base)resource_args)concept_parsers)
properties)	resourcesc                   .    \ rS rSrSr\S 5       rS rSrg)DescribeAlpha   z>Describe a GitLab Enterprise config in a Google Cloud project.c                     [         R                  R                  S[        R                  " 5       SSS9R                  U 5        g)zRegister flags for this command.

Args:
  parser: An argparse.ArgumentParser-like object. It is mocked out in order
    to capture some information, but behaves like an ArgumentParser.
CONFIGzGitLab Enterprise config.TrequiredN)r	   ConceptParserForResourcer   GetGitLabConfigResourceSpecAddToParser)parsers    7lib/surface/builds/enterprise_config/gitlab/describe.pyArgsDescribeAlpha.Args!   s>     !!--113#	 .  #{6*    c           	         [         R                  " 5       n[         R                  " 5       n[        R                  R
                  R                  R                  SS9nUR                  n[        R                  R                  SSSUUR                  US.S9nUR                  R                  UR                  UR                  5       S95      nU$ )	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.
Tr   Nz+cloudbuild.projects.locations.gitLabConfigsv1)
projectsIdlocationsIdgitLabConfigsId)
collectionapi_versionparams)name)r   GetClientInstanceGetMessagesModuler
   VALUEScoreprojectGetr   r   REGISTRYParseregion projects_locations_gitLabConfigs2CloudbuildProjectsLocationsGitLabConfigsGetRequestRelativeName)selfargsclientmessagesparent	config_idgitlab_config_resourcegitlab_configs           r   RunDescribeAlpha.Run/   s     ..0F002H##++///>FI&//55@ ;;(
	 6  ;;??CC'446 	D 	89M r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r9   __static_attributes__r;   r   r   r   r      s    F+ +r   r   N)r@   
__future__r   r   r   !googlecloudsdk.api_lib.cloudbuildr   googlecloudsdk.callioper   %googlecloudsdk.command_lib.cloudbuildr   (googlecloudsdk.command_lib.util.conceptsr	   googlecloudsdk.corer
   r   ReleaseTracksReleaseTrackALPHADescribeCommandr   r;   r   r   <module>rM      s]    1 &  ' = ( ? D * ) D%%++,0D(( 0 -0r   