
    S                     V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z1Generated client library for bigquery version v2.    )absolute_import)base_api)bigquery_v2_messagesc                     ^  \ rS rSrSr\rSrSrSr	/ SQr
SrSrS	rS
rS rSrSr     SU 4S jjr " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      rSrU =r$ )
BigqueryV2
   z9Generated client library for service bigquery version v2.z,https://bigquery.googleapis.com/bigquery/v2/z1https://bigquery.mtls.googleapis.com/bigquery/v2/bigquery)z(https://www.googleapis.com/auth/bigqueryz3https://www.googleapis.com/auth/bigquery.insertdataz.https://www.googleapis.com/auth/cloud-platformz8https://www.googleapis.com/auth/cloud-platform.read-onlyz7https://www.googleapis.com/auth/devstorage.full_controlz4https://www.googleapis.com/auth/devstorage.read_onlyz5https://www.googleapis.com/auth/devstorage.read_writev2	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        U R                  U 5      U l        U R!                  U 5      U l        U R%                  U 5      U l        g)zCreate a new bigquery handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__DatasetsServicedatasetsJobsServicejobsModelsServicemodelsProjectsServiceprojectsRoutinesServiceroutinesRowAccessPoliciesServicerowAccessPoliciesTabledataService	tabledataTablesServicetables)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Klib/googlecloudsdk/generated_clients/apis/bigquery/v2/bigquery_v2_client.pyr   BigqueryV2.__init__   s     
C	*d$'%)3 7+ % - ((.DM  &DI$$T*DK((.DM((.DM!::4@D**40DN$$T*DK    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S jrS \l        SrU =r$ )BigqueryV2.DatasetsService3   z(Service class for the datasets resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr+   clientr-   s     r.   r   #BigqueryV2.DatasetsService.__init__8   "    J&&6v>dr0   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name.

Args:
  request: (BigqueryDatasetsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BigqueryDatasetsDeleteResponse) The response message.
Deleteglobal_paramsGetMethodConfig
_RunMethodr+   requestr>   configs       r.   r<   !BigqueryV2.DatasetsService.Delete=   /     ##H-f__
  8 8r0   c                  H    [         R                  " SSSSS/SS/S/SSS	S
SS9$ )N+projects/{projectsId}/datasets/{datasetsId}DELETEzbigquery.datasets.delete	projectId	datasetIddeleteContents+projects/{+projectId}/datasets/{+datasetId} BigqueryDatasetsDeleteRequestBigqueryDatasetsDeleteResponseF	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 r0   r.   <lambda>#BigqueryV2.DatasetsService.<lambda>J   s=    8#9#9?,#[1 +.&'C9;$r0   c                 D    U R                  S5      nU R                  X1US9$ )zReturns the dataset specified by datasetID.

Args:
  request: (BigqueryDatasetsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Dataset) The response message.
Getr=   r?   rB   s       r.   rc   BigqueryV2.DatasetsService.GetX   /     ##E*f__
  8 8r0   c                  J    [         R                  " SSSSS/SS/SS/SS	S
SSS9$ )NrH   GETzbigquery.datasets.getrJ   rK   accessPolicyVersiondatasetViewrM   rN   BigqueryDatasetsGetRequestDatasetFrQ   r]   r_   r0   r.   r`   ra   e   s?     6 6?)#[1 +.+];C6$!r0   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a new empty dataset.

Args:
  request: (BigqueryDatasetsInsertRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Dataset) The response message.
Insertr=   r?   rB   s       r.   rm   !BigqueryV2.DatasetsService.Inserts   rF   r0   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nprojects/{projectsId}/datasetsPOSTzbigquery.datasets.insertrJ   rh   projects/{+projectId}/datasetsdatasetBigqueryDatasetsInsertRequestrk   FrQ   r]   r_   r0   r.   r`   ra      s7    8#9#92,#} M+,69$$r0   c                 D    U R                  S5      nU R                  X1US9$ )a   Lists all datasets in the specified project to which the user has been granted the READER dataset role.

Args:
  request: (BigqueryDatasetsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (DatasetList) The response message.
Listr=   r?   rB   s       r.   rv   BigqueryV2.DatasetsService.List   /     ##F+f__
  8 8r0   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nrp   rg   zbigquery.datasets.listrJ   )allfilter
maxResults	pageTokenrr   rN   BigqueryDatasetsListRequestDatasetListFrQ   r]   r_   r0   r.   r`   ra      s4    !7!72*#} MA67("r0   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics.

Args:
  request: (BigqueryDatasetsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Dataset) The response message.
Patchr=   r?   rB   s       r.   r    BigqueryV2.DatasetsService.Patch   /     ##G,f__
  8 8r0   c                  J    [         R                  " SSSSS/SS/SS/SS	S
SSS9$ )NrH   PATCHzbigquery.datasets.patchrJ   rK   rh   
updateModerM   rs   BigqueryDatasetsPatchRequestrk   FrQ   r]   r_   r0   r.   r`   ra      s?    ("8"8?+#[1 +.+\:C8$#r0   c                 D    U R                  S5      nU R                  X1US9$ )a{  Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted.

Args:
  request: (BigqueryDatasetsUndeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Dataset) The response message.
Undeleter=   r?   rB   s       r.   r   #BigqueryV2.DatasetsService.Undelete   s/     ##J/f__
  8 8r0   c                  F    [         R                  " SSSSS/SS// SSSS	S
S9$ )Nz4projects/{projectsId}/datasets/{datasetsId}:undeleterq   zbigquery.datasets.undeleterJ   rK   z4projects/{+projectId}/datasets/{+datasetId}:undeleteundeleteDatasetRequestBigqueryDatasetsUndeleteRequestrk   FrQ   r]   r_   r0   r.   r`   ra      s:    X%;%;H.#[1 +.L.;$&r0   c                 D    U R                  S5      nU R                  X1US9$ )a}  Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.

Args:
  request: (BigqueryDatasetsUpdateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Dataset) The response message.
Updater=   r?   rB   s       r.   r   !BigqueryV2.DatasetsService.Update   rF   r0   c                  J    [         R                  " SSSSS/SS/SS/SS	S
SSS9$ )NrH   PUTzbigquery.datasets.updaterJ   rK   rh   r   rM   rs   BigqueryDatasetsUpdateRequestrk   FrQ   r]   r_   r0   r.   r`   ra      s?    8#9#9?,#[1 +.+\:C9$$r0   r6   r5   )__name__
__module____qualname____firstlineno____doc___NAMEr   r<   method_configrc   rm   rv   r   r   r   __static_attributes____classcell__r-   s   @r.   r   r2   3   s|    2E
8F8C8F8D8E8H8Fr0   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S jrS \l        SrU =r$ )BigqueryV2.JobsService   z$Service class for the jobs resource.r   c           
         > [         [        R                  U ]  U5        S[        R
                  " S/S SSSSS90U l        g )Nrm   z*/*Tz8/resumable/upload/bigquery/v2/projects/{+projectId}/jobsz./upload/bigquery/v2/projects/{+projectId}/jobs)acceptmax_sizeresumable_multipartresumable_pathsimple_multipartsimple_path)r   r   r   r   r   ApiUploadInfor6   r7   s     r.   r   BigqueryV2.JobsService.__init__   sF    J""D26:
H**W"&W#J	dr0   c                 D    U R                  S5      nU R                  X1US9$ )a  Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs.

Args:
  request: (BigqueryJobsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (JobCancelResponse) The response message.
Cancelr=   r?   rB   s       r.   r   BigqueryV2.JobsService.Cancel  rF   r0   c                  H    [         R                  " SSSSS/SS/S/SSS	S
SS9$ )Nz*projects/{projectsId}/jobs/{jobsId}/cancelrq   zbigquery.jobs.cancelrJ   jobIdlocationz*projects/{+projectId}/jobs/{+jobId}/cancelrN   BigqueryJobsCancelRequestJobCancelResponseFrQ   r]   r_   r0   r.   r`   BigqueryV2.JobsService.<lambda>  s<    8#9#9>(#W-k* \B5.$r0   c                 D    U R                  S5      nU R                  X1US9$ )a+  Requests the deletion of the metadata of a job. This call returns when the job's metadata is deleted.

Args:
  request: (BigqueryJobsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BigqueryJobsDeleteResponse) The response message.
r<   r=   r?   rB   s       r.   r<   BigqueryV2.JobsService.Delete'  rF   r0   c                  H    [         R                  " SSSSS/SS/S/SSS	S
SS9$ )Nz*projects/{projectsId}/jobs/{jobsId}/deleterI   zbigquery.jobs.deleterJ   r   r   z*projects/{+projectId}/jobs/{+jobId}/deleterN   BigqueryJobsDeleteRequestBigqueryJobsDeleteResponseFrQ   r]   r_   r0   r.   r`   r   4  s<    8#9#9>(#W-k* \B57$r0   c                 D    U R                  S5      nU R                  X1US9$ )am  Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role.

Args:
  request: (BigqueryJobsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Job) The response message.
rc   r=   r?   rB   s       r.   rc   BigqueryV2.JobsService.GetB  re   r0   c                  H    [         R                  " SSSSS/SS/S/SSS	S
SS9$ )Nz#projects/{projectsId}/jobs/{jobsId}rg   zbigquery.jobs.getrJ   r   r   z#projects/{+projectId}/jobs/{+jobId}rN   BigqueryJobsGetRequestJobFrQ   r]   r_   r0   r.   r`   r   O  s<     6 67%#W-k* \;2 !r0   c                 D    U R                  S5      nU R                  X1US9$ )zRPC to get the results of a query job.

Args:
  request: (BigqueryJobsGetQueryResultsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GetQueryResultsResponse) The response message.
GetQueryResultsr=   r?   rB   s       r.   r   &BigqueryV2.JobsService.GetQueryResults]  s0     ##$56f__
  8 8r0   c                  J    [         R                  " SSSSS/SS// SQSSS	S
SS9$ )Nz)projects/{projectsId}/queries/{queriesId}rg   zbigquery.jobs.getQueryResultsrJ   r   )#formatOptions_timestampOutputFormatformatOptions_useInt64Timestampr   r|   r}   
startIndex	timeoutMsz&projects/{+projectId}/queries/{+jobId}rN   "BigqueryJobsGetQueryResultsRequestGetQueryResultsResponseFrQ   r]   r_   r0   r.   r`   r   j  s=    H,B,B=1#W-k* b>>4-r0   c                 h    U R                  S5      nU R                  S5      nU R                  XAUX5S9$ )a  Starts a new asynchronous job. This API has two different kinds of endpoint URIs, as this method supports a variety of use cases. * The *Metadata* URI is used for most interactions, as it accepts the job configuration directly. * The *Upload* URI is ONLY for the case when you're sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts.

Args:
  request: (BigqueryJobsInsertRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
  upload: (Upload, default: None) If present, upload
      this stream with the request.
Returns:
  (Job) The response message.
rm   )r>   uploadupload_config)r@   GetUploadConfigrA   )r+   rC   r>   r   rD   r   s         r.   rm   BigqueryV2.JobsService.Insertx  sB     ##H-f**84m__
  6 6r0   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nprojects/{projectsId}/jobsrq   zbigquery.jobs.insertrJ   projects/{+projectId}/jobsjobBigqueryJobsInsertRequestr   FrQ   r]   r_   r0   r.   r`   r     s4    8#9#9.(#} M25 $r0   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.

Args:
  request: (BigqueryJobsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (JobList) The response message.
rv   r=   r?   rB   s       r.   rv   BigqueryV2.JobsService.List  rx   r0   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr   rg   zbigquery.jobs.listrJ   )allUsersmaxCreationTimer|   minCreationTimer}   parentJobId
projectionstateFilterr   rN   BigqueryJobsListRequestJobListFrQ   r]   r_   r0   r.   r`   r     s7    !7!7.&#} M O23$"r0   c                 D    U R                  S5      nU R                  X1US9$ )a,  Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout.

Args:
  request: (BigqueryJobsQueryRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (QueryResponse) The response message.
Queryr=   r?   rB   s       r.   r   BigqueryV2.JobsService.Query  r   r0   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzprojects/{projectsId}/queriesrq   zbigquery.jobs.queryrJ   zprojects/{+projectId}/queriesqueryRequestBigqueryJobsQueryRequestQueryResponseFrQ   r]   r_   r0   r.   r`   r     s4    ("8"81'#} M5$4*#r0   r   r5   )NN)r   r   r   r   r   r   r   r   r   r<   rc   r   rm   rv   r   r   r   r   s   @r.   r   r      s|    .E8F8F8C8%O!6"F8D8Er0   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ )BigqueryV2.ModelsServicei  z&Service class for the models resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r5   )r   r   r   r   r6   r7   s     r.   r   !BigqueryV2.ModelsService.__init__  "    J$$d4V<dr0   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the model specified by modelId from the dataset.

Args:
  request: (BigqueryModelsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BigqueryModelsDeleteResponse) The response message.
r<   r=   r?   rB   s       r.   r<   BigqueryV2.ModelsService.Delete  rF   r0   c                  F    [         R                  " SSS/ SQ/ SQ/ SSSS	S
S9$ )N=projects/{projectsId}/datasets/{datasetsId}/models/{modelsId}rI   zbigquery.models.deleterJ   rK   modelIdrK   r   rJ   =projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}rN   BigqueryModelsDeleteRequestBigqueryModelsDeleteResponseFrQ   r]   r_   r0   r.   r`   !BigqueryV2.ModelsService.<lambda>  0    8#9#9Q*<9U79$r0   c                 D    U R                  S5      nU R                  X1US9$ )zGets the specified model resource by model ID.

Args:
  request: (BigqueryModelsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Model) The response message.
rc   r=   r?   rB   s       r.   rc   BigqueryV2.ModelsService.Get  re   r0   c                  F    [         R                  " SSS/ SQ/ SQ/ SSSS	S
S9$ )Nr   rg   zbigquery.models.getr   r   r   rN   BigqueryModelsGetRequestModelFrQ   r]   r_   r0   r.   r`   r     s0     6 6Q'<9U4"!r0   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists all models in the specified dataset. Requires the READER dataset role. After retrieving the list of models, you can get information about a particular model by calling the models.get method.

Args:
  request: (BigqueryModelsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListModelsResponse) The response message.
rv   r=   r?   rB   s       r.   rv   BigqueryV2.ModelsService.List  rx   r0   c                  J    [         R                  " SSSSS/SS/SS/SS	S
SSS9$ )Nz2projects/{projectsId}/datasets/{datasetsId}/modelsrg   zbigquery.models.listrJ   rK   r|   r}   z2projects/{+projectId}/datasets/{+datasetId}/modelsrN   BigqueryModelsListRequestListModelsResponseFrQ   r]   r_   r0   r.   r`   r     s?    !7!7F(#[1 +."K0J5/"r0   c                 D    U R                  S5      nU R                  X1US9$ )zPatch specific fields in the specified model.

Args:
  request: (BigqueryModelsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Model) The response message.
r   r=   r?   rB   s       r.   r   BigqueryV2.ModelsService.Patch(  r   r0   c                  F    [         R                  " SSS/ SQ/ SQ/ SSSS	S
S9$ )Nr   r   zbigquery.models.patchr   r   r   r   BigqueryModelsPatchRequestr   FrQ   r]   r_   r0   r.   r`   r   5  s0    ("8"8Q)<9U6"#r0   r   r5   )r   r   r   r   r   r   r   r<   r   rc   rv   r   r   r   r   s   @r.   r   r     sO    0E
8F8C8D8Er0   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$ )BigqueryV2.ProjectsServiceiC  z(Service class for the projects resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r5   )r   r   r!   r   r6   r7   s     r.   r   #BigqueryV2.ProjectsService.__init__H  r:   r0   c                 D    U R                  S5      nU R                  X1US9$ )a-  RPC to get the service account for a project used for interactions with Google Cloud KMS.

Args:
  request: (BigqueryProjectsGetServiceAccountRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GetServiceAccountResponse) The response message.
GetServiceAccountr=   r?   rB   s       r.   r  ,BigqueryV2.ProjectsService.GetServiceAccountM  s0     ##$78f__
  8 8r0   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz$projects/{projectsId}/serviceAccountrg   z#bigquery.projects.getServiceAccountrJ   z$projects/{+projectId}/serviceAccountrN   (BigqueryProjectsGetServiceAccountRequestGetServiceAccountResponseFrQ   r]   r_   r0   r.   r`   #BigqueryV2.ProjectsService.<lambda>Z  s4    h.D.D87#} M<D6/r0   c                 D    U R                  S5      nU R                  X1US9$ )a  RPC to list projects to which the user has been granted any project role. Users of this method are encouraged to consider the [Resource Manager](https://cloud.google.com/resource-manager/docs/) API, which provides the underlying data for this method and has more capabilities.

Args:
  request: (BigqueryProjectsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ProjectList) The response message.
rv   r=   r?   rB   s       r.   rv   BigqueryV2.ProjectsService.Listh  rx   r0   c                  @    [         R                  " SS/ / SS/SSSSS	S
9
$ )Nrg   zbigquery.projects.listr|   r}   r"   rN   BigqueryProjectsListRequestProjectListF)
rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r_   r0   r.   r`   r  u  s2    !7!7*"K0 7("r0   r   r5   )r   r   r   r   r   r   r   r  r   rv   r   r   r   s   @r.   r!   r  C  s2    2E
8'#8Dr0   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S jrS \l        SS jrS \l        SrU =r$ )BigqueryV2.RoutinesServicei  z(Service class for the routines resource.r$   c                 N   > [         [        R                  U ]  U5        0 U l        g r5   )r   r   r#   r   r6   r7   s     r.   r   #BigqueryV2.RoutinesService.__init__  r:   r0   c                 D    U R                  S5      nU R                  X1US9$ )a
  Deletes the routine specified by routineId from the dataset.

Args:
  request: (BigqueryRoutinesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BigqueryRoutinesDeleteResponse) The response message.
r<   r=   r?   rB   s       r.   r<   !BigqueryV2.RoutinesService.Delete  rF   r0   c                  F    [         R                  " SSS/ SQ/ SQ/ SSSS	S
S9$ )NAprojects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}rI   zbigquery.routines.deleterJ   rK   	routineIdrK   rJ   r  Aprojects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}rN   BigqueryRoutinesDeleteRequestBigqueryRoutinesDeleteResponseFrQ   r]   r_   r0   r.   r`   #BigqueryV2.RoutinesService.<lambda>  s0    8#9#9U,>;Y9;$r0   c                 D    U R                  S5      nU R                  X1US9$ )zGets the specified routine resource by routine ID.

Args:
  request: (BigqueryRoutinesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Routine) The response message.
rc   r=   r?   rB   s       r.   rc   BigqueryV2.RoutinesService.Get  re   r0   c                  H    [         R                  " SSS/ SQ/ SQS/SSS	S
SS9$ )Nr  rg   zbigquery.routines.getr  r  readMaskr  rN   BigqueryRoutinesGetRequestRoutineFrQ   r]   r_   r0   r.   r`   r!    s2     6 6U)>; \Y6$!r0   c                 D    U R                  S5      nU R                  X1US9$ )a9  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: (BigqueryRoutinesGetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
GetIamPolicyr=   r?   rB   s       r.   r)  'BigqueryV2.RoutinesService.GetIamPolicy  /     ##N3f__
  8 8r0   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzNprojects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}:getIamPolicyrq   zbigquery.routines.getIamPolicyresource{+resource}:getIamPolicygetIamPolicyRequest#BigqueryRoutinesGetIamPolicyRequestPolicyFrQ   r]   r_   r0   r.   r`   r!    4    )?)?b2"|L0+?#*r0   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a new routine in the dataset.

Args:
  request: (BigqueryRoutinesInsertRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Routine) The response message.
rm   r=   r?   rB   s       r.   rm   !BigqueryV2.RoutinesService.Insert  rF   r0   c                  F    [         R                  " SSSSS/SS// SSSS	S
S9$ )N4projects/{projectsId}/datasets/{datasetsId}/routinesrq   zbigquery.routines.insertrJ   rK   4projects/{+projectId}/datasets/{+datasetId}/routinesroutineBigqueryRoutinesInsertRequestr'  FrQ   r]   r_   r0   r.   r`   r!    s:    8#9#9H,#[1 +.L9$$r0   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists all routines in the specified dataset. Requires the READER dataset role.

Args:
  request: (BigqueryRoutinesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListRoutinesResponse) The response message.
rv   r=   r?   rB   s       r.   rv   BigqueryV2.RoutinesService.List  rx   r0   c                  J    [         R                  " SSSSS/SS// SQSSS	S
SS9$ )Nr6  rg   zbigquery.routines.listrJ   rK   )r{   r|   r}   r%  r7  rN   BigqueryRoutinesListRequestListRoutinesResponseFrQ   r]   r_   r0   r.   r`   r!    s:    !7!7H*#[1 +.FL71"r0   c                 D    U R                  S5      nU R                  X1US9$ )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: (BigqueryRoutinesSetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
SetIamPolicyr=   r?   rB   s       r.   r@  'BigqueryV2.RoutinesService.SetIamPolicy  r+  r0   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzNprojects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}:setIamPolicyrq   zbigquery.routines.setIamPolicyr-  {+resource}:setIamPolicysetIamPolicyRequest#BigqueryRoutinesSetIamPolicyRequestr1  FrQ   r]   r_   r0   r.   r`   r!     r2  r0   c                 D    U R                  S5      nU R                  X1US9$ )a3  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: (BigqueryRoutinesTestIamPermissionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestIamPermissionsResponse) The response message.
TestIamPermissionsr=   r?   rB   s       r.   rG  -BigqueryV2.RoutinesService.TestIamPermissions.  0     ##$89f__
  8 8r0   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzTprojects/{projectsId}/datasets/{datasetsId}/routines/{routinesId}:testIamPermissionsrq   z$bigquery.routines.testIamPermissionsr-  {+resource}:testIamPermissionstestIamPermissionsRequest)BigqueryRoutinesTestIamPermissionsRequestTestIamPermissionsResponseFrQ   r]   r_   r0   r.   r`   r!  ;  s4    x/E/Eh8"|L61E70r0   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates information in an existing routine. The update method replaces the entire Routine resource.

Args:
  request: (BigqueryRoutinesUpdateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Routine) The response message.
r   r=   r?   rB   s       r.   r   !BigqueryV2.RoutinesService.UpdateI  rF   r0   c                  F    [         R                  " SSS/ SQ/ SQ/ SSSS	S
S9$ )Nr  r   zbigquery.routines.updater  r  r  r8  BigqueryRoutinesUpdateRequestr'  FrQ   r]   r_   r0   r.   r`   r!  V  s0    8#9#9U,>;Y9$$r0   r   r5   )r   r   r   r   r   r   r   r<   r   rc   r)  rm   rv   r@  rG  r   r   r   r   s   @r.   r#   r    s    2E
8F8C8"L8F8D8"L8($8Fr0   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S jrS \l        SS jrS \l        SrU =r$ )#BigqueryV2.RowAccessPoliciesServiceid  z1Service class for the rowAccessPolicies resource.r&   c                 N   > [         [        R                  U ]  U5        0 U l        g r5   )r   r   r%   r   r6   r7   s     r.   r   ,BigqueryV2.RowAccessPoliciesService.__init__i  s"    J//?Gdr0   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes provided row access policies.

Args:
  request: (BigqueryRowAccessPoliciesBatchDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BigqueryRowAccessPoliciesBatchDeleteResponse) The response message.
BatchDeleter=   r?   rB   s       r.   rX  /BigqueryV2.RowAccessPoliciesService.BatchDeleten  s/     ##M2f__
  8 8r0   c                  F    [         R                  " SSS/ SQ/ SQ/ SSSS	S
S9$ )Nz[projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies:batchDeleterq   z&bigquery.rowAccessPolicies.batchDeleterJ   rK   tableIdrK   rJ   r\  z[projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies:batchDelete#batchDeleteRowAccessPoliciesRequest+BigqueryRowAccessPoliciesBatchDeleteRequest,BigqueryRowAccessPoliciesBatchDeleteResponseFrQ   r]   r_   r0   r.   r`   ,BigqueryV2.RowAccessPoliciesService.<lambda>{  s0    (>(>o:<9s;GI)r0   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes a row access policy.

Args:
  request: (BigqueryRowAccessPoliciesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BigqueryRowAccessPoliciesDeleteResponse) The response message.
r<   r=   r?   rB   s       r.   r<   *BigqueryV2.RowAccessPoliciesService.Delete  rF   r0   c                  H    [         R                  " SSS/ SQ/ SQS/SSS	S
SS9$ )Neprojects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies/{rowAccessPoliciesId}rI   z!bigquery.rowAccessPolicies.deleterJ   rK   r\  policyIdrK   rg  rJ   r\  force[projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPolicies/{+policyId}rN   &BigqueryRowAccessPoliciesDeleteRequest'BigqueryRowAccessPoliciesDeleteResponseFrQ   r]   r_   r0   r.   r`   ra    s2    8#9#9y5HEYsBD$r0   c                 D    U R                  S5      nU R                  X1US9$ )zGets the specified row access policy by policy ID.

Args:
  request: (BigqueryRowAccessPoliciesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (RowAccessPolicy) The response message.
rc   r=   r?   rB   s       r.   rc   'BigqueryV2.RowAccessPoliciesService.Get  re   r0   c                  F    [         R                  " SSS/ SQ/ SQ/ SSSS	S
S9$ )Nre  rg   zbigquery.rowAccessPolicies.getrf  rh  rj  rN   #BigqueryRowAccessPoliciesGetRequestRowAccessPolicyFrQ   r]   r_   r0   r.   r`   ra    s0     6 6y2HEs?,!r0   c                 D    U R                  S5      nU R                  X1US9$ )aB  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: (BigqueryRowAccessPoliciesGetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
r)  r=   r?   rB   s       r.   r)  0BigqueryV2.RowAccessPoliciesService.GetIamPolicy  r+  r0   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzrprojects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies/{rowAccessPoliciesId}:getIamPolicyrq   z'bigquery.rowAccessPolicies.getIamPolicyr-  r.  r/  ,BigqueryRowAccessPoliciesGetIamPolicyRequestr1  FrQ   r]   r_   r0   r.   r`   ra    s7    )?)? G;"|L0+H#*r0   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a row access policy.

Args:
  request: (BigqueryRowAccessPoliciesInsertRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (RowAccessPolicy) The response message.
rm   r=   r?   rB   s       r.   rm   *BigqueryV2.RowAccessPoliciesService.Insert  rF   r0   c                  F    [         R                  " SSS/ SQ/ SQ/ SSSS	S
S9$ )NOprojects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPoliciesrq   z!bigquery.rowAccessPolicies.insertr[  r]  Oprojects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/rowAccessPoliciesrowAccessPolicy&BigqueryRowAccessPoliciesInsertRequestrq  FrQ   r]   r_   r0   r.   r`   ra    s0    8#9#9c5<9g'B,$r0   c                 D    U R                  S5      nU R                  X1US9$ )a	  Lists all row access policies on the specified table.

Args:
  request: (BigqueryRowAccessPoliciesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListRowAccessPoliciesResponse) The response message.
rv   r=   r?   rB   s       r.   rv   (BigqueryV2.RowAccessPoliciesService.List  rx   r0   c                  J    [         R                  " SSS/ SQ/ SQSS/SS	S
SSS9$ )Nry  rg   zbigquery.rowAccessPolicies.listr[  r]  pageSizer}   rz  rN   $BigqueryRowAccessPoliciesListRequestListRowAccessPoliciesResponseFrQ   r]   r_   r0   r.   r`   ra    s5    !7!7c3<9 +.g@:"r0   c                 D    U R                  S5      nU R                  X1US9$ )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: (BigqueryRowAccessPoliciesTestIamPermissionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestIamPermissionsResponse) The response message.
rG  r=   r?   rB   s       r.   rG  6BigqueryV2.RowAccessPoliciesService.TestIamPermissions  rI  r0   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzxprojects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/rowAccessPolicies/{rowAccessPoliciesId}:testIamPermissionsrq   z-bigquery.rowAccessPolicies.testIamPermissionsr-  rK  rL  2BigqueryRowAccessPoliciesTestIamPermissionsRequestrN  FrQ   r]   r_   r0   r.   r`   ra    s7    x/E/E MA"|L61N70r0   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates a row access policy.

Args:
  request: (BigqueryRowAccessPoliciesUpdateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (RowAccessPolicy) The response message.
r   r=   r?   rB   s       r.   r   *BigqueryV2.RowAccessPoliciesService.Update+  rF   r0   c                  F    [         R                  " SSS/ SQ/ SQ/ SSSS	S
S9$ )Nre  r   z!bigquery.rowAccessPolicies.updaterf  rh  rj  r{  &BigqueryRowAccessPoliciesUpdateRequestrq  FrQ   r]   r_   r0   r.   r`   ra  8  s0    8#9#9y5HEs'B,$r0   r   r5   )r   r   r   r   r   r   r   rX  r   r<   rc   r)  rm   rv   rG  r   r   r   r   s   @r.   r%   rT  d  s    ;E
8!K8F8C8"L8F8D8($8Fr0   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$ )BigqueryV2.TabledataServiceiF  z)Service class for the tabledata resource.r(   c                 N   > [         [        R                  U ]  U5        0 U l        g r5   )r   r   r'   r   r6   r7   s     r.   r   $BigqueryV2.TabledataService.__init__K  s"    J''7?dr0   c                 D    U R                  S5      nU R                  X1US9$ )a   Streams data into BigQuery one record at a time without needing to run a load job.

Args:
  request: (BigqueryTabledataInsertAllRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TableDataInsertAllResponse) The response message.
	InsertAllr=   r?   rB   s       r.   r  %BigqueryV2.TabledataService.InsertAllP  s/     ##K0f__
  8 8r0   c                  F    [         R                  " SSS/ SQ/ SQ/ SSSS	S
S9$ )NzGprojects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/insertAllrq   zbigquery.tabledata.insertAllr[  r]  zGprojects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/insertAlltableDataInsertAllRequest!BigqueryTabledataInsertAllRequestTableDataInsertAllResponseFrQ   r]   r_   r0   r.   r`   $BigqueryV2.TabledataService.<lambda>]  s0    h&<&<[0<9_1=7'r0   c                 D    U R                  S5      nU R                  X1US9$ )zList the content of a table in rows.

Args:
  request: (BigqueryTabledataListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TableDataList) The response message.
rv   r=   r?   rB   s       r.   rv    BigqueryV2.TabledataService.Listk  rx   r0   c                  J    [         R                  " SSS/ SQ/ SQ/ SQSSS	S
SS9$ )NzBprojects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}/datarg   zbigquery.tabledata.listr[  r]  )r   r   r|   r}   selectedFieldsr   zBprojects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}/datarN   BigqueryTabledataListRequestTableDataListFrQ   r]   r_   r0   r.   r`   r  x  s3    !7!7V+<9 [Z8*"r0   r   r5   )r   r   r   r   r   r   r   r  r   rv   r   r   r   s   @r.   r'   r  F  s1    3E
8I8Dr0   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S jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )BigqueryV2.TablesServicei  z&Service class for the tables resource.r*   c                 N   > [         [        R                  U ]  U5        0 U l        g r5   )r   r   r)   r   r6   r7   s     r.   r   !BigqueryV2.TablesService.__init__  r   r0   c                 D    U R                  S5      nU R                  X1US9$ )a<  Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted.

Args:
  request: (BigqueryTablesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BigqueryTablesDeleteResponse) The response message.
r<   r=   r?   rB   s       r.   r<   BigqueryV2.TablesService.Delete  rF   r0   c                  F    [         R                  " SSS/ SQ/ SQ/ SSSS	S
S9$ )N=projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}rI   zbigquery.tables.deleter[  r]  =projects/{+projectId}/datasets/{+datasetId}/tables/{+tableId}rN   BigqueryTablesDeleteRequestBigqueryTablesDeleteResponseFrQ   r]   r_   r0   r.   r`   !BigqueryV2.TablesService.<lambda>  r   r0   c                 D    U R                  S5      nU R                  X1US9$ )ab  Gets the specified table resource by table ID. This method does not return the data in the table, it only returns the table resource, which describes the structure of this table.

Args:
  request: (BigqueryTablesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Table) The response message.
rc   r=   r?   rB   s       r.   rc   BigqueryV2.TablesService.Get  re   r0   c                  J    [         R                  " SSS/ SQ/ SQSS/SS	S
SSS9$ )Nr  rg   zbigquery.tables.getr[  r]  r  viewr  rN   BigqueryTablesGetRequestTableFrQ   r]   r_   r0   r.   r`   r    s5     6 6Q'<9&/U4"!r0   c                 D    U R                  S5      nU R                  X1US9$ )a7  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: (BigqueryTablesGetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
r)  r=   r?   rB   s       r.   r)  %BigqueryV2.TablesService.GetIamPolicy  r+  r0   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzJprojects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}:getIamPolicyrq   zbigquery.tables.getIamPolicyr-  r.  r/  !BigqueryTablesGetIamPolicyRequestr1  FrQ   r]   r_   r0   r.   r`   r    4    )?)?^0"|L0+=#*r0   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a new, empty table in the dataset.

Args:
  request: (BigqueryTablesInsertRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Table) The response message.
rm   r=   r?   rB   s       r.   rm   BigqueryV2.TablesService.Insert  rF   r0   c                  F    [         R                  " SSSSS/SS// SSSS	S
S9$ )N2projects/{projectsId}/datasets/{datasetsId}/tablesrq   zbigquery.tables.insertrJ   rK   2projects/{+projectId}/datasets/{+datasetId}/tablestableBigqueryTablesInsertRequestr  FrQ   r]   r_   r0   r.   r`   r    s:    8#9#9F*#[1 +.J7"$r0   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists all tables in the specified dataset. Requires the READER dataset role.

Args:
  request: (BigqueryTablesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TableList) The response message.
rv   r=   r?   rB   s       r.   rv   BigqueryV2.TablesService.List  rx   r0   c                  J    [         R                  " SSSSS/SS/SS/SS	S
SSS9$ )Nr  rg   zbigquery.tables.listrJ   rK   r|   r}   r  rN   BigqueryTablesListRequest	TableListFrQ   r]   r_   r0   r.   r`   r  	  s?    !7!7F(#[1 +."K0J5&"r0   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports RFC5789 patch semantics.

Args:
  request: (BigqueryTablesPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Table) The response message.
r   r=   r?   rB   s       r.   r   BigqueryV2.TablesService.Patch  r   r0   c                  H    [         R                  " SSS/ SQ/ SQS/SSS	S
SS9$ )Nr  r   zbigquery.tables.patchr[  r]  autodetect_schemar  r  BigqueryTablesPatchRequestr  FrQ   r]   r_   r0   r.   r`   r  $  s3    ("8"8Q)<9)*U6"#r0   c                 D    U R                  S5      nU R                  X1US9$ )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: (BigqueryTablesSetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
r@  r=   r?   rB   s       r.   r@  %BigqueryV2.TablesService.SetIamPolicy2  r+  r0   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzJprojects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}:setIamPolicyrq   zbigquery.tables.setIamPolicyr-  rC  rD  !BigqueryTablesSetIamPolicyRequestr1  FrQ   r]   r_   r0   r.   r`   r  ?  r  r0   c                 D    U R                  S5      nU R                  X1US9$ )a1  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: (BigqueryTablesTestIamPermissionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestIamPermissionsResponse) The response message.
rG  r=   r?   rB   s       r.   rG  +BigqueryV2.TablesService.TestIamPermissionsM  rI  r0   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzPprojects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}:testIamPermissionsrq   z"bigquery.tables.testIamPermissionsr-  rK  rL  'BigqueryTablesTestIamPermissionsRequestrN  FrQ   r]   r_   r0   r.   r`   r  Z  s4    x/E/Ed6"|L61C70r0   c                 D    U R                  S5      nU R                  X1US9$ )as  Updates information in an existing table. The update method replaces the entire Table resource, whereas the patch method only replaces fields that are provided in the submitted Table resource.

Args:
  request: (BigqueryTablesUpdateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Table) The response message.
r   r=   r?   rB   s       r.   r   BigqueryV2.TablesService.Updateh  rF   r0   c                  H    [         R                  " SSS/ SQ/ SQS/SSS	S
SS9$ )Nr  r   zbigquery.tables.updater[  r]  r  r  r  BigqueryTablesUpdateRequestr  FrQ   r]   r_   r0   r.   r`   r  u  s3    8#9#9Q*<9)*U7"$r0   r   r5   )r   r   r   r   r   r   r   r<   r   rc   r)  rm   rv   r   r@  rG  r   r   r   r   s   @r.   r)   r    s    0E
8F8C8"L8F8D8E8"L8($8Fr0   r)   )r   r   r    r"   r$   r&   r(   r*   )rN   NTNNFFNNNN)r   r   r   r   r   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   r   r   r!   r#   r%   r'   r)   r   r   r   s   @r.   r   r   
   s   A/;(E-( J'(*"."+#,()-6:/4<@?C	+0E// ENQH++ Qfth-- tl=// =~`// `D`!8!8 `D>00 >@{h-- { {r0   r   N)
r   
__future__r   apitools.base.pyr   1googlecloudsdk.generated_clients.apis.bigquery.v2r   r  BaseApiClientr   r_   r0   r.   <module>r     s'    7 ' % ^w'' wr0   