ó
    €Ï  ã                   ó
  • 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  \R                  R                  R                  rS	 rS
 rS rS rS rS rS rS rS rS rSS jrSS jrSS jrSS jrSS jrg)z>Shared resource flags for `gcloud service-directory` commands.é    )Úabsolute_import)Údivision)Úunicode_literals)Úconcepts)Údeps)Úconcept_parsers)Ú
propertiesc                  ó`   • [         R                  " SS[        R                  " [        5      /S9$ )z3Gets project resource attribute with default value.Úprojectz+The name of the project for the {resource}.)ÚnameÚ	help_textÚfallthroughs)r   Ú ResourceParameterAttributeConfigr   ÚPropertyFallthroughÚ_PROJECT© ó    ÚAlib/googlecloudsdk/command_lib/service_directory/resource_args.pyÚProjectAttributeConfigr      s,   € ä	×	2Ò	2ØØ=Ü×,Ò,¬XÓ6Ð7ñ
9ð 9r   c                  ó,   • [         R                  " SSS9$ )z!Gets location resource attribute.Úlocationz*The name of the region for the {resource}.©r   r   ©r   r   r   r   r   ÚLocationAttributeConfigr   %   s   € ä	×	2Ò	2ØÐ!Mñ
Oð Or   c                  ó,   • [         R                  " SSS9$ )z"Gets namespace resource attribute.Ú	namespacez-The name of the namespace for the {resource}.r   r   r   r   r   ÚNamespaceAttributeConfigr   +   s   € ä	×	2Ò	2ØØ?ñ
Að Ar   c                  ó,   • [         R                  " SSS9$ )z Gets service resource attribute.Úservicez+The name of the service for the {resource}.r   r   r   r   r   ÚServiceAttributeConfigr    2   s   € ä	×	2Ò	2ØÐ Mñ
Oð Or   c                  ó,   • [         R                  " SSS9$ )z!Gets endpoint resource attribute.Úendpointz,The name of the endpoint for the {resource}.r   r   r   r   r   ÚEndpointAttributeConfigr#   8   s   € ä	×	2Ò	2ØÐ!Oñ
Qð Qr   c                  ó>   • [         R                  " SS[        5       S9$ )zGets project resource spec.zservicedirectory.projectsr   )Úresource_nameÚ
projectsId)r   ÚResourceSpecr   r   r   r   ÚGetProjectResourceSpecr(   >   s!   € ä	×	Ò	Ø!ØÜ'Ó)ñ
+ð +r   c                  óP   • [         R                  " SS[        5       [        5       S9$ )zGets location resource spec.z#servicedirectory.projects.locationsr   )r%   ÚlocationsIdr&   )r   r'   r   r   r   r   r   ÚGetLocationResourceSpecr+   F   s'   € ä	×	Ò	Ø+ØÜ)Ó+Ü'Ó)ñ	
+ð +r   c                  ób   • [         R                  " SS[        5       [        5       [	        5       S9$ )zGets namespace resource spec.z.servicedirectory.projects.locations.namespacesr   )r%   ÚnamespacesIdr*   r&   )r   r'   r   r   r   r   r   r   ÚGetNamespaceResourceSpecr.   O   s-   € ä	×	Ò	Ø6ØÜ+Ó-Ü)Ó+Ü'Ó)ñ
+ð +r   c            	      ót   • [         R                  " SS[        5       [        5       [	        5       [        5       S9$ )zGets service resource spec.z7servicedirectory.projects.locations.namespaces.servicesr   )r%   Ú
servicesIdr-   r*   r&   )r   r'   r    r   r   r   r   r   r   ÚGetServiceResourceSpecr1   Y   s3   € ä	×	Ò	Ø?ØÜ'Ó)Ü+Ó-Ü)Ó+Ü'Ó)ñ
+ð +r   c            
      ó†   • [         R                  " SS[        5       [        5       [	        5       [        5       [        5       S9$ )zGets endpoint resource spec.zAservicedirectory.projects.locations.namespaces.services.endpointsr"   )r%   ÚendpointsIdr0   r-   r*   r&   )r   r'   r#   r    r   r   r   r   r   r   ÚGetEndpointResourceSpecr4   d   s9   € ä	×	Ò	ØIØÜ)Ó+Ü'Ó)Ü+Ó-Ü)Ó+Ü'Ó)ñ
+ð +r   c                 ó¤   • U(       a  SOSn[         R                  R                  U[        5       SR	                  U5      SS9R                  U 5      $ )z9Adds a resource argument for a Service Directory project.r   z	--projectz The Service Directory project {}T©Úrequired)r   ÚConceptParserÚForResourcer(   ÚformatÚAddToParser©ÚparserÚverbÚ
positionalr   s       r   ÚAddProjectResourceArgr@   p   óO   € æ ‰ k€$Ü	×	&Ñ	&×	2Ñ	2Ø
ÜÓØ(×/Ñ/°Ó5Øð	 
3ð 
÷ !‘[ Ó(ð	)r   c                 ó¤   • U(       a  SOSn[         R                  R                  U[        5       SR	                  U5      SS9R                  U 5      $ )z:Adds a resource argument for a Service Directory location.r   z
--locationz!The Service Directory location {}Tr6   )r   r8   r9   r+   r:   r;   r<   s       r   ÚAddLocationResourceArgrC   z   óO   € æ!‰ |€$Ü	×	&Ñ	&×	2Ñ	2Ø
ÜÓØ)×0Ñ0°Ó6Øð	 
3ð 
÷ !‘[ Ó(ð	)r   c                 ó¤   • U(       a  SOSn[         R                  R                  U[        5       SR	                  U5      SS9R                  U 5      $ )z;Adds a resource argument for a Service Directory namespace.r   z--namespacez"The Service Directory namespace {}Tr6   )r   r8   r9   r.   r:   r;   r<   s       r   ÚAddNamespaceResourceArgrF   „   sO   € æ"‰¨€$Ü	×	&Ñ	&×	2Ñ	2Ø
ÜÓ Ø*×1Ñ1°$Ó7Øð	 
3ð 
÷ !‘[ Ó(ð	)r   c                 ó¤   • U(       a  SOSn[         R                  R                  U[        5       SR	                  U5      SS9R                  U 5      $ )z9Adds a resource argument for a Service Directory service.r   z	--servicez The Service Directory service {}Tr6   )r   r8   r9   r1   r:   r;   r<   s       r   ÚAddServiceResourceArgrH   Ž   rA   r   c                 ó¤   • U(       a  SOSn[         R                  R                  U[        5       SR	                  U5      SS9R                  U 5      $ )z:Adds a resource argument for a Service Directory endpoint.r"   z
--endpointz!The Service Directory endpoint {}Tr6   )r   r8   r9   r4   r:   r;   r<   s       r   ÚAddEndpointResourceArgrJ   ˜   rD   r   N)T)Ú__doc__Ú
__future__r   r   r   Ú googlecloudsdk.calliope.conceptsr   r   Ú(googlecloudsdk.command_lib.util.conceptsr   Úgooglecloudsdk.corer	   ÚVALUESÚcorer   r   r   r   r   r    r#   r(   r+   r.   r1   r4   r@   rC   rF   rH   rJ   r   r   r   Ú<module>rR      s†   ðñ Eå &Ý Ý 'å 5Ý 1Ý DÝ *à×Ñ×!Ñ!×)Ñ)€ò9òOòAòOòQò+ò+ò+ò+ò	+ô)ô)ô)ô)õ)r   