
    ޚ                     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)z0Generated client library for biglake version v1.    )absolute_import)base_api)biglake_v1_messagesc                       e Zd ZdZeZdZdZdZd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 G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d d ej&                        Z G d! d"ej&                        Z G d# d$ej&                        Z G d% d&ej&                        Z  G d' d(ej&                        Z! G d) d*ej&                        Z" xZ#S ),	BiglakeV1z8Generated client library for service biglake version v1.zhttps://biglake.googleapis.com/z$https://biglake.mtls.googleapis.com/biglakez(https://www.googleapis.com/auth/bigqueryz.https://www.googleapis.com/auth/cloud-platformv1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                    |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        | j                  |       | _        | j                  |       | _	        | j                  |       | _        | j                  |       | _        | j                  |       | _        | j!                  |       | _        | j%                  |       | _        | j)                  |       | _        | j-                  |       | _        | j1                  |       | _        | j5                  |       | _        | j9                  |       | _        | j=                  |       | _        | jA                  |       | _!        y)zCreate a new biglake handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)"BASE_URLsuperr   __init__5IcebergV1RestcatalogExtensionsProjectsCatalogsService3iceberg_v1_restcatalog_extensions_projects_catalogs-IcebergV1RestcatalogExtensionsProjectsService*iceberg_v1_restcatalog_extensions_projects%IcebergV1RestcatalogExtensionsService!iceberg_v1_restcatalog_extensions=IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService=iceberg_v1_restcatalog_v1_projects_catalogs_namespaces_tables7IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService6iceberg_v1_restcatalog_v1_projects_catalogs_namespaces-IcebergV1RestcatalogV1ProjectsCatalogsService+iceberg_v1_restcatalog_v1_projects_catalogs%IcebergV1RestcatalogV1ProjectsService"iceberg_v1_restcatalog_v1_projectsIcebergV1RestcatalogV1Serviceiceberg_v1_restcatalog_v1IcebergV1RestcatalogServiceiceberg_v1_restcatalogIcebergV1Service
iceberg_v1IcebergServiceiceberg'ProjectsCatalogsNamespacesTablesService#projects_catalogs_namespaces_tables!ProjectsCatalogsNamespacesServiceprojects_catalogs_namespacesProjectsCatalogsServiceprojects_catalogsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Ilib/googlecloudsdk/generated_clients/apis/biglake/v1/biglake_v1_client.pyr   zBiglakeV1.__init__   s    
C	)T#'d%l)3 7+ $ - @D?y?yz~?D<6:6h6him6nD3-1-W-WX\-]D*IM  JL  JL  MQ  JRDFBFB~B~  @D  CED?7;7i7ijn7oD4.2.X.XY].^D+%)%G%G%MD""&"B"B4"HD++D1DO&&t,DL/3/[/[\`/aD,(,(N(Nt(TD%!99$?D((.DM    c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_         xZS )?BiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsServicezSService class for the iceberg_v1_restcatalog_extensions_projects_catalogs resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr8   clientr:   s     r;   r   zHBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.__init__?   s#    IKKT[\bcdr<   c                 L    | j                  d      }| j                  |||      S )a_  Creates the Iceberg REST Catalog. Currently only supports Google Cloud Storage Bucket catalogs. Google Cloud Storage Bucket catalog id is the bucket for which the catalog is created (e.g. `my-catalog` for `gs://my-catalog`). If the bucket does not exist, of the caller does not have bucket metadata permissions, the catalog will not be created.

      Args:
        request: (BiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (IcebergCatalog) The response message.
      Createglobal_paramsGetMethodConfig
_RunMethodr8   requestrG   configs       r;   rE   zFBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.CreateD   1     ##H-f__
'  8 8r<   c                  H    t        j                  ddddgdgdgdddd	d
      S )N@iceberg/v1/restcatalog/extensions/projects/{projectsId}/catalogsPOSTzBbiglake.iceberg.v1.restcatalog.extensions.projects.catalogs.createparenticeberg_catalog_id4iceberg/v1/restcatalog/extensions/{+parent}/catalogsicebergCatalogBBiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsCreateRequestIcebergCatalogF	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>zHBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.<lambda>Q   s7    8#9#9TV zJ*+L&^+$r<   c                 L    | j                  d      }| j                  |||      S )a  Deletes the Iceberg REST Catalog. Delete does not delete a catalog that has contents -- at least one namespace. Delete is not supported for all catalog types.

      Args:
        request: (BiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      DeleterF   rH   rK   s       r;   ri   zFBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.Delete_   rN   r<   c                  F    t        j                  ddddgdgg ddddd	
      S )NMiceberg/v1/restcatalog/extensions/projects/{projectsId}/catalogs/{catalogsId}DELETEzBbiglake.iceberg.v1.restcatalog.extensions.projects.catalogs.deletename)iceberg/v1/restcatalog/extensions/{+name} BBiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsDeleteRequestEmptyFrX   rd   rf   r<   r;   rg   zHBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.<lambda>l   s4    8#9#9aVxHA^"$r<   c                 L    | j                  d      }| j                  |||      S )aN  Failover the catalog to a new primary replica region.

      Args:
        request: (BiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsFailoverRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (FailoverIcebergCatalogResponse) The response message.
      FailoverrF   rH   rK   s       r;   rs   zHBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.Failoverz   1     ##J/f__
'  8 8r<   c                  F    t        j                  ddddgdgg ddddd	
      S )NzViceberg/v1/restcatalog/extensions/projects/{projectsId}/catalogs/{catalogsId}:failoverrQ   zDbiglake.iceberg.v1.restcatalog.extensions.projects.catalogs.failoverrm   z2iceberg/v1/restcatalog/extensions/{+name}:failoverfailoverIcebergCatalogRequestDBiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsFailoverRequestFailoverIcebergCatalogResponseFrX   rd   rf   r<   r;   rg   zHBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.<lambda>   s4    X%;%;jXxHJ5`;&r<   c                 L    | j                  d      }| j                  |||      S )a;  Returns the Iceberg REST Catalog configuration options.

      Args:
        request: (BiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (IcebergCatalog) The response message.
      GetrF   rH   rK   s       r;   rz   zCBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.Get   1     ##E*f__
'  8 8r<   c                  F    t        j                  ddddgdgg ddddd	
      S )Nrk   GETz?biglake.iceberg.v1.restcatalog.extensions.projects.catalogs.getrm   rn   ro   ?BiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsGetRequestrW   FrX   rd   rf   r<   r;   rg   zHBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.<lambda>   s4     6 6aSxHA[+!r<   c                 L    | j                  d      }| j                  |||      S )a2  Lists the Iceberg REST Catalogs.

      Args:
        request: (BiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListIcebergCatalogsResponse) The response message.
      ListrF   rH   rK   s       r;   r   zDBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.List   1     ##F+f__
'  8 8r<   c                  J    t        j                  ddddgdgg ddddd	d
      S )NrP   r}   z@biglake.iceberg.v1.restcatalog.extensions.projects.catalogs.listrR   )	page_size
page_tokenviewrT   ro   @BiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsListRequestListIcebergCatalogsResponseFrX   rd   rf   r<   r;   rg   zHBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.<lambda>   s4    !7!7TT zJ8L\8"r<   c                 L    | j                  d      }| j                  |||      S )a<  Update the Iceberg REST Catalog configuration options.

      Args:
        request: (BiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (IcebergCatalog) The response message.
      PatchrF   rH   rK   s       r;   r   zEBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.Patch   s1     ##G,f__
'  8 8r<   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nrk   PATCHzAbiglake.iceberg.v1.restcatalog.extensions.projects.catalogs.patchrm   
updateMaskrn   rU   ABiglakeIcebergV1RestcatalogExtensionsProjectsCatalogsPatchRequestrW   FrX   rd   rf   r<   r;   rg   zHBiglakeV1.IcebergV1RestcatalogExtensionsProjectsCatalogsService.<lambda>   s6    ("8"8aUxH"^A&]+#r<   r@   )__name__
__module____qualname____doc___NAMEr   rE   method_configri   rs   rz   r   r   __classcell__r:   s   @r;   r   r>   :   sm    ]AE
8F8F8H8C8D8Er<   r   c                   &     e Zd ZdZdZ fdZ xZS )7BiglakeV1.IcebergV1RestcatalogExtensionsProjectsServicezJService class for the iceberg_v1_restcatalog_extensions_projects resource.r   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r   r   rA   rB   s     r;   r   z@BiglakeV1.IcebergV1RestcatalogExtensionsProjectsService.__init__   #    ICCTSTZ[dr<   r   r   r   r   r   r   r   r   s   @r;   r   r      s    T8E r<   r   c                   &     e Zd ZdZdZ fdZ xZS )/BiglakeV1.IcebergV1RestcatalogExtensionsServicezAService class for the iceberg_v1_restcatalog_extensions resource.r   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r   r   rA   rB   s     r;   r   z8BiglakeV1.IcebergV1RestcatalogExtensionsService.__init__   "    I;;TKFSdr<   r   r   s   @r;   r   r      s    K/E r<   r   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_         xZS )GBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesServicez]Service class for the iceberg_v1_restcatalog_v1_projects_catalogs_namespaces_tables resource.r!   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r    r   rA   rB   s     r;   r   zPBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.__init__   s$    ISSUYcdjkdr<   c                 L    | j                  d      }| j                  |||      S )a*  Creates a table in the namespace.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (HttpBody) The response message.
      rE   rF   rH   rK   s       r;   rE   zNBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.Create  rN   r<   c                  F    t        j                  ddddgdgg ddddd	
      S )Nficeberg/v1/restcatalog/v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}/tablesrQ   zLbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.tables.createrR   *iceberg/v1/restcatalog/v1/{+parent}/tablescreateIcebergTableRequestJBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesCreateRequestHttpBodyFrX   rd   rf   r<   r;   rg   zPBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.<lambda>  s4    8#9#9z` zJB1f%$r<   c                 L    | j                  d      }| j                  |||      S )aX  Loads credentials for a table in the namespace.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesCredentialsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (LoadIcebergTableCredentialsResponse) The response message.
      CredentialsrF   rH   rK   s       r;   r   zSBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.Credentials  s1     ##M2f__
'  8 8r<   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nz}iceberg/v1/restcatalog/v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}/tables/{tablesId}/credentialsr}   zQbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.tables.credentialsrm   	snapshotsz-iceberg/v1/restcatalog/v1/{+name}/credentialsro   OBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesCredentialsRequest#LoadIcebergTableCredentialsResponseFrX   rd   rf   r<   r;   rg   zPBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.<lambda>,  s9    (>(> RexH!]Ek@)r<   c                 L    | j                  d      }| j                  |||      S )a'  Deletes a table in the namespace.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      ri   rF   rH   rK   s       r;   ri   zNBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.Delete:  rN   r<   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nqiceberg/v1/restcatalog/v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}/tables/{tablesId}rl   zLbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.tables.deleterm   purgeRequested!iceberg/v1/restcatalog/v1/{+name}ro   JBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesDeleteRequestrq   FrX   rd   rf   r<   r;   rg   zPBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.<lambda>G  s:    8#9#9 F`xH&'9f"$r<   c                 L    | j                  d      }| j                  |||      S )a$  Gets a table in the namespace.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (HttpBody) The response message.
      rz   rF   rH   rK   s       r;   rz   zKBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.GetU  r{   r<   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr   r}   zIbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.tables.getrm   r   r   ro   GBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesGetRequestr   FrX   rd   rf   r<   r;   rg   zPBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.<lambda>b  s9     6 6 F]xH!]9c%!r<   c                 L    | j                  d      }| j                  |||      S )aZ  Lists table identifiers (not *tables*) in the namespace.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListIcebergTableIdentifiersResponse) The response message.
      r   rF   rH   rK   s       r;   r   zLBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.Listp  r   r<   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr   r}   zJbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.tables.listrR   pageSize	pageTokenr   ro   HBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesListRequest#ListIcebergTableIdentifiersResponseFrX   rd   rf   r<   r;   rg   zPBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.<lambda>}  s9    !7!7z^ zJ +.Bd@"r<   c                 L    | j                  d      }| j                  |||      S )ax  This is CommitTable Iceberg API, which maps to `UpdateIcebergTable` in the Google API nomenclature.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesUpdateIcebergTableRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (HttpBody) The response message.
      UpdateIcebergTablerF   rH   rK   s       r;   r   zZBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.UpdateIcebergTable  s2     ##$89f__
'  8 8r<   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   rQ   zXbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.tables.updateIcebergTablerm   r   updateIcebergTableRequestVBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesUpdateIcebergTableRequestr   FrX   rd   rf   r<   r;   rg   zPBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesTablesService.<lambda>  s7    x/E/E FlxH91r%0r<   r@   )r   r   r   r   r   r   rE   r   r   ri   rz   r   r   r   r   s   @r;   r    r      sn    gKE
8F8!K8F8C8D8($$r<   r    c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_        ddZd e_         xZS )ABiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesServicezVService class for the iceberg_v1_restcatalog_v1_projects_catalogs_namespaces resource.r#   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r"   r   rA   rB   s     r;   r   zJBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.__init__  s#    IMMt]^dedr<   c                 L    | j                  d      }| j                  |||      S )a.  Creates a namespace in the catalog.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (IcebergNamespace) The response message.
      rE   rF   rH   rK   s       r;   rE   zHBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.Create  rN   r<   c                  F    t        j                  ddddgdgg ddddd	
      S )NPiceberg/v1/restcatalog/v1/projects/{projectsId}/catalogs/{catalogsId}/namespacesrQ   zEbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.createrR   z.iceberg/v1/restcatalog/v1/{+parent}/namespacesicebergNamespaceDBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesCreateRequestIcebergNamespaceFrX   rd   rf   r<   r;   rg   zJBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.<lambda>  s4    8#9#9dY zJF(`-$r<   c                 L    | j                  d      }| j                  |||      S )a   Returns 204, not 200 on success.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      ri   rF   rH   rK   s       r;   ri   zHBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.Delete  rN   r<   c                  F    t        j                  ddddgdgg ddddd	
      S )N_iceberg/v1/restcatalog/v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}rl   zEbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.deleterm   r   ro   DBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesDeleteRequestrq   FrX   rd   rf   r<   r;   rg   zJBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.<lambda>  s4    8#9#9sYxH9`"$r<   c                 L    | j                  d      }| j                  |||      S )aa  Gets an Iceberg namespace in the catalog (or checks if it exists, if the method is HEAD).

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (IcebergNamespace) The response message.
      rz   rF   rH   rK   s       r;   rz   zEBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.Get  r{   r<   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   r}   zBbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.getrm   r   ro   ABiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesGetRequestr   FrX   rd   rf   r<   r;   rg   zJBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.<lambda>  s4     6 6sVxH9]-!r<   c                 L    | j                  d      }| j                  |||      S )as  Lists Iceberg namespaces in the catalog. We only support one level of nesting for namespaces.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListIcebergNamespacesResponse) The response message.
      r   rF   rH   rK   s       r;   r   zFBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.List  r   r<   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   r}   zCbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.list	apiParent)r   r   rR   z1iceberg/v1/restcatalog/v1/{+apiParent}/namespacesro   BBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesListRequestListIcebergNamespacesResponseFrX   rd   rf   r<   r;   rg   zJBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.<lambda>  s4    !7!7dW#} M8I^:"r<   c                 L    | j                  d      }| j                  |||      S )a:  Updates namespace properties.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesPropertiesRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (UpdateIcebergNamespaceResponse) The response message.
      
PropertiesrF   rH   rK   s       r;   r   zLBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.Properties  s1     ##L1f__
'  8 8r<   c                  F    t        j                  ddddgdgg ddddd	
      S )Njiceberg/v1/restcatalog/v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}/propertiesrQ   zIbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.propertiesrm   ,iceberg/v1/restcatalog/v1/{+name}/propertiesicebergNamespaceUpdateHBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesPropertiesRequestUpdateIcebergNamespaceResponseFrX   rd   rf   r<   r;   rg   zJBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.<lambda>)  s4    x'='=~]xHD.d;(r<   c                 L    | j                  d      }| j                  |||      S )a9  Register a table using given metadata file location.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesRegisterRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (HttpBody) The response message.
      RegisterrF   rH   rK   s       r;   r   zJBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.Register7  rt   r<   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzhiceberg/v1/restcatalog/v1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}/registerrQ   zGbiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.registerrR   z,iceberg/v1/restcatalog/v1/{+parent}/registerregisterIcebergTableRequestFBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesRegisterRequestr   FrX   rd   rf   r<   r;   rg   zJBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.<lambda>D  s4    X%;%;|[ zJD3b%&r<   c                 L    | j                  d      }| j                  |||      S )a@  Updates namespace properties.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesUpdatePropertiesRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (UpdateIcebergNamespaceResponse) The response message.
      UpdatePropertiesrF   rH   rK   s       r;   r   zRBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.UpdatePropertiesR  s2     ##$67f__
'  8 8r<   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   r   zObiglake.iceberg.v1.restcatalog.v1.projects.catalogs.namespaces.updatePropertiesrm   r   r   NBiglakeIcebergV1RestcatalogV1ProjectsCatalogsNamespacesUpdatePropertiesRequestr   FrX   rd   rf   r<   r;   rg   zJBiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsNamespacesService.<lambda>_  s4    X-C-C~cxHD.j;.r<   r@   )r   r   r   r   r   r   rE   r   ri   rz   r   r   r   r   r   r   s   @r;   r"   r     s}    `DE
8F8F8C8D8 J8H8&""r<   r"   c                   &     e Zd ZdZdZ fdZ xZS )7BiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsServicezKService class for the iceberg_v1_restcatalog_v1_projects_catalogs resource.r%   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r$   r   rA   rB   s     r;   r   z@BiglakeV1.IcebergV1RestcatalogV1ProjectsCatalogsService.__init__r  r   r<   r   r   s   @r;   r$   r   m  s    U9E r<   r$   c                   &     e Zd ZdZdZ fdZ xZS )/BiglakeV1.IcebergV1RestcatalogV1ProjectsServicezBService class for the iceberg_v1_restcatalog_v1_projects resource.r'   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r&   r   rA   rB   s     r;   r   z8BiglakeV1.IcebergV1RestcatalogV1ProjectsService.__init__|  r   r<   r   r   s   @r;   r&   r   w  s    L0E r<   r&   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )'BiglakeV1.IcebergV1RestcatalogV1Servicez9Service class for the iceberg_v1_restcatalog_v1 resource.r)   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r(   r   rA   rB   s     r;   r   z0BiglakeV1.IcebergV1RestcatalogV1Service.__init__  s"    I33TCFKdr<   c                 L    | j                  d      }| j                  |||      S )aU  GetIcebergCatalogConfig lists all catalog configuration settings. Most importantly it contains the optional `endpoints` field which lists what methods this catalog supports, since we are not supporting all the methods right now. It returns all the methods defined in this service (subject to project config allowlisting). This is not a GCP resource.

      Args:
        request: (BiglakeIcebergV1RestcatalogV1GetConfigRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (IcebergCatalogConfig) The response message.
      	GetConfigrF   rH   rK   s       r;   r   z1BiglakeV1.IcebergV1RestcatalogV1Service.GetConfig  s1     ##K0f__
'  8 8r<   c                  B    t        j                  ddg g dgddddd	
      S )
Nr}   z+biglake.iceberg.v1.restcatalog.v1.getConfig	warehousez iceberg/v1/restcatalog/v1/configro   -BiglakeIcebergV1RestcatalogV1GetConfigRequestIcebergCatalogConfigF)
rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   rf   r<   r;   rg   z0BiglakeV1.IcebergV1RestcatalogV1Service.<lambda>  s/    h&<&<?!]8I1'r<   r@   )	r   r   r   r   r   r   r   r   r   r   s   @r;   r(   r     s"    C'E
8Ir<   r(   c                   &     e Zd ZdZdZ fdZ xZS )%BiglakeV1.IcebergV1RestcatalogServicez6Service class for the iceberg_v1_restcatalog resource.r+   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r*   r   rA   rB   s     r;   r   z.BiglakeV1.IcebergV1RestcatalogService.__init__  s"    I114A&Idr<   r   r   s   @r;   r*   r     s    @$E r<   r*   c                   &     e Zd ZdZdZ fdZ xZS )BiglakeV1.IcebergV1Servicez*Service class for the iceberg_v1 resource.r-   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r,   r   rA   rB   s     r;   r   z#BiglakeV1.IcebergV1Service.__init__  s"    I&&6v>dr<   r   r   s   @r;   r,   r     s    4E r<   r,   c                   &     e Zd ZdZdZ fdZ xZS )BiglakeV1.IcebergServicez'Service class for the iceberg resource.r/   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r.   r   rA   rB   s     r;   r   z!BiglakeV1.IcebergService.__init__  s"    I$$d4V<dr<   r   r   s   @r;   r.   r     s    1E r<   r.   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	1BiglakeV1.ProjectsCatalogsNamespacesTablesServicezCService class for the projects_catalogs_namespaces_tables resource.r1   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r0   r   rA   rB   s     r;   r   z:BiglakeV1.ProjectsCatalogsNamespacesTablesService.__init__  s"    I==tMfUdr<   c                 L    | j                  d      }| j                  |||      S )a%  Gets the IAM policy for the specified Catalog.

      Args:
        request: (BiglakeProjectsCatalogsNamespacesTablesGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      GetIamPolicyrF   rH   rK   s       r;   r  z>BiglakeV1.ProjectsCatalogsNamespacesTablesService.GetIamPolicy  1     ##N3f__
'  8 8r<   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nzgv1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}/tables/{tablesId}:getIamPolicyr}   z8biglake.projects.catalogs.namespaces.tables.getIamPolicyresourceoptions_requestedPolicyVersionv1/{+resource}:getIamPolicyro   :BiglakeProjectsCatalogsNamespacesTablesGetIamPolicyRequestPolicyFrX   rd   rf   r<   r;   rg   z:BiglakeV1.ProjectsCatalogsNamespacesTablesService.<lambda>  s7    )?)?{L"|L673V#*r<   c                 L    | j                  d      }| j                  |||      S )a%  Sets the IAM policy for the specified catalog.

      Args:
        request: (BiglakeProjectsCatalogsNamespacesTablesSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      SetIamPolicyrF   rH   rK   s       r;   r  z>BiglakeV1.ProjectsCatalogsNamespacesTablesService.SetIamPolicy  r  r<   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzgv1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}/tables/{tablesId}:setIamPolicyrQ   z8biglake.projects.catalogs.namespaces.tables.setIamPolicyr  v1/{+resource}:setIamPolicysetIamPolicyRequest:BiglakeProjectsCatalogsNamespacesTablesSetIamPolicyRequestr  FrX   rd   rf   r<   r;   rg   z:BiglakeV1.ProjectsCatalogsNamespacesTablesService.<lambda>  s4    )?)?{L"|L3+V#*r<   r@   
r   r   r   r   r   r   r  r   r  r   r   s   @r;   r0   r    s1    M1E
8"L8"Lr<   r0   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	+BiglakeV1.ProjectsCatalogsNamespacesServicez<Service class for the projects_catalogs_namespaces resource.r3   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r2   r   rA   rB   s     r;   r   z4BiglakeV1.ProjectsCatalogsNamespacesService.__init__  s"    I77GOdr<   c                 L    | j                  d      }| j                  |||      S )a  Gets the IAM policy for the specified Catalog.

      Args:
        request: (BiglakeProjectsCatalogsNamespacesGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r  rF   rH   rK   s       r;   r  z8BiglakeV1.ProjectsCatalogsNamespacesService.GetIamPolicy  r  r<   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzUv1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}:getIamPolicyr}   z1biglake.projects.catalogs.namespaces.getIamPolicyr  r	  r
  ro   4BiglakeProjectsCatalogsNamespacesGetIamPolicyRequestr  FrX   rd   rf   r<   r;   rg   z4BiglakeV1.ProjectsCatalogsNamespacesService.<lambda>  s7    )?)?iE"|L673P#*r<   c                 L    | j                  d      }| j                  |||      S )a  Sets the IAM policy for the specified catalog.

      Args:
        request: (BiglakeProjectsCatalogsNamespacesSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r  rF   rH   rK   s       r;   r  z8BiglakeV1.ProjectsCatalogsNamespacesService.SetIamPolicy(  r  r<   c                  F    t        j                  ddddgdgg ddddd	
      S )NzUv1/projects/{projectsId}/catalogs/{catalogsId}/namespaces/{namespacesId}:setIamPolicyrQ   z1biglake.projects.catalogs.namespaces.setIamPolicyr  r  r  4BiglakeProjectsCatalogsNamespacesSetIamPolicyRequestr  FrX   rd   rf   r<   r;   rg   z4BiglakeV1.ProjectsCatalogsNamespacesService.<lambda>5  s4    )?)?iE"|L3+P#*r<   r@   r  r   s   @r;   r2   r    s1    F*E
8"L8"Lr<   r2   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	!BiglakeV1.ProjectsCatalogsServicez1Service class for the projects_catalogs resource.r5   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r4   r   rA   rB   s     r;   r   z*BiglakeV1.ProjectsCatalogsService.__init__H  s"    I--t=fEdr<   c                 L    | j                  d      }| j                  |||      S )a  Gets the IAM policy for the specified Catalog.

      Args:
        request: (BiglakeProjectsCatalogsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r  rF   rH   rK   s       r;   r  z.BiglakeV1.ProjectsCatalogsService.GetIamPolicyM  r  r<   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nz;v1/projects/{projectsId}/catalogs/{catalogsId}:getIamPolicyr}   z&biglake.projects.catalogs.getIamPolicyr  r	  r
  ro   *BiglakeProjectsCatalogsGetIamPolicyRequestr  FrX   rd   rf   r<   r;   rg   z*BiglakeV1.ProjectsCatalogsService.<lambda>Z  s7    )?)?O:"|L673F#*r<   c                 L    | j                  d      }| j                  |||      S )a  Sets the IAM policy for the specified catalog.

      Args:
        request: (BiglakeProjectsCatalogsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r  rF   rH   rK   s       r;   r  z.BiglakeV1.ProjectsCatalogsService.SetIamPolicyh  r  r<   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz;v1/projects/{projectsId}/catalogs/{catalogsId}:setIamPolicyrQ   z&biglake.projects.catalogs.setIamPolicyr  r  r  *BiglakeProjectsCatalogsSetIamPolicyRequestr  FrX   rd   rf   r<   r;   rg   z*BiglakeV1.ProjectsCatalogsService.<lambda>u  s4    )?)?O:"|L3+F#*r<   r@   r  r   s   @r;   r4   r  C  s1    ;E
8"L8"Lr<   r4   c                   &     e Zd ZdZdZ fdZ xZS )BiglakeV1.ProjectsServicez(Service class for the projects resource.r7   c                 N    t         t        j                  |   |       i | _        y r@   )r   r   r6   r   rA   rB   s     r;   r   z"BiglakeV1.ProjectsService.__init__  s"    I%%t5f=dr<   r   r   s   @r;   r6   r'    s    2E r<   r6   )ro   NTNNFFNNNN)$r   r   r   r   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   r   r   r    r"   r$   r&   r(   r*   r,   r.   r0   r2   r4   r6   r   r   s   @r;   r   r   
   s}   @/.(8-(79ij'(*"."+",()-6:/4<@?C	/>jh>U>U jXh6M6M h.E.E jhF]F] jXE@W@W ENh6M6M h.E.E "h&=&= "HH$;$; 00 x.. >0G0G >@>(*A*A >@> 7 7 >@//  r<   r   N)
r   
__future__r   apitools.base.pyr   0googlecloudsdk.generated_clients.apis.biglake.v1r   r)  BaseApiClientr   rf   r<   r;   <module>r:     s'    6 ' % \A&& Ar<   