
    o                    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)z1Generated client library for eventarc version v1.    )absolute_import)base_api)eventarc_v1_messagesc                   X    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 xZ S )%
EventarcV1z9Generated client library for service eventarc version v1.z https://eventarc.googleapis.com/z%https://eventarc.mtls.googleapis.com/eventarcz.https://www.googleapis.com/auth/cloud-platformv1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                 r   |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        | j                  |       | _        | j                  |       | _	        | j                  |       | _        | j                  |       | _        | j                  |       | _        | j!                  |       | _        | j%                  |       | _        | j)                  |       | _        | j-                  |       | _        | j1                  |       | _        | j5                  |       | _        y)zCreate a new eventarc handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__*ProjectsLocationsChannelConnectionsService%projects_locations_channelConnections ProjectsLocationsChannelsServiceprojects_locations_channels#ProjectsLocationsEnrollmentsServiceprojects_locations_enrollments(ProjectsLocationsGoogleApiSourcesService#projects_locations_googleApiSources$ProjectsLocationsKafkaSourcesServiceprojects_locations_kafkaSources$ProjectsLocationsMessageBusesServiceprojects_locations_messageBuses"ProjectsLocationsOperationsServiceprojects_locations_operations!ProjectsLocationsPipelinesServiceprojects_locations_pipelines!ProjectsLocationsProvidersServiceprojects_locations_providers ProjectsLocationsTriggersServiceprojects_locations_triggersProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Klib/googlecloudsdk/generated_clients/apis/eventarc/v1/eventarc_v1_client.pyr   zEventarcV1.__init__   s/    
C	*d$'d%l)3 7+ % - 261`1`ae1fD.'+'L'LT'RD$*.*R*RSW*XD'/3/\/\]a/bD,+/+T+TUY+ZD(+/+T+TUY+ZD()-)P)PQU)VD&(,(N(Nt(TD%(,(N(Nt(TD%'+'L'LT'RD$";;DAD((.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
_        ddZd e_        ddZd e_        ddZd e_         xZS )5EventarcV1.ProjectsLocationsChannelConnectionsServicezEService class for the projects_locations_channelConnections resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr2   clientr4   s     r5   r   z>EventarcV1.ProjectsLocationsChannelConnectionsService.__init__<   s#    JAA4QRXYdr6   c                 L    | j                  d      }| j                  |||      S )aM  Create a new ChannelConnection in a particular project and location.

      Args:
        request: (EventarcProjectsLocationsChannelConnectionsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      Createglobal_paramsGetMethodConfig
_RunMethodr2   requestrA   configs       r5   r?   z<EventarcV1.ProjectsLocationsChannelConnectionsService.CreateA   1     ##H-f__
'  8 8r6   c                  H    t        j                  ddddgdgdgdddd	d
      S )NCv1/projects/{projectsId}/locations/{locationsId}/channelConnectionsPOSTz5eventarc.projects.locations.channelConnections.createparentchannelConnectionIdv1/{+parent}/channelConnectionschannelConnection8EventarcProjectsLocationsChannelConnectionsCreateRequest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 r6   r5   <lambda>z>EventarcV1.ProjectsLocationsChannelConnectionsService.<lambda>N   s7    8#9#9WI zJ+,7)T7$r6   c                 L    | j                  d      }| j                  |||      S )a+  Delete a single ChannelConnection.

      Args:
        request: (EventarcProjectsLocationsChannelConnectionsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      Deleter@   rB   rE   s       r5   rc   z<EventarcV1.ProjectsLocationsChannelConnectionsService.Delete\   rH   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NZv1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}DELETEz5eventarc.projects.locations.channelConnections.deletename
v1/{+name} 8EventarcProjectsLocationsChannelConnectionsDeleteRequestrQ   FrR   r^   r`   r6   r5   ra   z>EventarcV1.ProjectsLocationsChannelConnectionsService.<lambda>i   s4    8#9#9nIxH"T7$r6   c                 L    | j                  d      }| j                  |||      S )a  Get a single ChannelConnection.

      Args:
        request: (EventarcProjectsLocationsChannelConnectionsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ChannelConnection) The response message.
      Getr@   rB   rE   s       r5   rl   z9EventarcV1.ProjectsLocationsChannelConnectionsService.Getw   1     ##E*f__
'  8 8r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nre   GETz2eventarc.projects.locations.channelConnections.getrg   rh   ri   5EventarcProjectsLocationsChannelConnectionsGetRequestChannelConnectionFrR   r^   r`   r6   r5   ra   z>EventarcV1.ProjectsLocationsChannelConnectionsService.<lambda>   s4     6 6nFxH"Q.!r6   c                 L    | j                  d      }| j                  |||      S )ax  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Args:
        request: (EventarcProjectsLocationsChannelConnectionsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      GetIamPolicyr@   rB   rE   s       r5   rs   zBEventarcV1.ProjectsLocationsChannelConnectionsService.GetIamPolicy   1     ##N3f__
'  8 8r6   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nzgv1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}:getIamPolicyro   z;eventarc.projects.locations.channelConnections.getIamPolicyresourceoptions_requestedPolicyVersionv1/{+resource}:getIamPolicyri   >EventarcProjectsLocationsChannelConnectionsGetIamPolicyRequestPolicyFrR   r^   r`   r6   r5   ra   z>EventarcV1.ProjectsLocationsChannelConnectionsService.<lambda>   s7    )?)?{O"|L673Z#*r6   c                 L    | j                  d      }| j                  |||      S )a$  List channel connections.

      Args:
        request: (EventarcProjectsLocationsChannelConnectionsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListChannelConnectionsResponse) The response message.
      Listr@   rB   rE   s       r5   r|   z:EventarcV1.ProjectsLocationsChannelConnectionsService.List   1     ##F+f__
'  8 8r6   c                  J    t        j                  ddddgdgddgddd	d
d      S )NrJ   ro   z3eventarc.projects.locations.channelConnections.listrL   pageSize	pageTokenrN   ri   6EventarcProjectsLocationsChannelConnectionsListRequestListChannelConnectionsResponseFrR   r^   r`   r6   r5   ra   z>EventarcV1.ProjectsLocationsChannelConnectionsService.<lambda>   s9    !7!7WG zJ +.7R;"r6   c                 L    | j                  d      }| j                  |||      S )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Args:
        request: (EventarcProjectsLocationsChannelConnectionsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      SetIamPolicyr@   rB   rE   s       r5   r   zBEventarcV1.ProjectsLocationsChannelConnectionsService.SetIamPolicy   rt   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzgv1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}:setIamPolicyrK   z;eventarc.projects.locations.channelConnections.setIamPolicyrv   v1/{+resource}:setIamPolicysetIamPolicyRequest>EventarcProjectsLocationsChannelConnectionsSetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z>EventarcV1.ProjectsLocationsChannelConnectionsService.<lambda>   s4    )?)?{O"|L3+Z#*r6   c                 L    | j                  d      }| j                  |||      S )ar  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

      Args:
        request: (EventarcProjectsLocationsChannelConnectionsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      TestIamPermissionsr@   rB   rE   s       r5   r   zHEventarcV1.ProjectsLocationsChannelConnectionsService.TestIamPermissions   2     ##$89f__
'  8 8r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzmv1/projects/{projectsId}/locations/{locationsId}/channelConnections/{channelConnectionsId}:testIamPermissionsrK   zAeventarc.projects.locations.channelConnections.testIamPermissionsrv   !v1/{+resource}:testIamPermissionstestIamPermissionsRequestDEventarcProjectsLocationsChannelConnectionsTestIamPermissionsRequestTestIamPermissionsResponseFrR   r^   r`   r6   r5   ra   z>EventarcV1.ProjectsLocationsChannelConnectionsService.<lambda>   s7    x/E/E BU"|L91`70r6   r:   )__name__
__module____qualname____doc___NAMEr   r?   method_configrc   rl   rs   r|   r   r   __classcell__r4   s   @r5   r   r8   7   s}    O3E
8F8F8C8"L8D8"L8($$r6   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 )+EventarcV1.ProjectsLocationsChannelsServicez;Service class for the projects_locations_channels resource.r   c                 N    t         t        j                  |   |       i | _        y r:   )r   r   r   r   r;   r<   s     r5   r   z4EventarcV1.ProjectsLocationsChannelsService.__init__  "    J77GOdr6   c                 L    | j                  d      }| j                  |||      S )a9  Create a new channel in a particular project and location.

      Args:
        request: (EventarcProjectsLocationsChannelsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r?   r@   rB   rE   s       r5   r?   z2EventarcV1.ProjectsLocationsChannelsService.Create  rH   r6   c                  J    t        j                  ddddgdgddgddd	d
d      S )N9v1/projects/{projectsId}/locations/{locationsId}/channelsrK   z+eventarc.projects.locations.channels.createrL   	channelIdvalidateOnlyv1/{+parent}/channelschannel.EventarcProjectsLocationsChannelsCreateRequestrQ   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsChannelsService.<lambda>  9    8#9#9M? zJ!>2-J7$r6   c                 L    | j                  d      }| j                  |||      S )a  Delete a single channel.

      Args:
        request: (EventarcProjectsLocationsChannelsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      rc   r@   rB   rE   s       r5   rc   z2EventarcV1.ProjectsLocationsChannelsService.Delete#  rH   r6   c                  H    t        j                  ddddgdgdgdddd	d
      S )NFv1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}rf   z+eventarc.projects.locations.channels.deleterg   r   rh   ri   .EventarcProjectsLocationsChannelsDeleteRequestrQ   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsChannelsService.<lambda>0  s7    8#9#9Z?xH$%"J7$r6   c                 L    | j                  d      }| j                  |||      S )zGet a single Channel.

      Args:
        request: (EventarcProjectsLocationsChannelsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Channel) The response message.
      rl   r@   rB   rE   s       r5   rl   z/EventarcV1.ProjectsLocationsChannelsService.Get>  rm   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   ro   z(eventarc.projects.locations.channels.getrg   rh   ri   +EventarcProjectsLocationsChannelsGetRequestChannelFrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsChannelsService.<lambda>K  4     6 6Z<xH"G$!r6   c                 L    | j                  d      }| j                  |||      S )an  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Args:
        request: (EventarcProjectsLocationsChannelsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      rs   r@   rB   rE   s       r5   rs   z8EventarcV1.ProjectsLocationsChannelsService.GetIamPolicyY  rt   r6   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzSv1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:getIamPolicyro   z1eventarc.projects.locations.channels.getIamPolicyrv   rw   rx   ri   4EventarcProjectsLocationsChannelsGetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsChannelsService.<lambda>f  7    )?)?gE"|L673P#*r6   c                 L    | j                  d      }| j                  |||      S )a  List channels.

      Args:
        request: (EventarcProjectsLocationsChannelsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListChannelsResponse) The response message.
      r|   r@   rB   rE   s       r5   r|   z0EventarcV1.ProjectsLocationsChannelsService.Listt  r}   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   ro   z)eventarc.projects.locations.channels.listrL   )orderByr   r   r   ri   ,EventarcProjectsLocationsChannelsListRequestListChannelsResponseFrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsChannelsService.<lambda>  s4    !7!7M= zJ9-H1"r6   c                 L    | j                  d      }| j                  |||      S )a  Update a single channel.

      Args:
        request: (EventarcProjectsLocationsChannelsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      Patchr@   rB   rE   s       r5   r   z1EventarcV1.ProjectsLocationsChannelsService.Patch  1     ##G,f__
'  8 8r6   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr   PATCHz*eventarc.projects.locations.channels.patchrg   
updateMaskr   rh   r   -EventarcProjectsLocationsChannelsPatchRequestrQ   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsChannelsService.<lambda>  s9    ("8"8Z>xH"N3"I7#r6   c                 L    | j                  d      }| j                  |||      S )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Args:
        request: (EventarcProjectsLocationsChannelsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r   r@   rB   rE   s       r5   r   z8EventarcV1.ProjectsLocationsChannelsService.SetIamPolicy  rt   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NzSv1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:setIamPolicyrK   z1eventarc.projects.locations.channels.setIamPolicyrv   r   r   4EventarcProjectsLocationsChannelsSetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsChannelsService.<lambda>  4    )?)?gE"|L3+P#*r6   c                 L    | j                  d      }| j                  |||      S )ah  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

      Args:
        request: (EventarcProjectsLocationsChannelsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      r   r@   rB   rE   s       r5   r   z>EventarcV1.ProjectsLocationsChannelsService.TestIamPermissions  r   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NzYv1/projects/{projectsId}/locations/{locationsId}/channels/{channelsId}:testIamPermissionsrK   z7eventarc.projects.locations.channels.testIamPermissionsrv   r   r   :EventarcProjectsLocationsChannelsTestIamPermissionsRequestr   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsChannelsService.<lambda>  4    x/E/EmK"|L91V70r6   r:   r   r   r   r   r   r   r?   r   rc   rl   rs   r|   r   r   r   r   r   s   @r5   r   r          E)E
8F8F8C8"L8D8E8"L8($$r6   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 ).EventarcV1.ProjectsLocationsEnrollmentsServicez>Service class for the projects_locations_enrollments resource.r   c                 N    t         t        j                  |   |       i | _        y r:   )r   r   r   r   r;   r<   s     r5   r   z7EventarcV1.ProjectsLocationsEnrollmentsService.__init__  s"    J::DJ6Rdr6   c                 L    | j                  d      }| j                  |||      S )a?  Create a new Enrollment in a particular project and location.

      Args:
        request: (EventarcProjectsLocationsEnrollmentsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r?   r@   rB   rE   s       r5   r?   z5EventarcV1.ProjectsLocationsEnrollmentsService.Create  rH   r6   c                  J    t        j                  ddddgdgddgddd	d
d      S )N<v1/projects/{projectsId}/locations/{locationsId}/enrollmentsrK   z.eventarc.projects.locations.enrollments.createrL   enrollmentIdr   v1/{+parent}/enrollments
enrollment1EventarcProjectsLocationsEnrollmentsCreateRequestrQ   FrR   r^   r`   r6   r5   ra   z7EventarcV1.ProjectsLocationsEnrollmentsService.<lambda>  s9    8#9#9PB zJ$n50"M7$r6   c                 L    | j                  d      }| j                  |||      S )a  Delete a single Enrollment.

      Args:
        request: (EventarcProjectsLocationsEnrollmentsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      rc   r@   rB   rE   s       r5   rc   z5EventarcV1.ProjectsLocationsEnrollmentsService.Delete  rH   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )NLv1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}rf   z.eventarc.projects.locations.enrollments.deleterg   allowMissingetagr   rh   ri   1EventarcProjectsLocationsEnrollmentsDeleteRequestrQ   FrR   r^   r`   r6   r5   ra   z7EventarcV1.ProjectsLocationsEnrollmentsService.<lambda>  s4    8#9#9`BxH="M7$r6   c                 L    | j                  d      }| j                  |||      S )a  Get a single Enrollment.

      Args:
        request: (EventarcProjectsLocationsEnrollmentsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Enrollment) The response message.
      rl   r@   rB   rE   s       r5   rl   z2EventarcV1.ProjectsLocationsEnrollmentsService.Get   rm   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   ro   z+eventarc.projects.locations.enrollments.getrg   rh   ri   .EventarcProjectsLocationsEnrollmentsGetRequest
EnrollmentFrR   r^   r`   r6   r5   ra   z7EventarcV1.ProjectsLocationsEnrollmentsService.<lambda>-  s4     6 6`?xH"J'!r6   c                 L    | j                  d      }| j                  |||      S )aq  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Args:
        request: (EventarcProjectsLocationsEnrollmentsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      rs   r@   rB   rE   s       r5   rs   z;EventarcV1.ProjectsLocationsEnrollmentsService.GetIamPolicy;  rt   r6   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzYv1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}:getIamPolicyro   z4eventarc.projects.locations.enrollments.getIamPolicyrv   rw   rx   ri   7EventarcProjectsLocationsEnrollmentsGetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z7EventarcV1.ProjectsLocationsEnrollmentsService.<lambda>H  s7    )?)?mH"|L673S#*r6   c                 L    | j                  d      }| j                  |||      S )a  List Enrollments.

      Args:
        request: (EventarcProjectsLocationsEnrollmentsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListEnrollmentsResponse) The response message.
      r|   r@   rB   rE   s       r5   r|   z3EventarcV1.ProjectsLocationsEnrollmentsService.ListV  r}   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   ro   z,eventarc.projects.locations.enrollments.listrL   filterr   r   r   r   ri   /EventarcProjectsLocationsEnrollmentsListRequestListEnrollmentsResponseFrR   r^   r`   r6   r5   ra   z7EventarcV1.ProjectsLocationsEnrollmentsService.<lambda>c  s4    !7!7P@ zJC0K4"r6   c                 L    | j                  d      }| j                  |||      S )a  Update a single Enrollment.

      Args:
        request: (EventarcProjectsLocationsEnrollmentsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r@   rB   rE   s       r5   r   z4EventarcV1.ProjectsLocationsEnrollmentsService.Patchq  r   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   r   z-eventarc.projects.locations.enrollments.patchrg   r   r   r   rh   r   0EventarcProjectsLocationsEnrollmentsPatchRequestrQ   FrR   r^   r`   r6   r5   ra   z7EventarcV1.ProjectsLocationsEnrollmentsService.<lambda>~  s4    ("8"8`AxHC""L7#r6   c                 L    | j                  d      }| j                  |||      S )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Args:
        request: (EventarcProjectsLocationsEnrollmentsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r   r@   rB   rE   s       r5   r   z;EventarcV1.ProjectsLocationsEnrollmentsService.SetIamPolicy  rt   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NzYv1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}:setIamPolicyrK   z4eventarc.projects.locations.enrollments.setIamPolicyrv   r   r   7EventarcProjectsLocationsEnrollmentsSetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z7EventarcV1.ProjectsLocationsEnrollmentsService.<lambda>  s4    )?)?mH"|L3+S#*r6   c                 L    | j                  d      }| j                  |||      S )ak  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

      Args:
        request: (EventarcProjectsLocationsEnrollmentsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      r   r@   rB   rE   s       r5   r   zAEventarcV1.ProjectsLocationsEnrollmentsService.TestIamPermissions  r   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz_v1/projects/{projectsId}/locations/{locationsId}/enrollments/{enrollmentsId}:testIamPermissionsrK   z:eventarc.projects.locations.enrollments.testIamPermissionsrv   r   r   =EventarcProjectsLocationsEnrollmentsTestIamPermissionsRequestr   FrR   r^   r`   r6   r5   ra   z7EventarcV1.ProjectsLocationsEnrollmentsService.<lambda>  s4    x/E/EsN"|L91Y70r6   r:   r   r   s   @r5   r   r     s    H,E
8F8F8C8"L8D8E8"L8($$r6   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 )3EventarcV1.ProjectsLocationsGoogleApiSourcesServicezCService class for the projects_locations_googleApiSources resource.r!   c                 N    t         t        j                  |   |       i | _        y r:   )r   r   r    r   r;   r<   s     r5   r   z<EventarcV1.ProjectsLocationsGoogleApiSourcesService.__init__  s#    J??OPVWdr6   c                 L    | j                  d      }| j                  |||      S )aI  Create a new GoogleApiSource in a particular project and location.

      Args:
        request: (EventarcProjectsLocationsGoogleApiSourcesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r?   r@   rB   rE   s       r5   r?   z:EventarcV1.ProjectsLocationsGoogleApiSourcesService.Create  rH   r6   c                  J    t        j                  ddddgdgddgddd	d
d      S )NAv1/projects/{projectsId}/locations/{locationsId}/googleApiSourcesrK   z3eventarc.projects.locations.googleApiSources.createrL   googleApiSourceIdr   v1/{+parent}/googleApiSourcesgoogleApiSource6EventarcProjectsLocationsGoogleApiSourcesCreateRequestrQ   FrR   r^   r`   r6   r5   ra   z<EventarcV1.ProjectsLocationsGoogleApiSourcesService.<lambda>  s9    8#9#9UG zJ)>:5'R7$r6   c                 L    | j                  d      }| j                  |||      S )a'  Delete a single GoogleApiSource.

      Args:
        request: (EventarcProjectsLocationsGoogleApiSourcesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      rc   r@   rB   rE   s       r5   rc   z:EventarcV1.ProjectsLocationsGoogleApiSourcesService.Delete  rH   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )NVv1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}rf   z3eventarc.projects.locations.googleApiSources.deleterg   r   rh   ri   6EventarcProjectsLocationsGoogleApiSourcesDeleteRequestrQ   FrR   r^   r`   r6   r5   ra   z<EventarcV1.ProjectsLocationsGoogleApiSourcesService.<lambda>  s4    8#9#9jGxH="R7$r6   c                 L    | j                  d      }| j                  |||      S )a  Get a single GoogleApiSource.

      Args:
        request: (EventarcProjectsLocationsGoogleApiSourcesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleApiSource) The response message.
      rl   r@   rB   rE   s       r5   rl   z7EventarcV1.ProjectsLocationsGoogleApiSourcesService.Get  rm   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   ro   z0eventarc.projects.locations.googleApiSources.getrg   rh   ri   3EventarcProjectsLocationsGoogleApiSourcesGetRequestGoogleApiSourceFrR   r^   r`   r6   r5   ra   z<EventarcV1.ProjectsLocationsGoogleApiSourcesService.<lambda>  s4     6 6jDxH"O,!r6   c                 L    | j                  d      }| j                  |||      S )av  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Args:
        request: (EventarcProjectsLocationsGoogleApiSourcesGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      rs   r@   rB   rE   s       r5   rs   z@EventarcV1.ProjectsLocationsGoogleApiSourcesService.GetIamPolicy  rt   r6   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nzcv1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}:getIamPolicyro   z9eventarc.projects.locations.googleApiSources.getIamPolicyrv   rw   rx   ri   <EventarcProjectsLocationsGoogleApiSourcesGetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z<EventarcV1.ProjectsLocationsGoogleApiSourcesService.<lambda>*  s7    )?)?wM"|L673X#*r6   c                 L    | j                  d      }| j                  |||      S )a  List GoogleApiSources.

      Args:
        request: (EventarcProjectsLocationsGoogleApiSourcesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListGoogleApiSourcesResponse) The response message.
      r|   r@   rB   rE   s       r5   r|   z8EventarcV1.ProjectsLocationsGoogleApiSourcesService.List8  r}   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   ro   z1eventarc.projects.locations.googleApiSources.listrL   r   r   ri   4EventarcProjectsLocationsGoogleApiSourcesListRequestListGoogleApiSourcesResponseFrR   r^   r`   r6   r5   ra   z<EventarcV1.ProjectsLocationsGoogleApiSourcesService.<lambda>E  s4    !7!7UE zJC5P9"r6   c                 L    | j                  d      }| j                  |||      S )a&  Update a single GoogleApiSource.

      Args:
        request: (EventarcProjectsLocationsGoogleApiSourcesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r@   rB   rE   s       r5   r   z9EventarcV1.ProjectsLocationsGoogleApiSourcesService.PatchS  r   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   r   z2eventarc.projects.locations.googleApiSources.patchrg   r   rh   r   5EventarcProjectsLocationsGoogleApiSourcesPatchRequestrQ   FrR   r^   r`   r6   r5   ra   z<EventarcV1.ProjectsLocationsGoogleApiSourcesService.<lambda>`  s4    ("8"8jFxHC"'Q7#r6   c                 L    | j                  d      }| j                  |||      S )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Args:
        request: (EventarcProjectsLocationsGoogleApiSourcesSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r   r@   rB   rE   s       r5   r   z@EventarcV1.ProjectsLocationsGoogleApiSourcesService.SetIamPolicyn  rt   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzcv1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}:setIamPolicyrK   z9eventarc.projects.locations.googleApiSources.setIamPolicyrv   r   r   <EventarcProjectsLocationsGoogleApiSourcesSetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z<EventarcV1.ProjectsLocationsGoogleApiSourcesService.<lambda>{  s4    )?)?wM"|L3+X#*r6   c                 L    | j                  d      }| j                  |||      S )ap  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

      Args:
        request: (EventarcProjectsLocationsGoogleApiSourcesTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      r   r@   rB   rE   s       r5   r   zFEventarcV1.ProjectsLocationsGoogleApiSourcesService.TestIamPermissions  r   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nziv1/projects/{projectsId}/locations/{locationsId}/googleApiSources/{googleApiSourcesId}:testIamPermissionsrK   z?eventarc.projects.locations.googleApiSources.testIamPermissionsrv   r   r   BEventarcProjectsLocationsGoogleApiSourcesTestIamPermissionsRequestr   FrR   r^   r`   r6   r5   ra   z<EventarcV1.ProjectsLocationsGoogleApiSourcesService.<lambda>  s4    x/E/E}S"|L91^70r6   r:   r   r   s   @r5   r    r     s    M1E
8F8F8C8"L8D8E8"L8($$r6   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 )/EventarcV1.ProjectsLocationsKafkaSourcesServicez?Service class for the projects_locations_kafkaSources resource.r#   c                 N    t         t        j                  |   |       i | _        y r:   )r   r   r"   r   r;   r<   s     r5   r   z8EventarcV1.ProjectsLocationsKafkaSourcesService.__init__  "    J;;TKFSdr6   c                 L    | j                  d      }| j                  |||      S )aA  Create a new KafkaSource in a particular project and location.

      Args:
        request: (EventarcProjectsLocationsKafkaSourcesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r?   r@   rB   rE   s       r5   r?   z6EventarcV1.ProjectsLocationsKafkaSourcesService.Create  rH   r6   c                  J    t        j                  ddddgdgddgddd	d
d      S )N=v1/projects/{projectsId}/locations/{locationsId}/kafkaSourcesrK   z/eventarc.projects.locations.kafkaSources.createrL   kafkaSourceIdr   v1/{+parent}/kafkaSourceskafkaSource2EventarcProjectsLocationsKafkaSourcesCreateRequestrQ   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsKafkaSourcesService.<lambda>  s9    8#9#9QC zJ%~61#N7$r6   c                 L    | j                  d      }| j                  |||      S )a  Delete a single KafkaSource.

      Args:
        request: (EventarcProjectsLocationsKafkaSourcesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      rc   r@   rB   rE   s       r5   rc   z6EventarcV1.ProjectsLocationsKafkaSourcesService.Delete  rH   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )NNv1/projects/{projectsId}/locations/{locationsId}/kafkaSources/{kafkaSourcesId}rf   z/eventarc.projects.locations.kafkaSources.deleterg   r   rh   ri   2EventarcProjectsLocationsKafkaSourcesDeleteRequestrQ   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsKafkaSourcesService.<lambda>  4    8#9#9bCxH="N7$r6   c                 L    | j                  d      }| j                  |||      S )a
  Get a single kafkaSource.

      Args:
        request: (EventarcProjectsLocationsKafkaSourcesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (KafkaSource) The response message.
      rl   r@   rB   rE   s       r5   rl   z3EventarcV1.ProjectsLocationsKafkaSourcesService.Get  rm   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   ro   z,eventarc.projects.locations.kafkaSources.getrg   rh   ri   /EventarcProjectsLocationsKafkaSourcesGetRequestKafkaSourceFrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsKafkaSourcesService.<lambda>  s4     6 6b@xH"K(!r6   c                 L    | j                  d      }| j                  |||      S )ar  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Args:
        request: (EventarcProjectsLocationsKafkaSourcesGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      rs   r@   rB   rE   s       r5   rs   z<EventarcV1.ProjectsLocationsKafkaSourcesService.GetIamPolicy  rt   r6   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nz[v1/projects/{projectsId}/locations/{locationsId}/kafkaSources/{kafkaSourcesId}:getIamPolicyro   z5eventarc.projects.locations.kafkaSources.getIamPolicyrv   rw   rx   ri   8EventarcProjectsLocationsKafkaSourcesGetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsKafkaSourcesService.<lambda>  7    )?)?oI"|L673T#*r6   c                 L    | j                  d      }| j                  |||      S )a  List kafkaSources.

      Args:
        request: (EventarcProjectsLocationsKafkaSourcesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListKafkaSourcesResponse) The response message.
      r|   r@   rB   rE   s       r5   r|   z4EventarcV1.ProjectsLocationsKafkaSourcesService.List  r}   r6   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  ro   z-eventarc.projects.locations.kafkaSources.listrL   r   r   r  ri   0EventarcProjectsLocationsKafkaSourcesListRequestListKafkaSourcesResponseFrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsKafkaSourcesService.<lambda>'  s9    !7!7QA zJ +.1L5"r6   c                 L    | j                  d      }| j                  |||      S )a  Update a single KafkaSource.

      Args:
        request: (EventarcProjectsLocationsKafkaSourcesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r@   rB   rE   s       r5   r   z5EventarcV1.ProjectsLocationsKafkaSourcesService.Patch5  r   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   r   z.eventarc.projects.locations.kafkaSources.patchrg   r   rh   r  1EventarcProjectsLocationsKafkaSourcesPatchRequestrQ   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsKafkaSourcesService.<lambda>B  s4    ("8"8bBxHC"#M7#r6   c                 L    | j                  d      }| j                  |||      S )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Args:
        request: (EventarcProjectsLocationsKafkaSourcesSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r   r@   rB   rE   s       r5   r   z<EventarcV1.ProjectsLocationsKafkaSourcesService.SetIamPolicyP  rt   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz[v1/projects/{projectsId}/locations/{locationsId}/kafkaSources/{kafkaSourcesId}:setIamPolicyrK   z5eventarc.projects.locations.kafkaSources.setIamPolicyrv   r   r   8EventarcProjectsLocationsKafkaSourcesSetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsKafkaSourcesService.<lambda>]  4    )?)?oI"|L3+T#*r6   c                 L    | j                  d      }| j                  |||      S )al  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

      Args:
        request: (EventarcProjectsLocationsKafkaSourcesTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      r   r@   rB   rE   s       r5   r   zBEventarcV1.ProjectsLocationsKafkaSourcesService.TestIamPermissionsk  r   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzav1/projects/{projectsId}/locations/{locationsId}/kafkaSources/{kafkaSourcesId}:testIamPermissionsrK   z;eventarc.projects.locations.kafkaSources.testIamPermissionsrv   r   r   >EventarcProjectsLocationsKafkaSourcesTestIamPermissionsRequestr   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsKafkaSourcesService.<lambda>x  4    x/E/EuO"|L91Z70r6   r:   r   r   s   @r5   r"   r    s    I-E
8F8F8C8"L8D8E8"L8($$r6   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_        ddZd e_         xZS )/EventarcV1.ProjectsLocationsMessageBusesServicez?Service class for the projects_locations_messageBuses resource.r%   c                 N    t         t        j                  |   |       i | _        y r:   )r   r   r$   r   r;   r<   s     r5   r   z8EventarcV1.ProjectsLocationsMessageBusesService.__init__  r  r6   c                 L    | j                  d      }| j                  |||      S )a@  Create a new MessageBus in a particular project and location.

      Args:
        request: (EventarcProjectsLocationsMessageBusesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r?   r@   rB   rE   s       r5   r?   z6EventarcV1.ProjectsLocationsMessageBusesService.Create  rH   r6   c                  J    t        j                  ddddgdgddgddd	d
d      S )N=v1/projects/{projectsId}/locations/{locationsId}/messageBusesrK   z/eventarc.projects.locations.messageBuses.createrL   messageBusIdr   v1/{+parent}/messageBuses
messageBus2EventarcProjectsLocationsMessageBusesCreateRequestrQ   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsMessageBusesService.<lambda>  s9    8#9#9QC zJ$n51"N7$r6   c                 L    | j                  d      }| j                  |||      S )a  Delete a single message bus.

      Args:
        request: (EventarcProjectsLocationsMessageBusesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      rc   r@   rB   rE   s       r5   rc   z6EventarcV1.ProjectsLocationsMessageBusesService.Delete  rH   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )NNv1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}rf   z/eventarc.projects.locations.messageBuses.deleterg   r   rh   ri   2EventarcProjectsLocationsMessageBusesDeleteRequestrQ   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsMessageBusesService.<lambda>  r"  r6   c                 L    | j                  d      }| j                  |||      S )a  Get a single MessageBus.

      Args:
        request: (EventarcProjectsLocationsMessageBusesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (MessageBus) The response message.
      rl   r@   rB   rE   s       r5   rl   z3EventarcV1.ProjectsLocationsMessageBusesService.Get  rm   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NrF  ro   z,eventarc.projects.locations.messageBuses.getrg   rh   ri   /EventarcProjectsLocationsMessageBusesGetRequest
MessageBusFrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsMessageBusesService.<lambda>  s4     6 6b@xH"K'!r6   c                 L    | j                  d      }| j                  |||      S )ar  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Args:
        request: (EventarcProjectsLocationsMessageBusesGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      rs   r@   rB   rE   s       r5   rs   z<EventarcV1.ProjectsLocationsMessageBusesService.GetIamPolicy  rt   r6   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nz[v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}:getIamPolicyro   z5eventarc.projects.locations.messageBuses.getIamPolicyrv   rw   rx   ri   8EventarcProjectsLocationsMessageBusesGetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsMessageBusesService.<lambda>  r*  r6   c                 L    | j                  d      }| j                  |||      S )a  List message buses.

      Args:
        request: (EventarcProjectsLocationsMessageBusesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListMessageBusesResponse) The response message.
      r|   r@   rB   rE   s       r5   r|   z4EventarcV1.ProjectsLocationsMessageBusesService.List  r}   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr?  ro   z-eventarc.projects.locations.messageBuses.listrL   r   rA  ri   0EventarcProjectsLocationsMessageBusesListRequestListMessageBusesResponseFrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsMessageBusesService.<lambda>	  s4    !7!7QA zJC1L5"r6   c                 L    | j                  d      }| j                  |||      S )a0  List message bus enrollments.

      Args:
        request: (EventarcProjectsLocationsMessageBusesListEnrollmentsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListMessageBusEnrollmentsResponse) The response message.
      ListEnrollmentsr@   rB   rE   s       r5   rT  z?EventarcV1.ProjectsLocationsMessageBusesService.ListEnrollments  s2     ##$56f__
'  8 8r6   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nz^v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}:listEnrollmentsro   z8eventarc.projects.locations.messageBuses.listEnrollmentsrL   r   r   zv1/{+parent}:listEnrollmentsri   ;EventarcProjectsLocationsMessageBusesListEnrollmentsRequest!ListMessageBusEnrollmentsResponseFrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsMessageBusesService.<lambda>$  s9    H,B,BrL zJ +.4W>-r6   c                 L    | j                  d      }| j                  |||      S )a  Update a single message bus.

      Args:
        request: (EventarcProjectsLocationsMessageBusesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r@   rB   rE   s       r5   r   z5EventarcV1.ProjectsLocationsMessageBusesService.Patch2  r   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )NrF  r   z.eventarc.projects.locations.messageBuses.patchrg   r   rh   rB  1EventarcProjectsLocationsMessageBusesPatchRequestrQ   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsMessageBusesService.<lambda>?  s4    ("8"8bBxHC""M7#r6   c                 L    | j                  d      }| j                  |||      S )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Args:
        request: (EventarcProjectsLocationsMessageBusesSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r   r@   rB   rE   s       r5   r   z<EventarcV1.ProjectsLocationsMessageBusesService.SetIamPolicyM  rt   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz[v1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}:setIamPolicyrK   z5eventarc.projects.locations.messageBuses.setIamPolicyrv   r   r   8EventarcProjectsLocationsMessageBusesSetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsMessageBusesService.<lambda>Z  r5  r6   c                 L    | j                  d      }| j                  |||      S )al  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

      Args:
        request: (EventarcProjectsLocationsMessageBusesTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      r   r@   rB   rE   s       r5   r   zBEventarcV1.ProjectsLocationsMessageBusesService.TestIamPermissionsh  r   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzav1/projects/{projectsId}/locations/{locationsId}/messageBuses/{messageBusesId}:testIamPermissionsrK   z;eventarc.projects.locations.messageBuses.testIamPermissionsrv   r   r   >EventarcProjectsLocationsMessageBusesTestIamPermissionsRequestr   FrR   r^   r`   r6   r5   ra   z8EventarcV1.ProjectsLocationsMessageBusesService.<lambda>u  r9  r6   r:   )r   r   r   r   r   r   r?   r   rc   rl   rs   r|   rT  r   r   r   r   r   s   @r5   r$   r;    s    I-E
8F8F8C8"L8D8%O!8E8"L8($$r6   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 )-EventarcV1.ProjectsLocationsOperationsServicez=Service class for the projects_locations_operations resource.r'   c                 N    t         t        j                  |   |       i | _        y r:   )r   r   r&   r   r;   r<   s     r5   r   z6EventarcV1.ProjectsLocationsOperationsService.__init__  s"    J994I&Qdr6   c                 L    | j                  d      }| j                  |||      S )a7  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: (EventarcProjectsLocationsOperationsCancelRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      Cancelr@   rB   rE   s       r5   re  z4EventarcV1.ProjectsLocationsOperationsService.Cancel  rH   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NzQv1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelrK   z-eventarc.projects.locations.operations.cancelrg   zv1/{+name}:cancel'googleLongrunningCancelOperationRequest0EventarcProjectsLocationsOperationsCancelRequestEmptyFrR   r^   r`   r6   r5   ra   z6EventarcV1.ProjectsLocationsOperationsService.<lambda>  s4    8#9#9eAxH)?L"$r6   c                 L    | j                  d      }| j                  |||      S )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: (EventarcProjectsLocationsOperationsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      rc   r@   rB   rE   s       r5   rc   z4EventarcV1.ProjectsLocationsOperationsService.Delete  rH   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NJv1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}rf   z-eventarc.projects.locations.operations.deleterg   rh   ri   0EventarcProjectsLocationsOperationsDeleteRequestri  FrR   r^   r`   r6   r5   ra   z6EventarcV1.ProjectsLocationsOperationsService.<lambda>  s4    8#9#9^AxH"L"$r6   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: (EventarcProjectsLocationsOperationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      rl   r@   rB   rE   s       r5   rl   z1EventarcV1.ProjectsLocationsOperationsService.Get  rm   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nrl  ro   z*eventarc.projects.locations.operations.getrg   rh   ri   -EventarcProjectsLocationsOperationsGetRequestrQ   FrR   r^   r`   r6   r5   ra   z6EventarcV1.ProjectsLocationsOperationsService.<lambda>  s4     6 6^>xH"I7!r6   c                 L    | j                  d      }| j                  |||      S )a  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

      Args:
        request: (EventarcProjectsLocationsOperationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningListOperationsResponse) The response message.
      r|   r@   rB   rE   s       r5   r|   z2EventarcV1.ProjectsLocationsOperationsService.List  r}   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz;v1/projects/{projectsId}/locations/{locationsId}/operationsro   z+eventarc.projects.locations.operations.listrg   )r   r   r   zv1/{+name}/operationsri   .EventarcProjectsLocationsOperationsListRequest'GoogleLongrunningListOperationsResponseFrR   r^   r`   r6   r5   ra   z6EventarcV1.ProjectsLocationsOperationsService.<lambda>  s4    !7!7O?xH8-JD"r6   r:   )r   r   r   r   r   r   re  r   rc   rl   r|   r   r   s   @r5   r&   rb    sO    G+E
8F8F8C8Dr6   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 ),EventarcV1.ProjectsLocationsPipelinesServicez<Service class for the projects_locations_pipelines resource.r)   c                 N    t         t        j                  |   |       i | _        y r:   )r   r   r(   r   r;   r<   s     r5   r   z5EventarcV1.ProjectsLocationsPipelinesService.__init__  "    J88$HPdr6   c                 L    | j                  d      }| j                  |||      S )a;  Create a new Pipeline in a particular project and location.

      Args:
        request: (EventarcProjectsLocationsPipelinesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r?   r@   rB   rE   s       r5   r?   z3EventarcV1.ProjectsLocationsPipelinesService.Create  rH   r6   c                  J    t        j                  ddddgdgddgddd	d
d      S )N:v1/projects/{projectsId}/locations/{locationsId}/pipelinesrK   z,eventarc.projects.locations.pipelines.createrL   
pipelineIdr   v1/{+parent}/pipelinespipeline/EventarcProjectsLocationsPipelinesCreateRequestrQ   FrR   r^   r`   r6   r5   ra   z5EventarcV1.ProjectsLocationsPipelinesService.<lambda>  s9    8#9#9N@ zJ"N3. K7$r6   c                 L    | j                  d      }| j                  |||      S )a  Delete a single pipeline.

      Args:
        request: (EventarcProjectsLocationsPipelinesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      rc   r@   rB   rE   s       r5   rc   z3EventarcV1.ProjectsLocationsPipelinesService.Delete  rH   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )NHv1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}rf   z,eventarc.projects.locations.pipelines.deleterg   r   rh   ri   /EventarcProjectsLocationsPipelinesDeleteRequestrQ   FrR   r^   r`   r6   r5   ra   z5EventarcV1.ProjectsLocationsPipelinesService.<lambda>+  s4    8#9#9\@xH="K7$r6   c                 L    | j                  d      }| j                  |||      S )a  Get a single Pipeline.

      Args:
        request: (EventarcProjectsLocationsPipelinesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Pipeline) The response message.
      rl   r@   rB   rE   s       r5   rl   z0EventarcV1.ProjectsLocationsPipelinesService.Get9  rm   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  ro   z)eventarc.projects.locations.pipelines.getrg   rh   ri   ,EventarcProjectsLocationsPipelinesGetRequestPipelineFrR   r^   r`   r6   r5   ra   z5EventarcV1.ProjectsLocationsPipelinesService.<lambda>F  4     6 6\=xH"H%!r6   c                 L    | j                  d      }| j                  |||      S )ao  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Args:
        request: (EventarcProjectsLocationsPipelinesGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      rs   r@   rB   rE   s       r5   rs   z9EventarcV1.ProjectsLocationsPipelinesService.GetIamPolicyT  rt   r6   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzUv1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:getIamPolicyro   z2eventarc.projects.locations.pipelines.getIamPolicyrv   rw   rx   ri   5EventarcProjectsLocationsPipelinesGetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z5EventarcV1.ProjectsLocationsPipelinesService.<lambda>a  s7    )?)?iF"|L673Q#*r6   c                 L    | j                  d      }| j                  |||      S )a  List pipelines.

      Args:
        request: (EventarcProjectsLocationsPipelinesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListPipelinesResponse) The response message.
      r|   r@   rB   rE   s       r5   r|   z1EventarcV1.ProjectsLocationsPipelinesService.Listo  r}   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr{  ro   z*eventarc.projects.locations.pipelines.listrL   r   r}  ri   -EventarcProjectsLocationsPipelinesListRequestListPipelinesResponseFrR   r^   r`   r6   r5   ra   z5EventarcV1.ProjectsLocationsPipelinesService.<lambda>|  4    !7!7N> zJC.I2"r6   c                 L    | j                  d      }| j                  |||      S )a  Update a single pipeline.

      Args:
        request: (EventarcProjectsLocationsPipelinesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r@   rB   rE   s       r5   r   z2EventarcV1.ProjectsLocationsPipelinesService.Patch  r   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr  r   z+eventarc.projects.locations.pipelines.patchrg   r   rh   r~  .EventarcProjectsLocationsPipelinesPatchRequestrQ   FrR   r^   r`   r6   r5   ra   z5EventarcV1.ProjectsLocationsPipelinesService.<lambda>  s4    ("8"8\?xHC" J7#r6   c                 L    | j                  d      }| j                  |||      S )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Args:
        request: (EventarcProjectsLocationsPipelinesSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r   r@   rB   rE   s       r5   r   z9EventarcV1.ProjectsLocationsPipelinesService.SetIamPolicy  rt   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NzUv1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:setIamPolicyrK   z2eventarc.projects.locations.pipelines.setIamPolicyrv   r   r   5EventarcProjectsLocationsPipelinesSetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z5EventarcV1.ProjectsLocationsPipelinesService.<lambda>  s4    )?)?iF"|L3+Q#*r6   c                 L    | j                  d      }| j                  |||      S )ai  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

      Args:
        request: (EventarcProjectsLocationsPipelinesTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      r   r@   rB   rE   s       r5   r   z?EventarcV1.ProjectsLocationsPipelinesService.TestIamPermissions  r   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz[v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:testIamPermissionsrK   z8eventarc.projects.locations.pipelines.testIamPermissionsrv   r   r   ;EventarcProjectsLocationsPipelinesTestIamPermissionsRequestr   FrR   r^   r`   r6   r5   ra   z5EventarcV1.ProjectsLocationsPipelinesService.<lambda>  s4    x/E/EoL"|L91W70r6   r:   r   r   s   @r5   r(   rv    s    F*E
8F8F8C8"L8D8E8"L8($$r6   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 )	,EventarcV1.ProjectsLocationsProvidersServicez<Service class for the projects_locations_providers resource.r+   c                 N    t         t        j                  |   |       i | _        y r:   )r   r   r*   r   r;   r<   s     r5   r   z5EventarcV1.ProjectsLocationsProvidersService.__init__  rx  r6   c                 L    | j                  d      }| j                  |||      S )a  Get a single Provider.

      Args:
        request: (EventarcProjectsLocationsProvidersGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Provider) The response message.
      rl   r@   rB   rE   s       r5   rl   z0EventarcV1.ProjectsLocationsProvidersService.Get  rm   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NzHv1/projects/{projectsId}/locations/{locationsId}/providers/{providersId}ro   z)eventarc.projects.locations.providers.getrg   rh   ri   ,EventarcProjectsLocationsProvidersGetRequestProviderFrR   r^   r`   r6   r5   ra   z5EventarcV1.ProjectsLocationsProvidersService.<lambda>  r  r6   c                 L    | j                  d      }| j                  |||      S )a  List providers.

      Args:
        request: (EventarcProjectsLocationsProvidersListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListProvidersResponse) The response message.
      r|   r@   rB   rE   s       r5   r|   z1EventarcV1.ProjectsLocationsProvidersService.List   r}   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz:v1/projects/{projectsId}/locations/{locationsId}/providersro   z*eventarc.projects.locations.providers.listrL   r   zv1/{+parent}/providersri   -EventarcProjectsLocationsProvidersListRequestListProvidersResponseFrR   r^   r`   r6   r5   ra   z5EventarcV1.ProjectsLocationsProvidersService.<lambda>  r  r6   r:   )
r   r   r   r   r   r   rl   r   r|   r   r   s   @r5   r*   r    s1    F*E
8C8Dr6   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 )+EventarcV1.ProjectsLocationsTriggersServicez;Service class for the projects_locations_triggers resource.r-   c                 N    t         t        j                  |   |       i | _        y r:   )r   r   r,   r   r;   r<   s     r5   r   z4EventarcV1.ProjectsLocationsTriggersService.__init__   r   r6   c                 L    | j                  d      }| j                  |||      S )a9  Create a new trigger in a particular project and location.

      Args:
        request: (EventarcProjectsLocationsTriggersCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r?   r@   rB   rE   s       r5   r?   z2EventarcV1.ProjectsLocationsTriggersService.Create%  rH   r6   c                  J    t        j                  ddddgdgddgddd	d
d      S )N9v1/projects/{projectsId}/locations/{locationsId}/triggersrK   z+eventarc.projects.locations.triggers.createrL   	triggerIdr   v1/{+parent}/triggerstrigger.EventarcProjectsLocationsTriggersCreateRequestrQ   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsTriggersService.<lambda>2  r   r6   c                 L    | j                  d      }| j                  |||      S )a  Delete a single trigger.

      Args:
        request: (EventarcProjectsLocationsTriggersDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      rc   r@   rB   rE   s       r5   rc   z2EventarcV1.ProjectsLocationsTriggersService.Delete@  rH   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )NFv1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}rf   z+eventarc.projects.locations.triggers.deleterg   r   rh   ri   .EventarcProjectsLocationsTriggersDeleteRequestrQ   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsTriggersService.<lambda>M  s4    8#9#9Z?xH="J7$r6   c                 L    | j                  d      }| j                  |||      S )zGet a single trigger.

      Args:
        request: (EventarcProjectsLocationsTriggersGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Trigger) The response message.
      rl   r@   rB   rE   s       r5   rl   z/EventarcV1.ProjectsLocationsTriggersService.Get[  rm   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  ro   z(eventarc.projects.locations.triggers.getrg   rh   ri   +EventarcProjectsLocationsTriggersGetRequestTriggerFrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsTriggersService.<lambda>h  r   r6   c                 L    | j                  d      }| j                  |||      S )an  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

      Args:
        request: (EventarcProjectsLocationsTriggersGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      rs   r@   rB   rE   s       r5   rs   z8EventarcV1.ProjectsLocationsTriggersService.GetIamPolicyv  rt   r6   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzSv1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:getIamPolicyro   z1eventarc.projects.locations.triggers.getIamPolicyrv   rw   rx   ri   4EventarcProjectsLocationsTriggersGetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsTriggersService.<lambda>  r   r6   c                 L    | j                  d      }| j                  |||      S )a  List triggers.

      Args:
        request: (EventarcProjectsLocationsTriggersListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListTriggersResponse) The response message.
      r|   r@   rB   rE   s       r5   r|   z0EventarcV1.ProjectsLocationsTriggersService.List  r}   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr  ro   z)eventarc.projects.locations.triggers.listrL   r   r  ri   ,EventarcProjectsLocationsTriggersListRequestListTriggersResponseFrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsTriggersService.<lambda>  s4    !7!7M= zJC-H1"r6   c                 L    | j                  d      }| j                  |||      S )a  Update a single trigger.

      Args:
        request: (EventarcProjectsLocationsTriggersPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r@   rB   rE   s       r5   r   z1EventarcV1.ProjectsLocationsTriggersService.Patch  r   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr  r   z*eventarc.projects.locations.triggers.patchrg   r   rh   r  -EventarcProjectsLocationsTriggersPatchRequestrQ   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsTriggersService.<lambda>  s4    ("8"8Z>xHC"I7#r6   c                 L    | j                  d      }| j                  |||      S )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

      Args:
        request: (EventarcProjectsLocationsTriggersSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      r   r@   rB   rE   s       r5   r   z8EventarcV1.ProjectsLocationsTriggersService.SetIamPolicy  rt   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NzSv1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:setIamPolicyrK   z1eventarc.projects.locations.triggers.setIamPolicyrv   r   r   4EventarcProjectsLocationsTriggersSetIamPolicyRequestrz   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsTriggersService.<lambda>  r   r6   c                 L    | j                  d      }| j                  |||      S )ah  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

      Args:
        request: (EventarcProjectsLocationsTriggersTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      r   r@   rB   rE   s       r5   r   z>EventarcV1.ProjectsLocationsTriggersService.TestIamPermissions  r   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NzYv1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:testIamPermissionsrK   z7eventarc.projects.locations.triggers.testIamPermissionsrv   r   r   :EventarcProjectsLocationsTriggersTestIamPermissionsRequestr   FrR   r^   r`   r6   r5   ra   z4EventarcV1.ProjectsLocationsTriggersService.<lambda>  r   r6   r:   r   r   s   @r5   r,   r    r   r6   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 )#EventarcV1.ProjectsLocationsServicez2Service class for the projects_locations resource.r/   c                 N    t         t        j                  |   |       i | _        y r:   )r   r   r.   r   r;   r<   s     r5   r   z,EventarcV1.ProjectsLocationsService.__init__  s"    J//?Gdr6   c                 L    | j                  d      }| j                  |||      S )a  Gets information about a location.

      Args:
        request: (EventarcProjectsLocationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Location) The response message.
      rl   r@   rB   rE   s       r5   rl   z'EventarcV1.ProjectsLocationsService.Get  rm   r6   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz0v1/projects/{projectsId}/locations/{locationsId}ro   zeventarc.projects.locations.getrg   rh   ri   #EventarcProjectsLocationsGetRequestLocationFrR   r^   r`   r6   r5   ra   z,EventarcV1.ProjectsLocationsService.<lambda>  s4     6 6D3xH"?%!r6   c                 L    | j                  d      }| j                  |||      S )an  Get a GoogleChannelConfig. The name of the GoogleChannelConfig in the response is ALWAYS coded with projectID.

      Args:
        request: (EventarcProjectsLocationsGetGoogleChannelConfigRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleChannelConfig) The response message.
      GetGoogleChannelConfigr@   rB   rE   s       r5   r  z:EventarcV1.ProjectsLocationsService.GetGoogleChannelConfig"  s2     ##$<=f__
'  8 8r6   c                  F    t        j                  ddddgdgg ddddd	
      S )NDv1/projects/{projectsId}/locations/{locationsId}/googleChannelConfigro   z2eventarc.projects.locations.getGoogleChannelConfigrg   rh   ri   6EventarcProjectsLocationsGetGoogleChannelConfigRequestGoogleChannelConfigFrR   r^   r`   r6   r5   ra   z,EventarcV1.ProjectsLocationsService.<lambda>/  s4    83I3IXFxH"R04r6   c                 L    | j                  d      }| j                  |||      S )a1  Lists information about the supported locations for this service.

      Args:
        request: (EventarcProjectsLocationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListLocationsResponse) The response message.
      r|   r@   rB   rE   s       r5   r|   z(EventarcV1.ProjectsLocationsService.List=  r}   r6   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz"v1/projects/{projectsId}/locationsro   z eventarc.projects.locations.listrg   )extraLocationTypesr   r   r   zv1/{+name}/locationsri   $EventarcProjectsLocationsListRequestListLocationsResponseFrR   r^   r`   r6   r5   ra   z,EventarcV1.ProjectsLocationsService.<lambda>J  s4    !7!764xHN,@2"r6   c                 L    | j                  d      }| j                  |||      S )a'  Update a single GoogleChannelConfig.

      Args:
        request: (EventarcProjectsLocationsUpdateGoogleChannelConfigRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleChannelConfig) The response message.
      UpdateGoogleChannelConfigr@   rB   rE   s       r5   r  z=EventarcV1.ProjectsLocationsService.UpdateGoogleChannelConfigX  s2     ##$?@f__
'  8 8r6   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   z5eventarc.projects.locations.updateGoogleChannelConfigrg   r   rh   googleChannelConfig9EventarcProjectsLocationsUpdateGoogleChannelConfigRequestr  FrR   r^   r`   r6   r5   ra   z,EventarcV1.ProjectsLocationsService.<lambda>e  s6    h6L6LXIxH"^"+U07r6   r:   )r   r   r   r   r   r   rl   r   r  r|   r  r   r   s   @r5   r.   r    sQ    < E
8C8,(8D8/++r6   r.   c                   &     e Zd ZdZdZ fdZ xZS )EventarcV1.ProjectsServicez(Service class for the projects resource.r1   c                 N    t         t        j                  |   |       i | _        y r:   )r   r   r0   r   r;   r<   s     r5   r   z#EventarcV1.ProjectsService.__init__x  s"    J&&6v>dr6   )r   r   r   r   r   r   r   r   s   @r5   r0   r  s  s    2E r6   r0   )ri   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   r   r   s   @r5   r   r   
   sV   A//(9-(=>'(*"."+#,()-6:/4<@?C	/8E83J3J EN`)@)@ `D`H,C,C `D`1H1H `D`X-D-D `D{X-D-D {zt8+B+B tl`(*A*A `D>(*A*A >@`)@)@ `Dt!8!8 tl//  r6   r   N)
r   
__future__r   apitools.base.pyr   1googlecloudsdk.generated_clients.apis.eventarc.v1r   r  BaseApiClientr   r`   r6   r5   <module>r     s'    7 ' % ^q!'' q!r6   