
    ]`                     V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z5Generated client library for stream version v1alpha1.    )absolute_import)base_api)stream_v1alpha1_messagesc                   >  ^  \ rS rSrSr\rSrSrSr	S/r
SrSrS	rS
rS rSrSr     SU 4S jjr " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      rSrU =r$ )StreamV1alpha1
   z=Generated client library for service stream version v1alpha1.zhttps://stream.googleapis.com/z#https://stream.mtls.googleapis.com/streamz.https://www.googleapis.com/auth/cloud-platformv1alpha1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                 <  > U=(       d    U R                   n[        [        U ]  XX4UXgUU	U
US9  U R	                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l	        U R                  U 5      U l        U R                  U 5      U l        g)zCreate a new stream handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__"ProjectsLocationsOperationsServiceprojects_locations_operations&ProjectsLocationsStreamContentsService!projects_locations_streamContents'ProjectsLocationsStreamInstancesService"projects_locations_streamInstancesProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Slib/googlecloudsdk/generated_clients/apis/stream/v1alpha1/stream_v1alpha1_client.pyr   StreamV1alpha1.__init__   s     
C	.$('%)3 7+ ) - *.)P)PQU)VD&-1-X-XY]-^D*.2.Z.Z[_.`D+";;DAD((.DM    c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ )1StreamV1alpha1.ProjectsLocationsOperationsService0   z=Service class for the projects_locations_operations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr%   clientr'   s     r(   r   :StreamV1alpha1.ProjectsLocationsOperationsService.__init__5   s"    N==tMfUdr*   c                 D    U R                  S5      nU R                  X1US9$ )a  Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

Args:
  request: (StreamProjectsLocationsOperationsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
Cancelglobal_paramsGetMethodConfig
_RunMethodr%   requestr7   configs       r(   r5   8StreamV1alpha1.ProjectsLocationsOperationsService.Cancel:   /     ##H-f__
  8 8r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzWv1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelPOSTz+stream.projects.locations.operations.cancelnamezv1alpha1/{+name}:cancelcancelOperationRequest.StreamProjectsLocationsOperationsCancelRequestEmptyF	flat_pathhttp_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_downloadr   ApiMethodInfo r*   r(   <lambda>:StreamV1alpha1.ProjectsLocationsOperationsService.<lambda>G   s4    8#9#9k?xH/.J"$r*   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

Args:
  request: (StreamProjectsLocationsOperationsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
Deleter6   r8   r;   s       r(   rX   8StreamV1alpha1.ProjectsLocationsOperationsService.DeleteU   r?   r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NPv1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}DELETEz+stream.projects.locations.operations.deleterB   v1alpha1/{+name} .StreamProjectsLocationsOperationsDeleteRequestrE   FrF   rR   rT   r*   r(   rU   rV   b   s4    8#9#9d?xH(J"$r*   c                 D    U R                  S5      nU R                  X1US9$ )ab  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: (StreamProjectsLocationsOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Getr6   r8   r;   s       r(   ra   5StreamV1alpha1.ProjectsLocationsOperationsService.Getp   /     ##E*f__
  8 8r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr[   GETz(stream.projects.locations.operations.getrB   r]   r^   +StreamProjectsLocationsOperationsGetRequest	OperationFrF   rR   rT   r*   r(   rU   rV   }   s4     6 6d<xH(G&!r*   c                 D    U R                  S5      nU R                  X1US9$ )a\  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

Args:
  request: (StreamProjectsLocationsOperationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListOperationsResponse) The response message.
Listr6   r8   r;   s       r(   ri   6StreamV1alpha1.ProjectsLocationsOperationsService.List   /     ##F+f__
  8 8r*   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NzAv1alpha1/projects/{projectsId}/locations/{locationsId}/operationsre   z)stream.projects.locations.operations.listrB   )filterpageSize	pageTokenreturnPartialSuccesszv1alpha1/{+name}/operationsr^   ,StreamProjectsLocationsOperationsListRequestListOperationsResponseFrF   rR   rT   r*   r(   rU   rV      s4    !7!7U=xHP3H3"r*   r0   r/   )__name__
__module____qualname____firstlineno____doc___NAMEr   r5   method_configrX   ra   ri   __static_attributes____classcell__r'   s   @r(   r   r,   0   sO    G+E
8F8F8C8D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S jrS \l        SS jrS \l        SrU =r$ )5StreamV1alpha1.ProjectsLocationsStreamContentsService   zAService class for the projects_locations_streamContents resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r/   )r   r   r   r   r0   r1   s     r(   r   >StreamV1alpha1.ProjectsLocationsStreamContentsService.__init__   s#    NAA4QRXYdr*   c                 D    U R                  S5      nU R                  X1US9$ )ap  Builds the content to a Stream compatible format using the associated sources in a consumer cloud storage bucket. A new content version is created with the user-specified tag if the build succeeds. The returned Operation can be used to track the build status by polling operations.get. The Operation will complete when the build is done. Returns [StreamContent] in the Operation.response field on successful completion.

Args:
  request: (StreamProjectsLocationsStreamContentsBuildRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Buildr6   r8   r;   s       r(   r   ;StreamV1alpha1.ProjectsLocationsStreamContentsService.Build   /     ##G,f__
  8 8r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz^v1alpha1/projects/{projectsId}/locations/{locationsId}/streamContents/{streamContentsId}:buildrA   z.stream.projects.locations.streamContents.buildrB   zv1alpha1/{+name}:buildbuildStreamContentRequest1StreamProjectsLocationsStreamContentsBuildRequestrg   FrF   rR   rT   r*   r(   rU   >StreamV1alpha1.ProjectsLocationsStreamContentsService.<lambda>   s4    ("8"8rBxH.1M&#r*   c                 D    U R                  S5      nU R                  X1US9$ )aI  Creates a new StreamContent that manages the metadata and builds of user-provided Stream compatible content sources in a consumer cloud storage bucket. The returned Operation can be used to track the creation status by polling operations.get. The Operation will complete when the creation is done. Returns [StreamContent] in the Operation.response field on successful completion.

Args:
  request: (StreamProjectsLocationsStreamContentsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Creater6   r8   r;   s       r(   r   <StreamV1alpha1.ProjectsLocationsStreamContentsService.Create   r?   r*   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NEv1alpha1/projects/{projectsId}/locations/{locationsId}/streamContentsrA   z/stream.projects.locations.streamContents.createparent	requestIdstreamContentId!v1alpha1/{+parent}/streamContentsstreamContent2StreamProjectsLocationsStreamContentsCreateRequestrg   FrF   rR   rT   r*   r(   rU   r      s:    8#9#9YC zJ!#459%N&$r*   c                 D    U R                  S5      nU R                  X1US9$ )aN  Deletes a single StreamContent. This method removes the version history of content builds but does not delete any content source in the consumer cloud storage bucket. The returned Operation can be used to track the deletion status by polling operations.get. The Operation will complete when the deletion is done. Returns Empty in the Operation.response field on successful completion.

Args:
  request: (StreamProjectsLocationsStreamContentsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rX   r6   r8   r;   s       r(   rX   <StreamV1alpha1.ProjectsLocationsStreamContentsService.Delete   r?   r*   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NXv1alpha1/projects/{projectsId}/locations/{locationsId}/streamContents/{streamContentsId}r\   z/stream.projects.locations.streamContents.deleterB   r   r]   r^   2StreamProjectsLocationsStreamContentsDeleteRequestrg   FrF   rR   rT   r*   r(   rU   r      s6    8#9#9lCxH!](N&$r*   c                 D    U R                  S5      nU R                  X1US9$ )zGets details of a single StreamContent.

Args:
  request: (StreamProjectsLocationsStreamContentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (StreamContent) The response message.
ra   r6   r8   r;   s       r(   ra   9StreamV1alpha1.ProjectsLocationsStreamContentsService.Get  rc   r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr   re   z,stream.projects.locations.streamContents.getrB   r]   r^   /StreamProjectsLocationsStreamContentsGetRequestStreamContentFrF   rR   rT   r*   r(   rU   r     s4     6 6l@xH(K*!r*   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists StreamContents in a given project and location.

Args:
  request: (StreamProjectsLocationsStreamContentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListStreamContentsResponse) The response message.
ri   r6   r8   r;   s       r(   ri   :StreamV1alpha1.ProjectsLocationsStreamContentsService.List  rk   r*   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr   re   z-stream.projects.locations.streamContents.listr   rm   orderByrn   ro   r   r^   0StreamProjectsLocationsStreamContentsListRequestListStreamContentsResponseFrF   rR   rT   r*   r(   rU   r   )  s4    !7!7YA zJC9L7"r*   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates the parameters of a single StreamContent.

Args:
  request: (StreamProjectsLocationsStreamContentsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Patchr6   r8   r;   s       r(   r   ;StreamV1alpha1.ProjectsLocationsStreamContentsService.Patch7  r   r*   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr   PATCHz.stream.projects.locations.streamContents.patchrB   r   
updateMaskr]   r   1StreamProjectsLocationsStreamContentsPatchRequestrg   FrF   rR   rT   r*   r(   rU   r   D  s9    ("8"8lBxH!<0(%M&#r*   rs   r/   )rt   ru   rv   rw   rx   ry   r   r   rz   r   rX   ra   ri   r   r{   r|   r}   s   @r(   r   r      sm    K/E
8E8F8F8C8D8Er*   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )6StreamV1alpha1.ProjectsLocationsStreamInstancesServiceiR  zBService class for the projects_locations_streamInstances resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r/   )r   r   r   r   r0   r1   s     r(   r   ?StreamV1alpha1.ProjectsLocationsStreamInstancesService.__init__W  s#    NBBDRSYZdr*   c                 D    U R                  S5      nU R                  X1US9$ )a(  Creates a new StreamInstance that manages the turnup and rollout of the streaming service for a given StreamContent. The returned Operation can be used to track the creation status by polling operations.get. The Operation will complete when the creation is done. Returns [StreamInstance] in the Operation.response field on successful completion.

Args:
  request: (StreamProjectsLocationsStreamInstancesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r   r6   r8   r;   s       r(   r   =StreamV1alpha1.ProjectsLocationsStreamInstancesService.Create\  r?   r*   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NFv1alpha1/projects/{projectsId}/locations/{locationsId}/streamInstancesrA   z0stream.projects.locations.streamInstances.creater   r   streamInstanceId"v1alpha1/{+parent}/streamInstancesstreamInstance3StreamProjectsLocationsStreamInstancesCreateRequestrg   FrF   rR   rT   r*   r(   rU   ?StreamV1alpha1.ProjectsLocationsStreamInstancesService.<lambda>i  s:    8#9#9ZD zJ!#56:&O&$r*   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes a single StreamInstance. This method tears down the streaming service of the associated StreamContent. The returned Operation can be used to track the deletion status by polling operations.get. The Operation will complete when the deletion is done. Returns Empty in the Operation.response field on successful completion.

Args:
  request: (StreamProjectsLocationsStreamInstancesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rX   r6   r8   r;   s       r(   rX   =StreamV1alpha1.ProjectsLocationsStreamInstancesService.Deletew  r?   r*   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NZv1alpha1/projects/{projectsId}/locations/{locationsId}/streamInstances/{streamInstancesId}r\   z0stream.projects.locations.streamInstances.deleterB   r   r]   r^   3StreamProjectsLocationsStreamInstancesDeleteRequestrg   FrF   rR   rT   r*   r(   rU   r     s6    8#9#9nDxH!](O&$r*   c                 D    U R                  S5      nU R                  X1US9$ )zGets details of a single StreamInstance.

Args:
  request: (StreamProjectsLocationsStreamInstancesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (StreamInstance) The response message.
ra   r6   r8   r;   s       r(   ra   :StreamV1alpha1.ProjectsLocationsStreamInstancesService.Get  rc   r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr   re   z-stream.projects.locations.streamInstances.getrB   r]   r^   0StreamProjectsLocationsStreamInstancesGetRequestStreamInstanceFrF   rR   rT   r*   r(   rU   r     s4     6 6nAxH(L+!r*   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists StreamInstances in a given project and location.

Args:
  request: (StreamProjectsLocationsStreamInstancesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListStreamInstancesResponse) The response message.
ri   r6   r8   r;   s       r(   ri   ;StreamV1alpha1.ProjectsLocationsStreamInstancesService.List  rk   r*   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr   re   z.stream.projects.locations.streamInstances.listr   r   r   r^   1StreamProjectsLocationsStreamInstancesListRequestListStreamInstancesResponseFrF   rR   rT   r*   r(   rU   r     s4    !7!7ZB zJC:M8"r*   c                 D    U R                  S5      nU R                  X1US9$ )a   Updates the parameters of a single StreamInstance.

Args:
  request: (StreamProjectsLocationsStreamInstancesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r   r6   r8   r;   s       r(   r   <StreamV1alpha1.ProjectsLocationsStreamInstancesService.Patch  r   r*   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr   r   z/stream.projects.locations.streamInstances.patchrB   r   r   r]   r   2StreamProjectsLocationsStreamInstancesPatchRequestrg   FrF   rR   rT   r*   r(   rU   r     s9    ("8"8nCxH!<0(&N&#r*   rs   r/   )rt   ru   rv   rw   rx   ry   r   r   rz   rX   ra   ri   r   r{   r|   r}   s   @r(   r   r   R  s^    L0E
8F8F8C8D8Er*   r   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )'StreamV1alpha1.ProjectsLocationsServicei  z2Service class for the projects_locations resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r/   )r   r   r!   r   r0   r1   s     r(   r   0StreamV1alpha1.ProjectsLocationsService.__init__  s"    N33TCFKdr*   c                 D    U R                  S5      nU R                  X1US9$ )zGets information about a location.

Args:
  request: (StreamProjectsLocationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Location) The response message.
ra   r6   r8   r;   s       r(   ra   +StreamV1alpha1.ProjectsLocationsService.Get  rc   r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz6v1alpha1/projects/{projectsId}/locations/{locationsId}re   zstream.projects.locations.getrB   r]   r^   !StreamProjectsLocationsGetRequestLocationFrF   rR   rT   r*   r(   rU   0StreamV1alpha1.ProjectsLocationsService.<lambda>  s4     6 6J1xH(=%!r*   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists information about the supported locations for this service.

Args:
  request: (StreamProjectsLocationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListLocationsResponse) The response message.
ri   r6   r8   r;   s       r(   ri   ,StreamV1alpha1.ProjectsLocationsService.List  rk   r*   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz(v1alpha1/projects/{projectsId}/locationsre   zstream.projects.locations.listrB   )extraLocationTypesrm   includeUnrevealedLocationsrn   ro   zv1alpha1/{+name}/locationsr^   "StreamProjectsLocationsListRequestListLocationsResponseFrF   rR   rT   r*   r(   rU   r     s4    !7!7<2xHl2>2"r*   rs   r/   )rt   ru   rv   rw   rx   ry   r   ra   rz   ri   r{   r|   r}   s   @r(   r!   r     s1    < E
8C8Dr*   r!   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )StreamV1alpha1.ProjectsServicei#  z(Service class for the projects resource.r$   c                 N   > [         [        R                  U ]  U5        0 U l        g r/   )r   r   r#   r   r0   r1   s     r(   r   'StreamV1alpha1.ProjectsService.__init__(  s"    N**D:6Bdr*   rs   )	rt   ru   rv   rw   rx   ry   r   r{   r|   r}   s   @r(   r#   r   #  s    2E r*   r#   )r$   r"   r   r   r    )r^   NTNNFFNNNN)rt   ru   rv   rw   rx   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}   s   @r(   r   r   
   s    E/-(7-(=>'(*"."+',()-6:/4<@?C	/*t8+B+B tljx/F/F jXO0G0G Ob>!8!8 >@//  r*   r   N)
rx   
__future__r   apitools.base.pyr   5googlecloudsdk.generated_clients.apis.stream.v1alpha1r   r   BaseApiClientr   rT   r*   r(   <module>r      s'    ; ' % faX++ ar*   