
    <                     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 ids version v1.    )absolute_import)base_api)ids_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$ )IdsV1
   z4Generated client library for service ids version v1.zhttps://ids.googleapis.com/z https://ids.mtls.googleapis.com/idsz.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 ids handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__!ProjectsLocationsEndpointsServiceprojects_locations_endpoints"ProjectsLocationsOperationsServiceprojects_locations_operationsProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Alib/googlecloudsdk/generated_clients/apis/ids/v1/ids_v1_client.pyr   IdsV1.__init__   s     
C	%'%)3 7+   - )-(N(Nt(TD%)-)P)PQU)VD&";;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S jrS \l        SrU =r$ )'IdsV1.ProjectsLocationsEndpointsService/   z<Service class for the projects_locations_endpoints resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr#   clientr%   s     r&   r   0IdsV1.ProjectsLocationsEndpointsService.__init__4   s"    E33TCFKdr(   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a new Endpoint in a given project and location.

Args:
  request: (IdsProjectsLocationsEndpointsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Createglobal_paramsGetMethodConfig
_RunMethodr#   requestr5   configs       r&   r3   .IdsV1.ProjectsLocationsEndpointsService.Create9   /     ##H-f__
  8 8r(   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )N:v1/projects/{projectsId}/locations/{locationsId}/endpointsPOSTz'ids.projects.locations.endpoints.createparent
endpointId	requestIdv1/{+parent}/endpointsendpoint*IdsProjectsLocationsEndpointsCreateRequest	OperationF	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>0IdsV1.ProjectsLocationsEndpointsService.<lambda>F   s9    8#9#9N; zJ"K0. F&$r(   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes a single Endpoint.

Args:
  request: (IdsProjectsLocationsEndpointsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Deleter4   r6   r9   s       r&   rZ   .IdsV1.ProjectsLocationsEndpointsService.DeleteT   r=   r(   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NHv1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}DELETEz'ids.projects.locations.endpoints.deletenamerC   
v1/{+name} *IdsProjectsLocationsEndpointsDeleteRequestrG   FrH   rT   rV   r(   r&   rW   rX   a   s6    8#9#9\;xH!]"F&$r(   c                 D    U R                  S5      nU R                  X1US9$ )zGets details of a single Endpoint.

Args:
  request: (IdsProjectsLocationsEndpointsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Endpoint) The response message.
Getr4   r6   r9   s       r&   rd   +IdsV1.ProjectsLocationsEndpointsService.Geto   /     ##E*f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr]   GETz$ids.projects.locations.endpoints.getr_   r`   ra   'IdsProjectsLocationsEndpointsGetRequestEndpointFrH   rT   rV   r(   r&   rW   rX   |   s4     6 6\8xH"C%!r(   c                 D    U R                  S5      nU R                  X1US9$ )a   Lists Endpoints in a given project and location.

Args:
  request: (IdsProjectsLocationsEndpointsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListEndpointsResponse) The response message.
Listr4   r6   r9   s       r&   rl   ,IdsV1.ProjectsLocationsEndpointsService.List   /     ##F+f__
  8 8r(   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr?   rh   z%ids.projects.locations.endpoints.listrA   )filterorderBypageSize	pageTokenrD   ra   (IdsProjectsLocationsEndpointsListRequestListEndpointsResponseFrH   rT   rV   r(   r&   rW   rX      s4    !7!7N9 zJC.D2"r(   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates the parameters of a single Endpoint.

Args:
  request: (IdsProjectsLocationsEndpointsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Patchr4   r6   r9   s       r&   rw   -IdsV1.ProjectsLocationsEndpointsService.Patch   s/     ##G,f__
  8 8r(   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr]   PATCHz&ids.projects.locations.endpoints.patchr_   rC   
updateMaskr`   rE   )IdsProjectsLocationsEndpointsPatchRequestrG   FrH   rT   rV   r(   r&   rW   rX      s9    ("8"8\:xH!<0" E&#r(   r.   r-   )__name__
__module____qualname____firstlineno____doc___NAMEr   r3   method_configrZ   rd   rl   rw   __static_attributes____classcell__r%   s   @r&   r   r*   /   s^    F*E
8F8F8C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rU =r$ )(IdsV1.ProjectsLocationsOperationsService   z=Service class for the projects_locations_operations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r   r   r.   r/   s     r&   r   1IdsV1.ProjectsLocationsOperationsService.__init__   s"    E44dDVL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: (IdsProjectsLocationsOperationsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
Cancelr4   r6   r9   s       r&   r   /IdsV1.ProjectsLocationsOperationsService.Cancel   r=   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzQv1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelr@   z(ids.projects.locations.operations.cancelr_   zv1/{+name}:cancelcancelOperationRequest+IdsProjectsLocationsOperationsCancelRequestEmptyFrH   rT   rV   r(   r&   rW   1IdsV1.ProjectsLocationsOperationsService.<lambda>   s4    8#9#9e<xH).G"$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: (IdsProjectsLocationsOperationsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rZ   r4   r6   r9   s       r&   rZ   /IdsV1.ProjectsLocationsOperationsService.Delete   r=   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NJv1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}r^   z(ids.projects.locations.operations.deleter_   r`   ra   +IdsProjectsLocationsOperationsDeleteRequestr   FrH   rT   rV   r(   r&   rW   r      s4    8#9#9^<xH"G"$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: (IdsProjectsLocationsOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rd   r4   r6   r9   s       r&   rd   ,IdsV1.ProjectsLocationsOperationsService.Get   rf   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr   rh   z%ids.projects.locations.operations.getr_   r`   ra   (IdsProjectsLocationsOperationsGetRequestrG   FrH   rT   rV   r(   r&   rW   r     s4     6 6^9xH"D&!r(   c                 D    U R                  S5      nU R                  X1US9$ )aY  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

Args:
  request: (IdsProjectsLocationsOperationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListOperationsResponse) The response message.
rl   r4   r6   r9   s       r&   rl   -IdsV1.ProjectsLocationsOperationsService.List  rn   r(   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz;v1/projects/{projectsId}/locations/{locationsId}/operationsrh   z&ids.projects.locations.operations.listr_   )rp   rr   rs   returnPartialSuccesszv1/{+name}/operationsra   )IdsProjectsLocationsOperationsListRequestListOperationsResponseFrH   rT   rV   r(   r&   rW   r   (  s4    !7!7O:xHP-E3"r(   r}   r-   )r~   r   r   r   r   r   r   r   r   rZ   rd   rl   r   r   r   s   @r&   r   r      sO    G+E
8F8F8C8D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$ )IdsV1.ProjectsLocationsServicei6  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   'IdsV1.ProjectsLocationsService.__init__;  s"    E**D:6Bdr(   c                 D    U R                  S5      nU R                  X1US9$ )zGets information about a location.

Args:
  request: (IdsProjectsLocationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Location) The response message.
rd   r4   r6   r9   s       r&   rd   "IdsV1.ProjectsLocationsService.Get@  rf   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz0v1/projects/{projectsId}/locations/{locationsId}rh   zids.projects.locations.getr_   r`   ra   IdsProjectsLocationsGetRequestLocationFrH   rT   rV   r(   r&   rW   'IdsV1.ProjectsLocationsService.<lambda>M  s4     6 6D.xH":%!r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists information about the supported locations for this service.

Args:
  request: (IdsProjectsLocationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListLocationsResponse) The response message.
rl   r4   r6   r9   s       r&   rl   #IdsV1.ProjectsLocationsService.List[  rn   r(   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz"v1/projects/{projectsId}/locationsrh   zids.projects.locations.listr_   )extraLocationTypesrp   includeUnrevealedLocationsrr   rs   zv1/{+name}/locationsra   IdsProjectsLocationsListRequestListLocationsResponseFrH   rT   rV   r(   r&   rW   r   h  s4    !7!76/xHl,;2"r(   r}   r-   )r~   r   r   r   r   r   r   rd   r   rl   r   r   r   s   @r&   r   r   6  s1    < E
8C8Dr(   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )IdsV1.ProjectsServiceiv  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   IdsV1.ProjectsService.__init__{  s"    E!!41&9dr(   r}   )	r~   r   r   r   r   r   r   r   r   r   s   @r&   r!   r   v  s    2E r(   r!   )r"   r    r   r   )ra   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   s   @r&   r   r   
   s    </*(4-(=>'(*"."+,()-6:/4<@?C	/(O(*A*A Obt8+B+B tl>!8!8 >@//  r(   r   N)
r   
__future__r   apitools.base.pyr   ,googlecloudsdk.generated_clients.apis.ids.v1r   r   BaseApiClientr   rV   r(   r&   <module>r      s'    2 ' % TtH"" tr(   