Skip to content

Commit

Permalink
chore: fix proto formatting (#317)
Browse files Browse the repository at this point in the history
* chore: fix proto formatting

PiperOrigin-RevId: 503206506

Source-Link: googleapis/googleapis@9064293

Source-Link: googleapis/googleapis-gen@35129e0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzUxMjllMDk1MTViN2Y0MTdhMzZjMGI0N2IzN2YxNTM4N2IyYzYzZCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* docs: Add documentation for enums

fix: Add context manager return types

chore: Update gapic-generator-python to v1.8.1
PiperOrigin-RevId: 503210727

Source-Link: googleapis/googleapis@a391fd1

Source-Link: googleapis/googleapis-gen@0080f83
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDA4MGY4MzBkZWMzN2MzMzg0MTU3MDgyYmNlMjc5ZTM3MDc5ZWE1OCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore: fix proto formatting

PiperOrigin-RevId: 503230949

Source-Link: googleapis/googleapis@55dd4d7

Source-Link: googleapis/googleapis-gen@588ff38
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTg4ZmYzOGNmM2EyZGQyMjY0ZGE1YjAzMGQxZjcyZTU2YzdmZmM2NiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 23, 2023
1 parent 2f25809 commit 2059124
Show file tree
Hide file tree
Showing 26 changed files with 1,714 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ def sample_list_companies():
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "CompanyServiceClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def sample_complete_query():
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "CompletionClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def sample_create_client_event():
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "EventServiceClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,9 @@ async def sample_batch_create_jobs():
google.api_core.operation_async.AsyncOperation:
An object representing a long-running operation.
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchCreateJobsResponse` The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to
replace
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchCreateJobsResponse` The result of
[JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs].
It's used to replace
[google.longrunning.Operation.response][google.longrunning.Operation.response]
in case of success.
Expand Down Expand Up @@ -812,8 +813,9 @@ async def sample_batch_update_jobs():
google.api_core.operation_async.AsyncOperation:
An object representing a long-running operation.
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchUpdateJobsResponse` The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to
replace
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchUpdateJobsResponse` The result of
[JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs].
It's used to replace
[google.longrunning.Operation.response][google.longrunning.Operation.response]
in case of success.
Expand Down Expand Up @@ -1055,8 +1057,9 @@ async def sample_batch_delete_jobs():
google.api_core.operation_async.AsyncOperation:
An object representing a long-running operation.
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchDeleteJobsResponse` The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to
replace
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchDeleteJobsResponse` The result of
[JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs].
It's used to replace
[google.longrunning.Operation.response][google.longrunning.Operation.response]
in case of success.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,9 @@ def sample_batch_create_jobs():
google.api_core.operation.Operation:
An object representing a long-running operation.
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchCreateJobsResponse` The result of [JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs]. It's used to
replace
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchCreateJobsResponse` The result of
[JobService.BatchCreateJobs][google.cloud.talent.v4.JobService.BatchCreateJobs].
It's used to replace
[google.longrunning.Operation.response][google.longrunning.Operation.response]
in case of success.
Expand Down Expand Up @@ -1068,8 +1069,9 @@ def sample_batch_update_jobs():
google.api_core.operation.Operation:
An object representing a long-running operation.
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchUpdateJobsResponse` The result of [JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs]. It's used to
replace
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchUpdateJobsResponse` The result of
[JobService.BatchUpdateJobs][google.cloud.talent.v4.JobService.BatchUpdateJobs].
It's used to replace
[google.longrunning.Operation.response][google.longrunning.Operation.response]
in case of success.
Expand Down Expand Up @@ -1301,8 +1303,9 @@ def sample_batch_delete_jobs():
google.api_core.operation.Operation:
An object representing a long-running operation.
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchDeleteJobsResponse` The result of [JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs]. It's used to
replace
The result type for the operation will be :class:`google.cloud.talent_v4.types.BatchDeleteJobsResponse` The result of
[JobService.BatchDeleteJobs][google.cloud.talent.v4.JobService.BatchDeleteJobs].
It's used to replace
[google.longrunning.Operation.response][google.longrunning.Operation.response]
in case of success.
Expand Down Expand Up @@ -1688,7 +1691,7 @@ def sample_search_jobs_for_alert():
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "JobServiceClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ def sample_list_tenants():
# Done; return the response.
return response

def __enter__(self):
def __enter__(self) -> "TenantServiceClient":
return self

def __exit__(self, type, value, traceback):
Expand Down
Loading

0 comments on commit 2059124

Please sign in to comment.