
    0                     V    d Z ddlmZ ddlmZ ddlmZ  G d dej                        Z	y)z:Generated client library for cloudasset version v1p7beta1.    )absolute_import)base_api)cloudasset_v1p7beta1_messagesc                        e Zd ZdZeZdZdZdZdgZ	dZ
dZdZd	Zd ZdZd
Z	 	 	 	 	 d fd	Z G d dej&                        Z xZS )CloudassetV1p7beta1zBGenerated client library for service cloudasset version v1p7beta1.z"https://cloudasset.googleapis.com/z'https://cloudasset.mtls.googleapis.com/
cloudassetz.https://www.googleapis.com/auth/cloud-platform	v1p7beta1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                     |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        y)zCreate a new cloudasset handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__V1p7beta1Servicer	   )selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               ]lib/googlecloudsdk/generated_clients/apis/cloudasset/v1p7beta1/cloudasset_v1p7beta1_client.pyr   zCloudassetV1p7beta1.__init__   sY     
C	
t-'d%l)3 7+ . - **40DN    c                   >     e Zd ZdZdZ fdZddZd e_         xZS )$CloudassetV1p7beta1.V1p7beta1Servicez)Service class for the v1p7beta1 resource.r	   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configs)r   clientr   s     r   r   z-CloudassetV1p7beta1.V1p7beta1Service.__init__1   s#    00$@Hdr   c                 L    | j                  d      }| j                  |||      S )ai  Exports assets with time and resource types to a given Cloud Storage location/BigQuery table. For Cloud Storage location destinations, the output format is newline-delimited JSON. Each line represents a google.cloud.asset.v1p7beta1.Asset in the JSON format; for BigQuery table destinations, the output table stores the fields in asset proto as columns. This API implements the google.longrunning.Operation API , which allows you to keep track of the export. We recommend intervals of at least 2 seconds with exponential retry to poll the export operation result. For regular-size resource parent, the export operation usually finishes within 5 minutes.

      Args:
        request: (CloudassetExportAssetsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      ExportAssets)global_params)GetMethodConfig
_RunMethod)r   requestr(   configs       r   r'   z1CloudassetV1p7beta1.V1p7beta1Service.ExportAssets6   s1     ##N3f__
'  8 8r   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz3v1p7beta1/{v1p7beta1Id}/{v1p7beta1Id1}:exportAssetsPOSTzcloudasset.exportAssetsparentz v1p7beta1/{+parent}:exportAssetsexportAssetsRequestCloudassetExportAssetsRequest	OperationF)	flat_pathhttp_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_download)r   ApiMethodInfo r   r   <lambda>z-CloudassetV1p7beta1.V1p7beta1Service.<lambda>C   s4    )?)?G+ zJ8+9&*r   r#   )	__name__
__module____qualname____doc___NAMEr   r'   method_config__classcell__r   s   @r   r   r!   ,   s"    3E
8"Lr   r   ) NTNNFFNNNN)rA   rB   rC   rD   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   rG   rH   s   @r   r   r   
   sq    J/1(;-(=>'(*"."+,,()-6:/4<@?C	1"#00 # #r   r   N)
rD   
__future__r   apitools.base.pyr   :googlecloudsdk.generated_clients.apis.cloudasset.v1p7beta1r   rJ   BaseApiClientr   r?   r   r   <module>r[      s'    @ ' % pE(00 Er   