
    &                     V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z:Generated client library for baremetalsolution version v1.    )absolute_import)base_api)baremetalsolution_v1_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rU =r$ )BaremetalsolutionV1
   zBGenerated client library for service baremetalsolution version v1.z)https://baremetalsolution.googleapis.com/z.https://baremetalsolution.mtls.googleapis.com/baremetalsolutionz.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        U R                  U 5      U l	        U R                  U 5      U l        g)z&Create a new baremetalsolution handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__OperationsService
operations!ProjectsLocationsInstancesServiceprojects_locations_instancesProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               ]lib/googlecloudsdk/generated_clients/apis/baremetalsolution/v1/baremetalsolution_v1_client.pyr   BaremetalsolutionV1.__init__   s     
C	
t-'%)3 7+ . - ,,T2DO(,(N(Nt(TD%";;DAD((.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$ )%BaremetalsolutionV1.OperationsService/   z*Service class for the operations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr#   clientr%   s     r&   r   .BaremetalsolutionV1.OperationsService.__init__4   s#    114A&Idr(   c                 D    U R                  S5      nU R                  X1US9$ )a	  Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.

Args:
  request: (BaremetalsolutionOperationsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
Cancelglobal_paramsGetMethodConfig
_RunMethodr#   requestr5   configs       r&   r3   ,BaremetalsolutionV1.OperationsService.Cancel9   /     ##H-f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz#v1/operations/{operationsId}:cancelPOSTz#baremetalsolution.operations.cancelnamezv1/{+name}:cancelcancelOperationRequest(BaremetalsolutionOperationsCancelRequestEmptyF	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>.BaremetalsolutionV1.OperationsService.<lambda>F   s4    8#9#977xH).D"$r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

Args:
  request: (BaremetalsolutionOperationsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
Deleter4   r6   r9   s       r&   rV   ,BaremetalsolutionV1.OperationsService.DeleteT   r=   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nv1/operations/{operationsId}DELETEz#baremetalsolution.operations.deleter@   
v1/{+name} (BaremetalsolutionOperationsDeleteRequestrC   FrD   rP   rR   r(   r&   rS   rT   a   s4    8#9#907xH"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: (BaremetalsolutionOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Getr4   r6   r9   s       r&   r_   )BaremetalsolutionV1.OperationsService.Geto   s/     ##E*f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NrY   GETz baremetalsolution.operations.getr@   r[   r\   %BaremetalsolutionOperationsGetRequest	OperationFrD   rP   rR   r(   r&   rS   rT   |   s4     6 604xH"A&!r(   c                 D    U R                  S5      nU R                  X1US9$ )a,  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

Args:
  request: (BaremetalsolutionOperationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListOperationsResponse) The response message.
Listr4   r6   r9   s       r&   rf   *BaremetalsolutionV1.OperationsService.List   s/     ##F+f__
  8 8r(   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nzv1/operationsrb   z!baremetalsolution.operations.listr@   )filterpageSize	pageTokenr[   r\   &BaremetalsolutionOperationsListRequestListOperationsResponseFrD   rP   rR   r(   r&   rS   rT      s4    !7!7!5xH8"B3"r(   r.   r-   )__name__
__module____qualname____firstlineno____doc___NAMEr   r3   method_configrV   r_   rf   __static_attributes____classcell__r%   s   @r&   r   r*   /   sO    4E
8F8F8C8D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
$ )	5BaremetalsolutionV1.ProjectsLocationsInstancesService   z<Service class for the projects_locations_instances resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r   r   r.   r/   s     r&   r   >BaremetalsolutionV1.ProjectsLocationsInstancesService.__init__   s$    AA4QRXYdr(   c                 D    U R                  S5      nU R                  X1US9$ )aZ  Perform an ungraceful, hard reset on a machine (equivalent to shutting the power off, and then turning it back on).

Args:
  request: (BaremetalsolutionProjectsLocationsInstancesResetInstanceRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ResetInstanceResponse) The response message.
ResetInstancer4   r6   r9   s       r&   r   CBaremetalsolutionV1.ProjectsLocationsInstancesService.ResetInstance   s/     ##O4f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzVv1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:resetInstancer?   z<baremetalsolution.projects.locations.instances.resetInstanceinstancezv1/{+instance}:resetInstanceresetInstanceRequest?BaremetalsolutionProjectsLocationsInstancesResetInstanceRequestResetInstanceResponseFrD   rP   rR   r(   r&   rS   >BaremetalsolutionV1.ProjectsLocationsInstancesService.<lambda>   s4    (*@*@jP"|L4,[2+r(   rn   r-   )ro   rp   rq   rr   rs   rt   r   r   ru   rv   rw   rx   s   @r&   r   rz      s"    F*E
8#Mr(   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ ),BaremetalsolutionV1.ProjectsLocationsService   z2Service class for the projects_locations resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r   r   r.   r/   s     r&   r   5BaremetalsolutionV1.ProjectsLocationsService.__init__   s#    88$HPdr(   rn   	ro   rp   rq   rr   rs   rt   r   rv   rw   rx   s   @r&   r   r      s    < E r(   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )#BaremetalsolutionV1.ProjectsService   z(Service class for the projects resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r!   r   r.   r/   s     r&   r   ,BaremetalsolutionV1.ProjectsService.__init__   s#    //?Gdr(   rn   r   rx   s   @r&   r!   r      s    2E r(   r!   )r   r"   r    r   )r\   NTNNFFNNNN)ro   rp   rq   rr   rs   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!   rv   rw   rx   s   @r&   r   r   
   s    J/8(B- (=>'(*"."+,,()-6:/4<@?C	/(t(11 tl#(*A*A #J!8!8 //  r(   r   N)
rs   
__future__r   apitools.base.pyr   :googlecloudsdk.generated_clients.apis.baremetalsolution.v1r   r   BaseApiClientr   rR   r(   r&   <module>r      s'    @ ' % pR(00 Rr(   