Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
docs: Fix formatting of request arg in docstring (#331)
Browse files Browse the repository at this point in the history
* docs: Fix formatting of request arg in docstring

chore: Update gapic-generator-python to v1.9.1
PiperOrigin-RevId: 518604533

Source-Link: googleapis/googleapis@8a085ae

Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9

* 🦉 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 Mar 23, 2023
1 parent 0ba7f7c commit a9ac9d8
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ def __call__(
request (~.company_service.CreateCompanyRequest):
The request object. The Request of the CreateCompany
method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -534,7 +533,6 @@ def __call__(
request (~.company_service.GetCompanyRequest):
The request object. Request for getting a company by
name.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -628,7 +626,6 @@ def __call__(
request (~.company_service.ListCompaniesRequest):
The request object. List companies for which the client
has ACL visibility.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -716,7 +713,6 @@ def __call__(
request (~.company_service.UpdateCompanyRequest):
The request object. Request for updating a specified
company.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
6 changes: 2 additions & 4 deletions google/cloud/talent_v4/services/job_service/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1324,8 +1324,7 @@ async def sample_search_jobs():
Args:
request (Optional[Union[google.cloud.talent_v4.types.SearchJobsRequest, dict]]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1414,8 +1413,7 @@ async def sample_search_jobs_for_alert():
Args:
request (Optional[Union[google.cloud.talent_v4.types.SearchJobsRequest, dict]]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
6 changes: 2 additions & 4 deletions google/cloud/talent_v4/services/job_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1562,8 +1562,7 @@ def sample_search_jobs():
Args:
request (Union[google.cloud.talent_v4.types.SearchJobsRequest, dict]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1653,8 +1652,7 @@ def sample_search_jobs_for_alert():
Args:
request (Union[google.cloud.talent_v4.types.SearchJobsRequest, dict]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,7 @@ async def sample_get_tenant():
Args:
request (Optional[Union[google.cloud.talent_v4.types.GetTenantRequest, dict]]):
The request object. Request for getting a tenant by
name.
The request object. Request for getting a tenant by name.
name (:class:`str`):
Required. The resource name of the tenant to be
retrieved.
Expand Down Expand Up @@ -738,8 +737,8 @@ async def sample_list_tenants():
Args:
request (Optional[Union[google.cloud.talent_v4.types.ListTenantsRequest, dict]]):
The request object. List tenants for which the client
has ACL visibility.
The request object. List tenants for which the client has
ACL visibility.
parent (:class:`str`):
Required. Resource name of the project under which the
tenant is created.
Expand Down
7 changes: 3 additions & 4 deletions google/cloud/talent_v4/services/tenant_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,8 +604,7 @@ def sample_get_tenant():
Args:
request (Union[google.cloud.talent_v4.types.GetTenantRequest, dict]):
The request object. Request for getting a tenant by
name.
The request object. Request for getting a tenant by name.
name (str):
Required. The resource name of the tenant to be
retrieved.
Expand Down Expand Up @@ -940,8 +939,8 @@ def sample_list_tenants():
Args:
request (Union[google.cloud.talent_v4.types.ListTenantsRequest, dict]):
The request object. List tenants for which the client
has ACL visibility.
The request object. List tenants for which the client has
ACL visibility.
parent (str):
Required. Resource name of the project under which the
tenant is created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ def __call__(
request (~.tenant_service.CreateTenantRequest):
The request object. The Request of the CreateTenant
method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -628,7 +627,6 @@ def __call__(
request (~.tenant_service.ListTenantsRequest):
The request object. List tenants for which the client has
ACL visibility.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -716,7 +714,6 @@ def __call__(
request (~.tenant_service.UpdateTenantRequest):
The request object. Request for updating a specified
tenant.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ def __call__(
request (~.company_service.CreateCompanyRequest):
The request object. The Request of the CreateCompany
method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -543,7 +542,6 @@ def __call__(
request (~.company_service.GetCompanyRequest):
The request object. Request for getting a company by
name.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -641,7 +639,6 @@ def __call__(
request (~.company_service.ListCompaniesRequest):
The request object. List companies for which the client
has ACL visibility.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -733,7 +730,6 @@ def __call__(
request (~.company_service.UpdateCompanyRequest):
The request object. Request for updating a specified
company.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1292,8 +1292,7 @@ async def sample_search_jobs():
Args:
request (Optional[Union[google.cloud.talent_v4beta1.types.SearchJobsRequest, dict]]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1396,8 +1395,7 @@ async def sample_search_jobs_for_alert():
Args:
request (Optional[Union[google.cloud.talent_v4beta1.types.SearchJobsRequest, dict]]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
6 changes: 2 additions & 4 deletions google/cloud/talent_v4beta1/services/job_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1515,8 +1515,7 @@ def sample_search_jobs():
Args:
request (Union[google.cloud.talent_v4beta1.types.SearchJobsRequest, dict]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1620,8 +1619,7 @@ def sample_search_jobs_for_alert():
Args:
request (Union[google.cloud.talent_v4beta1.types.SearchJobsRequest, dict]):
The request object. The Request body of the `SearchJobs`
call.
The request object. The Request body of the ``SearchJobs`` call.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,7 @@ async def sample_get_tenant():
Args:
request (Optional[Union[google.cloud.talent_v4beta1.types.GetTenantRequest, dict]]):
The request object. Request for getting a tenant by
name.
The request object. Request for getting a tenant by name.
name (:class:`str`):
Required. The resource name of the tenant to be
retrieved.
Expand Down Expand Up @@ -718,8 +717,8 @@ async def sample_list_tenants():
Args:
request (Optional[Union[google.cloud.talent_v4beta1.types.ListTenantsRequest, dict]]):
The request object. List tenants for which the client
has ACL visibility.
The request object. List tenants for which the client has
ACL visibility.
parent (:class:`str`):
Required. Resource name of the project under which the
tenant is created.
Expand Down
7 changes: 3 additions & 4 deletions google/cloud/talent_v4beta1/services/tenant_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,7 @@ def sample_get_tenant():
Args:
request (Union[google.cloud.talent_v4beta1.types.GetTenantRequest, dict]):
The request object. Request for getting a tenant by
name.
The request object. Request for getting a tenant by name.
name (str):
Required. The resource name of the tenant to be
retrieved.
Expand Down Expand Up @@ -920,8 +919,8 @@ def sample_list_tenants():
Args:
request (Union[google.cloud.talent_v4beta1.types.ListTenantsRequest, dict]):
The request object. List tenants for which the client
has ACL visibility.
The request object. List tenants for which the client has
ACL visibility.
parent (str):
Required. Resource name of the project under which the
tenant is created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ def __call__(
request (~.tenant_service.CreateTenantRequest):
The request object. The Request of the CreateTenant
method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -628,7 +627,6 @@ def __call__(
request (~.tenant_service.ListTenantsRequest):
The request object. List tenants for which the client has
ACL visibility.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -716,7 +714,6 @@ def __call__(
request (~.tenant_service.UpdateTenantRequest):
The request object. Request for updating a specified
tenant.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-talent",
"version": "2.10.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-talent",
"version": "2.10.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit a9ac9d8

Please sign in to comment.