
    o6                     V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z6Generated client library for clouddebugger version v2.    )absolute_import)base_api)clouddebugger_v2_messagesc                   j  ^  \ 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 S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      rSrU =r$ )ClouddebuggerV2
   z>Generated client library for service clouddebugger version v2.z%https://clouddebugger.googleapis.com/z*https://clouddebugger.mtls.googleapis.com/clouddebuggerz.https://www.googleapis.com/auth/cloud-platformz.https://www.googleapis.com/auth/cloud_debuggerv2	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                 h  > 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        g)z"Create a new clouddebugger handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__%ControllerDebuggeesBreakpointsService controller_debuggees_breakpointsControllerDebuggeesServicecontroller_debuggeesControllerService
controller#DebuggerDebuggeesBreakpointsServicedebugger_debuggees_breakpointsDebuggerDebuggeesServicedebugger_debuggeesDebuggerServicedebugger)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Ulib/googlecloudsdk/generated_clients/apis/clouddebugger/v2/clouddebugger_v2_client.pyr   ClouddebuggerV2.__init__   s     
C	/4)'%)3 7+ * - -1,V,VW[,\D) $ ? ? ED,,T2DO*.*R*RSW*XD'";;DAD((.DM    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$ )5ClouddebuggerV2.ControllerDebuggeesBreakpointsService1   z@Service class for the controller_debuggees_breakpoints resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr'   clientr)   s     r*   r   >ClouddebuggerV2.ControllerDebuggeesBreakpointsService.__init__6   s#    OAA4QRXYdr,   c                 D    U R                  S5      nU R                  X1US9$ )a  Returns the list of all active breakpoints for the debuggee. The breakpoint specification (`location`, `condition`, and `expressions` fields) is semantically immutable, although the field values may change. For example, an agent may update the location line number to reflect the actual line where the breakpoint was set, but this doesn't change the breakpoint semantics. This means that an agent does not need to check if a breakpoint has changed when it encounters the same breakpoint on a successive call. Moreover, an agent should remember the breakpoints that are completed until the controller removes them from the active list to avoid setting those breakpoints again.

Args:
  request: (ClouddebuggerControllerDebuggeesBreakpointsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListActiveBreakpointsResponse) The response message.
Listglobal_paramsGetMethodConfig
_RunMethodr'   requestr9   configs       r*   r7   :ClouddebuggerV2.ControllerDebuggeesBreakpointsService.List;   /     ##F+f__
  8 8r,   c                  D    [         R                  " SSS/S// SQSSSSS	S
9
$ )NGETz3clouddebugger.controller.debuggees.breakpoints.list
debuggeeId)agentIdsuccessOnTimeout	waitTokenz0v2/controller/debuggees/{debuggeeId}/breakpoints 6ClouddebuggerControllerDebuggeesBreakpointsListRequestListActiveBreakpointsResponseF
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>>ClouddebuggerV2.ControllerDebuggeesBreakpointsService.<lambda>H   s1    !7!7G$~!NAHR:"r,   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the breakpoint state or mutable fields. The entire Breakpoint message must be sent back to the controller service. Updates to active breakpoint fields are only allowed if the new value does not change the breakpoint specification. Updates to the `location`, `condition` and `expressions` fields should not alter the breakpoint semantics. These may only make changes such as canonicalizing a value or snapping the location to the correct line of code.

Args:
  request: (ClouddebuggerControllerDebuggeesBreakpointsUpdateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (UpdateActiveBreakpointResponse) The response message.
Updater8   r:   r=   s       r*   r\   <ClouddebuggerV2.ControllerDebuggeesBreakpointsService.UpdateU   /     ##H-f__
  8 8r,   c                  D    [         R                  " SSSS/SS// SSSSS	S
9
$ )NPUTz5clouddebugger.controller.debuggees.breakpoints.updaterD   idz5v2/controller/debuggees/{debuggeeId}/breakpoints/{id}updateActiveBreakpointRequest8ClouddebuggerControllerDebuggeesBreakpointsUpdateRequestUpdateActiveBreakpointResponseFrK   rV   rX   r,   r*   rY   rZ   b   s7    8#9#9I$d+!4(M5T;$r,   r2   r1   )__name__
__module____qualname____firstlineno____doc___NAMEr   r7   method_configr\   __static_attributes____classcell__r)   s   @r*   r   r.   1   s1    J.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
$ )	*ClouddebuggerV2.ControllerDebuggeesServiceo   z4Service class for the controller_debuggees resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r1   )r   r   r   r   r2   r3   s     r*   r   3ClouddebuggerV2.ControllerDebuggeesService.__init__t   s"    O66FvNdr,   c                 D    U R                  S5      nU R                  X1US9$ )a  Registers the debuggee with the controller service. All agents attached to the same application must call this method with exactly the same request content to get back the same stable `debuggee_id`. Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` is returned from any controller method. This protocol allows the controller service to disable debuggees, recover from data loss, or change the `debuggee_id` format. Agents must handle `debuggee_id` value changing upon re-registration.

Args:
  request: (RegisterDebuggeeRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (RegisterDebuggeeResponse) The response message.
Registerr8   r:   r=   s       r*   rv   3ClouddebuggerV2.ControllerDebuggeesService.Registery   s/     ##J/f__
  8 8r,   c                  <    [         R                  " SS/ / / SSSSSS9
$ )	NPOSTz+clouddebugger.controller.debuggees.registerz v2/controller/debuggees/registerz	<request>RegisterDebuggeeRequestRegisterDebuggeeResponseFrK   rV   rX   r,   r*   rY   3ClouddebuggerV2.ControllerDebuggeesService.<lambda>   s-    X%;%;?8!35&r,   re   r1   )rf   rg   rh   ri   rj   rk   r   rv   rl   rm   rn   ro   s   @r*   r   rq   o   s"    >"E
8Hr,   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )!ClouddebuggerV2.ControllerService   z*Service class for the controller resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r1   )r   r   r   r   r2   r3   s     r*   r   *ClouddebuggerV2.ControllerService.__init__   s"    O--t=fEdr,   re   	rf   rg   rh   ri   rj   rk   r   rm   rn   ro   s   @r*   r   r~      s    4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$ )3ClouddebuggerV2.DebuggerDebuggeesBreakpointsService   z>Service class for the debugger_debuggees_breakpoints resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r1   )r   r   r!   r   r2   r3   s     r*   r   <ClouddebuggerV2.DebuggerDebuggeesBreakpointsService.__init__   s#    O??OPVWdr,   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes the breakpoint from the debuggee.

Args:
  request: (ClouddebuggerDebuggerDebuggeesBreakpointsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
Deleter8   r:   r=   s       r*   r   :ClouddebuggerV2.DebuggerDebuggeesBreakpointsService.Delete   r^   r,   c                  F    [         R                  " SSSS/SS/S/SSSS	S
S9
$ )NDELETEz3clouddebugger.debugger.debuggees.breakpoints.deleterD   breakpointIdclientVersion=v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}rH   6ClouddebuggerDebuggerDebuggeesBreakpointsDeleteRequestEmptyFrK   rV   rX   r,   r*   rY   <ClouddebuggerV2.DebuggerDebuggeesBreakpointsService.<lambda>   s:    8#9#9G$n5#\2%&UR"$r,   c                 D    U R                  S5      nU R                  X1US9$ )zGets breakpoint information.

Args:
  request: (ClouddebuggerDebuggerDebuggeesBreakpointsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GetBreakpointResponse) The response message.
Getr8   r:   r=   s       r*   r   7ClouddebuggerV2.DebuggerDebuggeesBreakpointsService.Get   /     ##E*f__
  8 8r,   c                  F    [         R                  " SSSS/SS/S/SSSS	S
S9
$ )NrC   z0clouddebugger.debugger.debuggees.breakpoints.getrD   r   r   r   rH   3ClouddebuggerDebuggerDebuggeesBreakpointsGetRequestGetBreakpointResponseFrK   rV   rX   r,   r*   rY   r      s:     6 6D$n5#\2%&UO2!r,   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists all breakpoints for the debuggee.

Args:
  request: (ClouddebuggerDebuggerDebuggeesBreakpointsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListBreakpointsResponse) The response message.
r7   r8   r:   r=   s       r*   r7   8ClouddebuggerV2.DebuggerDebuggeesBreakpointsService.List   rA   r,   c                  D    [         R                  " SSS/S// SQSSSSS	S
9
$ )NrC   z1clouddebugger.debugger.debuggees.breakpoints.listrD   )action_valuer   includeAllUsersincludeInactivestripResultsrG   z.v2/debugger/debuggees/{debuggeeId}/breakpointsrH   4ClouddebuggerDebuggerDebuggeesBreakpointsListRequestListBreakpointsResponseFrK   rV   rX   r,   r*   rY   r      s1    !7!7E$~!NyFP4"r,   c                 D    U R                  S5      nU R                  X1US9$ )zSets the breakpoint to the debuggee.

Args:
  request: (ClouddebuggerDebuggerDebuggeesBreakpointsSetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (SetBreakpointResponse) The response message.
Setr8   r:   r=   s       r*   r   7ClouddebuggerV2.DebuggerDebuggeesBreakpointsService.Set   r   r,   c                  D    [         R                  " SSS/S/SS/SSSS	S
S9
$ )Nry   z0clouddebugger.debugger.debuggees.breakpoints.setrD   canaryOptionr   z2v2/debugger/debuggees/{debuggeeId}/breakpoints/set
breakpoint3ClouddebuggerDebuggerDebuggeesBreakpointsSetRequestSetBreakpointResponseFrK   rV   rX   r,   r*   rY   r     s6     6 6D$~!N$o6J"O2!r,   re   r1   )rf   rg   rh   ri   rj   rk   r   r   rl   r   r7   r   rm   rn   ro   s   @r*   r!   r      sO    H,E
8F8C8D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
$ )	(ClouddebuggerV2.DebuggerDebuggeesServicei  z2Service class for the debugger_debuggees resource.r$   c                 N   > [         [        R                  U ]  U5        0 U l        g r1   )r   r   r#   r   r2   r3   s     r*   r   1ClouddebuggerV2.DebuggerDebuggeesService.__init__  s"    O44dDVLdr,   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists all the debuggees that the user has access to.

Args:
  request: (ClouddebuggerDebuggerDebuggeesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListDebuggeesResponse) The response message.
r7   r8   r:   r=   s       r*   r7   -ClouddebuggerV2.DebuggerDebuggeesService.List  rA   r,   c                  @    [         R                  " SS/ / / SQSSSSSS	9
$ )
NrC   z%clouddebugger.debugger.debuggees.list)r   r   projectzv2/debugger/debuggeesrH   )ClouddebuggerDebuggerDebuggeesListRequestListDebuggeesResponseFrK   rV   rX   r,   r*   rY   1ClouddebuggerV2.DebuggerDebuggeesService.<lambda>&  s-    !7!79D-E2"r,   re   r1   )rf   rg   rh   ri   rj   rk   r   r7   rl   rm   rn   ro   s   @r*   r#   r     s"    < E
8Dr,   r#   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )ClouddebuggerV2.DebuggerServicei3  z(Service class for the debugger resource.r&   c                 N   > [         [        R                  U ]  U5        0 U l        g r1   )r   r   r%   r   r2   r3   s     r*   r   (ClouddebuggerV2.DebuggerService.__init__8  s"    O++T;FCdr,   re   r   ro   s   @r*   r%   r   3  s    2E r,   r%   )r    r   r   r&   r$   r"   )rH   NTNNFFNNNN)rf   rg   rh   ri   rj   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%   rm   rn   ro   s   @r*   r   r   
   s    F/4(>-(=?op'(*"."+(,()-6:/4<@?C	/,<h.E.E <|"8#:#: "H(11 pH,C,C pd"!8!8 "H//  r,   r   N)
rj   
__future__r   apitools.base.pyr   6googlecloudsdk.generated_clients.apis.clouddebugger.v2r   r   BaseApiClientr   rX   r,   r*   <module>r      s'    < ' % hqh,, qr,   