ó
    €Ïc
  ã                   óŠ   • 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	 rS
 rS rS rS rSS jrS rg)z,Shared resource flags for Cloud Source Repo.é    )Úabsolute_import)Údivision)Úunicode_literals)Úconcepts)Údeps)Úpresentation_specs)Ú
propertiesc                  óœ   • [         R                  " SS[        R                  " [        R
                  R                  R                  5      /S9$ )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                  ó,   • [         R                  " SSS9$ )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                  ó,   • [         R                  " SSS9$ )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                  óP   • [         R                  " SS[        5       [        5       S9$ )Nzpubsub.projects.topicsr   )Úresource_nameÚtopicsIdÚ
projectsId)r   ÚResourceSpecr   r   r   r   r   ÚGetTopicResourceSpecr$   /   s'   € Ü	×	Ò	ØØÜ#Ó%Ü'Ó)ñ	
+ð +r   c                  óP   • [         R                  " SS[        5       [        5       S9$ )Nzsourcerepo.projects.reposr   )r    ÚreposIdr"   )r   r#   r   r   r   r   r   ÚGetRepoResourceSpecr'   7   s'   € Ü	×	Ò	Ø!ØÜ!Ó#Ü'Ó)ñ	
+ð +r   c                 ót   • U(       a  SOSn[         R                  " U[        5       SR                  U 5      SS9$ )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                 óR   • SU -   S-   n[         R                  " U[        5       USUS9$ )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   