
    p                    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)z8Generated client library for mediaasset version v1alpha.    )absolute_import)base_api)mediaasset_v1alpha_messagesc                       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 G d$ d%ej&                        Z  xZ!S )'MediaassetV1alphaz@Generated client library for service mediaasset version v1alpha.z"https://mediaasset.googleapis.com/z'https://mediaasset.mtls.googleapis.com/
mediaassetz.https://www.googleapis.com/auth/cloud-platformv1alpha	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                    |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        | j                  |       | _        | j                  |       | _	        | j                  |       | _        | j                  |       | _        | j                  |       | _        | j!                  |       | _        | j%                  |       | _        | j)                  |       | _        | j-                  |       | _        | j1                  |       | _        | j5                  |       | _        | j9                  |       | _        y)zCreate a new mediaasset handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__/ProjectsLocationsAssetTypesAssetsActionsService,projects_locations_assetTypes_assets_actionsAProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService?projects_locations_assetTypes_assets_annotationSets_annotations6ProjectsLocationsAssetTypesAssetsAnnotationSetsService3projects_locations_assetTypes_assets_annotationSets(ProjectsLocationsAssetTypesAssetsService$projects_locations_assetTypes_assets'ProjectsLocationsAssetTypesRulesService#projects_locations_assetTypes_rules"ProjectsLocationsAssetTypesServiceprojects_locations_assetTypes ProjectsLocationsCatalogsServiceprojects_locations_catalogs$ProjectsLocationsComplexTypesServiceprojects_locations_complexTypesProjectsLocationsModulesServiceprojects_locations_modules"ProjectsLocationsOperationsServiceprojects_locations_operations$ProjectsLocationsTransformersServiceprojects_locations_transformersProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Ylib/googlecloudsdk/generated_clients/apis/mediaasset/v1alpha/mediaasset_v1alpha_client.pyr   zMediaassetV1alpha.__init__   sZ    
C	
T+'d%l)3 7+ , - 9=8l8lmq8rD5KO  LR  LR  SW  LXDH?C?z?z{  @AD<040]0]^b0cD-/3/[/[\`/aD,)-)P)PQU)VD&'+'L'LT'RD$+/+T+TUY+ZD(&*&J&J4&PD#)-)P)PQU)VD&+/+T+TUY+ZD(";;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
_         xZS )AMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsActionsServicezLService class for the projects_locations_assetTypes_assets_actions resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr4   clientr6   s     r7   r   zJMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsActionsService.__init__=   s$    MMt]^dedr8   c                 L    | j                  d      }| j                  |||      S )a;  Cancel any pending invocations under this action.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsActionsCancelRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (CancelActionResponse) The response message.
      Cancelglobal_paramsGetMethodConfig
_RunMethodr4   requestrC   configs       r7   rA   zHMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsActionsService.CancelB   1     ##H-f__
'  8 8r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz|v1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/actions/{actionsId}:cancelPOSTz>mediaasset.projects.locations.assetTypes.assets.actions.cancelnamev1alpha/{+name}:cancelcancelActionRequest?MediaassetProjectsLocationsAssetTypesAssetsActionsCancelRequestCancelActionResponseF	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 r8   r7   <lambda>zJMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsActionsService.<lambda>O   s7    8#9#9 QRxH.+[1$r8   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single action.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsActionsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Action) The response message.
      GetrB   rD   rG   s       r7   rc   zEMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsActionsService.Get]   1     ##E*f__
'  8 8r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzuv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/actions/{actionsId}GETz;mediaasset.projects.locations.assetTypes.assets.actions.getrM   v1alpha/{+name} <MediaassetProjectsLocationsAssetTypesAssetsActionsGetRequestActionFrR   r^   r`   r8   r7   ra   zJMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsActionsService.<lambda>j   s7     6 6 JOxH'X#!r8   c                 L    | j                  d      }| j                  |||      S )a5  Lists actions in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsActionsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListActionsResponse) The response message.
      ListrB   rD   rG   s       r7   rl   zFMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsActionsService.Listx   1     ##F+f__
'  8 8r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nziv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/actionsrf   z<mediaasset.projects.locations.assetTypes.assets.actions.listparentfilterorderBypageSize	pageTokenzv1alpha/{+parent}/actionsrh   =MediaassetProjectsLocationsAssetTypesAssetsActionsListRequestListActionsResponseFrR   r^   r`   r8   r7   ra   zJMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsActionsService.<lambda>   s4    !7!7}P zJC1Y0"r8   c                 L    | j                  d      }| j                  |||      S )a>  Trigger an invocation with the latest input state.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsActionsTriggerRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TriggerActionResponse) The response message.
      TriggerrB   rD   rG   s       r7   rx   zIMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsActionsService.Trigger   s1     ##I.f__
'  8 8r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz}v1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/actions/{actionsId}:triggerrL   z?mediaasset.projects.locations.assetTypes.assets.actions.triggerrM   zv1alpha/{+name}:triggertriggerActionRequest@MediaassetProjectsLocationsAssetTypesAssetsActionsTriggerRequestTriggerActionResponseFrR   r^   r`   r8   r7   ra   zJMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsActionsService.<lambda>   s7    H$:$: RSxH/,\2%r8   r<   )__name__
__module____qualname____doc___NAMEr   rA   method_configrc   rl   rx   __classcell__r6   s   @r7   r   r:   8   sO    V:E
8F8C8D8Gr8   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 )SMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsServicez_Service class for the projects_locations_assetTypes_assets_annotationSets_annotations resource.r   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r   r   r=   r>   s     r7   r   z\MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.__init__   s%    __aeopvwdr8   c                 L    | j                  d      }| j                  |||      S )aK  Creates a new annotation in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Annotation) The response message.
      CreaterB   rD   rG   s       r7   r   zZMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.Create   rJ   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/annotationSets/{annotationSetsId}/annotationsrL   zQmediaasset.projects.locations.assetTypes.assets.annotationSets.annotations.createro   annotationIdv1alpha/{+parent}/annotations
annotationQMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsCreateRequest
AnnotationFrR   r^   r`   r8   r7   ra   z\MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.<lambda>   s:    8#9#9 de zJ$%5"m'$r8   c                 L    | j                  d      }| j                  |||      S )a)  Deletes a single annotation.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      DeleterB   rD   rG   s       r7   r   zZMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.Delete   rJ   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/annotationSets/{annotationSetsId}/annotations/{annotationsId}DELETEzQmediaasset.projects.locations.assetTypes.assets.annotationSets.annotations.deleterM   etagrg   rh   QMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsDeleteRequestEmptyFrR   r^   r`   r8   r7   ra   z\MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.<lambda>   s9    8#9#9 texHX'm"$r8   c                 L    | j                  d      }| j                  |||      S )a3  Gets details of a single annotation.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Annotation) The response message.
      rc   rB   rD   rG   s       r7   rc   zWMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.Get   rd   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   rf   zNmediaasset.projects.locations.assetTypes.assets.annotationSets.annotations.getrM   rg   rh   NMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsGetRequestr   FrR   r^   r`   r8   r7   ra   z\MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.<lambda>   s7     6 6 tbxH'j'!r8   c                 L    | j                  d      }| j                  |||      S )a  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: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      GetIamPolicyrB   rD   rG   s       r7   r   z`MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.GetIamPolicy	  1     ##N3f__
'  8 8r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nzv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/annotationSets/{annotationSetsId}/annotations/{annotationsId}:getIamPolicyrf   zWmediaasset.projects.locations.assetTypes.assets.annotationSets.annotations.getIamPolicyresourceoptions_requestedPolicyVersion v1alpha/{+resource}:getIamPolicyrh   WMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsGetIamPolicyRequestGoogleIamV1PolicyFrR   r^   r`   r8   r7   ra   z\MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.<lambda>  s:    )?)? Ak"|L678s.*r8   c                 L    | j                  d      }| j                  |||      S )aO  Lists annotations in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAnnotationsResponse) The response message.
      rl   rB   rD   rG   s       r7   rl   zXMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.List$  rm   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rf   zOmediaasset.projects.locations.assetTypes.assets.annotationSets.annotations.listro   rq   rs   rt   r   rh   OMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsListRequestListAnnotationsResponseFrR   r^   r`   r8   r7   ra   z\MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.<lambda>1  s7    !7!7 dc zJ85k4"r8   c                 L    | j                  d      }| j                  |||      S )a?  Updates the parameters of a single annotation.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Annotation) The response message.
      PatchrB   rD   rG   s       r7   r   zYMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.Patch?  1     ##G,f__
'  8 8r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr   PATCHzPmediaasset.projects.locations.assetTypes.assets.annotationSets.annotations.patchrM   
updateMaskrg   r   PMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsPatchRequestr   FrR   r^   r`   r8   r7   ra   z\MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.<lambda>L  s9    ("8"8 tdxH"^'"l'#r8   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: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      SetIamPolicyrB   rD   rG   s       r7   r   z`MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.SetIamPolicyZ  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/annotationSets/{annotationSetsId}/annotations/{annotationsId}:setIamPolicyrL   zWmediaasset.projects.locations.assetTypes.assets.annotationSets.annotations.setIamPolicyr    v1alpha/{+resource}:setIamPolicygoogleIamV1SetIamPolicyRequestWMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsSetIamPolicyRequestr   FrR   r^   r`   r8   r7   ra   z\MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.<lambda>g  s7    )?)? Ak"|L86s.*r8   c                 L    | j                  d      }| j                  |||      S )a  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: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1TestIamPermissionsResponse) The response message.
      TestIamPermissionsrB   rD   rG   s       r7   r   zfMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.TestIamPermissionsu  2     ##$89f__
'  8 8r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/annotationSets/{annotationSetsId}/annotations/{annotationsId}:testIamPermissionsrL   z]mediaasset.projects.locations.assetTypes.assets.annotationSets.annotations.testIamPermissionsr   &v1alpha/{+resource}:testIamPermissions$googleIamV1TestIamPermissionsRequest]MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsTestIamPermissionsRequest%GoogleIamV1TestIamPermissionsResponseFrR   r^   r`   r8   r7   ra   z\MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsAnnotationsService.<lambda>  s7    x/E/E Gq"|L><yB0r8   r<   r}   r~   r   r   r   r   r   r   r   rc   r   rl   r   r   r   r   r   s   @r7   r   r      s    iME
8F8F8C8"L8D8E8"L8($$r8   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_         xZS )HMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsServicezSService class for the projects_locations_assetTypes_assets_annotationSets resource.r   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r   r   r=   r>   s     r7   r   zQMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsService.__init__  s%    TTVZdekldr8   c                 L    | j                  d      }| j                  |||      S )a.  Gets details of a single annotationSet.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (AnnotationSet) The response message.
      rc   rB   rD   rG   s       r7   rc   zLMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsService.Get  rd   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/annotationSets/{annotationSetsId}rf   zBmediaasset.projects.locations.assetTypes.assets.annotationSets.getrM   rg   rh   CMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsGetRequestAnnotationSetFrR   r^   r`   r8   r7   ra   zQMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsService.<lambda>  s7     6 6 XVxH'_*!r8   c                 L    | j                  d      }| j                  |||      S )a  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: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   rB   rD   rG   s       r7   r   zUMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsService.GetIamPolicy  r   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nzv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/annotationSets/{annotationSetsId}:getIamPolicyrf   zKmediaasset.projects.locations.assetTypes.assets.annotationSets.getIamPolicyr   r   r   rh   LMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsGetIamPolicyRequestr   FrR   r^   r`   r8   r7   ra   zQMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsService.<lambda>  s:    )?)? e_"|L678h.*r8   c                 L    | j                  d      }| j                  |||      S )aJ  Lists annotationSets in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAnnotationSetsResponse) The response message.
      rl   rB   rD   rG   s       r7   rl   zMMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsService.List  rm   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nzpv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/annotationSetsrf   zCmediaasset.projects.locations.assetTypes.assets.annotationSets.listro   r   z v1alpha/{+parent}/annotationSetsrh   DMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsListRequestListAnnotationSetsResponseFrR   r^   r`   r8   r7   ra   zQMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsService.<lambda>  s7    !7!7 EW zJ88`7"r8   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: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   rB   rD   rG   s       r7   r   zUMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsService.SetIamPolicy  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/annotationSets/{annotationSetsId}:setIamPolicyrL   zKmediaasset.projects.locations.assetTypes.assets.annotationSets.setIamPolicyr   r   r   LMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsSetIamPolicyRequestr   FrR   r^   r`   r8   r7   ra   zQMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsService.<lambda>  s7    )?)? e_"|L86h.*r8   c                 L    | j                  d      }| j                  |||      S )a  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: (MediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1TestIamPermissionsResponse) The response message.
      r   rB   rD   rG   s       r7   r   z[MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsService.TestIamPermissions  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}/annotationSets/{annotationSetsId}:testIamPermissionsrL   zQmediaasset.projects.locations.assetTypes.assets.annotationSets.testIamPermissionsr   r   r   RMediaassetProjectsLocationsAssetTypesAssetsAnnotationSetsTestIamPermissionsRequestr   FrR   r^   r`   r8   r7   ra   zQMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsAnnotationSetsService.<lambda>  s7    x/E/E ke"|L><nB0r8   r<   )r}   r~   r   r   r   r   rc   r   r   rl   r   r   r   r   s   @r7   r   r     s_    ]AE
8C8"L8D8"L8($$r8   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 ):MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsServicezDService class for the projects_locations_assetTypes_assets resource.r!   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r    r   r=   r>   s     r7   r   zCMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.__init__&  s$    FFVW]^dr8   c                 L    | j                  d      }| j                  |||      S )a,  Creates a new asset in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   zAMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.Create+  rJ   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )NVv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assetsrL   z6mediaasset.projects.locations.assetTypes.assets.createro   assetIdv1alpha/{+parent}/assetsasset8MediaassetProjectsLocationsAssetTypesAssetsCreateRequest	OperationFrR   r^   r`   r8   r7   ra   zCMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.<lambda>8  s6    8#9#9jJ zJ[0T&$r8   c                 L    | j                  d      }| j                  |||      S )a  Deletes a single asset.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   zAMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.DeleteF  rJ   r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nav1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}r   z6mediaasset.projects.locations.assetTypes.assets.deleterM   r   	requestIdrg   rh   8MediaassetProjectsLocationsAssetTypesAssetsDeleteRequestr   FrR   r^   r`   r8   r7   ra   zCMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.<lambda>S  s9    8#9#9uJxHk*'T&$r8   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single asset.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Asset) The response message.
      rc   rB   rD   rG   s       r7   rc   z>MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.Geta  rd   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr   rf   z3mediaasset.projects.locations.assetTypes.assets.getrM   readMaskrg   rh   5MediaassetProjectsLocationsAssetTypesAssetsGetRequestAssetFrR   r^   r`   r8   r7   ra   zCMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.<lambda>n  s6     6 6uGxH \'Q"!r8   c                 L    | j                  d      }| j                  |||      S )a  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: (MediaassetProjectsLocationsAssetTypesAssetsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   rB   rD   rG   s       r7   r   zGMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.GetIamPolicy|  r   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nznv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}:getIamPolicyrf   z<mediaasset.projects.locations.assetTypes.assets.getIamPolicyr   r   r   rh   >MediaassetProjectsLocationsAssetTypesAssetsGetIamPolicyRequestr   FrR   r^   r`   r8   r7   ra   zCMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.<lambda>  s:    )?)? CP"|L678Z.*r8   c                 L    | j                  d      }| j                  |||      S )a,  Lists assets in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAssetsResponse) The response message.
      rl   rB   rD   rG   s       r7   rl   z?MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.List  rm   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rf   z4mediaasset.projects.locations.assetTypes.assets.listro   )rq   rs   rt   r   r   rh   6MediaassetProjectsLocationsAssetTypesAssetsListRequestListAssetsResponseFrR   r^   r`   r8   r7   ra   zCMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.<lambda>  s4    !7!7jH zJD0R/"r8   c                 L    | j                  d      }| j                  |||      S )a   Updates the parameters of a single asset.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesAssetsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z@MediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.Patch  r   r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr   r   z5mediaasset.projects.locations.assetTypes.assets.patchrM   r   r   rg   r   7MediaassetProjectsLocationsAssetTypesAssetsPatchRequestr   FrR   r^   r`   r8   r7   ra   zCMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.<lambda>  s9    ("8"8uIxH!<0'S&#r8   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: (MediaassetProjectsLocationsAssetTypesAssetsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   rB   rD   rG   s       r7   r   zGMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.SetIamPolicy  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nznv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}:setIamPolicyrL   z<mediaasset.projects.locations.assetTypes.assets.setIamPolicyr   r   r   >MediaassetProjectsLocationsAssetTypesAssetsSetIamPolicyRequestr   FrR   r^   r`   r8   r7   ra   zCMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.<lambda>  s7    )?)? CP"|L86Z.*r8   c                 L    | j                  d      }| j                  |||      S )a}  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: (MediaassetProjectsLocationsAssetTypesAssetsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1TestIamPermissionsResponse) The response message.
      r   rB   rD   rG   s       r7   r   zMMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.TestIamPermissions  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nztv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/assets/{assetsId}:testIamPermissionsrL   zBmediaasset.projects.locations.assetTypes.assets.testIamPermissionsr   r   r   DMediaassetProjectsLocationsAssetTypesAssetsTestIamPermissionsRequestr   FrR   r^   r`   r8   r7   ra   zCMediaassetV1alpha.ProjectsLocationsAssetTypesAssetsService.<lambda>  s7    x/E/E IV"|L><`B0r8   r<   r   r   s   @r7   r    r   !  s    N2E
8F8F8C8"L8D8E8"L8($$r8   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_         xZS )9MediaassetV1alpha.ProjectsLocationsAssetTypesRulesServicezCService class for the projects_locations_assetTypes_rules resource.r#   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r"   r   r=   r>   s     r7   r   zBMediaassetV1alpha.ProjectsLocationsAssetTypesRulesService.__init__  s$    EEtUV\]dr8   c                 L    | j                  d      }| j                  |||      S )a*  Creates a new rule in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesRulesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z@MediaassetV1alpha.ProjectsLocationsAssetTypesRulesService.Create  rJ   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )NUv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/rulesrL   z5mediaasset.projects.locations.assetTypes.rules.createro   ruleIdv1alpha/{+parent}/rulesrule7MediaassetProjectsLocationsAssetTypesRulesCreateRequestr   FrR   r^   r`   r8   r7   ra   zBMediaassetV1alpha.ProjectsLocationsAssetTypesRulesService.<lambda>  s6    8#9#9iI zJZ/S&$r8   c                 L    | j                  d      }| j                  |||      S )a  Deletes a single rule.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesRulesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z@MediaassetV1alpha.ProjectsLocationsAssetTypesRulesService.Delete(  rJ   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )N_v1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}/rules/{rulesId}r   z5mediaasset.projects.locations.assetTypes.rules.deleterM   r   rg   rh   7MediaassetProjectsLocationsAssetTypesRulesDeleteRequestr   FrR   r^   r`   r8   r7   ra   zBMediaassetV1alpha.ProjectsLocationsAssetTypesRulesService.<lambda>5  s6    8#9#9sIxHX'S&$r8   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single rule.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesRulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Rule) The response message.
      rc   rB   rD   rG   s       r7   rc   z=MediaassetV1alpha.ProjectsLocationsAssetTypesRulesService.GetC  rd   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  rf   z2mediaasset.projects.locations.assetTypes.rules.getrM   rg   rh   4MediaassetProjectsLocationsAssetTypesRulesGetRequestRuleFrR   r^   r`   r8   r7   ra   zBMediaassetV1alpha.ProjectsLocationsAssetTypesRulesService.<lambda>P  s4     6 6sFxH'P!!r8   c                 L    | j                  d      }| j                  |||      S )a)  Lists rules in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesRulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListRulesResponse) The response message.
      rl   rB   rD   rG   s       r7   rl   z>MediaassetV1alpha.ProjectsLocationsAssetTypesRulesService.List^  rm   r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr   rf   z3mediaasset.projects.locations.assetTypes.rules.listro   rs   rt   r   rh   5MediaassetProjectsLocationsAssetTypesRulesListRequestListRulesResponseFrR   r^   r`   r8   r7   ra   zBMediaassetV1alpha.ProjectsLocationsAssetTypesRulesService.<lambda>k  s9    !7!7iG zJ +./Q."r8   c                 L    | j                  d      }| j                  |||      S )a  Updates the parameters of a single rule.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesRulesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z?MediaassetV1alpha.ProjectsLocationsAssetTypesRulesService.Patchy  r   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   z4mediaasset.projects.locations.assetTypes.rules.patchrM   r   rg   r  6MediaassetProjectsLocationsAssetTypesRulesPatchRequestr   FrR   r^   r`   r8   r7   ra   zBMediaassetV1alpha.ProjectsLocationsAssetTypesRulesService.<lambda>  s6    ("8"8sHxH"^'R&#r8   r<   r}   r~   r   r   r   r   r   r   r   rc   rl   r   r   r   s   @r7   r"   r     s^    M1E
8F8F8C8D8Er8   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 )4MediaassetV1alpha.ProjectsLocationsAssetTypesServicez=Service class for the projects_locations_assetTypes resource.r%   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r$   r   r=   r>   s     r7   r   z=MediaassetV1alpha.ProjectsLocationsAssetTypesService.__init__  $    @@$PQWXdr8   c                 L    | j                  d      }| j                  |||      S )a*  Creates a new AssetType in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z;MediaassetV1alpha.ProjectsLocationsAssetTypesService.Create  rJ   r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )N@v1alpha/projects/{projectsId}/locations/{locationsId}/assetTypesrL   z/mediaasset.projects.locations.assetTypes.createro   assetTypeIdr   v1alpha/{+parent}/assetTypes	assetType2MediaassetProjectsLocationsAssetTypesCreateRequestr   FrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsAssetTypesService.<lambda>  s9    8#9#9TC zJ#[14!N&$r8   c                 L    | j                  d      }| j                  |||      S )a  Deletes a single AssetType.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z;MediaassetV1alpha.ProjectsLocationsAssetTypesService.Delete  rJ   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )NOv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}r   z/mediaasset.projects.locations.assetTypes.deleterM   r   rg   rh   2MediaassetProjectsLocationsAssetTypesDeleteRequestr   FrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsAssetTypesService.<lambda>  s6    8#9#9cCxH!]'N&$r8   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single AssetType.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (AssetType) The response message.
      rc   rB   rD   rG   s       r7   rc   z8MediaassetV1alpha.ProjectsLocationsAssetTypesService.Get  rd   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   rf   z,mediaasset.projects.locations.assetTypes.getrM   rg   rh   /MediaassetProjectsLocationsAssetTypesGetRequest	AssetTypeFrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsAssetTypesService.<lambda>  4     6 6c@xH'K&!r8   c                 L    | j                  d      }| j                  |||      S )a}  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: (MediaassetProjectsLocationsAssetTypesGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   rB   rD   rG   s       r7   r   zAMediaassetV1alpha.ProjectsLocationsAssetTypesService.GetIamPolicy  r   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nz\v1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}:getIamPolicyrf   z5mediaasset.projects.locations.assetTypes.getIamPolicyr   r   r   rh   8MediaassetProjectsLocationsAssetTypesGetIamPolicyRequestr   FrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsAssetTypesService.<lambda>  s7    )?)?pI"|L678T.*r8   c                 L    | j                  d      }| j                  |||      S )a.  Lists AssetTypes in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAssetTypesResponse) The response message.
      rl   rB   rD   rG   s       r7   rl   z9MediaassetV1alpha.ProjectsLocationsAssetTypesService.List
  rm   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr  rf   z-mediaasset.projects.locations.assetTypes.listro   rp   r  rh   0MediaassetProjectsLocationsAssetTypesListRequestListAssetTypesResponseFrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsAssetTypesService.<lambda>  s4    !7!7TA zJC4L3"r8   c                 L    | j                  d      }| j                  |||      S )a  Updates the parameters of a single AssetType.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z:MediaassetV1alpha.ProjectsLocationsAssetTypesService.Patch%  r   r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr   r   z.mediaasset.projects.locations.assetTypes.patchrM   r   r   rg   r  1MediaassetProjectsLocationsAssetTypesPatchRequestr   FrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsAssetTypesService.<lambda>2  s9    ("8"8cBxH!<0'!M&#r8   c                 L    | j                  d      }| j                  |||      S )a  Search returns the resources (e.g., assets and annotations) under a Video Asset Type that match the given query. Search covers both media content and metadata.

      Args:
        request: (MediaassetProjectsLocationsAssetTypesSearchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SearchAssetTypeResponse) The response message.
      SearchrB   rD   rG   s       r7   r2  z;MediaassetV1alpha.ProjectsLocationsAssetTypesService.Search@  rJ   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NzVv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}:searchrL   z/mediaasset.projects.locations.assetTypes.searchrM   v1alpha/{+name}:searchsearchAssetTypeRequest2MediaassetProjectsLocationsAssetTypesSearchRequestSearchAssetTypeResponseFrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsAssetTypesService.<lambda>M  s4    8#9#9jCxH..N4$r8   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: (MediaassetProjectsLocationsAssetTypesSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   rB   rD   rG   s       r7   r   zAMediaassetV1alpha.ProjectsLocationsAssetTypesService.SetIamPolicy[  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz\v1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}:setIamPolicyrL   z5mediaasset.projects.locations.assetTypes.setIamPolicyr   r   r   8MediaassetProjectsLocationsAssetTypesSetIamPolicyRequestr   FrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsAssetTypesService.<lambda>h  s4    )?)?pI"|L86T.*r8   c                 L    | j                  d      }| j                  |||      S )aw  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: (MediaassetProjectsLocationsAssetTypesTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1TestIamPermissionsResponse) The response message.
      r   rB   rD   rG   s       r7   r   zGMediaassetV1alpha.ProjectsLocationsAssetTypesService.TestIamPermissionsv  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzbv1alpha/projects/{projectsId}/locations/{locationsId}/assetTypes/{assetTypesId}:testIamPermissionsrL   z;mediaasset.projects.locations.assetTypes.testIamPermissionsr   r   r   >MediaassetProjectsLocationsAssetTypesTestIamPermissionsRequestr   FrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsAssetTypesService.<lambda>  s4    x/E/EvO"|L><ZB0r8   r<   )r}   r~   r   r   r   r   r   r   r   rc   r   rl   r   r2  r   r   r   r   s   @r7   r$   r    s    G+E
8F8F8C8"L8D8E8F8"L8($$r8   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_         xZS )2MediaassetV1alpha.ProjectsLocationsCatalogsServicez;Service class for the projects_locations_catalogs resource.r'   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r&   r   r=   r>   s     r7   r   z;MediaassetV1alpha.ProjectsLocationsCatalogsService.__init__  s#    >>NvVdr8   c                 L    | j                  d      }| j                  |||      S )a&  Creates a new catalog in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsCatalogsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z9MediaassetV1alpha.ProjectsLocationsCatalogsService.Create  rJ   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )N>v1alpha/projects/{projectsId}/locations/{locationsId}/catalogsrL   z-mediaasset.projects.locations.catalogs.createro   	catalogIdv1alpha/{+parent}/catalogscatalog0MediaassetProjectsLocationsCatalogsCreateRequestr   FrR   r^   r`   r8   r7   ra   z;MediaassetV1alpha.ProjectsLocationsCatalogsService.<lambda>  s6    8#9#9RA zJ!]2L&$r8   c                 L    | j                  d      }| j                  |||      S )a	  Deletes a single catalog.

      Args:
        request: (MediaassetProjectsLocationsCatalogsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z9MediaassetV1alpha.ProjectsLocationsCatalogsService.Delete  rJ   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NKv1alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}r   z-mediaasset.projects.locations.catalogs.deleterM   rg   rh   0MediaassetProjectsLocationsCatalogsDeleteRequestr   FrR   r^   r`   r8   r7   ra   z;MediaassetV1alpha.ProjectsLocationsCatalogsService.<lambda>  s4    8#9#9_AxH'L&$r8   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single catalog.

      Args:
        request: (MediaassetProjectsLocationsCatalogsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Catalog) The response message.
      rc   rB   rD   rG   s       r7   rc   z6MediaassetV1alpha.ProjectsLocationsCatalogsService.Get  rd   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NrJ  rf   z*mediaasset.projects.locations.catalogs.getrM   rg   rh   -MediaassetProjectsLocationsCatalogsGetRequestCatalogFrR   r^   r`   r8   r7   ra   z;MediaassetV1alpha.ProjectsLocationsCatalogsService.<lambda>  s4     6 6_>xH'I$!r8   c                 L    | j                  d      }| j                  |||      S )a(  Lists catalogs in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsCatalogsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListCatalogsResponse) The response message.
      rl   rB   rD   rG   s       r7   rl   z7MediaassetV1alpha.ProjectsLocationsCatalogsService.List  rm   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )NrC  rf   z+mediaasset.projects.locations.catalogs.listro   rp   rE  rh   .MediaassetProjectsLocationsCatalogsListRequestListCatalogsResponseFrR   r^   r`   r8   r7   ra   z;MediaassetV1alpha.ProjectsLocationsCatalogsService.<lambda>  s4    !7!7R? zJC2J1"r8   c                 L    | j                  d      }| j                  |||      S )a  Updates the parameters of a single catalog.

      Args:
        request: (MediaassetProjectsLocationsCatalogsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z8MediaassetV1alpha.ProjectsLocationsCatalogsService.Patch  r   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )NrJ  r   z,mediaasset.projects.locations.catalogs.patchrM   r   rg   rF  /MediaassetProjectsLocationsCatalogsPatchRequestr   FrR   r^   r`   r8   r7   ra   z;MediaassetV1alpha.ProjectsLocationsCatalogsService.<lambda>  s6    ("8"8_@xH"^'K&#r8   c                 L    | j                  d      }| j                  |||      S )a  Search returns the resources (e.g., assets and annotations) under a Catalog that match the given query. Search covers both media content and metadata.

      Args:
        request: (MediaassetProjectsLocationsCatalogsSearchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (CatalogSearchResponse) The response message.
      r2  rB   rD   rG   s       r7   r2  z9MediaassetV1alpha.ProjectsLocationsCatalogsService.Search"  rJ   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NzRv1alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:searchrL   z-mediaasset.projects.locations.catalogs.searchrM   r4  catalogSearchRequest0MediaassetProjectsLocationsCatalogsSearchRequestCatalogSearchResponseFrR   r^   r`   r8   r7   ra   z;MediaassetV1alpha.ProjectsLocationsCatalogsService.<lambda>/  s4    8#9#9fAxH.,L2$r8   r<   )r}   r~   r   r   r   r   r   r   r   rc   rl   r   r2  r   r   s   @r7   r&   r?    sm    E)E
8F8F8C8D8E8Fr8   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 )6MediaassetV1alpha.ProjectsLocationsComplexTypesServicez?Service class for the projects_locations_complexTypes resource.r)   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r(   r   r=   r>   s     r7   r   z?MediaassetV1alpha.ProjectsLocationsComplexTypesService.__init__B  $    BBDRSYZdr8   c                 L    | j                  d      }| j                  |||      S )a/  Creates a new complex type in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsComplexTypesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z=MediaassetV1alpha.ProjectsLocationsComplexTypesService.CreateG  rJ   r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )NBv1alpha/projects/{projectsId}/locations/{locationsId}/complexTypesrL   z1mediaasset.projects.locations.complexTypes.createro   complexTypeIdr   v1alpha/{+parent}/complexTypescomplexType4MediaassetProjectsLocationsComplexTypesCreateRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsComplexTypesService.<lambda>T  s9    8#9#9VE zJ%{36#P&$r8   c                 L    | j                  d      }| j                  |||      S )a  Deletes a single complex type.

      Args:
        request: (MediaassetProjectsLocationsComplexTypesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z=MediaassetV1alpha.ProjectsLocationsComplexTypesService.Deleteb  rJ   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )NSv1alpha/projects/{projectsId}/locations/{locationsId}/complexTypes/{complexTypesId}r   z1mediaasset.projects.locations.complexTypes.deleterM   r   rg   rh   4MediaassetProjectsLocationsComplexTypesDeleteRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsComplexTypesService.<lambda>o  6    8#9#9gExH!]'P&$r8   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single complex type.

      Args:
        request: (MediaassetProjectsLocationsComplexTypesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ComplexType) The response message.
      rc   rB   rD   rG   s       r7   rc   z:MediaassetV1alpha.ProjectsLocationsComplexTypesService.Get}  rd   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nri  rf   z.mediaasset.projects.locations.complexTypes.getrM   rg   rh   1MediaassetProjectsLocationsComplexTypesGetRequestComplexTypeFrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsComplexTypesService.<lambda>  4     6 6gBxH'M(!r8   c                 L    | j                  d      }| j                  |||      S )a  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: (MediaassetProjectsLocationsComplexTypesGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   rB   rD   rG   s       r7   r   zCMediaassetV1alpha.ProjectsLocationsComplexTypesService.GetIamPolicy  r   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nz`v1alpha/projects/{projectsId}/locations/{locationsId}/complexTypes/{complexTypesId}:getIamPolicyrf   z7mediaasset.projects.locations.complexTypes.getIamPolicyr   r   r   rh   :MediaassetProjectsLocationsComplexTypesGetIamPolicyRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsComplexTypesService.<lambda>  7    )?)?tK"|L678V.*r8   c                 L    | j                  d      }| j                  |||      S )a5  Lists complex types in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsComplexTypesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListComplexTypesResponse) The response message.
      rl   rB   rD   rG   s       r7   rl   z;MediaassetV1alpha.ProjectsLocationsComplexTypesService.List  rm   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nrb  rf   z/mediaasset.projects.locations.complexTypes.listro   rp   rd  rh   2MediaassetProjectsLocationsComplexTypesListRequestListComplexTypesResponseFrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsComplexTypesService.<lambda>  4    !7!7VC zJC6N5"r8   c                 L    | j                  d      }| j                  |||      S )a#  Updates the parameters of a single complex type.

      Args:
        request: (MediaassetProjectsLocationsComplexTypesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z<MediaassetV1alpha.ProjectsLocationsComplexTypesService.Patch  r   r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nri  r   z0mediaasset.projects.locations.complexTypes.patchrM   r   r   rg   re  3MediaassetProjectsLocationsComplexTypesPatchRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsComplexTypesService.<lambda>  9    ("8"8gDxH!<0'#O&#r8   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: (MediaassetProjectsLocationsComplexTypesSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   rB   rD   rG   s       r7   r   zCMediaassetV1alpha.ProjectsLocationsComplexTypesService.SetIamPolicy  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz`v1alpha/projects/{projectsId}/locations/{locationsId}/complexTypes/{complexTypesId}:setIamPolicyrL   z7mediaasset.projects.locations.complexTypes.setIamPolicyr   r   r   :MediaassetProjectsLocationsComplexTypesSetIamPolicyRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsComplexTypesService.<lambda>  4    )?)?tK"|L86V.*r8   c                 L    | j                  d      }| j                  |||      S )ay  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: (MediaassetProjectsLocationsComplexTypesTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1TestIamPermissionsResponse) The response message.
      r   rB   rD   rG   s       r7   r   zIMediaassetV1alpha.ProjectsLocationsComplexTypesService.TestIamPermissions  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzfv1alpha/projects/{projectsId}/locations/{locationsId}/complexTypes/{complexTypesId}:testIamPermissionsrL   z=mediaasset.projects.locations.complexTypes.testIamPermissionsr   r   r   @MediaassetProjectsLocationsComplexTypesTestIamPermissionsRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsComplexTypesService.<lambda>  4    x/E/EzQ"|L><\B0r8   r<   r   r   s   @r7   r(   r]  =      I-E
8F8F8C8"L8D8E8"L8($$r8   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_         xZS )1MediaassetV1alpha.ProjectsLocationsModulesServicez:Service class for the projects_locations_modules resource.r+   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r*   r   r=   r>   s     r7   r   z:MediaassetV1alpha.ProjectsLocationsModulesService.__init__$  s#    ==tMfUdr8   c                 L    | j                  d      }| j                  |||      S )a$  Creates a new module in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsModulesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z8MediaassetV1alpha.ProjectsLocationsModulesService.Create)  rJ   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )N=v1alpha/projects/{projectsId}/locations/{locationsId}/modulesrL   z,mediaasset.projects.locations.modules.createro   moduleIdv1alpha/{+parent}/modulesmodule/MediaassetProjectsLocationsModulesCreateRequestr   FrR   r^   r`   r8   r7   ra   z:MediaassetV1alpha.ProjectsLocationsModulesService.<lambda>6  s6    8#9#9Q@ zJ \1K&$r8   c                 L    | j                  d      }| j                  |||      S )a  Deletes a single module.

      Args:
        request: (MediaassetProjectsLocationsModulesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z8MediaassetV1alpha.ProjectsLocationsModulesService.DeleteD  rJ   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NIv1alpha/projects/{projectsId}/locations/{locationsId}/modules/{modulesId}r   z,mediaasset.projects.locations.modules.deleterM   rg   rh   /MediaassetProjectsLocationsModulesDeleteRequestr   FrR   r^   r`   r8   r7   ra   z:MediaassetV1alpha.ProjectsLocationsModulesService.<lambda>Q  s4    8#9#9]@xH'K&$r8   c                 L    | j                  d      }| j                  |||      S )a	  Gets details of a single module.

      Args:
        request: (MediaassetProjectsLocationsModulesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Module) The response message.
      rc   rB   rD   rG   s       r7   rc   z5MediaassetV1alpha.ProjectsLocationsModulesService.Get_  rd   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  rf   z)mediaasset.projects.locations.modules.getrM   rg   rh   ,MediaassetProjectsLocationsModulesGetRequestModuleFrR   r^   r`   r8   r7   ra   z:MediaassetV1alpha.ProjectsLocationsModulesService.<lambda>l  s4     6 6]=xH'H#!r8   c                 L    | j                  d      }| j                  |||      S )a%  Lists modules in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsModulesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListModulesResponse) The response message.
      rl   rB   rD   rG   s       r7   rl   z6MediaassetV1alpha.ProjectsLocationsModulesService.Listz  rm   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr  rf   z*mediaasset.projects.locations.modules.listro   rp   r  rh   -MediaassetProjectsLocationsModulesListRequestListModulesResponseFrR   r^   r`   r8   r7   ra   z:MediaassetV1alpha.ProjectsLocationsModulesService.<lambda>  s4    !7!7Q> zJC1I0"r8   c                 L    | j                  d      }| j                  |||      S )a  Updates the parameters of a single module.

      Args:
        request: (MediaassetProjectsLocationsModulesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z7MediaassetV1alpha.ProjectsLocationsModulesService.Patch  r   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr  r   z+mediaasset.projects.locations.modules.patchrM   r   rg   r  .MediaassetProjectsLocationsModulesPatchRequestr   FrR   r^   r`   r8   r7   ra   z:MediaassetV1alpha.ProjectsLocationsModulesService.<lambda>  s6    ("8"8]?xH"^'J&#r8   r<   r  r   s   @r7   r*   r    s^    D(E
8F8F8C8D8Er8   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 )4MediaassetV1alpha.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     r7   r   z=MediaassetV1alpha.ProjectsLocationsOperationsService.__init__  r  r8   c                 L    | j                  d      }| j                  |||      S )a9  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: (MediaassetProjectsLocationsOperationsCancelRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      rA   rB   rD   rG   s       r7   rA   z;MediaassetV1alpha.ProjectsLocationsOperationsService.Cancel  rJ   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NzVv1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelrL   z/mediaasset.projects.locations.operations.cancelrM   rN   cancelOperationRequest2MediaassetProjectsLocationsOperationsCancelRequestr   FrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsOperationsService.<lambda>  s4    8#9#9jCxH..N"$r8   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: (MediaassetProjectsLocationsOperationsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      r   rB   rD   rG   s       r7   r   z;MediaassetV1alpha.ProjectsLocationsOperationsService.Delete  rJ   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )NOv1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}r   z/mediaasset.projects.locations.operations.deleterM   rg   rh   2MediaassetProjectsLocationsOperationsDeleteRequestr   FrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsOperationsService.<lambda>  s4    8#9#9cCxH'N"$r8   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: (MediaassetProjectsLocationsOperationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rc   rB   rD   rG   s       r7   rc   z8MediaassetV1alpha.ProjectsLocationsOperationsService.Get  rd   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  rf   z,mediaasset.projects.locations.operations.getrM   rg   rh   /MediaassetProjectsLocationsOperationsGetRequestr   FrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsOperationsService.<lambda>  r&  r8   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: (MediaassetProjectsLocationsOperationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListOperationsResponse) The response message.
      rl   rB   rD   rG   s       r7   rl   z9MediaassetV1alpha.ProjectsLocationsOperationsService.List  rm   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz@v1alpha/projects/{projectsId}/locations/{locationsId}/operationsrf   z-mediaasset.projects.locations.operations.listrM   )rq   rs   rt   returnPartialSuccesszv1alpha/{+name}/operationsrh   0MediaassetProjectsLocationsOperationsListRequestListOperationsResponseFrR   r^   r`   r8   r7   ra   z=MediaassetV1alpha.ProjectsLocationsOperationsService.<lambda>  s4    !7!7TAxHP2L3"r8   r<   )r}   r~   r   r   r   r   rA   r   r   rc   rl   r   r   s   @r7   r,   r    sO    G+E
8F8F8C8Dr8   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 )6MediaassetV1alpha.ProjectsLocationsTransformersServicez?Service class for the projects_locations_transformers resource.r/   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r.   r   r=   r>   s     r7   r   z?MediaassetV1alpha.ProjectsLocationsTransformersService.__init__+  r_  r8   c                 L    | j                  d      }| j                  |||      S )a.  Creates a new transformer in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsTransformersCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z=MediaassetV1alpha.ProjectsLocationsTransformersService.Create0  rJ   r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )NBv1alpha/projects/{projectsId}/locations/{locationsId}/transformersrL   z1mediaasset.projects.locations.transformers.createro   r   transformerIdv1alpha/{+parent}/transformerstransformer4MediaassetProjectsLocationsTransformersCreateRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsTransformersService.<lambda>=  s9    8#9#9VE zJ!?36#P&$r8   c                 L    | j                  d      }| j                  |||      S )a  Deletes a single transformer.

      Args:
        request: (MediaassetProjectsLocationsTransformersDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z=MediaassetV1alpha.ProjectsLocationsTransformersService.DeleteK  rJ   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )NSv1alpha/projects/{projectsId}/locations/{locationsId}/transformers/{transformersId}r   z1mediaasset.projects.locations.transformers.deleterM   r   rg   rh   4MediaassetProjectsLocationsTransformersDeleteRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsTransformersService.<lambda>X  rk  r8   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single transformer.

      Args:
        request: (MediaassetProjectsLocationsTransformersGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Transformer) The response message.
      rc   rB   rD   rG   s       r7   rc   z:MediaassetV1alpha.ProjectsLocationsTransformersService.Getf  rd   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr  rf   z.mediaasset.projects.locations.transformers.getrM   rg   rh   1MediaassetProjectsLocationsTransformersGetRequestTransformerFrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsTransformersService.<lambda>s  rp  r8   c                 L    | j                  d      }| j                  |||      S )a  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: (MediaassetProjectsLocationsTransformersGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   rB   rD   rG   s       r7   r   zCMediaassetV1alpha.ProjectsLocationsTransformersService.GetIamPolicy  r   r8   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nz`v1alpha/projects/{projectsId}/locations/{locationsId}/transformers/{transformersId}:getIamPolicyrf   z7mediaasset.projects.locations.transformers.getIamPolicyr   r   r   rh   :MediaassetProjectsLocationsTransformersGetIamPolicyRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsTransformersService.<lambda>  rt  r8   c                 L    | j                  d      }| j                  |||      S )a4  Lists transformers in a given project and location.

      Args:
        request: (MediaassetProjectsLocationsTransformersListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListTransformersResponse) The response message.
      rl   rB   rD   rG   s       r7   rl   z;MediaassetV1alpha.ProjectsLocationsTransformersService.List  rm   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr  rf   z/mediaasset.projects.locations.transformers.listro   rp   r  rh   2MediaassetProjectsLocationsTransformersListRequestListTransformersResponseFrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsTransformersService.<lambda>  ry  r8   c                 L    | j                  d      }| j                  |||      S )a"  Updates the parameters of a single transformer.

      Args:
        request: (MediaassetProjectsLocationsTransformersPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   rB   rD   rG   s       r7   r   z<MediaassetV1alpha.ProjectsLocationsTransformersService.Patch  r   r8   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr  r   z0mediaasset.projects.locations.transformers.patchrM   r   r   rg   r  3MediaassetProjectsLocationsTransformersPatchRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsTransformersService.<lambda>  r}  r8   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: (MediaassetProjectsLocationsTransformersSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   rB   rD   rG   s       r7   r   zCMediaassetV1alpha.ProjectsLocationsTransformersService.SetIamPolicy  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz`v1alpha/projects/{projectsId}/locations/{locationsId}/transformers/{transformersId}:setIamPolicyrL   z7mediaasset.projects.locations.transformers.setIamPolicyr   r   r   :MediaassetProjectsLocationsTransformersSetIamPolicyRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsTransformersService.<lambda>  r  r8   c                 L    | j                  d      }| j                  |||      S )ay  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: (MediaassetProjectsLocationsTransformersTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1TestIamPermissionsResponse) The response message.
      r   rB   rD   rG   s       r7   r   zIMediaassetV1alpha.ProjectsLocationsTransformersService.TestIamPermissions  r   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzfv1alpha/projects/{projectsId}/locations/{locationsId}/transformers/{transformersId}:testIamPermissionsrL   z=mediaasset.projects.locations.transformers.testIamPermissionsr   r   r   @MediaassetProjectsLocationsTransformersTestIamPermissionsRequestr   FrR   r^   r`   r8   r7   ra   z?MediaassetV1alpha.ProjectsLocationsTransformersService.<lambda>  r  r8   r<   r   r   s   @r7   r.   r  &  r  r8   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 )	*MediaassetV1alpha.ProjectsLocationsServicez2Service class for the projects_locations resource.r1   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r0   r   r=   r>   s     r7   r   z3MediaassetV1alpha.ProjectsLocationsService.__init__  s#    66FvNdr8   c                 L    | j                  d      }| j                  |||      S )a  Gets information about a location.

      Args:
        request: (MediaassetProjectsLocationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Location) The response message.
      rc   rB   rD   rG   s       r7   rc   z.MediaassetV1alpha.ProjectsLocationsService.Get  rd   r8   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz5v1alpha/projects/{projectsId}/locations/{locationsId}rf   z!mediaasset.projects.locations.getrM   rg   rh   %MediaassetProjectsLocationsGetRequestLocationFrR   r^   r`   r8   r7   ra   z3MediaassetV1alpha.ProjectsLocationsService.<lambda>  s4     6 6I5xH'A%!r8   c                 L    | j                  d      }| j                  |||      S )a3  Lists information about the supported locations for this service.

      Args:
        request: (MediaassetProjectsLocationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListLocationsResponse) The response message.
      rl   rB   rD   rG   s       r7   rl   z/MediaassetV1alpha.ProjectsLocationsService.List-  rm   r8   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz'v1alpha/projects/{projectsId}/locationsrf   z"mediaasset.projects.locations.listrM   )extraLocationTypesrq   includeUnrevealedLocationsrs   rt   zv1alpha/{+name}/locationsrh   &MediaassetProjectsLocationsListRequestListLocationsResponseFrR   r^   r`   r8   r7   ra   z3MediaassetV1alpha.ProjectsLocationsService.<lambda>:  s4    !7!7;6xHl1B2"r8   r<   )
r}   r~   r   r   r   r   rc   r   rl   r   r   s   @r7   r0   r    s1    < E
8C8Dr8   r0   c                   &     e Zd ZdZdZ fdZ xZS )!MediaassetV1alpha.ProjectsServicez(Service class for the projects resource.r3   c                 N    t         t        j                  |   |       i | _        y r<   )r   r   r2   r   r=   r>   s     r7   r   z*MediaassetV1alpha.ProjectsService.__init__M  s#    --t=fEdr8   )r}   r~   r   r   r   r   r   r   s   @r7   r2   r  H  s    2E r8   r2   )rh   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   r2   r   r   s   @r7   r   r   
   sk   H/1(;-(=>'(*"."+*,()-6:/4<@?C	/:t8O8O tl`(JaJa `DOx?V?V Ob`1H1H `DO0G0G Ob{8+B+B {zj)@)@ jX`X-D-D `DO(?(? Obt8+B+B tl`X-D-D `D>!8!8 >@//  r8   r   N)
r   
__future__r   apitools.base.pyr   8googlecloudsdk.generated_clients.apis.mediaasset.v1alphar   r  BaseApiClientr   r`   r8   r7   <module>r     s'    > ' % lF!.. F!r8   