
    $                     t    S 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@Command to create a universe descriptor data entry in the cache.    )base)log)universe_descriptorc                   .    \ rS rSrSr\S 5       rS rSrg)Create   z,Create a new universe descriptor data entry.c                 $    U R                  SSS9  g)zAdds args for this command.universe_domainz?Universe domain of the universe descriptor to add to the cache.)helpN)add_argument)parsers    1lib/surface/config/universe_descriptors/create.pyArgsCreate.Args   s     N      c                 l   A [         R                  " 5       n UR                  UR                  SS9  [        R
                  " SUR                  5        g ! [         R                   a     Of = fUR                  UR                  5        [        R                  R                  SUR                  -  5        g )NF)fetch_if_not_cachedz=Universe descriptor with universe domain [%s] already cached.z5Universe descriptor with universe domain [%s] cached.)
r   UniverseDescriptorGetr
   r   errorUniverseDescriptorError"UpdateDescriptorFromUniverseDomainstatusPrint)selfargsuniverse_descriptor_objs      r   Run
Create.Run#   s    1DDF!!


E "  
ii
I


  66 
 >> JJ?


	s   A A+*A+ N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r   __static_attributes__r    r   r   r   r      s    4 r   r   N)
r%   googlecloudsdk.callioper   googlecloudsdk.corer   'googlecloudsdk.core.universe_descriptorr   UniverseCompatibleCommandr   r    r   r   <module>r-      s9     G ( # G !T\\ ! !r   