Ë
    €Ï  ã                   óŠ   — 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d„Zy)z1Shared resource flags for edgecontainer commands.é    )Úabsolute_import)Údivision)Úunicode_literals)Úconcepts)Údeps)Úutil)Úconcept_parsersc                  ó0   — t        j                  dd¬«      S )NÚnamezBImmersive Stream for XR content resource served by the {resource}.©r   Ú	help_text©r   Ú ResourceParameterAttributeConfig© ó    úClib/googlecloudsdk/command_lib/immersive_stream/xr/resource_args.pyÚContentAttributeConfigr      s   € Ü	×	2Ñ	2ØØTô
ð r   c                  ó0   — t        j                  dd¬«      S )Nr   z;Immersive Stream for XR service instance for the {resource}r   r   r   r   r   ÚInstanceAttributeConfigr   "   s   € Ü	×	2Ñ	2ØØMô
Oð Or   c                  óx   — t        j                  ddt        j                  t        j
                  d«      g¬«      S )NÚlocationz)Google Cloud location for the {resource}.zlocation is always global)r   r   Úfallthroughs)r   r   r   ÚFallthroughr   ÚDefaultToGlobalr   r   r   ÚLocationAttributeConfigr   (   s7   € Ü	×	2Ñ	2ØØ;ä
×
Ñ
œ4×/Ñ/Ð1LÓ
Mðô
	ð 	r   c                  ót   — t        j                  dddt        «       t        «       t         j                  ¬«      S )Nz(stream.projects.locations.streamContentsÚv1alpha1Úcontent)Úresource_collectionÚapi_versionÚresource_nameÚstreamContentsIdÚlocationsIdÚ
projectsId)r   ÚResourceSpecr   r   Ú DEFAULT_PROJECT_ATTRIBUTE_CONFIGr   r   r   ÚGetContentResourceSpecr'   1   s3   € Ü	×	Ñ	ØDØØÜ-Ó/Ü)Ó+Ü×:Ñ:ô
<ð <r   c                  ót   — t        j                  dddt        «       t        «       t         j                  ¬«      S )Nz)stream.projects.locations.streamInstancesr   Úinstance)r   r    r!   ÚstreamInstancesIdr#   r$   )r   r%   r   r   r&   r   r   r   ÚGetInstanceResourceSpecr+   ;   s3   € Ü	×	Ñ	ØEØØÜ/Ó1Ü)Ó+Ü×:Ñ:ô
<ð <r   c                 ó¢   — |rdnd}t         j                  j                  |t        «       dj	                  |«      d¬«      j                  | «       y)a  Adds a resource argument for an Immersive Stream for XR content resource.

  Args:
    parser: The argparse parser to add the resource arg to.
    verb: str, the verb to describe the resource, such as 'to update'.
    positional: bool, whether the argument is positional or not.
  r   z	--contentz,Immersive Stream for XR content resource {}.T©ÚrequiredN)r	   ÚConceptParserÚForResourcer'   ÚformatÚAddToParser©ÚparserÚverbÚ
positionalr   s       r   ÚAddContentResourceArgr7   E   sL   € ñ !‰ k€$Ü×Ñ×+Ñ+Ø
ÜÓØ4×;Ñ;¸DÓAØð	 ,ó ÷ !‘[ Õ(r   c                 ó¢   — |rdnd}t         j                  j                  |t        «       dj	                  |«      d¬«      j                  | «       y)a"  Adds a resource argument for an Immersive Stream for XR service instance resource.

  Args:
    parser: The argparse parser to add the resource arg to.
    verb: str, the verb to describe the resource, such as 'to update'.
    positional: bool, whether the argument is positional or not.
  r)   z
--instancez,Immersive Stream for XR service instance {}.Tr-   N)r	   r/   r0   r+   r1   r2   r3   s       r   ÚAddInstanceResourceArgr9   U   sL   € ñ "‰ |€$Ü×Ñ×+Ñ+Ø
ÜÓØ4×;Ñ;¸DÓAØð	 ,ó ÷ !‘[ Õ(r   N)T)Ú__doc__Ú
__future__r   r   r   Ú googlecloudsdk.calliope.conceptsr   r   Ú.googlecloudsdk.command_lib.immersive_stream.xrr   Ú(googlecloudsdk.command_lib.util.conceptsr	   r   r   r   r'   r+   r7   r9   r   r   r   Ú<module>r?      sC   ðñ 8å &Ý Ý 'å 5Ý 1Ý ?Ý DòòOò	ò<ò<ó)ô )r   