
    !                     V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z7Generated client library for billingbudgets version v1.    )absolute_import)base_api)billingbudgets_v1_messagesc                      ^  \ rS rSrSr\rSrSrSr	S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rU =r$ )BillingbudgetsV1
   z?Generated client library for service billingbudgets version v1.z&https://billingbudgets.googleapis.com/z+https://billingbudgets.mtls.googleapis.com/billingbudgetsz-https://www.googleapis.com/auth/cloud-billingz.https://www.googleapis.com/auth/cloud-platformv1	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        g)z#Create a new billingbudgets handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__BillingAccountsBudgetsServicebillingAccounts_budgetsBillingAccountsServicebillingAccounts)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Wlib/googlecloudsdk/generated_clients/apis/billingbudgets/v1/billingbudgets_v1_client.pyr   BillingbudgetsV1.__init__   sg     
C	
D*'%)3 7+ + - $(#E#Ed#KD 66t<D    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rU =r$ ).BillingbudgetsV1.BillingAccountsBudgetsService-   z7Service class for the billingAccounts_budgets resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr   clientr!   s     r"   r   7BillingbudgetsV1.BillingAccountsBudgetsService.__init__2   s#    ::DJ6Rdr$   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new budget. See [Quotas and limits](https://cloud.google.com/billing/quotas) for more information on the limits of the number of budgets you can create.

Args:
  request: (BillingbudgetsBillingAccountsBudgetsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudBillingBudgetsV1Budget) The response message.
Createglobal_paramsGetMethodConfig
_RunMethodr   requestr1   configs       r"   r/   5BillingbudgetsV1.BillingAccountsBudgetsService.Create7   /     ##H-f__
  8 8r$   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N.v1/billingAccounts/{billingAccountsId}/budgetsPOSTz-billingbudgets.billingAccounts.budgets.createparentv1/{+parent}/budgets!googleCloudBillingBudgetsV1Budget1BillingbudgetsBillingAccountsBudgetsCreateRequest!GoogleCloudBillingBudgetsV1BudgetF	flat_pathhttp_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_downloadr   ApiMethodInfo r$   r"   <lambda>7BillingbudgetsV1.BillingAccountsBudgetsService.<lambda>D   s4    8#9#9BA zJ,9M>$r$   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes a budget. Returns successfully if already deleted.

Args:
  request: (BillingbudgetsBillingAccountsBudgetsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleProtobufEmpty) The response message.
Deleter0   r2   r5   s       r"   rT   5BillingbudgetsV1.BillingAccountsBudgetsService.DeleteR   r9   r$   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N:v1/billingAccounts/{billingAccountsId}/budgets/{budgetsId}DELETEz-billingbudgets.billingAccounts.budgets.deletename
v1/{+name} 1BillingbudgetsBillingAccountsBudgetsDeleteRequestGoogleProtobufEmptyFrB   rN   rP   r$   r"   rQ   rR   _   s4    8#9#9NAxH"M0$r$   c                 D    U R                  S5      nU R                  X1US9$ )a  Returns a budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.

Args:
  request: (BillingbudgetsBillingAccountsBudgetsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudBillingBudgetsV1Budget) The response message.
Getr0   r2   r5   s       r"   r_   2BillingbudgetsV1.BillingAccountsBudgetsService.Getm   s/     ##E*f__
  8 8r$   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NrW   GETz*billingbudgets.billingAccounts.budgets.getrY   rZ   r[   .BillingbudgetsBillingAccountsBudgetsGetRequestrA   FrB   rN   rP   r$   r"   rQ   rR   z   s4     6 6N>xH"J>!r$   c                 D    U R                  S5      nU R                  X1US9$ )a  Returns a list of budgets for a billing account. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.

Args:
  request: (BillingbudgetsBillingAccountsBudgetsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudBillingBudgetsV1ListBudgetsResponse) The response message.
Listr0   r2   r5   s       r"   re   3BillingbudgetsV1.BillingAccountsBudgetsService.List   s/     ##F+f__
  8 8r$   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr;   rb   z+billingbudgets.billingAccounts.budgets.listr=   )pageSize	pageTokenscoper>   r[   /BillingbudgetsBillingAccountsBudgetsListRequest.GoogleCloudBillingBudgetsV1ListBudgetsResponseFrB   rN   rP   r$   r"   rQ   rR      s4    !7!7B? zJ7,KK"r$   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates a budget and returns the updated budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. Budget fields that are not exposed in this API will not be changed by this method.

Args:
  request: (BillingbudgetsBillingAccountsBudgetsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudBillingBudgetsV1Budget) The response message.
Patchr0   r2   r5   s       r"   rn   4BillingbudgetsV1.BillingAccountsBudgetsService.Patch   s/     ##G,f__
  8 8r$   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NrW   PATCHz,billingbudgets.billingAccounts.budgets.patchrY   
updateMaskrZ   r?   0BillingbudgetsBillingAccountsBudgetsPatchRequestrA   FrB   rN   rP   r$   r"   rQ   rR      s6    ("8"8N@xH"^"9L>#r$   r*   r)   )__name__
__module____qualname____firstlineno____doc___NAMEr   r/   method_configrT   r_   re   rn   __static_attributes____classcell__r!   s   @r"   r   r&   -   s^    A%E
8F8F8C8D8Er$   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )'BillingbudgetsV1.BillingAccountsService   z/Service class for the billingAccounts resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r)   )r   r   r   r   r*   r+   s     r"   r   0BillingbudgetsV1.BillingAccountsService.__init__   s#    33TCFKdr$   rt   )	ru   rv   rw   rx   ry   rz   r   r|   r}   r~   s   @r"   r   r      s    9E r$   r   )r   r   )r[   NTNNFFNNNN)ru   rv   rw   rx   ry   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~   s   @r"   r   r   
   s    G/5(?-(<>no'(*"."+),()-6:/4<@?C	=$Oh&=&= Obx66  r$   r   N)
ry   
__future__r   apitools.base.pyr   7googlecloudsdk.generated_clients.apis.billingbudgets.v1r   r   BaseApiClientr   rP   r$   r"   <module>r      s'    = ' % j|x-- |r$   