
                         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)zOGenerated client library for cloudcommerceconsumerprocurement version v1alpha1.    )absolute_import)base_api)2cloudcommerceconsumerprocurement_v1alpha1_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 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 )'(CloudcommerceconsumerprocurementV1alpha1zWGenerated 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                    |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        | j                  |       | _        | j                  |       | _	        | j                  |       | _        | j                  |       | _        | j                  |       | _        | j!                  |       | _        | j%                  |       | _        | j)                  |       | _        | j-                  |       | _        | j1                  |       | _        | j5                  |       | _        | j9                  |       | _        y)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   z1CloudcommerceconsumerprocurementV1alpha1.__init__   sK    
C	
2DB'd%l)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                        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 )GCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsServicez8Service class for the billingAccounts_accounts resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr4   clientr6   s     r7   r   zPCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.__init__=   %    4SSUYcdjkdr8   c                 L    | j                  d      }| j                  |||      S )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r4   requestrD   configs       r7   rB   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.CreateB   1     ##H-f__
'  8 8r8   c                  F    t        j                  ddddgdgg ddddd	
      S )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 r8   r7   <lambda>zPCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.<lambda>O   s4    8#9#9IT zJ3M`7$r8   c                 L    | j                  d      }| j                  |||      S )a  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.
      DeleterC   rE   rH   s       r7   re   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.Delete]   rK   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NBv1alpha1/billingAccounts/{billingAccountsId}/accounts/{accountsId}DELETEz@cloudcommerceconsumerprocurement.billingAccounts.accounts.deletenamev1alpha1/{+name} DCloudcommerceconsumerprocurementBillingAccountsAccountsDeleteRequestrS   FrT   r`   rb   r8   r7   rc   zPCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.<lambda>j   s4    8#9#9VTxH(`7$r8   c                 L    | j                  d      }| j                  |||      S )aQ  Gets the requested Account resource.

      Args:
        request: (CloudcommerceconsumerprocurementBillingAccountsAccountsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1Account) The response message.
      GetrC   rE   rH   s       r7   rn   zKCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.Getx   1     ##E*f__
'  8 8r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nrg   GETz=cloudcommerceconsumerprocurement.billingAccounts.accounts.getri   rj   rk   ACloudcommerceconsumerprocurementBillingAccountsAccountsGetRequest5GoogleCloudCommerceConsumerProcurementV1alpha1AccountFrT   r`   rb   r8   r7   rc   zPCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.<lambda>   s4     6 6VQxH(]R!r8   c                 L    | j                  d      }| j                  |||      S )a  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.
      ListrC   rE   rH   s       r7   ru   zLCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.List   1     ##F+f__
'  8 8r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )NrM   rq   z>cloudcommerceconsumerprocurement.billingAccounts.accounts.listrO   pageSize	pageTokenrP   rk   BCloudcommerceconsumerprocurementBillingAccountsAccountsListRequestBGoogleCloudCommerceConsumerProcurementV1alpha1ListAccountsResponseFrT   r`   rb   r8   r7   rc   zPCloudcommerceconsumerprocurementV1alpha1.BillingAccountsAccountsService.<lambda>   s9    !7!7IR zJ +.3^_"r8   r<   )__name__
__module____qualname____doc___NAMEr   rB   method_configre   rn   ru   __classcell__r6   s   @r7   r   r:   8   sO    B&E
8F8F8C8Dr8   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 )GCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsServicez8Service class for the billingAccounts_consents resource.r   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r   r   r=   r>   s     r7   r   zPCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.__init__   r@   r8   c                 L    | j                  d      }| j                  |||      S )az  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.
      CheckrC   rE   rH   s       r7   r   zMCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.Check   1     ##G,f__
'  8 8r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz;v1alpha1/billingAccounts/{billingAccountsId}/consents:checkrN   z?cloudcommerceconsumerprocurement.billingAccounts.consents.checkrO   !v1alpha1/{+parent}/consents:checkAgoogleCloudCommerceConsumerProcurementV1alpha1CheckConsentRequestCCloudcommerceconsumerprocurementBillingAccountsConsentsCheckRequestBGoogleCloudCommerceConsumerProcurementV1alpha1CheckConsentResponseFrT   r`   rb   r8   r7   rc   zPCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.<lambda>   s4    ("8"8OS zJ9Y__#r8   c                 L    | j                  d      }| j                  |||      S )a>  Grants consent.

      Args:
        request: (CloudcommerceconsumerprocurementBillingAccountsConsentsGrantRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1Consent) The response message.
      GrantrC   rE   rH   s       r7   r   zMCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.Grant   r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz;v1alpha1/billingAccounts/{billingAccountsId}/consents:grantrN   z?cloudcommerceconsumerprocurement.billingAccounts.consents.grantrO   !v1alpha1/{+parent}/consents:grantAgoogleCloudCommerceConsumerProcurementV1alpha1GrantConsentRequestCCloudcommerceconsumerprocurementBillingAccountsConsentsGrantRequest5GoogleCloudCommerceConsumerProcurementV1alpha1ConsentFrT   r`   rb   r8   r7   rc   zPCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.<lambda>   s4    ("8"8OS zJ9Y_R#r8   c                 L    | j                  d      }| j                  |||      S )aR  Lists current consents.

      Args:
        request: (CloudcommerceconsumerprocurementBillingAccountsConsentsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1ListConsentsResponse) The response message.
      ru   rC   rE   rH   s       r7   ru   zLCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.List   rv   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz5v1alpha1/billingAccounts/{billingAccountsId}/consentsrq   z>cloudcommerceconsumerprocurement.billingAccounts.consents.listrO   	agreementrx   ry   v1alpha1/{+parent}/consentsrk   BCloudcommerceconsumerprocurementBillingAccountsConsentsListRequestBGoogleCloudCommerceConsumerProcurementV1alpha1ListConsentsResponseFrT   r`   rb   r8   r7   rc   zPCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.<lambda>   s4    !7!7IR zJ;3^_"r8   c                 L    | j                  d      }| j                  |||      S )a  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.
      RevokerC   rE   rH   s       r7   r   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.Revoke	  rK   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NzIv1alpha1/billingAccounts/{billingAccountsId}/consents/{consentsId}:revokerN   z@cloudcommerceconsumerprocurement.billingAccounts.consents.revokeri   v1alpha1/{+name}:revokeBgoogleCloudCommerceConsumerProcurementV1alpha1RevokeConsentRequestDCloudcommerceconsumerprocurementBillingAccountsConsentsRevokeRequestr   FrT   r`   rb   r8   r7   rc   zPCloudcommerceconsumerprocurementV1alpha1.BillingAccountsConsentsService.<lambda>  s4    8#9#9]TxH/Z`R$r8   r<   r|   r}   r~   r   r   r   r   r   r   ru   r   r   r   s   @r7   r   r      sO    B&E
8E8E8D8Fr8   r   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )KCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersEventsServicez=Service class for the billingAccounts_orders_events resource.r   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r   r   r=   r>   s     r7   r   zTCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersEventsService.__init__)  s%    4WWY]ghnodr8   c                 L    | j                  d      }| j                  |||      S )aq  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.
      ru   rC   rE   rH   s       r7   ru   zPCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersEventsService.List.  rv   r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzEv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/eventsrq   zCcloudcommerceconsumerprocurement.billingAccounts.orders.events.listrO   rx   ry   zv1alpha1/{+parent}/eventsrk   FCloudcommerceconsumerprocurementBillingAccountsOrdersEventsListRequest@GoogleCloudCommerceConsumerProcurementV1alpha1ListEventsResponseFrT   r`   rb   r8   r7   rc   zTCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersEventsService.<lambda>;  s9    !7!7YW zJ +.1b]"r8   r<   )	r|   r}   r~   r   r   r   ru   r   r   r   s   @r7   r   r   $  s"    G+E
8Dr8   r   c                   n     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	_         xZ
S )PCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolServicezBService class for the billingAccounts_orders_licensePool resource.r!   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r    r   r=   r>   s     r7   r   zYCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.__init__N  s%    4\\^blmstdr8   c                 L    | j                  d      }| j                  |||      S )a\  Assigns a license to a user.

      Args:
        request: (CloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolAssignRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1AssignResponse) The response message.
      AssignrC   rE   rH   s       r7   r   zWCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.AssignS  rK   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NzQv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/licensePool:assignrN   zJcloudcommerceconsumerprocurement.billingAccounts.orders.licensePool.assignrO   zv1alpha1/{+parent}:assign;googleCloudCommerceConsumerProcurementV1alpha1AssignRequestMCloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolAssignRequest<GoogleCloudCommerceConsumerProcurementV1alpha1AssignResponseFrT   r`   rb   r8   r7   rc   zYCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.<lambda>`  s4    8#9#9e^ zJ1SiY$r8   c                 L    | j                  d      }| j                  |||      S )a  Enumerates all users assigned a license.

      Args:
        request: (CloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolEnumerateLicensedUsersRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1EnumerateLicensedUsersResponse) The response message.
      EnumerateLicensedUsersrC   rE   rH   s       r7   r   zgCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.EnumerateLicensedUsersn  s2     ##$<=f__
'  8 8r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nzav1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/licensePool:enumerateLicensedUsersrq   zZcloudcommerceconsumerprocurement.billingAccounts.orders.licensePool.enumerateLicensedUsersrO   rx   ry   z)v1alpha1/{+parent}:enumerateLicensedUsersrk   ]CloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolEnumerateLicensedUsersRequestLGoogleCloudCommerceConsumerProcurementV1alpha1EnumerateLicensedUsersResponseFrT   r`   rb   r8   r7   rc   zYCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.<lambda>{  s9    83I3Iun zJ +.Ayi4r8   c                 L    | j                  d      }| j                  |||      S )ad  Unassigns a license from a user.

      Args:
        request: (CloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolUnassignRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1UnassignResponse) The response message.
      UnassignrC   rE   rH   s       r7   r   zYCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.Unassign  s1     ##J/f__
'  8 8r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NzSv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/licensePool:unassignrN   zLcloudcommerceconsumerprocurement.billingAccounts.orders.licensePool.unassignrO   zv1alpha1/{+parent}:unassign=googleCloudCommerceConsumerProcurementV1alpha1UnassignRequestOCloudcommerceconsumerprocurementBillingAccountsOrdersLicensePoolUnassignRequest>GoogleCloudCommerceConsumerProcurementV1alpha1UnassignResponseFrT   r`   rb   r8   r7   rc   zYCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersLicensePoolService.<lambda>  s4    X%;%;g` zJ3Uk[&r8   r<   )r|   r}   r~   r   r   r   r   r   r   r   r   r   s   @r7   r    r   I  sA    L0E
8F8,(8Hr8   r    c                   >     e Zd ZdZdZ fdZddZd e_         xZS )OCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOperationsServicezAService class for the billingAccounts_orders_operations resource.r#   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r"   r   r=   r>   s     r7   r   zXCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOperationsService.__init__  s%    4[[]aklrsdr8   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: (CloudcommerceconsumerprocurementBillingAccountsOrdersOperationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      rn   rC   rE   rH   s       r7   rn   zSCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOperationsService.Get  ro   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NzXv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/operations/{operationsId}rq   zFcloudcommerceconsumerprocurement.billingAccounts.orders.operations.getri   rj   rk   ICloudcommerceconsumerprocurementBillingAccountsOrdersOperationsGetRequestrS   FrT   r`   rb   r8   r7   rc   zXCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOperationsService.<lambda>  s4     6 6lZxH(e7!r8   r<   	r|   r}   r~   r   r   r   rn   r   r   r   s   @r7   r"   r     s"    K/E
8Cr8   r"   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )`CloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsOperationsServicezSService class for the billingAccounts_orders_orderAttributions_operations resource.r%   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r$   r   r=   r>   s     r7   r   ziCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsOperationsService.__init__  s,    4llnr|  ~D  Edr8   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: (CloudcommerceconsumerprocurementBillingAccountsOrdersOrderAttributionsOperationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      rn   rC   rE   rH   s       r7   rn   zdCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsOperationsService.Get  ro   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/orderAttributions/{orderAttributionsId}/operations/{operationsId}rq   zXcloudcommerceconsumerprocurement.billingAccounts.orders.orderAttributions.operations.getri   rj   rk   ZCloudcommerceconsumerprocurementBillingAccountsOrdersOrderAttributionsOperationsGetRequestrS   FrT   r`   rb   r8   r7   rc   ziCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsOperationsService.<lambda>  s7     6 6 UlxH(v7!r8   r<   r   r   s   @r7   r$   r     s"    ]AE
8Cr8   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 )	VCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsServicezHService class for the billingAccounts_orders_orderAttributions resource.r'   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r&   r   r=   r>   s     r7   r   z_CloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsService.__init__  s%    4bbdhrsyzdr8   c                 L    | j                  d      }| j                  |||      S )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.
      ru   rC   rE   rH   s       r7   ru   z[CloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsService.List  rv   r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )NzPv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/orderAttributionsrq   zNcloudcommerceconsumerprocurement.billingAccounts.orders.orderAttributions.listrO   rx   ry   z$v1alpha1/{+parent}/orderAttributionsrk   QCloudcommerceconsumerprocurementBillingAccountsOrdersOrderAttributionsListRequestKGoogleCloudCommerceConsumerProcurementV1alpha1ListOrderAttributionsResponseFrT   r`   rb   r8   r7   rc   z_CloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsService.<lambda>  s9    !7!7db zJ +.<mh"r8   c                 L    | j                  d      }| j                  |||      S )aS  Updates the specified OrderAttribution resource.

      Args:
        request: (CloudcommerceconsumerprocurementBillingAccountsOrdersOrderAttributionsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      PatchrC   rE   rH   s       r7   r   z\CloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsService.Patch  r   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nzfv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/orderAttributions/{orderAttributionsId}PATCHzOcloudcommerceconsumerprocurement.billingAccounts.orders.orderAttributions.patchri   
updateMaskrj   >googleCloudCommerceConsumerProcurementV1alpha1OrderAttributionRCloudcommerceconsumerprocurementBillingAccountsOrdersOrderAttributionsPatchRequestrS   FrT   r`   rb   r8   r7   rc   z_CloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersOrderAttributionsService.<lambda>   s6    ("8"8zcxH"^(Vn7#r8   r<   )
r|   r}   r~   r   r   r   ru   r   r   r   r   s   @r7   r&   r     s1    R6E
8D8Er8   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 )ECloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersServicez6Service class for the billingAccounts_orders resource.r)   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r(   r   r=   r>   s     r7   r   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.__init__3  s%    4QQSWabhidr8   c                 L    | j                  d      }| j                  |||      S )ad  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.
      CancelrC   rE   rH   s       r7   r   zLCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.Cancel8  rK   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NzEv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}:cancelrN   z>cloudcommerceconsumerprocurement.billingAccounts.orders.cancelri   zv1alpha1/{+name}:cancel@googleCloudCommerceConsumerProcurementV1alpha1CancelOrderRequestBCloudcommerceconsumerprocurementBillingAccountsOrdersCancelRequestrS   FrT   r`   rb   r8   r7   rc   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.<lambda>E  4    8#9#9YRxH/X^7$r8   c                 L    | j                  d      }| j                  |||      S )aN  Returns the requested Order resource.

      Args:
        request: (CloudcommerceconsumerprocurementBillingAccountsOrdersGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1Order) The response message.
      rn   rC   rE   rH   s       r7   rn   zICloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.GetS  ro   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz>v1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}rq   z;cloudcommerceconsumerprocurement.billingAccounts.orders.getri   rj   rk   ?CloudcommerceconsumerprocurementBillingAccountsOrdersGetRequest3GoogleCloudCommerceConsumerProcurementV1alpha1OrderFrT   r`   rb   r8   r7   rc   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.<lambda>`  s4     6 6ROxH([P!r8   c                 L    | j                  d      }| j                  |||      S )an  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.
      GetAuditLogrC   rE   rH   s       r7   r   zQCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.GetAuditLogn  s1     ##M2f__
'  8 8r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NzGv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/auditLogrq   zCcloudcommerceconsumerprocurement.billingAccounts.orders.getAuditLogri   rj   rk   GCloudcommerceconsumerprocurementBillingAccountsOrdersGetAuditLogRequest6GoogleCloudCommerceConsumerProcurementV1alpha1AuditLogFrT   r`   rb   r8   r7   rc   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.<lambda>{  s4    (>(>[WxH(cS)r8   c                 L    | j                  d      }| j                  |||      S )aP  Gets the license pool.

      Args:
        request: (CloudcommerceconsumerprocurementBillingAccountsOrdersGetLicensePoolRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1LicensePool) The response message.
      GetLicensePoolrC   rE   rH   s       r7   r   zTCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.GetLicensePool  s2     ##$45f__
'  8 8r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NJv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}/licensePoolrq   zFcloudcommerceconsumerprocurement.billingAccounts.orders.getLicensePoolri   rj   rk   JCloudcommerceconsumerprocurementBillingAccountsOrdersGetLicensePoolRequest9GoogleCloudCommerceConsumerProcurementV1alpha1LicensePoolFrT   r`   rb   r8   r7   rc   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.<lambda>  s4    8+A+A^ZxH(fV,r8   c                 L    | j                  d      }| j                  |||      S )a  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.
      ru   rC   rE   rH   s       r7   ru   zJCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.List  rv   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz3v1alpha1/billingAccounts/{billingAccountsId}/ordersrq   z<cloudcommerceconsumerprocurement.billingAccounts.orders.listrO   filterrx   ry   zv1alpha1/{+parent}/ordersrk   @CloudcommerceconsumerprocurementBillingAccountsOrdersListRequest@GoogleCloudCommerceConsumerProcurementV1alpha1ListOrdersResponseFrT   r`   rb   r8   r7   rc   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.<lambda>  s4    !7!7GP zJ81\]"r8   c                 L    | j                  d      }| j                  |||      S )a7  Modifies an existing Order resource.

      Args:
        request: (CloudcommerceconsumerprocurementBillingAccountsOrdersModifyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      ModifyrC   rE   rH   s       r7   r   zLCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.Modify  rK   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NzEv1alpha1/billingAccounts/{billingAccountsId}/orders/{ordersId}:modifyrN   z>cloudcommerceconsumerprocurement.billingAccounts.orders.modifyri   zv1alpha1/{+name}:modify@googleCloudCommerceConsumerProcurementV1alpha1ModifyOrderRequestBCloudcommerceconsumerprocurementBillingAccountsOrdersModifyRequestrS   FrT   r`   rb   r8   r7   rc   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.<lambda>  r   r8   c                 L    | j                  d      }| j                  |||      S )ai  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.
      PlacerC   rE   rH   s       r7   r   zKCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.Place  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz9v1alpha1/billingAccounts/{billingAccountsId}/orders:placerN   z=cloudcommerceconsumerprocurement.billingAccounts.orders.placerO   zv1alpha1/{+parent}/orders:place?googleCloudCommerceConsumerProcurementV1alpha1PlaceOrderRequestACloudcommerceconsumerprocurementBillingAccountsOrdersPlaceRequestrS   FrT   r`   rb   r8   r7   rc   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.<lambda>  s4    ("8"8MQ zJ7W]7#r8   c                 L    | j                  d      }| j                  |||      S )as  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.
      UpdateLicensePoolrC   rE   rH   s       r7   r  zWCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.UpdateLicensePool  2     ##$78f__
'  8 8r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr   r   zIcloudcommerceconsumerprocurement.billingAccounts.orders.updateLicensePoolri   r   rj   9googleCloudCommerceConsumerProcurementV1alpha1LicensePoolMCloudcommerceconsumerprocurementBillingAccountsOrdersUpdateLicensePoolRequestr   FrT   r`   rb   r8   r7   rc   zNCloudcommerceconsumerprocurementV1alpha1.BillingAccountsOrdersService.<lambda>  s6    h.D.D^]xH"^(QiV/r8   r<   )r|   r}   r~   r   r   r   r   r   rn   r   r   ru   r   r   r  r   r   s   @r7   r(   r   .  s    @$E
8F8C8!K8$N 8D8F8E8'##r8   r(   c                   &     e Zd ZdZdZ fdZ xZS )?CloudcommerceconsumerprocurementV1alpha1.BillingAccountsServicez/Service class for the billingAccounts resource.r+   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r*   r   r=   r>   s     r7   r   zHCloudcommerceconsumerprocurementV1alpha1.BillingAccountsService.__init__  s$    4KKT[\bcdr8   )r|   r}   r~   r   r   r   r   r   s   @r7   r*   r	    s    9E r8   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 )@CloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsServicez1Service class for the projects_consents resource.r-   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r,   r   r=   r>   s     r7   r   zICloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.__init__  s$    4LLd\]cddr8   c                 L    | j                  d      }| j                  |||      S )as  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   rC   rE   rH   s       r7   r   zFCloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.Check$  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz-v1alpha1/projects/{projectsId}/consents:checkrN   z8cloudcommerceconsumerprocurement.projects.consents.checkrO   r   r   <CloudcommerceconsumerprocurementProjectsConsentsCheckRequestr   FrT   r`   rb   r8   r7   rc   zICloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.<lambda>1  s4    ("8"8AL zJ9YX_#r8   c                 L    | j                  d      }| j                  |||      S )a7  Grants consent.

      Args:
        request: (CloudcommerceconsumerprocurementProjectsConsentsGrantRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1Consent) The response message.
      r   rC   rE   rH   s       r7   r   zFCloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.Grant?  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz-v1alpha1/projects/{projectsId}/consents:grantrN   z8cloudcommerceconsumerprocurement.projects.consents.grantrO   r   r   <CloudcommerceconsumerprocurementProjectsConsentsGrantRequestr   FrT   r`   rb   r8   r7   rc   zICloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.<lambda>L  s4    ("8"8AL zJ9YXR#r8   c                 L    | j                  d      }| j                  |||      S )aK  Lists current consents.

      Args:
        request: (CloudcommerceconsumerprocurementProjectsConsentsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1ListConsentsResponse) The response message.
      ru   rC   rE   rH   s       r7   ru   zECloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.ListZ  rv   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz'v1alpha1/projects/{projectsId}/consentsrq   z7cloudcommerceconsumerprocurement.projects.consents.listrO   r   r   rk   ;CloudcommerceconsumerprocurementProjectsConsentsListRequestr   FrT   r`   rb   r8   r7   rc   zICloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.<lambda>g  s4    !7!7;K zJ;3W_"r8   c                 L    | j                  d      }| j                  |||      S )a  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   rC   rE   rH   s       r7   r   zGCloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.Revokeu  rK   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz;v1alpha1/projects/{projectsId}/consents/{consentsId}:revokerN   z9cloudcommerceconsumerprocurement.projects.consents.revokeri   r   r   =CloudcommerceconsumerprocurementProjectsConsentsRevokeRequestr   FrT   r`   rb   r8   r7   rc   zICloudcommerceconsumerprocurementV1alpha1.ProjectsConsentsService.<lambda>  s4    8#9#9OMxH/ZYR$r8   r<   r   r   s   @r7   r,   r    sO    ;E
8E8E8D8Fr8   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 )	DCloudcommerceconsumerprocurementV1alpha1.ProjectsEntitlementsServicez5Service class for the projects_entitlements resource.r/   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r.   r   r=   r>   s     r7   r   zMCloudcommerceconsumerprocurementV1alpha1.ProjectsEntitlementsService.__init__  s%    4PPRV`aghdr8   c                 L    | j                  d      }| j                  |||      S )aV  Gets the requested Entitlement resource.

      Args:
        request: (CloudcommerceconsumerprocurementProjectsEntitlementsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1Entitlement) The response message.
      rn   rC   rE   rH   s       r7   rn   zHCloudcommerceconsumerprocurementV1alpha1.ProjectsEntitlementsService.Get  ro   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz<v1alpha1/projects/{projectsId}/entitlements/{entitlementsId}rq   z:cloudcommerceconsumerprocurement.projects.entitlements.getri   rj   rk   >CloudcommerceconsumerprocurementProjectsEntitlementsGetRequest9GoogleCloudCommerceConsumerProcurementV1alpha1EntitlementFrT   r`   rb   r8   r7   rc   zMCloudcommerceconsumerprocurementV1alpha1.ProjectsEntitlementsService.<lambda>  s4     6 6PNxH(ZV!r8   c                 L    | j                  d      }| j                  |||      S )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.
      ru   rC   rE   rH   s       r7   ru   zICloudcommerceconsumerprocurementV1alpha1.ProjectsEntitlementsService.List  rv   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz+v1alpha1/projects/{projectsId}/entitlementsrq   z;cloudcommerceconsumerprocurement.projects.entitlements.listrO   r   zv1alpha1/{+parent}/entitlementsrk   ?CloudcommerceconsumerprocurementProjectsEntitlementsListRequestFGoogleCloudCommerceConsumerProcurementV1alpha1ListEntitlementsResponseFrT   r`   rb   r8   r7   rc   zMCloudcommerceconsumerprocurementV1alpha1.ProjectsEntitlementsService.<lambda>  s4    !7!7?O zJ87[c"r8   r<   )
r|   r}   r~   r   r   r   rn   r   ru   r   r   s   @r7   r.   r    s1    ?#E
8C8Dr8   r.   c                   n     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	_         xZ
S )BCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsServicez3Service class for the projects_freeTrials resource.r1   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r0   r   r=   r>   s     r7   r   zKCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.__init__  s%    4NNPT^_efdr8   c                 L    | j                  d      }| j                  |||      S )a(  Creates a new FreeTrial.

      Args:
        request: (CloudcommerceconsumerprocurementProjectsFreeTrialsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      rB   rC   rE   rH   s       r7   rB   zICloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.Create  rK   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )N)v1alpha1/projects/{projectsId}/freeTrialsrN   z;cloudcommerceconsumerprocurement.projects.freeTrials.createrO   v1alpha1/{+parent}/freeTrials7googleCloudCommerceConsumerProcurementV1alpha1FreeTrial?CloudcommerceconsumerprocurementProjectsFreeTrialsCreateRequestrS   FrT   r`   rb   r8   r7   rc   zKCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.<lambda>  s4    8#9#9=O zJ5O[7$r8   c                 L    | j                  d      }| j                  |||      S )aP  Gets the requested FreeTrial resource.

      Args:
        request: (CloudcommerceconsumerprocurementProjectsFreeTrialsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudCommerceConsumerProcurementV1alpha1FreeTrial) The response message.
      rn   rC   rE   rH   s       r7   rn   zFCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.Get  ro   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz8v1alpha1/projects/{projectsId}/freeTrials/{freeTrialsId}rq   z8cloudcommerceconsumerprocurement.projects.freeTrials.getri   rj   rk   <CloudcommerceconsumerprocurementProjectsFreeTrialsGetRequest7GoogleCloudCommerceConsumerProcurementV1alpha1FreeTrialFrT   r`   rb   r8   r7   rc   zKCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.<lambda>  s4     6 6LLxH(XT!r8   c                 L    | j                  d      }| j                  |||      S )a  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.
      ru   rC   rE   rH   s       r7   ru   zGCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.List  rv   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr*  rq   z9cloudcommerceconsumerprocurement.projects.freeTrials.listrO   r   r+  rk   =CloudcommerceconsumerprocurementProjectsFreeTrialsListRequestDGoogleCloudCommerceConsumerProcurementV1alpha1ListFreeTrialsResponseFrT   r`   rb   r8   r7   rc   zKCloudcommerceconsumerprocurementV1alpha1.ProjectsFreeTrialsService.<lambda>  s4    !7!7=M zJ85Ya"r8   r<   )r|   r}   r~   r   r   r   rB   r   rn   ru   r   r   s   @r7   r0   r&    s@    =!E
8F8C8Dr8   r0   c                   >     e Zd ZdZdZ fdZddZd e_         xZS )8CloudcommerceconsumerprocurementV1alpha1.ProjectsServicez(Service class for the projects resource.r3   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r2   r   r=   r>   s     r7   r   zACloudcommerceconsumerprocurementV1alpha1.ProjectsService.__init__0  s$    4DDdTU[\dr8   c                 L    | j                  d      }| j                  |||      S )a  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.
      CheckEntitlementsrC   rE   rH   s       r7   r:  zJCloudcommerceconsumerprocurementV1alpha1.ProjectsService.CheckEntitlements5  r  r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nz0v1alpha1/projects/{projectsId}:checkEntitlementsrq   z;cloudcommerceconsumerprocurement.projects.checkEntitlementsrO   servicez$v1alpha1/{+parent}:checkEntitlementsrk   @CloudcommerceconsumerprocurementProjectsCheckEntitlementsRequestGGoogleCloudCommerceConsumerProcurementV1alpha1CheckEntitlementsResponseFrT   r`   rb   r8   r7   rc   zACloudcommerceconsumerprocurementV1alpha1.ProjectsService.<lambda>B  s6    h.D.DDO zJ[<\d/r8   r<   )	r|   r}   r~   r   r   r   r:  r   r   r   s   @r7   r2   r7  +  s#    2E
8'##r8   r2   )rk   NTNNFFNNNN)"r|   r}   r~   r   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   r   r   r    r"   r$   r&   r(   r*   r,   r.   r0   r2   r   r   s   @r7   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#// # #r8   r   N)
r   
__future__r   apitools.base.pyr   Ogooglecloudsdk.generated_clients.apis.cloudcommerceconsumerprocurement.v1alpha1r   r?  BaseApiClientr   rb   r8   r7   <module>rP     s*    U ' % [Dx/E/E Dr8   