Ë
    €Ïc
  ã                   óˆ   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ d	„ Zd
„ Zd„ Zd„ Zd„ Zdd„Zd„ Zy)z,Shared resource flags for Cloud Source Repo.é    )Úabsolute_import)Údivision)Úunicode_literals)Úconcepts)Údeps)Úpresentation_specs)Ú
propertiesc                  óž   — t        j                  ddt        j                  t        j
                  j                  j                  «      g¬«      S )z2Get project resource attribute with default value.Úprojectz!Cloud Project for the {resource}.)ÚnameÚ	help_textÚfallthroughs)r   Ú ResourceParameterAttributeConfigr   ÚPropertyFallthroughr	   ÚVALUESÚcorer   © ó    ú6lib/googlecloudsdk/command_lib/source/resource_args.pyÚProjectAttributeConfigr      s@   € ä	×	2Ñ	2ØØ3Ü×,Ñ,¬Z×->Ñ->×-CÑ-C×-KÑ-KÓLÐMô
Oð Or   c                  ó0   — t        j                  dd¬«      S )z%Get Pub/Sub topic resource attribute.ÚtopiczName of the topic.©r   r   ©r   r   r   r   r   ÚTopicAttributeConfigr   #   s   € ä	×	2Ñ	2ØÐ2ô
4ð 4r   c                  ó0   — t        j                  dd¬«      S )z)Get Cloud Source Repo resource attribute.ÚrepozName of the repository.r   r   r   r   r   ÚRepoAttributeConfigr   )   s   € ä	×	2Ñ	2ØÐ6ô
8ð 8r   c                  óT   — t        j                  ddt        «       t        «       ¬«      S )Nzpubsub.projects.topicsr   )Úresource_nameÚtopicsIdÚ
projectsId)r   ÚResourceSpecr   r   r   r   r   ÚGetTopicResourceSpecr$   /   s'   € Ü	×	Ñ	ØØÜ#Ó%Ü'Ó)ô	
+ð +r   c                  óT   — t        j                  ddt        «       t        «       ¬«      S )Nzsourcerepo.projects.reposr   )r    ÚreposIdr"   )r   r#   r   r   r   r   r   ÚGetRepoResourceSpecr'   7   s'   € Ü	×	Ñ	Ø!ØÜ!Ó#Ü'Ó)ô	
+ð +r   c                 ón   — |rdnd}t        j                  |t        «       dj                  | «      d¬«      S )Nr   z--repoz'Name of the Cloud Source repository {}.T)Úrequired)r   ÚResourcePresentationSpecr'   Úformat)ÚverbÚ
positionalr   s      r   Ú"CreateRepoResourcePresentationSpecr.   ?   s8   € Ù‰ 8€$Ü	×	4Ñ	4Ø
ÜÓØ/×6Ñ6°tÓ<Øô	
ð r   c                 óV   — d| z   dz   }t        j                  |t        «       |d|¬«      S )z5Create add_topic, remove_topic or update_topic specs.z--z-topicT)ÚprefixesÚgroup)r   r*   r$   )r,   r   r1   r   s       r   Ú#CreateTopicResourcePresentationSpecr2   I   s4   € à	‰xÑ	€$ä	×	4Ñ	4Ø
Ô Ó" I¸ÀEô
Kð Kr   N)T)Ú__doc__Ú
__future__r   r   r   Ú googlecloudsdk.calliope.conceptsr   r   Ú(googlecloudsdk.command_lib.util.conceptsr   Úgooglecloudsdk.corer	   r   r   r   r$   r'   r.   r2   r   r   r   Ú<module>r8      sD   ðñ 3å &Ý Ý 'å 5Ý 1Ý GÝ *òOò4ò8ò+ò+óóKr   