
    {
                         S r SSKJr  SSKJr  SSKJr  SSKJ	r	  SS0r
\R                  " \R                  R                  \R                  R                  5       " S S	\R                  5      5       rg
)zVCommand for retrieving declarative configurations for Google Cloud Platform resources.    )base)flags)
kcc_client)logEXAMPLESa  
    To export all resources in a project to a local directory, run:

      $ {command} --path=/path/to/dir/

    To export all resources in a organization to stdout, run:

      $ {command} --organization=12345 --path=-

    To export all resources in a folder to stdout in Terraform format,
    run:

      $ {command} --folder=12345 --resource-format=terraform

    To export all resources in a project to stdout, using a custom Google Storage bucket for interim results,
    run:

      $ {command} --project=my-project --storage-path='gs://your-bucket-name/your/prefix/path'

    To export all Storage Bucket and Compute Instances resources in project my-project to stdout,
    run:

      $ {command} --project=my-project --resource-types=storage.cnrm.cloud.google.com/StorageBucket,ComputeInstance

    To export all resource types in file 'types-file.txt' in project my-project to stdout,
    run:

      $ {command} --project=my-project --resource-types-file=types-file.txt
    c                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)Export:   z[Export configurations for all assets within the specified project, organization, or folder.c                 0    [         R                  " U5        g )N)declarative_flagsAddBulkExportArgs)clsparsers     *lib/surface/resource_config/bulk_export.pyArgsExport.Args@   s    ''/    c                     [         R                  " 5       nUR                  S5      (       a  [        R                  " S5        S Ul        g UR                  U5        g )Nformatz{`--format` flag not supported for bulk-export. To change the format of exported resources use the `--resource-format` flag.)r   	KccClientIsSpecifiedr   warningr   
BulkExport)selfargsclients      r   Run
Export.RunD   sS    !!#F!!	kk . / dk  
r    N)__name__
__module____qualname____firstlineno____doc___DETAILED_HELPdetailed_helpclassmethodr   r   __static_attributes__r   r   r   r	   r	   :   s!    c -0 0	r   r	   N)r$   googlecloudsdk.callioper   +googlecloudsdk.command_lib.util.declarativer   r   3googlecloudsdk.command_lib.util.declarative.clientsr   googlecloudsdk.corer   r%   ReleaseTracksReleaseTrackALPHABETADeclarativeCommandr	   r   r   r   <module>r2      sr    ] ) R J # 	D D%%++T->->-C-CDT$$  Er   