File: //usr/lib/google-cloud-sdk/lib/surface/scheduler/locations/__pycache__/describe.cpython-312.pyc
�
��� � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZ dd lm
Z
G d
� dej � Zy)
z.`gcloud scheduler locations describe` command.� )�absolute_import)�division)�unicode_literals)�
GetApiAdapter)�base)�util)�
properties)� resourcesc �0 � e Zd ZdZddd�Zed� � Zd� Zy)�DescribezShow details about a location.z" {description}
zR To describe a location:
$ {command} my-location
)�DESCRIPTION�EXAMPLESc �P � t j dd�� j | � y )N�locationzThe Cloud location to describe.)�help)r �Argument�AddToParser)�parsers �+lib/surface/scheduler/locations/describe.py�Argsz
Describe.Args) s � ��M�M��:�<�<G�K��<O� c �B � t | j � � j }t j j |j dt j j j j � it j �� }|j |� S )N�
projectsId)�params�
collection)r �ReleaseTrack� locationsr
�REGISTRY�Parser r �VALUES�core�project� GetOrFailr �LOCATIONS_COLLECTION�Get)�self�args�locations_client�location_refs r �RunzDescribe.Run. s} � �$�T�%6�%6�%8�9�C�C���%�%�+�+��
�
��j�/�/�4�4�<�<�F�F�H�I��,�,� ,� .�L� ����-�-r N)�__name__�
__module__�__qualname__�__doc__�
detailed_help�staticmethodr r* � r r r r s1 � �&��
� �-� �P� �P�.r r N)r. �
__future__r r r � googlecloudsdk.api_lib.schedulerr �googlecloudsdk.callioper �$googlecloudsdk.command_lib.schedulerr �googlecloudsdk.corer r
�DescribeCommandr r1 r r �<module>r8 s4 �� 5� &� � '� :� (� 5� *� )�.�t�#�#� .r