
                         V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)zOGenerated client library for cloudcommerceconsumerprocurement version v1alpha1.    )absolute_import)base_api)2cloudcommerceconsumerprocurement_v1alpha1_messagesc                     ^  \ rS rSrSr\rSrSrSr	S/r
SrSrS	rS
rS rSrSr     S(U 4S jjr " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S \R(                  5      r " S! S"\R(                  5      r " S# S$\R(                  5      r  " S% S&\R(                  5      r!S'r"U =r#$ ))(CloudcommerceconsumerprocurementV1alpha1
   zWGenerated client library for service cloudcommerceconsumerprocurement version v1alpha1.z8https://cloudcommerceconsumerprocurement.googleapis.com/z=https://cloudcommerceconsumerprocurement.mtls.googleapis.com/ cloudcommerceconsumerprocurementz.https://www.googleapis.com/auth/cloud-platformv1alpha1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                   > U=(       d    U R                   n[        [        U ]  XX4UXgUU	U
US9  U R	                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l	        U R                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l        U R!                  U 5      U l        U R%                  U 5      U l        U R)                  U 5      U l        U R-                  U 5      U l        U R1                  U 5      U l        U R5                  U 5      U l        U R9                  U 5      U l        g)z5Create a new cloudcommerceconsumerprocurement handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__BillingAccountsAccountsServicebillingAccounts_accountsBillingAccountsConsentsServicebillingAccounts_consents"BillingAccountsOrdersEventsServicebillingAccounts_orders_events'BillingAccountsOrdersLicensePoolService"billingAccounts_orders_licensePool&BillingAccountsOrdersOperationsService!billingAccounts_orders_operations7BillingAccountsOrdersOrderAttributionsOperationsService3billingAccounts_orders_orderAttributions_operations-BillingAccountsOrdersOrderAttributionsService(billingAccounts_orders_orderAttributionsBillingAccountsOrdersServicebillingAccounts_ordersBillingAccountsServicebillingAccountsProjectsConsentsServiceprojects_consentsProjectsEntitlementsServiceprojects_entitlementsProjectsFreeTrialsServiceprojects_freeTrialsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               ڇlib/googlecloudsdk/generated_clients/apis/cloudcommerceconsumerprocurement/v1alpha1/cloudcommerceconsumerprocurement_v1alpha1_client.pyr   1CloudcommerceconsumerprocurementV1alpha1.__init__   sE    
C	
2DB'%)3 7+ C - %)$G$G$MD!$($G$G$MD!)-)P)PQU)VD&.2.Z.Z[_.`D+-1-X-XY]-^D*?C?{?{  }A  @BD<484f4fgk4lD1"&"C"CD"ID66t<D!99$?D!%!A!A$!GD#==dCD((.DM    c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ )GCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService8   z8Service class for the billingAccounts_accounts resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr5   clientr7   s     r8   r   PCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.__init__=   %    4SSUYcdjkdr:   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new Account.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsAccountsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
Createglobal_paramsGetMethodConfig
_RunMethodr5   requestrH   configs       r8   rF   NCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.CreateB   /     ##H-f__
  8 8r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N5v1alpha1/billingAccounts/{billingAccountsId}/accountsPOSTz@cloudcommerceconsumerprocurement.billingAccounts.accounts.createparentv1alpha1/{+parent}/accounts5googleCloudCommerceConsumerProcurementV1alpha1AccountDCloudcommerceconsumerprocurementBillingAccountsAccountsCreateRequestGoogleLongrunningOperationF	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:   r8   <lambda>PCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.<lambda>O   s4    8#9#9IT zJ3M`7$r:   c                 D    U R                  S5      nU R                  X1US9$ )ac  Deletes an existing Account. An account can only be deleted when there are no orders associated with that account.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsAccountsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
DeleterG   rI   rL   s       r8   rk   NCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.Delete]   rP   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NBv1alpha1/billingAccounts/{billingAccountsId}/accounts/{accountsId}DELETEz@cloudcommerceconsumerprocurement.billingAccounts.accounts.deletenamev1alpha1/{+name} DCloudcommerceconsumerprocurementBillingAccountsAccountsDeleteRequestrX   FrY   re   rg   r:   r8   rh   ri   j   s4    8#9#9VTxH(`7$r:   c                 D    U R                  S5      nU R                  X1US9$ )a-  Gets the requested Account resource.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsAccountsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1Account) The response message.
GetrG   rI   rL   s       r8   ru   KCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.Getx   /     ##E*f__
  8 8r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nrn   GETz=cloudcommerceconsumerprocurement.billingAccounts.accounts.getrp   rq   rr   ACloudcommerceconsumerprocurementBillingAccountsAccountsGetRequest5GoogleCloudCommerceConsumerProcurementV1alpha1AccountFrY   re   rg   r:   r8   rh   ri      s4     6 6VQxH(]R!r:   c                 D    U R                  S5      nU R                  X1US9$ )at  Lists Account resources that the user has access to, within the scope of the parent resource.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsAccountsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1ListAccountsResponse) The response message.
ListrG   rI   rL   s       r8   r}   LCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.List   /     ##F+f__
  8 8r:   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NrR   ry   z>cloudcommerceconsumerprocurement.billingAccounts.accounts.listrT   pageSize	pageTokenrU   rr   BCloudcommerceconsumerprocurementBillingAccountsAccountsListRequestBGoogleCloudCommerceConsumerProcurementV1alpha1ListAccountsResponseFrY   re   rg   r:   r8   rh   ri      s9    !7!7IR zJ +.3^_"r:   r@   r?   )__name__
__module____qualname____firstlineno____doc___NAMEr   rF   method_configrk   ru   r}   __static_attributes____classcell__r7   s   @r8   r   r<   8   sO    B&E
8F8F8C8Dr:   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ )GCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService   z8Service class for the billingAccounts_consents resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r   r   r@   rA   s     r8   r   PCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.__init__   rD   r:   c                 D    U R                  S5      nU R                  X1US9$ )aV  Checks if a customer's consents satisfy the current agreement.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsConsentsCheckRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1CheckConsentResponse) The response message.
CheckrG   rI   rL   s       r8   r   MCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.Check   /     ##G,f__
  8 8r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz;v1alpha1/billingAccounts/{billingAccountsId}/consents:checkrS   z?cloudcommerceconsumerprocurement.billingAccounts.consents.checkrT   !v1alpha1/{+parent}/consents:checkAgoogleCloudCommerceConsumerProcurementV1alpha1CheckConsentRequestCCloudcommerceconsumerprocurementBillingAccountsConsentsCheckRequestBGoogleCloudCommerceConsumerProcurementV1alpha1CheckConsentResponseFrY   re   rg   r:   r8   rh   PCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.<lambda>   s4    ("8"8OS zJ9Y__#r:   c                 D    U R                  S5      nU R                  X1US9$ )a  Grants consent.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsConsentsGrantRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1Consent) The response message.
GrantrG   rI   rL   s       r8   r   MCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.Grant   r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz;v1alpha1/billingAccounts/{billingAccountsId}/consents:grantrS   z?cloudcommerceconsumerprocurement.billingAccounts.consents.grantrT   !v1alpha1/{+parent}/consents:grantAgoogleCloudCommerceConsumerProcurementV1alpha1GrantConsentRequestCCloudcommerceconsumerprocurementBillingAccountsConsentsGrantRequest5GoogleCloudCommerceConsumerProcurementV1alpha1ConsentFrY   re   rg   r:   r8   rh   r      s4    ("8"8OS zJ9Y_R#r:   c                 D    U R                  S5      nU R                  X1US9$ )a.  Lists current consents.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsConsentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1ListConsentsResponse) The response message.
r}   rG   rI   rL   s       r8   r}   LCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.List   r   r:   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz5v1alpha1/billingAccounts/{billingAccountsId}/consentsry   z>cloudcommerceconsumerprocurement.billingAccounts.consents.listrT   	agreementr   r   v1alpha1/{+parent}/consentsrr   BCloudcommerceconsumerprocurementBillingAccountsConsentsListRequestBGoogleCloudCommerceConsumerProcurementV1alpha1ListConsentsResponseFrY   re   rg   r:   r8   rh   r      s4    !7!7IR zJ;3^_"r:   c                 D    U R                  S5      nU R                  X1US9$ )aj  Revokes a consent. Revocation is only allowed on a revokable agreement with a current Consent.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsConsentsRevokeRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1Consent) The response message.
RevokerG   rI   rL   s       r8   r   NCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.Revoke	  rP   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzIv1alpha1/billingAccounts/{billingAccountsId}/consents/{consentsId}:revokerS   z@cloudcommerceconsumerprocurement.billingAccounts.consents.revokerp   v1alpha1/{+name}:revokeBgoogleCloudCommerceConsumerProcurementV1alpha1RevokeConsentRequestDCloudcommerceconsumerprocurementBillingAccountsConsentsRevokeRequestr   FrY   re   rg   r:   r8   rh   r     s4    8#9#9]TxH/Z`R$r:   r   r?   r   r   r   r   r   r   r   r   r   r   r}   r   r   r   r   s   @r8   r   r      sO    B&E
8E8E8D8Fr:   r   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	KCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersEventsServicei$  z=Service class for the billingAccounts_orders_events resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r   r   r@   rA   s     r8   r   TCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersEventsService.__init__)  s%    4WWY]ghnodr:   c                 D    U R                  S5      nU R                  X1US9$ )aM  Returns the list of events associated with an order.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersEventsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1ListEventsResponse) The response message.
r}   rG   rI   rL   s       r8   r}   PCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersEventsService.List.  r   r:   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NzEv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/eventsry   zCcloudcommerceconsumerprocurement.billingAccounts.orders.events.listrT   r   r   zv1alpha1/{+parent}/eventsrr   FCloudcommerceconsumerprocurementBillingAccountsOrdersEventsListRequest@GoogleCloudCommerceConsumerProcurementV1alpha1ListEventsResponseFrY   re   rg   r:   r8   rh   TCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersEventsService.<lambda>;  s9    !7!7YW zJ +.1b]"r:   r   r?   )r   r   r   r   r   r   r   r}   r   r   r   r   s   @r8   r   r   $  s"    G+E
8Dr:   r   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )PCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolServiceiI  zBService class for the billingAccounts_orders_licensePool resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r!   r   r@   rA   s     r8   r   YCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.__init__N  s%    4\\^blmstdr:   c                 D    U R                  S5      nU R                  X1US9$ )a8  Assigns a license to a user.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolAssignRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1AssignResponse) The response message.
AssignrG   rI   rL   s       r8   r   WCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.AssignS  rP   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzQv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/licensePool:assignrS   zJcloudcommerceconsumerprocurement.billingAccounts.orders.licensePool.assignrT   zv1alpha1/{+parent}:assign;googleCloudCommerceConsumerProcurementV1alpha1AssignRequestMCloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolAssignRequest<GoogleCloudCommerceConsumerProcurementV1alpha1AssignResponseFrY   re   rg   r:   r8   rh   YCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.<lambda>`  s4    8#9#9e^ zJ1SiY$r:   c                 D    U R                  S5      nU R                  X1US9$ )ad  Enumerates all users assigned a license.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolEnumerateLicensedUsersRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1EnumerateLicensedUsersResponse) The response message.
EnumerateLicensedUsersrG   rI   rL   s       r8   r   gCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.EnumerateLicensedUsersn  s0     ##$<=f__
  8 8r:   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nzav1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/licensePool:enumerateLicensedUsersry   zZcloudcommerceconsumerprocurement.billingAccounts.orders.licensePool.enumerateLicensedUsersrT   r   r   z)v1alpha1/{+parent}:enumerateLicensedUsersrr   ]CloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolEnumerateLicensedUsersRequestLGoogleCloudCommerceConsumerProcurementV1alpha1EnumerateLicensedUsersResponseFrY   re   rg   r:   r8   rh   r   {  s9    83I3Iun zJ +.Ayi4r:   c                 D    U R                  S5      nU R                  X1US9$ )a@  Unassigns a license from a user.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolUnassignRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1UnassignResponse) The response message.
UnassignrG   rI   rL   s       r8   r   YCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.Unassign  s/     ##J/f__
  8 8r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzSv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/licensePool:unassignrS   zLcloudcommerceconsumerprocurement.billingAccounts.orders.licensePool.unassignrT   zv1alpha1/{+parent}:unassign=googleCloudCommerceConsumerProcurementV1alpha1UnassignRequestOCloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolUnassignRequest>GoogleCloudCommerceConsumerProcurementV1alpha1UnassignResponseFrY   re   rg   r:   r8   rh   r     s4    X%;%;g` zJ3Uk[&r:   r   r?   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   s   @r8   r!   r   I  sA    L0E
8F8,(8Hr:   r!   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	OCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOperationsServicei  zAService class for the billingAccounts_orders_operations resource.r$   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r#   r   r@   rA   s     r8   r   XCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOperationsService.__init__  s%    4[[]aklrsdr:   c                 D    U R                  S5      nU R                  X1US9$ )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: (CloudcommerceconsumerprocurementBillingAccountsOrdersOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
ru   rG   rI   rL   s       r8   ru   SCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOperationsService.Get  rw   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzXv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/operations/{operationsId}ry   zFcloudcommerceconsumerprocurement.billingAccounts.orders.operations.getrp   rq   rr   ICloudcommerceconsumerprocurementBillingAccountsOrdersOperationsGetRequestrX   FrY   re   rg   r:   r8   rh   XCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOperationsService.<lambda>  s4     6 6lZxH(e7!r:   r   r?   r   r   r   r   r   r   r   ru   r   r   r   r   s   @r8   r#   r     s"    K/E
8Cr:   r#   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	`CloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsOperationsServicei  zSService class for the billingAccounts_orders_orderAttributions_operations resource.r&   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r%   r   r@   rA   s     r8   r   iCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsOperationsService.__init__  s,    4llnr|  ~D  Edr:   c                 D    U R                  S5      nU R                  X1US9$ )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: (CloudcommerceconsumerprocurementBillingAccountsOrdersOrderAttributionsOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
ru   rG   rI   rL   s       r8   ru   dCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsOperationsService.Get  rw   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/orderAttributions/{orderAttributionsId}/operations/{operationsId}ry   zXcloudcommerceconsumerprocurement.billingAccounts.orders.orderAttributions.operations.getrp   rq   rr   ZCloudcommerceconsumerprocurementBillingAccountsOrdersOrderAttributionsOperationsGetRequestrX   FrY   re   rg   r:   r8   rh   iCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsOperationsService.<lambda>  s7     6 6 UlxH(v7!r:   r   r?   r   r   s   @r8   r%   r     s"    ]AE
8Cr:   r%   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )VCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsServicei  zHService class for the billingAccounts_orders_orderAttributions resource.r(   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r'   r   r@   rA   s     r8   r   _CloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsService.__init__  s%    4bbdhrsyzdr:   c                 D    U R                  S5      nU R                  X1US9$ )a`  Lists all OrderAttribution of the parent [Order].

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersOrderAttributionsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1ListOrderAttributionsResponse) The response message.
r}   rG   rI   rL   s       r8   r}   [CloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsService.List  r   r:   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NzPv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/orderAttributionsry   zNcloudcommerceconsumerprocurement.billingAccounts.orders.orderAttributions.listrT   r   r   z$v1alpha1/{+parent}/orderAttributionsrr   QCloudcommerceconsumerprocurementBillingAccountsOrdersOrderAttributionsListRequestKGoogleCloudCommerceConsumerProcurementV1alpha1ListOrderAttributionsResponseFrY   re   rg   r:   r8   rh   _CloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsService.<lambda>  s9    !7!7db zJ +.<mh"r:   c                 D    U R                  S5      nU R                  X1US9$ )a/  Updates the specified OrderAttribution resource.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersOrderAttributionsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
PatchrG   rI   rL   s       r8   r   \CloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsService.Patch  r   r:   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nzfv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/orderAttributions/{orderAttributionsId}PATCHzOcloudcommerceconsumerprocurement.billingAccounts.orders.orderAttributions.patchrp   
updateMaskrq   >googleCloudCommerceConsumerProcurementV1alpha1OrderAttributionRCloudcommerceconsumerprocurementBillingAccountsOrdersOrderAttributionsPatchRequestrX   FrY   re   rg   r:   r8   rh   r      s6    ("8"8zcxH"^(Vn7#r:   r   r?   )r   r   r   r   r   r   r   r}   r   r   r   r   r   s   @r8   r'   r     s1    R6E
8D8Er:   r'   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )ECloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersServicei.  z6Service class for the billingAccounts_orders resource.r*   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r)   r   r@   rA   s     r8   r   NCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.__init__3  s%    4QQSWabhidr:   c                 D    U R                  S5      nU R                  X1US9$ )a@  Cancels an existing Order. Every product procured in the Order will be cancelled.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
CancelrG   rI   rL   s       r8   r  LCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.Cancel8  rP   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzEv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}:cancelrS   z>cloudcommerceconsumerprocurement.billingAccounts.orders.cancelrp   zv1alpha1/{+name}:cancel@googleCloudCommerceConsumerProcurementV1alpha1CancelOrderRequestBCloudcommerceconsumerprocurementBillingAccountsOrdersCancelRequestrX   FrY   re   rg   r:   r8   rh   NCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.<lambda>E  4    8#9#9YRxH/X^7$r:   c                 D    U R                  S5      nU R                  X1US9$ )a*  Returns the requested Order resource.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1Order) The response message.
ru   rG   rI   rL   s       r8   ru   ICloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.GetS  rw   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz>v1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}ry   z;cloudcommerceconsumerprocurement.billingAccounts.orders.getrp   rq   rr   ?CloudcommerceconsumerprocurementBillingAccountsOrdersGetRequest3GoogleCloudCommerceConsumerProcurementV1alpha1OrderFrY   re   rg   r:   r8   rh   r	  `  s4     6 6ROxH([P!r:   c                 D    U R                  S5      nU R                  X1US9$ )aJ  Returns the requested AuditLog resource. To be deprecated.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersGetAuditLogRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1AuditLog) The response message.
GetAuditLogrG   rI   rL   s       r8   r  QCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.GetAuditLogn  s/     ##M2f__
  8 8r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzGv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/auditLogry   zCcloudcommerceconsumerprocurement.billingAccounts.orders.getAuditLogrp   rq   rr   GCloudcommerceconsumerprocurementBillingAccountsOrdersGetAuditLogRequest6GoogleCloudCommerceConsumerProcurementV1alpha1AuditLogFrY   re   rg   r:   r8   rh   r	  {  s4    (>(>[WxH(cS)r:   c                 D    U R                  S5      nU R                  X1US9$ )a,  Gets the license pool.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersGetLicensePoolRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1LicensePool) The response message.
GetLicensePoolrG   rI   rL   s       r8   r  TCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.GetLicensePool  s0     ##$45f__
  8 8r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NJv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/licensePoolry   zFcloudcommerceconsumerprocurement.billingAccounts.orders.getLicensePoolrp   rq   rr   JCloudcommerceconsumerprocurementBillingAccountsOrdersGetLicensePoolRequest9GoogleCloudCommerceConsumerProcurementV1alpha1LicensePoolFrY   re   rg   r:   r8   rh   r	    s4    8+A+A^ZxH(fV,r:   c                 D    U R                  S5      nU R                  X1US9$ )an  Lists Order resources that the user has access to, within the scope of the parent resource.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1ListOrdersResponse) The response message.
r}   rG   rI   rL   s       r8   r}   JCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.List  r   r:   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz3v1alpha1/billingAccounts/{billingAccountsId}/ordersry   z<cloudcommerceconsumerprocurement.billingAccounts.orders.listrT   filterr   r   zv1alpha1/{+parent}/ordersrr   @CloudcommerceconsumerprocurementBillingAccountsOrdersListRequest@GoogleCloudCommerceConsumerProcurementV1alpha1ListOrdersResponseFrY   re   rg   r:   r8   rh   r	    s4    !7!7GP zJ81\]"r:   c                 D    U R                  S5      nU R                  X1US9$ )a  Modifies an existing Order resource.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersModifyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
ModifyrG   rI   rL   s       r8   r%  LCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.Modify  rP   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzEv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}:modifyrS   z>cloudcommerceconsumerprocurement.billingAccounts.orders.modifyrp   zv1alpha1/{+name}:modify@googleCloudCommerceConsumerProcurementV1alpha1ModifyOrderRequestBCloudcommerceconsumerprocurementBillingAccountsOrdersModifyRequestrX   FrY   re   rg   r:   r8   rh   r	    r
  r:   c                 D    U R                  S5      nU R                  X1US9$ )aE  Creates a new Order. This API only supports GCP spend-based committed use discounts specified by GCP documentation. The returned long-running operation is in-progress until the backend completes the creation of the resource. Once completed, the order is in OrderState.ORDER_STATE_ACTIVE. In case of failure, the order resource will be removed.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersPlaceRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
PlacerG   rI   rL   s       r8   r+  KCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.Place  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz9v1alpha1/billingAccounts/{billingAccountsId}/orders:placerS   z=cloudcommerceconsumerprocurement.billingAccounts.orders.placerT   zv1alpha1/{+parent}/orders:place?googleCloudCommerceConsumerProcurementV1alpha1PlaceOrderRequestACloudcommerceconsumerprocurementBillingAccountsOrdersPlaceRequestrX   FrY   re   rg   r:   r8   rh   r	    s4    ("8"8MQ zJ7W]7#r:   c                 D    U R                  S5      nU R                  X1US9$ )aO  Updates the license pool if one exists for this Order.

Args:
  request: (CloudcommerceconsumerprocurementBillingAccountsOrdersUpdateLicensePoolRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1LicensePool) The response message.
UpdateLicensePoolrG   rI   rL   s       r8   r1  WCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.UpdateLicensePool  0     ##$78f__
  8 8r:   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r   zIcloudcommerceconsumerprocurement.billingAccounts.orders.updateLicensePoolrp   r   rq   9googleCloudCommerceConsumerProcurementV1alpha1LicensePoolMCloudcommerceconsumerprocurementBillingAccountsOrdersUpdateLicensePoolRequestr  FrY   re   rg   r:   r8   rh   r	    s6    h.D.D^]xH"^(QiV/r:   r   r?   )r   r   r   r   r   r   r   r  r   ru   r  r  r}   r%  r+  r1  r   r   r   s   @r8   r)   r   .  s    @$E
8F8C8!K8$N 8D8F8E8'##r:   r)   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )?CloudcommerceconsumerprocurementV1alpha1.BillingAccountsServicei  z/Service class for the billingAccounts resource.r,   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r+   r   r@   rA   s     r8   r   HCloudcommerceconsumerprocurementV1alpha1.BillingAccountsService.__init__  s$    4KKT[\bcdr:   r   )	r   r   r   r   r   r   r   r   r   r   s   @r8   r+   r8    s    9E r:   r+   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ )@CloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsServicei  z1Service class for the projects_consents resource.r.   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r-   r   r@   rA   s     r8   r   ICloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.__init__  s$    4LLd\]cddr:   c                 D    U R                  S5      nU R                  X1US9$ )aO  Checks if a customer's consents satisfy the current agreement.

Args:
  request: (CloudcommerceconsumerprocurementProjectsConsentsCheckRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1CheckConsentResponse) The response message.
r   rG   rI   rL   s       r8   r   FCloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.Check$  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz-v1alpha1/projects/{projectsId}/consents:checkrS   z8cloudcommerceconsumerprocurement.projects.consents.checkrT   r   r   <CloudcommerceconsumerprocurementProjectsConsentsCheckRequestr   FrY   re   rg   r:   r8   rh   ICloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.<lambda>1  s4    ("8"8AL zJ9YX_#r:   c                 D    U R                  S5      nU R                  X1US9$ )a  Grants consent.

Args:
  request: (CloudcommerceconsumerprocurementProjectsConsentsGrantRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1Consent) The response message.
r   rG   rI   rL   s       r8   r   FCloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.Grant?  r   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz-v1alpha1/projects/{projectsId}/consents:grantrS   z8cloudcommerceconsumerprocurement.projects.consents.grantrT   r   r   <CloudcommerceconsumerprocurementProjectsConsentsGrantRequestr   FrY   re   rg   r:   r8   rh   rC  L  s4    ("8"8AL zJ9YXR#r:   c                 D    U R                  S5      nU R                  X1US9$ )a'  Lists current consents.

Args:
  request: (CloudcommerceconsumerprocurementProjectsConsentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1ListConsentsResponse) The response message.
r}   rG   rI   rL   s       r8   r}   ECloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.ListZ  r   r:   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz'v1alpha1/projects/{projectsId}/consentsry   z7cloudcommerceconsumerprocurement.projects.consents.listrT   r   r   rr   ;CloudcommerceconsumerprocurementProjectsConsentsListRequestr   FrY   re   rg   r:   r8   rh   rC  g  s4    !7!7;K zJ;3W_"r:   c                 D    U R                  S5      nU R                  X1US9$ )ac  Revokes a consent. Revocation is only allowed on a revokable agreement with a current Consent.

Args:
  request: (CloudcommerceconsumerprocurementProjectsConsentsRevokeRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1Consent) The response message.
r   rG   rI   rL   s       r8   r   GCloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.Revokeu  rP   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz;v1alpha1/projects/{projectsId}/consents/{consentsId}:revokerS   z9cloudcommerceconsumerprocurement.projects.consents.revokerp   r   r   =CloudcommerceconsumerprocurementProjectsConsentsRevokeRequestr   FrY   re   rg   r:   r8   rh   rC    s4    8#9#9OMxH/ZYR$r:   r   r?   r   r   s   @r8   r-   r<    sO    ;E
8E8E8D8Fr:   r-   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )DCloudcommerceconsumerprocurementV1alpha1.ProjectsEntitlementsServicei  z5Service class for the projects_entitlements resource.r0   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r/   r   r@   rA   s     r8   r   MCloudcommerceconsumerprocurementV1alpha1.ProjectsEntitlementsService.__init__  s%    4PPRV`aghdr:   c                 D    U R                  S5      nU R                  X1US9$ )a2  Gets the requested Entitlement resource.

Args:
  request: (CloudcommerceconsumerprocurementProjectsEntitlementsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1Entitlement) The response message.
ru   rG   rI   rL   s       r8   ru   HCloudcommerceconsumerprocurementV1alpha1.ProjectsEntitlementsService.Get  rw   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz<v1alpha1/projects/{projectsId}/entitlements/{entitlementsId}ry   z:cloudcommerceconsumerprocurement.projects.entitlements.getrp   rq   rr   >CloudcommerceconsumerprocurementProjectsEntitlementsGetRequest9GoogleCloudCommerceConsumerProcurementV1alpha1EntitlementFrY   re   rg   r:   r8   rh   MCloudcommerceconsumerprocurementV1alpha1.ProjectsEntitlementsService.<lambda>  s4     6 6PNxH(ZV!r:   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists Entitlement resources that the user has access to, within the scope of the parent resource. This includes all Entitlements that are either parented by a billing account associated with the parent (project) and or the project is a consumer of an Order.

Args:
  request: (CloudcommerceconsumerprocurementProjectsEntitlementsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1ListEntitlementsResponse) The response message.
r}   rG   rI   rL   s       r8   r}   ICloudcommerceconsumerprocurementV1alpha1.ProjectsEntitlementsService.List  r   r:   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz+v1alpha1/projects/{projectsId}/entitlementsry   z;cloudcommerceconsumerprocurement.projects.entitlements.listrT   r   zv1alpha1/{+parent}/entitlementsrr   ?CloudcommerceconsumerprocurementProjectsEntitlementsListRequestFGoogleCloudCommerceConsumerProcurementV1alpha1ListEntitlementsResponseFrY   re   rg   r:   r8   rh   rY    s4    !7!7?O zJ87[c"r:   r   r?   )r   r   r   r   r   r   r   ru   r   r}   r   r   r   s   @r8   r/   rQ    s1    ?#E
8C8Dr:   r/   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )BCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsServicei  z3Service class for the projects_freeTrials resource.r2   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r1   r   r@   rA   s     r8   r   KCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.__init__  s%    4NNPT^_efdr:   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new FreeTrial.

Args:
  request: (CloudcommerceconsumerprocurementProjectsFreeTrialsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleLongrunningOperation) The response message.
rF   rG   rI   rL   s       r8   rF   ICloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.Create  rP   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N)v1alpha1/projects/{projectsId}/freeTrialsrS   z;cloudcommerceconsumerprocurement.projects.freeTrials.createrT   v1alpha1/{+parent}/freeTrials7googleCloudCommerceConsumerProcurementV1alpha1FreeTrial?CloudcommerceconsumerprocurementProjectsFreeTrialsCreateRequestrX   FrY   re   rg   r:   r8   rh   KCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.<lambda>  s4    8#9#9=O zJ5O[7$r:   c                 D    U R                  S5      nU R                  X1US9$ )a,  Gets the requested FreeTrial resource.

Args:
  request: (CloudcommerceconsumerprocurementProjectsFreeTrialsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1FreeTrial) The response message.
ru   rG   rI   rL   s       r8   ru   FCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.Get  rw   r:   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz8v1alpha1/projects/{projectsId}/freeTrials/{freeTrialsId}ry   z8cloudcommerceconsumerprocurement.projects.freeTrials.getrp   rq   rr   <CloudcommerceconsumerprocurementProjectsFreeTrialsGetRequest7GoogleCloudCommerceConsumerProcurementV1alpha1FreeTrialFrY   re   rg   r:   r8   rh   rj    s4     6 6LLxH(XT!r:   c                 D    U R                  S5      nU R                  X1US9$ )as  Lists FreeTrial resources that the user has access to, within the scope of the parent resource.

Args:
  request: (CloudcommerceconsumerprocurementProjectsFreeTrialsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1ListFreeTrialsResponse) The response message.
r}   rG   rI   rL   s       r8   r}   GCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.List  r   r:   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nrf  ry   z9cloudcommerceconsumerprocurement.projects.freeTrials.listrT   r   rg  rr   =CloudcommerceconsumerprocurementProjectsFreeTrialsListRequestDGoogleCloudCommerceConsumerProcurementV1alpha1ListFreeTrialsResponseFrY   re   rg   r:   r8   rh   rj    s4    !7!7=M zJ85Ya"r:   r   r?   )r   r   r   r   r   r   r   rF   r   ru   r}   r   r   r   s   @r8   r1   r`    s@    =!E
8F8C8Dr:   r1   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	8CloudcommerceconsumerprocurementV1alpha1.ProjectsServicei+  z(Service class for the projects resource.r4   c                 N   > [         [        R                  U ]  U5        0 U l        g r?   )r   r   r3   r   r@   rA   s     r8   r   ACloudcommerceconsumerprocurementV1alpha1.ProjectsService.__init__0  s$    4DDdTU[\dr:   c                 D    U R                  S5      nU R                  X1US9$ )ak  Returns all active entitlements based on project and service type in its request.

Args:
  request: (CloudcommerceconsumerprocurementProjectsCheckEntitlementsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudCommerceConsumerProcurementV1alpha1CheckEntitlementsResponse) The response message.
CheckEntitlementsrG   rI   rL   s       r8   rz  JCloudcommerceconsumerprocurementV1alpha1.ProjectsService.CheckEntitlements5  r3  r:   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nz0v1alpha1/projects/{projectsId}:checkEntitlementsry   z;cloudcommerceconsumerprocurement.projects.checkEntitlementsrT   servicez$v1alpha1/{+parent}:checkEntitlementsrr   @CloudcommerceconsumerprocurementProjectsCheckEntitlementsRequestGGoogleCloudCommerceConsumerProcurementV1alpha1CheckEntitlementsResponseFrY   re   rg   r:   r8   rh   ACloudcommerceconsumerprocurementV1alpha1.ProjectsService.<lambda>B  s6    h.D.DDO zJ[<\d/r:   r   r?   )r   r   r   r   r   r   r   rz  r   r   r   r   s   @r8   r3   rv  +  s#    2E
8'##r:   r3   )r,   r   r   r*   r    r"   r$   r(   r&   r4   r.   r0   r2   )rr   NTNNFFNNNN)$r   r   r   r   r   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   r   r   r!   r#   r%   r'   r)   r+   r-   r/   r1   r3   r   r   r   s   @r8   r   r   
   s`   _/G(Q-/(=>'(*"."+A,()-6:/4<@?C	/:tx'>'> tltx'>'> tl#8+B+B #JY0G0G Yv#x/F/F #J#@W@W #J>h6M6M >@`X%<%< `Dx66 t 7 7 tl>H$;$; >@Y("9"9 Yv#// # #r:   r   N)
r   
__future__r   apitools.base.pyr   Ogooglecloudsdk.generated_clients.apis.cloudcommerceconsumerprocurement.v1alpha1r   r  BaseApiClientr   rg   r:   r8   <module>r     s*    U ' % [Dx/E/E Dr:   