
    +                     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 managedidentities version v1.    )absolute_import)base_api)managedidentities_v1_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 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 )ManagedidentitiesV1zBGenerated client library for service managedidentities version v1.z)https://managedidentities.googleapis.com/z.https://managedidentities.mtls.googleapis.com/managedidentitiesz.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%                  |       | _        y)z&Create a new managedidentities handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__,ProjectsLocationsGlobalDomainsBackupsService)projects_locations_global_domains_backups4ProjectsLocationsGlobalDomainsSqlIntegrationsService1projects_locations_global_domains_sqlIntegrations%ProjectsLocationsGlobalDomainsService!projects_locations_global_domains(ProjectsLocationsGlobalOperationsService$projects_locations_global_operations&ProjectsLocationsGlobalPeeringsService"projects_locations_global_peeringsProjectsLocationsGlobalServiceprojects_locations_globalProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               ]lib/googlecloudsdk/generated_clients/apis/managedidentities/v1/managedidentities_v1_client.pyr   zManagedidentitiesV1.__init__   s     
C	
t-'d%l)3 7+ . - 6:5f5fgk5lD2=A=v=vw{=|D:-1-W-WX\-]D*040]0]^b0cD-.2.Y.YZ^._D+%)%H%H%ND"";;DAD((.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_        ddZd e_        ddZd e_         xZS )@ManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsServicezIService class for the projects_locations_global_domains_backups resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr*   clientr,   s     r-   r   zIManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.__init__8   s$    LLd\]cddr.   c                 L    | j                  d      }| j                  |||      S )a!  Creates a Backup for a domain.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsBackupsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Createglobal_paramsGetMethodConfig
_RunMethodr*   requestr9   configs       r-   r7   zGManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.Create=   1     ##H-f__
'  8 8r.   c                  H    t        j                  ddddgdgdgdddd	d
      S )NEv1/projects/{projectsId}/locations/global/domains/{domainsId}/backupsPOSTzBmanagedidentities.projects.locations.global.domains.backups.createparentbackupIdv1/{+parent}/backupsbackupCManagedidentitiesProjectsLocationsGlobalDomainsBackupsCreateRequest	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>zIManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.<lambda>J   s6    8#9#9YV zJ \,_&$r.   c                 L    | j                  d      }| j                  |||      S )a  Deletes identified Backup.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsBackupsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Deleter8   r:   r=   s       r-   r[   zGManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.DeleteX   r@   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NQv1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}DELETEzBmanagedidentities.projects.locations.global.domains.backups.deletename
v1/{+name} CManagedidentitiesProjectsLocationsGlobalDomainsBackupsDeleteRequestrI   FrJ   rV   rX   r.   r-   rY   zIManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.<lambda>e   s4    8#9#9eVxH"_&$r.   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single Backup.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsBackupsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Backup) The response message.
      Getr8   r:   r=   s       r-   rd   zDManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.Gets   1     ##E*f__
'  8 8r.   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr]   GETz?managedidentities.projects.locations.global.domains.backups.getr_   r`   ra   @ManagedidentitiesProjectsLocationsGlobalDomainsBackupsGetRequestBackupFrJ   rV   rX   r.   r-   rY   zIManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.<lambda>   s4     6 6eSxH"\#!r.   c                 L    | j                  d      }| j                  |||      S )a  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsBackupsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      GetIamPolicyr8   r:   r=   s       r-   rk   zMManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.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 )Nz^v1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}:getIamPolicyrg   zHmanagedidentities.projects.locations.global.domains.backups.getIamPolicyresourceoptions_requestedPolicyVersionv1/{+resource}:getIamPolicyra   IManagedidentitiesProjectsLocationsGlobalDomainsBackupsGetIamPolicyRequestPolicyFrJ   rV   rX   r.   r-   rY   zIManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.<lambda>   s7    )?)?r\"|L673e#*r.   c                 L    | j                  d      }| j                  |||      S )a+  Lists Backup in a given project.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsBackupsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListBackupsResponse) The response message.
      Listr8   r:   r=   s       r-   rt   zEManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.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 )NrB   rg   z@managedidentities.projects.locations.global.domains.backups.listrD   filterorderBypageSize	pageTokenrF   ra   AManagedidentitiesProjectsLocationsGlobalDomainsBackupsListRequestListBackupsResponseFrJ   rV   rX   r.   r-   rY   zIManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.<lambda>   s4    !7!7YT zJC,]0"r.   c                 L    | j                  d      }| j                  |||      S )a*  Updates the labels for specified Backup.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsBackupsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Patchr8   r:   r=   s       r-   r   zFManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.Patch   1     ##G,f__
'  8 8r.   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr]   PATCHzAmanagedidentities.projects.locations.global.domains.backups.patchr_   
updateMaskr`   rG   BManagedidentitiesProjectsLocationsGlobalDomainsBackupsPatchRequestrI   FrJ   rV   rX   r.   r-   rY   zIManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.<lambda>   s6    ("8"8eUxH"^"^&#r.   c                 L    | j                  d      }| j                  |||      S )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsBackupsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      SetIamPolicyr8   r:   r=   s       r-   r   zMManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.SetIamPolicy   rl   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz^v1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}:setIamPolicyrC   zHmanagedidentities.projects.locations.global.domains.backups.setIamPolicyrn   v1/{+resource}:setIamPolicysetIamPolicyRequestIManagedidentitiesProjectsLocationsGlobalDomainsBackupsSetIamPolicyRequestrr   FrJ   rV   rX   r.   r-   rY   zIManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.<lambda>   s4    )?)?r\"|L3+e#*r.   c                 L    | j                  d      }| j                  |||      S )a}  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsBackupsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      TestIamPermissionsr8   r:   r=   s       r-   r   zSManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.TestIamPermissions   2     ##$89f__
'  8 8r.   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzdv1/projects/{projectsId}/locations/global/domains/{domainsId}/backups/{backupsId}:testIamPermissionsrC   zNmanagedidentities.projects.locations.global.domains.backups.testIamPermissionsrn   !v1/{+resource}:testIamPermissionstestIamPermissionsRequestOManagedidentitiesProjectsLocationsGlobalDomainsBackupsTestIamPermissionsRequestTestIamPermissionsResponseFrJ   rV   rX   r.   r-   rY   zIManagedidentitiesV1.ProjectsLocationsGlobalDomainsBackupsService.<lambda>  s4    x/E/Exb"|L91k70r.   r2   __name__
__module____qualname____doc___NAMEr   r7   method_configr[   rd   rk   rt   r   r   r   __classcell__r,   s   @r-   r   r0   3   s    S7E
8F8F8C8"L8D8E8"L8($$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 )	HManagedidentitiesV1.ProjectsLocationsGlobalDomainsSqlIntegrationsServicezQService class for the projects_locations_global_domains_sqlIntegrations resource.r   c                 N    t         t        j                  |   |       i | _        y r2   )r   r   r   r   r3   r4   s     r-   r   zQManagedidentitiesV1.ProjectsLocationsGlobalDomainsSqlIntegrationsService.__init__  s%    TTVZdekldr.   c                 L    | j                  d      }| j                  |||      S )a5  Gets details of a single sqlIntegration.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsSqlIntegrationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SqlIntegration) The response message.
      rd   r8   r:   r=   s       r-   rd   zLManagedidentitiesV1.ProjectsLocationsGlobalDomainsSqlIntegrationsService.Get  re   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzav1/projects/{projectsId}/locations/global/domains/{domainsId}/sqlIntegrations/{sqlIntegrationsId}rg   zGmanagedidentities.projects.locations.global.domains.sqlIntegrations.getr_   r`   ra   HManagedidentitiesProjectsLocationsGlobalDomainsSqlIntegrationsGetRequestSqlIntegrationFrJ   rV   rX   r.   r-   rY   zQManagedidentitiesV1.ProjectsLocationsGlobalDomainsSqlIntegrationsService.<lambda>,  s4     6 6u[xH"d+!r.   c                 L    | j                  d      }| j                  |||      S )aC  Lists SqlIntegrations in a given domain.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsSqlIntegrationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListSqlIntegrationsResponse) The response message.
      rt   r8   r:   r=   s       r-   rt   zMManagedidentitiesV1.ProjectsLocationsGlobalDomainsSqlIntegrationsService.List:  ru   r.   c                  J    t        j                  ddddgdgg ddddd	d
      S )NzMv1/projects/{projectsId}/locations/global/domains/{domainsId}/sqlIntegrationsrg   zHmanagedidentities.projects.locations.global.domains.sqlIntegrations.listrD   rw   zv1/{+parent}/sqlIntegrationsra   IManagedidentitiesProjectsLocationsGlobalDomainsSqlIntegrationsListRequestListSqlIntegrationsResponseFrJ   rV   rX   r.   r-   rY   zQManagedidentitiesV1.ProjectsLocationsGlobalDomainsSqlIntegrationsService.<lambda>G  s4    !7!7a\ zJC4e8"r.   r2   
r   r   r   r   r   r   rd   r   rt   r   r   s   @r-   r   r     s1    [?E
8C8D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_        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_        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 )/9ManagedidentitiesV1.ProjectsLocationsGlobalDomainsServicezAService class for the projects_locations_global_domains resource.r   c                 N    t         t        j                  |   |       i | _        y r2   )r   r   r   r   r3   r4   s     r-   r   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.__init__Z  s$    EEtUV\]dr.   c                 L    | j                  d      }| j                  |||      S )a  Adds an AD trust to a domain.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsAttachTrustRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      AttachTrustr8   r:   r=   s       r-   r   zEManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.AttachTrust_  1     ##M2f__
'  8 8r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzIv1/projects/{projectsId}/locations/global/domains/{domainsId}:attachTrustrC   z?managedidentities.projects.locations.global.domains.attachTrustr_   zv1/{+name}:attachTrustattachTrustRequestAManagedidentitiesProjectsLocationsGlobalDomainsAttachTrustRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>l  4    (>(>]SxH.*]&)r.   c                 L    | j                  d      }| j                  |||      S )al  CheckMigrationPermission API gets the current state of DomainMigration.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsCheckMigrationPermissionRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (CheckMigrationPermissionResponse) The response message.
      CheckMigrationPermissionr8   r:   r=   s       r-   r   zRManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.CheckMigrationPermissionz  s2     ##$>?f__
'  8 8r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzVv1/projects/{projectsId}/locations/global/domains/{domainsId}:checkMigrationPermissionrC   zLmanagedidentities.projects.locations.global.domains.checkMigrationPermissiondomainz%v1/{+domain}:checkMigrationPermissioncheckMigrationPermissionRequestNManagedidentitiesProjectsLocationsGlobalDomainsCheckMigrationPermissionRequest CheckMigrationPermissionResponseFrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s4    X5K5Kj` zJ=7j=6r.   c                 L    | j                  d      }| j                  |||      S )a  Creates a Microsoft AD domain.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r7   r8   r:   r=   s       r-   r7   z@ManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.Create  r@   r.   c                  H    t        j                  ddddgdgdgdddd	d
      S )N1v1/projects/{projectsId}/locations/global/domainsrC   z:managedidentities.projects.locations.global.domains.createrD   
domainNamev1/{+parent}/domainsr   <ManagedidentitiesProjectsLocationsGlobalDomainsCreateRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s6    8#9#9EN zJ"^,X&$r.   c                 L    | j                  d      }| j                  |||      S )a  Deletes a domain.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r[   r8   r:   r=   s       r-   r[   z@ManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.Delete  r@   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )N=v1/projects/{projectsId}/locations/global/domains/{domainsId}r^   z:managedidentities.projects.locations.global.domains.deleter_   r`   ra   <ManagedidentitiesProjectsLocationsGlobalDomainsDeleteRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s4    8#9#9QNxH"X&$r.   c                 L    | j                  d      }| j                  |||      S )a  Removes an AD trust.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsDetachTrustRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      DetachTrustr8   r:   r=   s       r-   r   zEManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.DetachTrust  r   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzIv1/projects/{projectsId}/locations/global/domains/{domainsId}:detachTrustrC   z?managedidentities.projects.locations.global.domains.detachTrustr_   zv1/{+name}:detachTrustdetachTrustRequestAManagedidentitiesProjectsLocationsGlobalDomainsDetachTrustRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  r   r.   c                 L    | j                  d      }| j                  |||      S )a  Disable Domain Migration.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsDisableMigrationRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      DisableMigrationr8   r:   r=   s       r-   r   zJManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.DisableMigration  2     ##$67f__
'  8 8r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzNv1/projects/{projectsId}/locations/global/domains/{domainsId}:disableMigrationrC   zDmanagedidentities.projects.locations.global.domains.disableMigrationr   zv1/{+domain}:disableMigrationdisableMigrationRequestFManagedidentitiesProjectsLocationsGlobalDomainsDisableMigrationRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s4    X-C-CbX zJ5/b&.r.   c                 L    | j                  d      }| j                  |||      S )aU  DomainJoinMachine API joins a Compute Engine VM to the domain.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsDomainJoinMachineRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (DomainJoinMachineResponse) The response message.
      DomainJoinMachiner8   r:   r=   s       r-   r   zKManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.DomainJoinMachine  s2     ##$78f__
'  8 8r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzOv1/projects/{projectsId}/locations/global/domains/{domainsId}:domainJoinMachinerC   zEmanagedidentities.projects.locations.global.domains.domainJoinMachiner   zv1/{+domain}:domainJoinMachinedomainJoinMachineRequestGManagedidentitiesProjectsLocationsGlobalDomainsDomainJoinMachineRequestDomainJoinMachineResponseFrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s4    h.D.DcY zJ60c6/r.   c                 L    | j                  d      }| j                  |||      S )a  Enable Domain Migration.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsEnableMigrationRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      EnableMigrationr8   r:   r=   s       r-   r   zIManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.EnableMigration  s2     ##$56f__
'  8 8r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzMv1/projects/{projectsId}/locations/global/domains/{domainsId}:enableMigrationrC   zCmanagedidentities.projects.locations.global.domains.enableMigrationr   zv1/{+domain}:enableMigrationenableMigrationRequestEManagedidentitiesProjectsLocationsGlobalDomainsEnableMigrationRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>)  s4    H,B,BaW zJ4.a&-r.   c                 L    | j                  d      }| j                  |||      S )a  Extend Schema for Domain.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsExtendSchemaRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      ExtendSchemar8   r:   r=   s       r-   r   zFManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.ExtendSchema7  rl   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzJv1/projects/{projectsId}/locations/global/domains/{domainsId}:extendSchemarC   z@managedidentities.projects.locations.global.domains.extendSchemar   zv1/{+domain}:extendSchemaextendSchemaRequestBManagedidentitiesProjectsLocationsGlobalDomainsExtendSchemaRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>D  s4    )?)?^T zJ1+^&*r.   c                 L    | j                  d      }| j                  |||      S )a  Gets information about a domain.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Domain) The response message.
      rd   r8   r:   r=   s       r-   rd   z=ManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.GetR  re   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   rg   z7managedidentities.projects.locations.global.domains.getr_   r`   ra   9ManagedidentitiesProjectsLocationsGlobalDomainsGetRequestDomainFrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>_  s4     6 6QKxH"U#!r.   c                 L    | j                  d      }| j                  |||      S )a|  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      rk   r8   r:   r=   s       r-   rk   zFManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.GetIamPolicym  rl   r.   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzJv1/projects/{projectsId}/locations/global/domains/{domainsId}:getIamPolicyrg   z@managedidentities.projects.locations.global.domains.getIamPolicyrn   ro   rp   ra   BManagedidentitiesProjectsLocationsGlobalDomainsGetIamPolicyRequestrr   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>z  s7    )?)?^T"|L673^#*r.   c                 L    | j                  d      }| j                  |||      S )a)  Gets the domain ldaps settings.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsGetLdapssettingsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (LDAPSSettings) The response message.
      GetLdapssettingsr8   r:   r=   s       r-   r   zJManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.GetLdapssettings  r   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NKv1/projects/{projectsId}/locations/global/domains/{domainsId}/ldapssettingsrg   zDmanagedidentities.projects.locations.global.domains.getLdapssettingsr_   v1/{+name}/ldapssettingsra   FManagedidentitiesProjectsLocationsGlobalDomainsGetLdapssettingsRequestLDAPSSettingsFrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s4    X-C-C_XxH0b*.r.   c                 L    | j                  d      }| j                  |||      S )a  Lists domains in a project.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListDomainsResponse) The response message.
      rt   r8   r:   r=   s       r-   rt   z>ManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.List  ru   r.   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rg   z8managedidentities.projects.locations.global.domains.listrD   rw   r   ra   :ManagedidentitiesProjectsLocationsGlobalDomainsListRequestListDomainsResponseFrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s4    !7!7EL zJC,V0"r.   c                 L    | j                  d      }| j                  |||      S )a.  Updates the metadata and configuration of a domain.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   r8   r:   r=   s       r-   r   z?ManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.Patch  r   r.   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr   r   z9managedidentities.projects.locations.global.domains.patchr_   r   r`   r   ;ManagedidentitiesProjectsLocationsGlobalDomainsPatchRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s6    ("8"8QMxH"^"W&#r.   c                 L    | j                  d      }| j                  |||      S )a,  Updates the DNS conditional forwarder.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsReconfigureTrustRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      ReconfigureTrustr8   r:   r=   s       r-   r   zJManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.ReconfigureTrust  r   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzNv1/projects/{projectsId}/locations/global/domains/{domainsId}:reconfigureTrustrC   zDmanagedidentities.projects.locations.global.domains.reconfigureTrustr_   zv1/{+name}:reconfigureTrustreconfigureTrustRequestFManagedidentitiesProjectsLocationsGlobalDomainsReconfigureTrustRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s4    X-C-CbXxH3/b&.r.   c                 L    | j                  d      }| j                  |||      S )aB  Resets a domain's administrator password.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsResetAdminPasswordRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ResetAdminPasswordResponse) The response message.
      ResetAdminPasswordr8   r:   r=   s       r-   r   zLManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.ResetAdminPassword  r   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzPv1/projects/{projectsId}/locations/global/domains/{domainsId}:resetAdminPasswordrC   zFmanagedidentities.projects.locations.global.domains.resetAdminPasswordr_   zv1/{+name}:resetAdminPasswordresetAdminPasswordRequestHManagedidentitiesProjectsLocationsGlobalDomainsResetAdminPasswordRequestResetAdminPasswordResponseFrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s4    x/E/EdZxH51d70r.   c                 L    | j                  d      }| j                  |||      S )aH  RestoreDomain restores domain backup mentioned in the RestoreDomainRequest.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsRestoreRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Restorer8   r:   r=   s       r-   r   zAManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.Restore  s1     ##I.f__
'  8 8r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzEv1/projects/{projectsId}/locations/global/domains/{domainsId}:restorerC   z;managedidentities.projects.locations.global.domains.restorer_   zv1/{+name}:restorerestoreDomainRequest=ManagedidentitiesProjectsLocationsGlobalDomainsRestoreRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s4    H$:$:YOxH*,Y&%r.   c                 L    | j                  d      }| j                  |||      S )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r   r8   r:   r=   s       r-   r   zFManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.SetIamPolicy*  rl   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzJv1/projects/{projectsId}/locations/global/domains/{domainsId}:setIamPolicyrC   z@managedidentities.projects.locations.global.domains.setIamPolicyrn   r   r   BManagedidentitiesProjectsLocationsGlobalDomainsSetIamPolicyRequestrr   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>7  s4    )?)?^T"|L3+^#*r.   c                 L    | j                  d      }| j                  |||      S )av  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      r   r8   r:   r=   s       r-   r   zLManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.TestIamPermissionsE  r   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzPv1/projects/{projectsId}/locations/global/domains/{domainsId}:testIamPermissionsrC   zFmanagedidentities.projects.locations.global.domains.testIamPermissionsrn   r   r   HManagedidentitiesProjectsLocationsGlobalDomainsTestIamPermissionsRequestr   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>R  s4    x/E/EdZ"|L91d70r.   c                 L    | j                  d      }| j                  |||      S )a)  Patches a single ldaps settings.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsUpdateLdapssettingsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      UpdateLdapssettingsr8   r:   r=   s       r-   r
  zMManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.UpdateLdapssettings`  s2     ##$9:f__
'  8 8r.   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr   r   zGmanagedidentities.projects.locations.global.domains.updateLdapssettingsr_   r   r   lDAPSSettingsIManagedidentitiesProjectsLocationsGlobalDomainsUpdateLdapssettingsRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>m  s6    0F0F_[xH"^0%e&1r.   c                 L    | j                  d      }| j                  |||      S )a  Validates a trust state, that the target domain is reachable, and that the target domain is able to accept incoming trust requests.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalDomainsValidateTrustRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      ValidateTrustr8   r:   r=   s       r-   r  zGManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.ValidateTrust{  s1     ##O4f__
'  8 8r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzKv1/projects/{projectsId}/locations/global/domains/{domainsId}:validateTrustrC   zAmanagedidentities.projects.locations.global.domains.validateTrustr_   zv1/{+name}:validateTrustvalidateTrustRequestCManagedidentitiesProjectsLocationsGlobalDomainsValidateTrustRequestrI   FrJ   rV   rX   r.   r-   rY   zBManagedidentitiesV1.ProjectsLocationsGlobalDomainsService.<lambda>  s4    (*@*@_UxH0,_&+r.   r2   )r   r   r   r   r   r   r   r   r   r7   r[   r   r   r   r   r   rd   rk   r   rt   r   r   r   r   r   r   r
  r  r   r   s   @r-   r   r   U  sV   K/E
8!K8.*8F8F8!K8&"8'#8%O!8"L8C8"L8&"8D8E8&"8($8G8"L8($8)%8#M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
_         xZS )<ManagedidentitiesV1.ProjectsLocationsGlobalOperationsServicezDService class for the projects_locations_global_operations resource.r!   c                 N    t         t        j                  |   |       i | _        y r2   )r   r   r    r   r3   r4   s     r-   r   zEManagedidentitiesV1.ProjectsLocationsGlobalOperationsService.__init__  s$    HH$XY_`dr.   c                 L    | j                  d      }| j                  |||      S )aF  Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalOperationsCancelRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      Cancelr8   r:   r=   s       r-   r  zCManagedidentitiesV1.ProjectsLocationsGlobalOperationsService.Cancel  r@   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzJv1/projects/{projectsId}/locations/global/operations/{operationsId}:cancelrC   z=managedidentities.projects.locations.global.operations.cancelr_   zv1/{+name}:cancelcancelOperationRequest?ManagedidentitiesProjectsLocationsGlobalOperationsCancelRequestEmptyFrJ   rV   rX   r.   r-   rY   zEManagedidentitiesV1.ProjectsLocationsGlobalOperationsService.<lambda>  s4    8#9#9^QxH).["$r.   c                 L    | j                  d      }| j                  |||      S )a  Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalOperationsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r[   r8   r:   r=   s       r-   r[   zCManagedidentitiesV1.ProjectsLocationsGlobalOperationsService.Delete  r@   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NCv1/projects/{projectsId}/locations/global/operations/{operationsId}r^   z=managedidentities.projects.locations.global.operations.deleter_   r`   ra   ?ManagedidentitiesProjectsLocationsGlobalOperationsDeleteRequestr  FrJ   rV   rX   r.   r-   rY   zEManagedidentitiesV1.ProjectsLocationsGlobalOperationsService.<lambda>  s4    8#9#9WQxH"["$r.   c                 L    | j                  d      }| j                  |||      S )a  Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalOperationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rd   r8   r:   r=   s       r-   rd   z@ManagedidentitiesV1.ProjectsLocationsGlobalOperationsService.Get  re   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  rg   z:managedidentities.projects.locations.global.operations.getr_   r`   ra   <ManagedidentitiesProjectsLocationsGlobalOperationsGetRequestrI   FrJ   rV   rX   r.   r-   rY   zEManagedidentitiesV1.ProjectsLocationsGlobalOperationsService.<lambda>  s4     6 6WNxH"X&!r.   c                 L    | j                  d      }| j                  |||      S )a  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalOperationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListOperationsResponse) The response message.
      rt   r8   r:   r=   s       r-   rt   zAManagedidentitiesV1.ProjectsLocationsGlobalOperationsService.List  ru   r.   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz4v1/projects/{projectsId}/locations/global/operationsrg   z;managedidentities.projects.locations.global.operations.listr_   )rx   rz   r{   r`   ra   =ManagedidentitiesProjectsLocationsGlobalOperationsListRequestListOperationsResponseFrJ   rV   rX   r.   r-   rY   zEManagedidentitiesV1.ProjectsLocationsGlobalOperationsService.<lambda>  s4    !7!7HOxH8"Y3"r.   r2   )r   r   r   r   r   r   r  r   r[   rd   rt   r   r   s   @r-   r    r    sO    N2E
8F8F8C8D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_        ddZd e_         xZS ):ManagedidentitiesV1.ProjectsLocationsGlobalPeeringsServicezBService class for the projects_locations_global_peerings resource.r#   c                 N    t         t        j                  |   |       i | _        y r2   )r   r   r"   r   r3   r4   s     r-   r   zCManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.__init__  s$    FFVW]^dr.   c                 L    | j                  d      }| j                  |||      S )a'  Creates a Peering for Managed AD instance.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalPeeringsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r7   r8   r:   r=   s       r-   r7   zAManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.Create  r@   r.   c                  H    t        j                  ddddgdgdgdddd	d
      S )N2v1/projects/{projectsId}/locations/global/peeringsrC   z;managedidentities.projects.locations.global.peerings.createrD   	peeringIdv1/{+parent}/peeringspeering=ManagedidentitiesProjectsLocationsGlobalPeeringsCreateRequestrI   FrJ   rV   rX   r.   r-   rY   zCManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.<lambda>#  s6    8#9#9FO zJ!]-Y&$r.   c                 L    | j                  d      }| j                  |||      S )a  Deletes identified Peering.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalPeeringsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r[   r8   r:   r=   s       r-   r[   zAManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.Delete1  r@   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )N?v1/projects/{projectsId}/locations/global/peerings/{peeringsId}r^   z;managedidentities.projects.locations.global.peerings.deleter_   r`   ra   =ManagedidentitiesProjectsLocationsGlobalPeeringsDeleteRequestrI   FrJ   rV   rX   r.   r-   rY   zCManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.<lambda>>  s4    8#9#9SOxH"Y&$r.   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single Peering.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalPeeringsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Peering) The response message.
      rd   r8   r:   r=   s       r-   rd   z>ManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.GetL  re   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr3  rg   z8managedidentities.projects.locations.global.peerings.getr_   r`   ra   :ManagedidentitiesProjectsLocationsGlobalPeeringsGetRequestPeeringFrJ   rV   rX   r.   r-   rY   zCManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.<lambda>Y  s4     6 6SLxH"V$!r.   c                 L    | j                  d      }| j                  |||      S )a}  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalPeeringsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      rk   r8   r:   r=   s       r-   rk   zGManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.GetIamPolicyg  rl   r.   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzLv1/projects/{projectsId}/locations/global/peerings/{peeringsId}:getIamPolicyrg   zAmanagedidentities.projects.locations.global.peerings.getIamPolicyrn   ro   rp   ra   CManagedidentitiesProjectsLocationsGlobalPeeringsGetIamPolicyRequestrr   FrJ   rV   rX   r.   r-   rY   zCManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.<lambda>t  s7    )?)?`U"|L673_#*r.   c                 L    | j                  d      }| j                  |||      S )a(  Lists Peerings in a given project.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalPeeringsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListPeeringsResponse) The response message.
      rt   r8   r:   r=   s       r-   rt   z?ManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.List  ru   r.   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr,  rg   z9managedidentities.projects.locations.global.peerings.listrD   rw   r.  ra   ;ManagedidentitiesProjectsLocationsGlobalPeeringsListRequestListPeeringsResponseFrJ   rV   rX   r.   r-   rY   zCManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.<lambda>  s4    !7!7FM zJC-W1"r.   c                 L    | j                  d      }| j                  |||      S )a%  Updates the labels for specified Peering.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalPeeringsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   r8   r:   r=   s       r-   r   z@ManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.Patch  r   r.   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr3  r   z:managedidentities.projects.locations.global.peerings.patchr_   r   r`   r/  <ManagedidentitiesProjectsLocationsGlobalPeeringsPatchRequestrI   FrJ   rV   rX   r.   r-   rY   zCManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.<lambda>  s6    ("8"8SNxH"^"X&#r.   c                 L    | j                  d      }| j                  |||      S )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalPeeringsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r   r8   r:   r=   s       r-   r   zGManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.SetIamPolicy  rl   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzLv1/projects/{projectsId}/locations/global/peerings/{peeringsId}:setIamPolicyrC   zAmanagedidentities.projects.locations.global.peerings.setIamPolicyrn   r   r   CManagedidentitiesProjectsLocationsGlobalPeeringsSetIamPolicyRequestrr   FrJ   rV   rX   r.   r-   rY   zCManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.<lambda>  s4    )?)?`U"|L3+_#*r.   c                 L    | j                  d      }| j                  |||      S )aw  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

      Args:
        request: (ManagedidentitiesProjectsLocationsGlobalPeeringsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      r   r8   r:   r=   s       r-   r   zMManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.TestIamPermissions  r   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )NzRv1/projects/{projectsId}/locations/global/peerings/{peeringsId}:testIamPermissionsrC   zGmanagedidentities.projects.locations.global.peerings.testIamPermissionsrn   r   r   IManagedidentitiesProjectsLocationsGlobalPeeringsTestIamPermissionsRequestr   FrJ   rV   rX   r.   r-   rY   zCManagedidentitiesV1.ProjectsLocationsGlobalPeeringsService.<lambda>  s4    x/E/Ef["|L91e70r.   r2   r   r   s   @r-   r"   r(    s    L0E
8F8F8C8"L8D8E8"L8($$r.   r"   c                   &     e Zd ZdZdZ fdZ xZS )2ManagedidentitiesV1.ProjectsLocationsGlobalServicez9Service class for the projects_locations_global resource.r%   c                 N    t         t        j                  |   |       i | _        y r2   )r   r   r$   r   r3   r4   s     r-   r   z;ManagedidentitiesV1.ProjectsLocationsGlobalService.__init__  s#    >>NvVdr.   r   r   r   r   r   r   r   r   s   @r-   r$   rJ    s    C'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 )	,ManagedidentitiesV1.ProjectsLocationsServicez2Service class for the projects_locations resource.r'   c                 N    t         t        j                  |   |       i | _        y r2   )r   r   r&   r   r3   r4   s     r-   r   z5ManagedidentitiesV1.ProjectsLocationsService.__init__  s#    88$HPdr.   c                 L    | j                  d      }| j                  |||      S )a  Gets information about a location.

      Args:
        request: (ManagedidentitiesProjectsLocationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Location) The response message.
      rd   r8   r:   r=   s       r-   rd   z0ManagedidentitiesV1.ProjectsLocationsService.Get  re   r.   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz0v1/projects/{projectsId}/locations/{locationsId}rg   z(managedidentities.projects.locations.getr_   r`   ra   ,ManagedidentitiesProjectsLocationsGetRequestLocationFrJ   rV   rX   r.   r-   rY   z5ManagedidentitiesV1.ProjectsLocationsService.<lambda>  s4     6 6D<xH"H%!r.   c                 L    | j                  d      }| j                  |||      S )a:  Lists information about the supported locations for this service.

      Args:
        request: (ManagedidentitiesProjectsLocationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListLocationsResponse) The response message.
      rt   r8   r:   r=   s       r-   rt   z1ManagedidentitiesV1.ProjectsLocationsService.List  ru   r.   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz"v1/projects/{projectsId}/locationsrg   z)managedidentities.projects.locations.listr_   )extraLocationTypesrx   rz   r{   zv1/{+name}/locationsra   -ManagedidentitiesProjectsLocationsListRequestListLocationsResponseFrJ   rV   rX   r.   r-   rY   z5ManagedidentitiesV1.ProjectsLocationsService.<lambda>*  s4    !7!76=xHN,I2"r.   r2   r   r   s   @r-   r&   rN    s1    < E
8C8Dr.   r&   c                   &     e Zd ZdZdZ fdZ xZS )#ManagedidentitiesV1.ProjectsServicez(Service class for the projects resource.r)   c                 N    t         t        j                  |   |       i | _        y r2   )r   r   r(   r   r3   r4   s     r-   r   z,ManagedidentitiesV1.ProjectsService.__init__=  s#    //?Gdr.   rL  r   s   @r-   r(   rZ  8  s    2E r.   r(   )ra   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   s   @r-   r   r   
   s    J/8(B- (=>'(*"."+,,()-6:/4<@?C	/0`X5L5L `D>X=T=T >@h.E.E Bt1H1H tl`x/F/F `Dx'>'> >!8!8 >@//  r.   r   N)
r   
__future__r   apitools.base.pyr   :googlecloudsdk.generated_clients.apis.managedidentities.v1r   r\  BaseApiClientr   rX   r.   r-   <module>rm     s'    @ ' % pv(00 vr.   