
                         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)z4Generated client library for cloudquotas version v1.    )absolute_import)base_api)cloudquotas_v1_messagesc                   T    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	 	 	 	 	 d0 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" G d* d+ej&                        Z# G d, d-ej&                        Z$ G d. d/ej&                        Z% xZ&S )1CloudquotasV1z<Generated client library for service cloudquotas version v1.z#https://cloudquotas.googleapis.com/z(https://cloudquotas.mtls.googleapis.com/cloudquotasz.https://www.googleapis.com/auth/cloud-platformv1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                 z   |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        | j                  |       | _        | j                  |       | _	        | j                  |       | _        | j                  |       | _        | j                  |       | _        | j!                  |       | _        | j%                  |       | _        | j)                  |       | _        | j-                  |       | _        | j1                  |       | _        | j5                  |       | _        | j9                  |       | _        | j=                  |       | _        | jA                  |       | _!        | jE                  |       | _#        | jI                  |       | _%        | jM                  |       | _'        y)z Create a new cloudquotas handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)(BASE_URLsuperr   __init__,FoldersLocationsQuotaAdjusterSettingsService'folders_locations_quotaAdjusterSettings'FoldersLocationsQuotaPreferencesService"folders_locations_quotaPreferences)FoldersLocationsServicesQuotaInfosService%folders_locations_services_quotaInfosFoldersLocationsServicesServicefolders_locations_servicesFoldersLocationsServicefolders_locationsFoldersServicefolders2OrganizationsLocationsQuotaAdjusterSettingsService-organizations_locations_quotaAdjusterSettings-OrganizationsLocationsQuotaPreferencesService(organizations_locations_quotaPreferences/OrganizationsLocationsServicesQuotaInfosService+organizations_locations_services_quotaInfos%OrganizationsLocationsServicesService organizations_locations_servicesOrganizationsLocationsServiceorganizations_locationsOrganizationsServiceorganizations-ProjectsLocationsQuotaAdjusterSettingsService(projects_locations_quotaAdjusterSettings(ProjectsLocationsQuotaPreferencesService#projects_locations_quotaPreferences*ProjectsLocationsServicesQuotaInfosService&projects_locations_services_quotaInfos ProjectsLocationsServicesServiceprojects_locations_servicesProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Qlib/googlecloudsdk/generated_clients/apis/cloudquotas/v1/cloudquotas_v1_client.pyr   zCloudquotasV1.__init__   s    
C	-''d%l)3 7+ ( - 483d3dei3jD0.2.Z.Z[_.`D+151_1_`d1eD.&*&J&J4&PD#!99$?D&&t,DL9=9p9pqu9vD6484f4fgk4lD17;7k7klp7qD4,0,V,VW[,\D)#'#E#Ed#KD 2248D484f4fgk4lD1/3/\/\]a/bD,262a2abf2gD/'+'L'LT'RD$";;DAD((.DM    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 )	:CloudquotasV1.FoldersLocationsQuotaAdjusterSettingsServicezGService class for the folders_locations_quotaAdjusterSettings resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr>   clientr@   s     rA   r   zCCloudquotasV1.FoldersLocationsQuotaAdjusterSettingsService.__init__B   s#    MFFVW]^drB   c                 L    | j                  d      }| j                  |||      S )a]  RPC Method for getting QuotaAdjusterSettings based on the request.

      Args:
        request: (CloudquotasFoldersLocationsQuotaAdjusterSettingsGetQuotaAdjusterSettingsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaAdjusterSettings) The response message.
      GetQuotaAdjusterSettingsglobal_paramsGetMethodConfig
_RunMethodr>   requestrM   configs       rA   rK   zSCloudquotasV1.FoldersLocationsQuotaAdjusterSettingsService.GetQuotaAdjusterSettingsG   2     ##$>?f__
'  8 8rB   c                  F    t        j                  ddddgdgg ddddd	
      S )NDv1/folders/{foldersId}/locations/{locationsId}/quotaAdjusterSettingsGETzLcloudquotas.folders.locations.quotaAdjusterSettings.getQuotaAdjusterSettingsname
v1/{+name} OCloudquotasFoldersLocationsQuotaAdjusterSettingsGetQuotaAdjusterSettingsRequestQuotaAdjusterSettingsF	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 rB   rA   <lambda>zCCloudquotasV1.FoldersLocationsQuotaAdjusterSettingsService.<lambda>T   s4    X5K5KX`xH"k26rB   c                 L    | j                  d      }| j                  |||      S )aa  RPC Method for updating QuotaAdjusterSettings based on the request.

      Args:
        request: (CloudquotasFoldersLocationsQuotaAdjusterSettingsUpdateQuotaAdjusterSettingsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaAdjusterSettings) The response message.
      UpdateQuotaAdjusterSettingsrL   rN   rQ   s       rA   rn   zVCloudquotasV1.FoldersLocationsQuotaAdjusterSettingsService.UpdateQuotaAdjusterSettingsb   2     ##$ABf__
'  8 8rB   c                  J    t        j                  ddddgdgddgddd	d
d      S )NrV   PATCHzOcloudquotas.folders.locations.quotaAdjusterSettings.updateQuotaAdjusterSettingsrX   
updateMaskvalidateOnlyrY   quotaAdjusterSettingsRCloudquotasFoldersLocationsQuotaAdjusterSettingsUpdateQuotaAdjusterSettingsRequestr\   Fr]   ri   rk   rB   rA   rl   zCCloudquotasV1.FoldersLocationsQuotaAdjusterSettingsService.<lambda>o   s9    8N8NXcxH"N3"-n29rB   rF   
__name__
__module____qualname____doc___NAMEr   rK   method_configrn   __classcell__r@   s   @rA   r   rD   =   s3    Q5E
8.*81--rB   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 )5CloudquotasV1.FoldersLocationsQuotaPreferencesServicezBService class for the folders_locations_quotaPreferences resource.r   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r   r   rG   rH   s     rA   r   z>CloudquotasV1.FoldersLocationsQuotaPreferencesService.__init__   s#    MAA4QRXYdrB   c                 L    | j                  d      }| j                  |||      S )aH  Creates a new QuotaPreference that declares the desired value for a quota.

      Args:
        request: (CloudquotasFoldersLocationsQuotaPreferencesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaPreference) The response message.
      CreaterL   rN   rQ   s       rA   r   z<CloudquotasV1.FoldersLocationsQuotaPreferencesService.Create   1     ##H-f__
'  8 8rB   c                  J    t        j                  ddddgdgddgddd	d
d      S )N?v1/folders/{foldersId}/locations/{locationsId}/quotaPreferencesPOSTz5cloudquotas.folders.locations.quotaPreferences.createparentignoreSafetyChecksquotaPreferenceIdv1/{+parent}/quotaPreferencesquotaPreference8CloudquotasFoldersLocationsQuotaPreferencesCreateRequestQuotaPreferenceFr]   ri   rk   rB   rA   rl   z>CloudquotasV1.FoldersLocationsQuotaPreferencesService.<lambda>   s:    8#9#9SI zJ*,?@5'T,$rB   c                 L    | j                  d      }| j                  |||      S )a$  Gets details of a single QuotaPreference.

      Args:
        request: (CloudquotasFoldersLocationsQuotaPreferencesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaPreference) The response message.
      GetrL   rN   rQ   s       rA   r   z9CloudquotasV1.FoldersLocationsQuotaPreferencesService.Get   1     ##E*f__
'  8 8rB   c                  F    t        j                  ddddgdgg ddddd	
      S )NTv1/folders/{foldersId}/locations/{locationsId}/quotaPreferences/{quotaPreferencesId}rW   z2cloudquotas.folders.locations.quotaPreferences.getrX   rY   rZ   5CloudquotasFoldersLocationsQuotaPreferencesGetRequestr   Fr]   ri   rk   rB   rA   rl   z>CloudquotasV1.FoldersLocationsQuotaPreferencesService.<lambda>   s4     6 6hFxH"Q,!rB   c                 L    | j                  d      }| j                  |||      S )aK  Lists QuotaPreferences in a given project, folder or organization.

      Args:
        request: (CloudquotasFoldersLocationsQuotaPreferencesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListQuotaPreferencesResponse) The response message.
      ListrL   rN   rQ   s       rA   r   z:CloudquotasV1.FoldersLocationsQuotaPreferencesService.List   1     ##F+f__
'  8 8rB   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rW   z3cloudquotas.folders.locations.quotaPreferences.listr   filterorderBypageSize	pageTokenr   rZ   6CloudquotasFoldersLocationsQuotaPreferencesListRequestListQuotaPreferencesResponseFr]   ri   rk   rB   rA   rl   z>CloudquotasV1.FoldersLocationsQuotaPreferencesService.<lambda>   s4    !7!7SG zJC5R9"rB   c                 L    | j                  d      }| j                  |||      S )a}  Updates the parameters of a single QuotaPreference. It can updates the config in any states, not just the ones pending approval.

      Args:
        request: (CloudquotasFoldersLocationsQuotaPreferencesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaPreference) The response message.
      PatchrL   rN   rQ   s       rA   r   z;CloudquotasV1.FoldersLocationsQuotaPreferencesService.Patch   1     ##G,f__
'  8 8rB   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rq   z4cloudquotas.folders.locations.quotaPreferences.patchrX   allowMissingr   rr   rs   rY   r   7CloudquotasFoldersLocationsQuotaPreferencesPatchRequestr   Fr]   ri   rk   rB   rA   rl   z>CloudquotasV1.FoldersLocationsQuotaPreferencesService.<lambda>   s4    ("8"8hHxHY"'S,#rB   rF   rw   rx   ry   rz   r{   r   r   r|   r   r   r   r}   r~   s   @rA   r   r   }   sO    L0E
8F8C8D8ErB   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 )	7CloudquotasV1.FoldersLocationsServicesQuotaInfosServicezEService class for the folders_locations_services_quotaInfos resource.r   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r   r   rG   rH   s     rA   r   z@CloudquotasV1.FoldersLocationsServicesQuotaInfosService.__init__   s#    MCCTSTZ[drB   c                 L    | j                  d      }| j                  |||      S )a?  Retrieve the QuotaInfo of a quota for a project, folder or organization.

      Args:
        request: (CloudquotasFoldersLocationsServicesQuotaInfosGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaInfo) The response message.
      r   rL   rN   rQ   s       rA   r   z;CloudquotasV1.FoldersLocationsServicesQuotaInfosService.Get   r   rB   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz^v1/folders/{foldersId}/locations/{locationsId}/services/{servicesId}/quotaInfos/{quotaInfosId}rW   z5cloudquotas.folders.locations.services.quotaInfos.getrX   rY   rZ   7CloudquotasFoldersLocationsServicesQuotaInfosGetRequest	QuotaInfoFr]   ri   rk   rB   rA   rl   z@CloudquotasV1.FoldersLocationsServicesQuotaInfosService.<lambda>
  s4     6 6rIxH"S&!rB   c                 L    | j                  d      }| j                  |||      S )aP  Lists QuotaInfos of all quotas for a given project, folder or organization.

      Args:
        request: (CloudquotasFoldersLocationsServicesQuotaInfosListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListQuotaInfosResponse) The response message.
      r   rL   rN   rQ   s       rA   r   z<CloudquotasV1.FoldersLocationsServicesQuotaInfosService.List  r   rB   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzOv1/folders/{foldersId}/locations/{locationsId}/services/{servicesId}/quotaInfosrW   z6cloudquotas.folders.locations.services.quotaInfos.listr   r   r   v1/{+parent}/quotaInfosrZ   8CloudquotasFoldersLocationsServicesQuotaInfosListRequestListQuotaInfosResponseFr]   ri   rk   rB   rA   rl   z@CloudquotasV1.FoldersLocationsServicesQuotaInfosService.<lambda>%  s9    !7!7cJ zJ +./T3"rB   rF   
rw   rx   ry   rz   r{   r   r   r|   r   r}   r~   s   @rA   r   r      s1    O3E
8C8DrB   r   c                   &     e Zd ZdZdZ fdZ xZS )-CloudquotasV1.FoldersLocationsServicesServicez:Service class for the folders_locations_services resource.r!   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r    r   rG   rH   s     rA   r   z6CloudquotasV1.FoldersLocationsServicesService.__init__8  s"    M994I&QdrB   rw   rx   ry   rz   r{   r   r}   r~   s   @rA   r    r   3  s    D(E rB   r    c                   &     e Zd ZdZdZ fdZ xZS )%CloudquotasV1.FoldersLocationsServicez1Service class for the folders_locations resource.r#   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r"   r   rG   rH   s     rA   r   z.CloudquotasV1.FoldersLocationsService.__init__B  s"    M114A&IdrB   r   r~   s   @rA   r"   r   =  s    ;E rB   r"   c                   &     e Zd ZdZdZ fdZ xZS )CloudquotasV1.FoldersServicez'Service class for the folders resource.r%   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r$   r   rG   rH   s     rA   r   z%CloudquotasV1.FoldersService.__init__L  s"    M(($8@drB   r   r~   s   @rA   r$   r   G  s    1E rB   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 )	@CloudquotasV1.OrganizationsLocationsQuotaAdjusterSettingsServicezMService class for the organizations_locations_quotaAdjusterSettings resource.r'   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r&   r   rG   rH   s     rA   r   zICloudquotasV1.OrganizationsLocationsQuotaAdjusterSettingsService.__init__V  s#    MLLd\]cddrB   c                 L    | j                  d      }| j                  |||      S )ac  RPC Method for getting QuotaAdjusterSettings based on the request.

      Args:
        request: (CloudquotasOrganizationsLocationsQuotaAdjusterSettingsGetQuotaAdjusterSettingsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaAdjusterSettings) The response message.
      rK   rL   rN   rQ   s       rA   rK   zYCloudquotasV1.OrganizationsLocationsQuotaAdjusterSettingsService.GetQuotaAdjusterSettings[  rT   rB   c                  F    t        j                  ddddgdgg ddddd	
      S )NPv1/organizations/{organizationsId}/locations/{locationsId}/quotaAdjusterSettingsrW   zRcloudquotas.organizations.locations.quotaAdjusterSettings.getQuotaAdjusterSettingsrX   rY   rZ   UCloudquotasOrganizationsLocationsQuotaAdjusterSettingsGetQuotaAdjusterSettingsRequestr\   Fr]   ri   rk   rB   rA   rl   zICloudquotasV1.OrganizationsLocationsQuotaAdjusterSettingsService.<lambda>h  s4    X5K5KdfxH"q26rB   c                 L    | j                  d      }| j                  |||      S )ag  RPC Method for updating QuotaAdjusterSettings based on the request.

      Args:
        request: (CloudquotasOrganizationsLocationsQuotaAdjusterSettingsUpdateQuotaAdjusterSettingsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaAdjusterSettings) The response message.
      rn   rL   rN   rQ   s       rA   rn   z\CloudquotasV1.OrganizationsLocationsQuotaAdjusterSettingsService.UpdateQuotaAdjusterSettingsv  ro   rB   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr   rq   zUcloudquotas.organizations.locations.quotaAdjusterSettings.updateQuotaAdjusterSettingsrX   rr   rs   rY   rt   XCloudquotasOrganizationsLocationsQuotaAdjusterSettingsUpdateQuotaAdjusterSettingsRequestr\   Fr]   ri   rk   rB   rA   rl   zICloudquotasV1.OrganizationsLocationsQuotaAdjusterSettingsService.<lambda>  s9    8N8NdixH"N3"-t29rB   rF   rv   r~   s   @rA   r&   r   Q  s3    W;E
8.*81--rB   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 );CloudquotasV1.OrganizationsLocationsQuotaPreferencesServicezHService class for the organizations_locations_quotaPreferences resource.r)   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r(   r   rG   rH   s     rA   r   zDCloudquotasV1.OrganizationsLocationsQuotaPreferencesService.__init__  #    MGGWX^_drB   c                 L    | j                  d      }| j                  |||      S )aN  Creates a new QuotaPreference that declares the desired value for a quota.

      Args:
        request: (CloudquotasOrganizationsLocationsQuotaPreferencesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaPreference) The response message.
      r   rL   rN   rQ   s       rA   r   zBCloudquotasV1.OrganizationsLocationsQuotaPreferencesService.Create  r   rB   c                  J    t        j                  ddddgdgddgddd	d
d      S )NKv1/organizations/{organizationsId}/locations/{locationsId}/quotaPreferencesr   z;cloudquotas.organizations.locations.quotaPreferences.creater   r   r   r   r   >CloudquotasOrganizationsLocationsQuotaPreferencesCreateRequestr   Fr]   ri   rk   rB   rA   rl   zDCloudquotasV1.OrganizationsLocationsQuotaPreferencesService.<lambda>  s:    8#9#9_O zJ*,?@5'Z,$rB   c                 L    | j                  d      }| j                  |||      S )a*  Gets details of a single QuotaPreference.

      Args:
        request: (CloudquotasOrganizationsLocationsQuotaPreferencesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaPreference) The response message.
      r   rL   rN   rQ   s       rA   r   z?CloudquotasV1.OrganizationsLocationsQuotaPreferencesService.Get  r   rB   c                  F    t        j                  ddddgdgg ddddd	
      S )N`v1/organizations/{organizationsId}/locations/{locationsId}/quotaPreferences/{quotaPreferencesId}rW   z8cloudquotas.organizations.locations.quotaPreferences.getrX   rY   rZ   ;CloudquotasOrganizationsLocationsQuotaPreferencesGetRequestr   Fr]   ri   rk   rB   rA   rl   zDCloudquotasV1.OrganizationsLocationsQuotaPreferencesService.<lambda>  s4     6 6tLxH"W,!rB   c                 L    | j                  d      }| j                  |||      S )aQ  Lists QuotaPreferences in a given project, folder or organization.

      Args:
        request: (CloudquotasOrganizationsLocationsQuotaPreferencesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListQuotaPreferencesResponse) The response message.
      r   rL   rN   rQ   s       rA   r   z@CloudquotasV1.OrganizationsLocationsQuotaPreferencesService.List  r   rB   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rW   z9cloudquotas.organizations.locations.quotaPreferences.listr   r   r   rZ   <CloudquotasOrganizationsLocationsQuotaPreferencesListRequestr   Fr]   ri   rk   rB   rA   rl   zDCloudquotasV1.OrganizationsLocationsQuotaPreferencesService.<lambda>  s4    !7!7_M zJC5X9"rB   c                 L    | j                  d      }| j                  |||      S )a  Updates the parameters of a single QuotaPreference. It can updates the config in any states, not just the ones pending approval.

      Args:
        request: (CloudquotasOrganizationsLocationsQuotaPreferencesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaPreference) The response message.
      r   rL   rN   rQ   s       rA   r   zACloudquotasV1.OrganizationsLocationsQuotaPreferencesService.Patch  r   rB   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rq   z:cloudquotas.organizations.locations.quotaPreferences.patchrX   r   rY   r   =CloudquotasOrganizationsLocationsQuotaPreferencesPatchRequestr   Fr]   ri   rk   rB   rA   rl   zDCloudquotasV1.OrganizationsLocationsQuotaPreferencesService.<lambda>  s4    ("8"8tNxHY"'Y,#rB   rF   r   r~   s   @rA   r(   r     sO    R6E
8F8C8D8ErB   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 )	=CloudquotasV1.OrganizationsLocationsServicesQuotaInfosServicezKService class for the organizations_locations_services_quotaInfos resource.r+   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r*   r   rG   rH   s     rA   r   zFCloudquotasV1.OrganizationsLocationsServicesQuotaInfosService.__init__  s#    MII4YZ`adrB   c                 L    | j                  d      }| j                  |||      S )aE  Retrieve the QuotaInfo of a quota for a project, folder or organization.

      Args:
        request: (CloudquotasOrganizationsLocationsServicesQuotaInfosGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaInfo) The response message.
      r   rL   rN   rQ   s       rA   r   zACloudquotasV1.OrganizationsLocationsServicesQuotaInfosService.Get  r   rB   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzjv1/organizations/{organizationsId}/locations/{locationsId}/services/{servicesId}/quotaInfos/{quotaInfosId}rW   z;cloudquotas.organizations.locations.services.quotaInfos.getrX   rY   rZ   =CloudquotasOrganizationsLocationsServicesQuotaInfosGetRequestr   Fr]   ri   rk   rB   rA   rl   zFCloudquotasV1.OrganizationsLocationsServicesQuotaInfosService.<lambda>  s4     6 6~OxH"Y&!rB   c                 L    | j                  d      }| j                  |||      S )aV  Lists QuotaInfos of all quotas for a given project, folder or organization.

      Args:
        request: (CloudquotasOrganizationsLocationsServicesQuotaInfosListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListQuotaInfosResponse) The response message.
      r   rL   rN   rQ   s       rA   r   zBCloudquotasV1.OrganizationsLocationsServicesQuotaInfosService.List,  r   rB   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nz[v1/organizations/{organizationsId}/locations/{locationsId}/services/{servicesId}/quotaInfosrW   z<cloudquotas.organizations.locations.services.quotaInfos.listr   r   r   r   rZ   >CloudquotasOrganizationsLocationsServicesQuotaInfosListRequestr   Fr]   ri   rk   rB   rA   rl   zFCloudquotasV1.OrganizationsLocationsServicesQuotaInfosService.<lambda>9  s9    !7!7oP zJ +./Z3"rB   rF   r   r~   s   @rA   r*   r     s1    U9E
8C8DrB   r*   c                   &     e Zd ZdZdZ fdZ xZS )3CloudquotasV1.OrganizationsLocationsServicesServicez@Service class for the organizations_locations_services resource.r-   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r,   r   rG   rH   s     rA   r   z<CloudquotasV1.OrganizationsLocationsServicesService.__init__L  s#    M??OPVWdrB   r   r~   s   @rA   r,   r   G  s    J.E rB   r,   c                   &     e Zd ZdZdZ fdZ xZS )+CloudquotasV1.OrganizationsLocationsServicez7Service class for the organizations_locations resource.r/   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r.   r   rG   rH   s     rA   r   z4CloudquotasV1.OrganizationsLocationsService.__init__V  s"    M77GOdrB   r   r~   s   @rA   r.   r   Q  s    A%E rB   r.   c                   &     e Zd ZdZdZ fdZ xZS )"CloudquotasV1.OrganizationsServicez-Service class for the organizations resource.r1   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r0   r   rG   rH   s     rA   r   z+CloudquotasV1.OrganizationsService.__init__`  s"    M..>vFdrB   r   r~   s   @rA   r0   r   [  s    7E rB   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 )	;CloudquotasV1.ProjectsLocationsQuotaAdjusterSettingsServicezHService class for the projects_locations_quotaAdjusterSettings resource.r3   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r2   r   rG   rH   s     rA   r   zDCloudquotasV1.ProjectsLocationsQuotaAdjusterSettingsService.__init__j  r   rB   c                 L    | j                  d      }| j                  |||      S )a^  RPC Method for getting QuotaAdjusterSettings based on the request.

      Args:
        request: (CloudquotasProjectsLocationsQuotaAdjusterSettingsGetQuotaAdjusterSettingsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaAdjusterSettings) The response message.
      rK   rL   rN   rQ   s       rA   rK   zTCloudquotasV1.ProjectsLocationsQuotaAdjusterSettingsService.GetQuotaAdjusterSettingso  rT   rB   c                  F    t        j                  ddddgdgg ddddd	
      S )NFv1/projects/{projectsId}/locations/{locationsId}/quotaAdjusterSettingsrW   zMcloudquotas.projects.locations.quotaAdjusterSettings.getQuotaAdjusterSettingsrX   rY   rZ   PCloudquotasProjectsLocationsQuotaAdjusterSettingsGetQuotaAdjusterSettingsRequestr\   Fr]   ri   rk   rB   rA   rl   zDCloudquotasV1.ProjectsLocationsQuotaAdjusterSettingsService.<lambda>|  s4    X5K5KZaxH"l26rB   c                 L    | j                  d      }| j                  |||      S )ab  RPC Method for updating QuotaAdjusterSettings based on the request.

      Args:
        request: (CloudquotasProjectsLocationsQuotaAdjusterSettingsUpdateQuotaAdjusterSettingsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaAdjusterSettings) The response message.
      rn   rL   rN   rQ   s       rA   rn   zWCloudquotasV1.ProjectsLocationsQuotaAdjusterSettingsService.UpdateQuotaAdjusterSettings  ro   rB   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr   rq   zPcloudquotas.projects.locations.quotaAdjusterSettings.updateQuotaAdjusterSettingsrX   rr   rs   rY   rt   SCloudquotasProjectsLocationsQuotaAdjusterSettingsUpdateQuotaAdjusterSettingsRequestr\   Fr]   ri   rk   rB   rA   rl   zDCloudquotasV1.ProjectsLocationsQuotaAdjusterSettingsService.<lambda>  s9    8N8NZdxH"N3"-o29rB   rF   rv   r~   s   @rA   r2   r   e  s3    R6E
8.*81--rB   r2   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 )6CloudquotasV1.ProjectsLocationsQuotaPreferencesServicezCService class for the projects_locations_quotaPreferences resource.r5   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r4   r   rG   rH   s     rA   r   z?CloudquotasV1.ProjectsLocationsQuotaPreferencesService.__init__  s#    MBBDRSYZdrB   c                 L    | j                  d      }| j                  |||      S )aI  Creates a new QuotaPreference that declares the desired value for a quota.

      Args:
        request: (CloudquotasProjectsLocationsQuotaPreferencesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaPreference) The response message.
      r   rL   rN   rQ   s       rA   r   z=CloudquotasV1.ProjectsLocationsQuotaPreferencesService.Create  r   rB   c                  J    t        j                  ddddgdgddgddd	d
d      S )NAv1/projects/{projectsId}/locations/{locationsId}/quotaPreferencesr   z6cloudquotas.projects.locations.quotaPreferences.creater   r   r   r   r   9CloudquotasProjectsLocationsQuotaPreferencesCreateRequestr   Fr]   ri   rk   rB   rA   rl   z?CloudquotasV1.ProjectsLocationsQuotaPreferencesService.<lambda>  s:    8#9#9UJ zJ*,?@5'U,$rB   c                 L    | j                  d      }| j                  |||      S )a%  Gets details of a single QuotaPreference.

      Args:
        request: (CloudquotasProjectsLocationsQuotaPreferencesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaPreference) The response message.
      r   rL   rN   rQ   s       rA   r   z:CloudquotasV1.ProjectsLocationsQuotaPreferencesService.Get  r   rB   c                  F    t        j                  ddddgdgg ddddd	
      S )NVv1/projects/{projectsId}/locations/{locationsId}/quotaPreferences/{quotaPreferencesId}rW   z3cloudquotas.projects.locations.quotaPreferences.getrX   rY   rZ   6CloudquotasProjectsLocationsQuotaPreferencesGetRequestr   Fr]   ri   rk   rB   rA   rl   z?CloudquotasV1.ProjectsLocationsQuotaPreferencesService.<lambda>  s4     6 6jGxH"R,!rB   c                 L    | j                  d      }| j                  |||      S )aL  Lists QuotaPreferences in a given project, folder or organization.

      Args:
        request: (CloudquotasProjectsLocationsQuotaPreferencesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListQuotaPreferencesResponse) The response message.
      r   rL   rN   rQ   s       rA   r   z;CloudquotasV1.ProjectsLocationsQuotaPreferencesService.List  r   rB   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rW   z4cloudquotas.projects.locations.quotaPreferences.listr   r   r   rZ   7CloudquotasProjectsLocationsQuotaPreferencesListRequestr   Fr]   ri   rk   rB   rA   rl   z?CloudquotasV1.ProjectsLocationsQuotaPreferencesService.<lambda>  s4    !7!7UH zJC5S9"rB   c                 L    | j                  d      }| j                  |||      S )a~  Updates the parameters of a single QuotaPreference. It can updates the config in any states, not just the ones pending approval.

      Args:
        request: (CloudquotasProjectsLocationsQuotaPreferencesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaPreference) The response message.
      r   rL   rN   rQ   s       rA   r   z<CloudquotasV1.ProjectsLocationsQuotaPreferencesService.Patch   r   rB   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rq   z5cloudquotas.projects.locations.quotaPreferences.patchrX   r   rY   r   8CloudquotasProjectsLocationsQuotaPreferencesPatchRequestr   Fr]   ri   rk   rB   rA   rl   z?CloudquotasV1.ProjectsLocationsQuotaPreferencesService.<lambda>  s4    ("8"8jIxHY"'T,#rB   rF   r   r~   s   @rA   r4   r     sO    M1E
8F8C8D8ErB   r4   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 )	8CloudquotasV1.ProjectsLocationsServicesQuotaInfosServicezFService class for the projects_locations_services_quotaInfos resource.r7   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r6   r   rG   rH   s     rA   r   zACloudquotasV1.ProjectsLocationsServicesQuotaInfosService.__init__   s#    MDDdTU[\drB   c                 L    | j                  d      }| j                  |||      S )a@  Retrieve the QuotaInfo of a quota for a project, folder or organization.

      Args:
        request: (CloudquotasProjectsLocationsServicesQuotaInfosGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (QuotaInfo) The response message.
      r   rL   rN   rQ   s       rA   r   z<CloudquotasV1.ProjectsLocationsServicesQuotaInfosService.Get%  r   rB   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz`v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/quotaInfos/{quotaInfosId}rW   z6cloudquotas.projects.locations.services.quotaInfos.getrX   rY   rZ   8CloudquotasProjectsLocationsServicesQuotaInfosGetRequestr   Fr]   ri   rk   rB   rA   rl   zACloudquotasV1.ProjectsLocationsServicesQuotaInfosService.<lambda>2  s4     6 6tJxH"T&!rB   c                 L    | j                  d      }| j                  |||      S )aQ  Lists QuotaInfos of all quotas for a given project, folder or organization.

      Args:
        request: (CloudquotasProjectsLocationsServicesQuotaInfosListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListQuotaInfosResponse) The response message.
      r   rL   rN   rQ   s       rA   r   z=CloudquotasV1.ProjectsLocationsServicesQuotaInfosService.List@  r   rB   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzQv1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/quotaInfosrW   z7cloudquotas.projects.locations.services.quotaInfos.listr   r   r   r   rZ   9CloudquotasProjectsLocationsServicesQuotaInfosListRequestr   Fr]   ri   rk   rB   rA   rl   zACloudquotasV1.ProjectsLocationsServicesQuotaInfosService.<lambda>M  s9    !7!7eK zJ +./U3"rB   rF   r   r~   s   @rA   r6   r	    s1    P4E
8C8DrB   r6   c                   &     e Zd ZdZdZ fdZ xZS ).CloudquotasV1.ProjectsLocationsServicesServicez;Service class for the projects_locations_services resource.r9   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r8   r   rG   rH   s     rA   r   z7CloudquotasV1.ProjectsLocationsServicesService.__init__`  s"    M::DJ6RdrB   r   r~   s   @rA   r8   r  [  s    E)E rB   r8   c                   &     e Zd ZdZdZ fdZ xZS )&CloudquotasV1.ProjectsLocationsServicez2Service class for the projects_locations resource.r;   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r:   r   rG   rH   s     rA   r   z/CloudquotasV1.ProjectsLocationsService.__init__j  s"    M22DB6JdrB   r   r~   s   @rA   r:   r  e  s    < E rB   r:   c                   &     e Zd ZdZdZ fdZ xZS )CloudquotasV1.ProjectsServicez(Service class for the projects resource.r=   c                 N    t         t        j                  |   |       i | _        y rF   )r   r   r<   r   rG   rH   s     rA   r   z&CloudquotasV1.ProjectsService.__init__t  s"    M))49&AdrB   r   r~   s   @rA   r<   r  o  s    2E rB   r<   )rZ   NTNNFFNNNN)'rw   rx   ry   rz   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   r8   r:   r<   r}   r~   s   @rA   r   r   
   s   D/2(<-(=>'(*"."+&,()-6:/4<@?C	 /D>X5L5L >@t0G0G tl>(2I2I >@(?(?  7 7 x.. >8;R;R >@th6M6M tl>8O8O >@h.E.E h&=&= X44 >h6M6M >@t1H1H tl>83J3J >@)@)@ !8!8 //  rB   r   N)
rz   
__future__r   apitools.base.pyr   4googlecloudsdk.generated_clients.apis.cloudquotas.v1r   r  BaseApiClientr   rk   rB   rA   <module>r+     s'    : ' % dmH** mrB   