| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/source/repos/__pycache__/ |
Upload File : |
�
��� � �
� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
ddl mZ ej ej
j ej
j ej
j � � ej G d � d
ej � � � � � � ZdS )z%`gcloud source repos update` command.� )�absolute_import)�division)�unicode_literals)�
sourcerepo)�base)�flags)�utilc �. � e Zd ZdZed� � � Zd� ZdS )�Updatea/ Update the configuration of a Cloud Source Repository.
## EXAMPLES
To associate a Cloud Pub/Sub topic to receive repository update notifications,
run:
$ {command} REPO_NAME \
--add-topic=TOPIC_NAME \
--service-account=SERVICE_ACCOUNT_EMAIL \
--message-format=json
c �. � t j | � � d S )N)r �AddRepoUpdateArgs)�parsers �"lib/surface/source/repos/update.py�ArgszUpdate.Args- s � � ��F�#�#�#�#�#� c �� � t j � � }|j j � � � }|� |� � }t
j ||� � }|� |d� � S )N�
pubsubConfigs) r �Source�CONCEPTS�repo�Parse�GetRepor � ParseSourceRepoWithModifiedTopic� PatchRepo)�self�args�client�repo_refr �updated_repos r �Runz
Update.Run1 s_ � �
�
�
�
�F��}�!�'�'�)�)�H��>�>�(�#�#�D��8��t�D�D�L����L�/�:�:�:r N)�__name__�
__module__�__qualname__�__doc__�staticmethodr r � r r r r sH � � � � � �
� � �$� $� �<�$�;� ;� ;� ;� ;r r N)r$ �
__future__r r r �googlecloudsdk.api_lib.sourcer �googlecloudsdk.callioper �!googlecloudsdk.command_lib.sourcer r �
ReleaseTracks�ReleaseTrack�GA�BETA�ALPHA�DefaultUniverseOnly�Commandr r&